index-740d866a.js 3.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. var un=Object.defineProperty;var hn=(i,e,r)=>e in i?un(i,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[e]=r;var ii=(i,e,r)=>(hn(i,typeof e!="symbol"?e+"":e,r),r);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&s(l)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();const index$2="",common="",popup$1="",SnackbarSfc="",elevation="",loading$2="",button$1="",icon$1="",snackbar="",coreSfc="",cell="",CellSfc="",ripple="",formDetails="",hoverOverlay="",_switch="",SwitchSfc="",style="";function makeMap(i,e){const r=Object.create(null),s=i.split(",");for(let o=0;o<s.length;o++)r[s[o]]=!0;return e?o=>!!r[o.toLowerCase()]:o=>!!r[o]}function normalizeStyle(i){if(isArray$9(i)){const e={};for(let r=0;r<i.length;r++){const s=i[r],o=isString$2(s)?parseStringStyle(s):normalizeStyle(s);if(o)for(const a in o)e[a]=o[a]}return e}else{if(isString$2(i))return i;if(isObject$5(i))return i}}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=new RegExp("\\/\\*.*?\\*\\/","gs");function parseStringStyle(i){const e={};return i.replace(styleCommentRE,"").split(listDelimiterRE).forEach(r=>{if(r){const s=r.split(propertyDelimiterRE);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function normalizeClass(i){let e="";if(isString$2(i))e=i;else if(isArray$9(i))for(let r=0;r<i.length;r++){const s=normalizeClass(i[r]);s&&(e+=s+" ")}else if(isObject$5(i))for(const r in i)i[r]&&(e+=r+" ");return e.trim()}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(i){return!!i||i===""}const toDisplayString=i=>isString$2(i)?i:i==null?"":isArray$9(i)||isObject$5(i)&&(i.toString===objectToString$3||!isFunction$6(i.toString))?JSON.stringify(i,replacer,2):String(i),replacer=(i,e)=>e&&e.__v_isRef?replacer(i,e.value):isMap$3(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[s,o])=>(r[`${s} =>`]=o,r),{})}:isSet$3(e)?{[`Set(${e.size})`]:[...e.values()]}:isObject$5(e)&&!isArray$9(e)&&!isPlainObject$3(e)?String(e):e,EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,onRE=/^on[^a-z]/,isOn=i=>onRE.test(i),isModelListener=i=>i.startsWith("onUpdate:"),extend$3=Object.assign,remove$7=(i,e)=>{const r=i.indexOf(e);r>-1&&i.splice(r,1)},hasOwnProperty$f=Object.prototype.hasOwnProperty,hasOwn$2=(i,e)=>hasOwnProperty$f.call(i,e),isArray$9=Array.isArray,isMap$3=i=>toTypeString(i)==="[object Map]",isSet$3=i=>toTypeString(i)==="[object Set]",isFunction$6=i=>typeof i=="function",isString$2=i=>typeof i=="string",isSymbol$1=i=>typeof i=="symbol",isObject$5=i=>i!==null&&typeof i=="object",isPromise$1=i=>isObject$5(i)&&isFunction$6(i.then)&&isFunction$6(i.catch),objectToString$3=Object.prototype.toString,toTypeString=i=>objectToString$3.call(i),toRawType=i=>toTypeString(i).slice(8,-1),isPlainObject$3=i=>toTypeString(i)==="[object Object]",isIntegerKey=i=>isString$2(i)&&i!=="NaN"&&i[0]!=="-"&&""+parseInt(i,10)===i,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=i=>{const e=Object.create(null);return r=>e[r]||(e[r]=i(r))},camelizeRE$1=/-(\w)/g,camelize$2=cacheStringFunction(i=>i.replace(camelizeRE$1,(e,r)=>r?r.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(i=>i.replace(hyphenateRE,"-$1").toLowerCase()),capitalize=cacheStringFunction(i=>i.charAt(0).toUpperCase()+i.slice(1)),toHandlerKey=cacheStringFunction(i=>i?`on${capitalize(i)}`:""),hasChanged=(i,e)=>!Object.is(i,e),invokeArrayFns=(i,e)=>{for(let r=0;r<i.length;r++)i[r](e)},def=(i,e,r)=>{Object.defineProperty(i,e,{configurable:!0,enumerable:!1,value:r})},looseToNumber=i=>{const e=parseFloat(i);return isNaN(e)?i:e},toNumber$1=i=>{const e=isString$2(i)?Number(i):NaN;return isNaN(e)?i:e};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let activeEffectScope;class EffectScope{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!e&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=activeEffectScope;try{return activeEffectScope=this,e()}finally{activeEffectScope=r}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(e){if(this._active){let r,s;for(r=0,s=this.effects.length;r<s;r++)this.effects[r].stop();for(r=0,s=this.cleanups.length;r<s;r++)this.cleanups[r]();if(this.scopes)for(r=0,s=this.scopes.length;r<s;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!e){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function recordEffectScope(i,e=activeEffectScope){e&&e.active&&e.effects.push(i)}function getCurrentScope(){return activeEffectScope}const createDep=i=>{const e=new Set(i);return e.w=0,e.n=0,e},wasTracked=i=>(i.w&trackOpBit)>0,newTracked=i=>(i.n&trackOpBit)>0,initDepMarkers=({deps:i})=>{if(i.length)for(let e=0;e<i.length;e++)i[e].w|=trackOpBit},finalizeDepMarkers=i=>{const{deps:e}=i;if(e.length){let r=0;for(let s=0;s<e.length;s++){const o=e[s];wasTracked(o)&&!newTracked(o)?o.delete(i):e[r++]=o,o.w&=~trackOpBit,o.n&=~trackOpBit}e.length=r}},targetMap=new WeakMap;let effectTrackDepth=0,trackOpBit=1;const maxMarkerBits=30;let activeEffect;const ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");class ReactiveEffect{constructor(e,r=null,s){this.fn=e,this.scheduler=r,this.active=!0,this.deps=[],this.parent=void 0,recordEffectScope(this,s)}run(){if(!this.active)return this.fn();let e=activeEffect,r=shouldTrack;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=activeEffect,activeEffect=this,shouldTrack=!0,trackOpBit=1<<++effectTrackDepth,effectTrackDepth<=maxMarkerBits?initDepMarkers(this):cleanupEffect(this),this.fn()}finally{effectTrackDepth<=maxMarkerBits&&finalizeDepMarkers(this),trackOpBit=1<<--effectTrackDepth,activeEffect=this.parent,shouldTrack=r,this.parent=void 0,this.deferStop&&this.stop()}}stop(){activeEffect===this?this.deferStop=!0:this.active&&(cleanupEffect(this),this.onStop&&this.onStop(),this.active=!1)}}function cleanupEffect(i){const{deps:e}=i;if(e.length){for(let r=0;r<e.length;r++)e[r].delete(i);e.length=0}}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const i=trackStack.pop();shouldTrack=i===void 0?!0:i}function track(i,e,r){if(shouldTrack&&activeEffect){let s=targetMap.get(i);s||targetMap.set(i,s=new Map);let o=s.get(r);o||s.set(r,o=createDep()),trackEffects(o)}}function trackEffects(i,e){let r=!1;effectTrackDepth<=maxMarkerBits?newTracked(i)||(i.n|=trackOpBit,r=!wasTracked(i)):r=!i.has(activeEffect),r&&(i.add(activeEffect),activeEffect.deps.push(i))}function trigger(i,e,r,s,o,a){const l=targetMap.get(i);if(!l)return;let c=[];if(e==="clear")c=[...l.values()];else if(r==="length"&&isArray$9(i)){const u=Number(s);l.forEach((d,g)=>{(g==="length"||g>=u)&&c.push(d)})}else switch(r!==void 0&&c.push(l.get(r)),e){case"add":isArray$9(i)?isIntegerKey(r)&&c.push(l.get("length")):(c.push(l.get(ITERATE_KEY)),isMap$3(i)&&c.push(l.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$9(i)||(c.push(l.get(ITERATE_KEY)),isMap$3(i)&&c.push(l.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$3(i)&&c.push(l.get(ITERATE_KEY));break}if(c.length===1)c[0]&&triggerEffects(c[0]);else{const u=[];for(const d of c)d&&u.push(...d);triggerEffects(createDep(u))}}function triggerEffects(i,e){const r=isArray$9(i)?i:[...i];for(const s of r)s.computed&&triggerEffect(s);for(const s of r)s.computed||triggerEffect(s)}function triggerEffect(i,e){(i!==activeEffect||i.allowRecurse)&&(i.scheduler?i.scheduler():i.run())}function getDepFromReactive(i,e){var r;return(r=targetMap.get(i))===null||r===void 0?void 0:r.get(e)}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(i=>i!=="arguments"&&i!=="caller").map(i=>Symbol[i]).filter(isSymbol$1)),get$1=createGetter(),shallowGet=createGetter(!1,!0),readonlyGet=createGetter(!0),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const i={};return["includes","indexOf","lastIndexOf"].forEach(e=>{i[e]=function(...r){const s=toRaw(this);for(let a=0,l=this.length;a<l;a++)track(s,"get",a+"");const o=s[e](...r);return o===-1||o===!1?s[e](...r.map(toRaw)):o}}),["push","pop","shift","unshift","splice"].forEach(e=>{i[e]=function(...r){pauseTracking();const s=toRaw(this)[e].apply(this,r);return resetTracking(),s}}),i}function hasOwnProperty$e(i){const e=toRaw(this);return track(e,"has",i),e.hasOwnProperty(i)}function createGetter(i=!1,e=!1){return function(s,o,a){if(o==="__v_isReactive")return!i;if(o==="__v_isReadonly")return i;if(o==="__v_isShallow")return e;if(o==="__v_raw"&&a===(i?e?shallowReadonlyMap:readonlyMap:e?shallowReactiveMap:reactiveMap).get(s))return s;const l=isArray$9(s);if(!i){if(l&&hasOwn$2(arrayInstrumentations,o))return Reflect.get(arrayInstrumentations,o,a);if(o==="hasOwnProperty")return hasOwnProperty$e}const c=Reflect.get(s,o,a);return(isSymbol$1(o)?builtInSymbols.has(o):isNonTrackableKeys(o))||(i||track(s,"get",o),e)?c:isRef(c)?l&&isIntegerKey(o)?c:c.value:isObject$5(c)?i?readonly(c):reactive(c):c}}const set$1=createSetter(),shallowSet=createSetter(!0);function createSetter(i=!1){return function(r,s,o,a){let l=r[s];if(isReadonly(l)&&isRef(l)&&!isRef(o))return!1;if(!i&&(!isShallow(o)&&!isReadonly(o)&&(l=toRaw(l),o=toRaw(o)),!isArray$9(r)&&isRef(l)&&!isRef(o)))return l.value=o,!0;const c=isArray$9(r)&&isIntegerKey(s)?Number(s)<r.length:hasOwn$2(r,s),u=Reflect.set(r,s,o,a);return r===toRaw(a)&&(c?hasChanged(o,l)&&trigger(r,"set",s,o):trigger(r,"add",s,o)),u}}function deleteProperty(i,e){const r=hasOwn$2(i,e);i[e];const s=Reflect.deleteProperty(i,e);return s&&r&&trigger(i,"delete",e,void 0),s}function has$1$1(i,e){const r=Reflect.has(i,e);return(!isSymbol$1(e)||!builtInSymbols.has(e))&&track(i,"has",e),r}function ownKeys$1(i){return track(i,"iterate",isArray$9(i)?"length":ITERATE_KEY),Reflect.ownKeys(i)}const mutableHandlers={get:get$1,set:set$1,deleteProperty,has:has$1$1,ownKeys:ownKeys$1},readonlyHandlers={get:readonlyGet,set(i,e){return!0},deleteProperty(i,e){return!0}},shallowReactiveHandlers=extend$3({},mutableHandlers,{get:shallowGet,set:shallowSet}),toShallow=i=>i,getProto$1=i=>Reflect.getPrototypeOf(i);function get$2(i,e,r=!1,s=!1){i=i.__v_raw;const o=toRaw(i),a=toRaw(e);r||(e!==a&&track(o,"get",e),track(o,"get",a));const{has:l}=getProto$1(o),c=s?toShallow:r?toReadonly:toReactive;if(l.call(o,e))return c(i.get(e));if(l.call(o,a))return c(i.get(a));i!==o&&i.get(e)}function has$4(i,e=!1){const r=this.__v_raw,s=toRaw(r),o=toRaw(i);return e||(i!==o&&track(s,"has",i),track(s,"has",o)),i===o?r.has(i):r.has(i)||r.has(o)}function size(i,e=!1){return i=i.__v_raw,!e&&track(toRaw(i),"iterate",ITERATE_KEY),Reflect.get(i,"size",i)}function add(i){i=toRaw(i);const e=toRaw(this);return getProto$1(e).has.call(e,i)||(e.add(i),trigger(e,"add",i,i)),this}function set(i,e){e=toRaw(e);const r=toRaw(this),{has:s,get:o}=getProto$1(r);let a=s.call(r,i);a||(i=toRaw(i),a=s.call(r,i));const l=o.call(r,i);return r.set(i,e),a?hasChanged(e,l)&&trigger(r,"set",i,e):trigger(r,"add",i,e),this}function deleteEntry(i){const e=toRaw(this),{has:r,get:s}=getProto$1(e);let o=r.call(e,i);o||(i=toRaw(i),o=r.call(e,i)),s&&s.call(e,i);const a=e.delete(i);return o&&trigger(e,"delete",i,void 0),a}function clear(){const i=toRaw(this),e=i.size!==0,r=i.clear();return e&&trigger(i,"clear",void 0,void 0),r}function createForEach(i,e){return function(s,o){const a=this,l=a.__v_raw,c=toRaw(l),u=e?toShallow:i?toReadonly:toReactive;return!i&&track(c,"iterate",ITERATE_KEY),l.forEach((d,g)=>s.call(o,u(d),u(g),a))}}function createIterableMethod(i,e,r){return function(...s){const o=this.__v_raw,a=toRaw(o),l=isMap$3(a),c=i==="entries"||i===Symbol.iterator&&l,u=i==="keys"&&l,d=o[i](...s),g=r?toShallow:e?toReadonly:toReactive;return!e&&track(a,"iterate",u?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:m,done:y}=d.next();return y?{value:m,done:y}:{value:c?[g(m[0]),g(m[1])]:g(m),done:y}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(i){return function(...e){return i==="delete"?!1:this}}function createInstrumentations(){const i={get(a){return get$2(this,a)},get size(){return size(this)},has:has$4,add,set,delete:deleteEntry,clear,forEach:createForEach(!1,!1)},e={get(a){return get$2(this,a,!1,!0)},get size(){return size(this)},has:has$4,add,set,delete:deleteEntry,clear,forEach:createForEach(!1,!0)},r={get(a){return get$2(this,a,!0)},get size(){return size(this,!0)},has(a){return has$4.call(this,a,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},s={get(a){return get$2(this,a,!0,!0)},get size(){return size(this,!0)},has(a){return has$4.call(this,a,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{i[a]=createIterableMethod(a,!1,!1),r[a]=createIterableMethod(a,!0,!1),e[a]=createIterableMethod(a,!1,!0),s[a]=createIterableMethod(a,!0,!0)}),[i,r,e,s]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(i,e){const r=e?i?shallowReadonlyInstrumentations:shallowInstrumentations:i?readonlyInstrumentations:mutableInstrumentations;return(s,o,a)=>o==="__v_isReactive"?!i:o==="__v_isReadonly"?i:o==="__v_raw"?s:Reflect.get(hasOwn$2(r,o)&&o in s?r:s,o,a)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(i){switch(i){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(i){return i.__v_skip||!Object.isExtensible(i)?0:targetTypeMap(toRawType(i))}function reactive(i){return isReadonly(i)?i:createReactiveObject(i,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(i){return createReactiveObject(i,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(i){return createReactiveObject(i,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function createReactiveObject(i,e,r,s,o){if(!isObject$5(i)||i.__v_raw&&!(e&&i.__v_isReactive))return i;const a=o.get(i);if(a)return a;const l=getTargetType(i);if(l===0)return i;const c=new Proxy(i,l===2?s:r);return o.set(i,c),c}function isReactive(i){return isReadonly(i)?isReactive(i.__v_raw):!!(i&&i.__v_isReactive)}function isReadonly(i){return!!(i&&i.__v_isReadonly)}function isShallow(i){return!!(i&&i.__v_isShallow)}function isProxy(i){return isReactive(i)||isReadonly(i)}function toRaw(i){const e=i&&i.__v_raw;return e?toRaw(e):i}function markRaw(i){return def(i,"__v_skip",!0),i}const toReactive=i=>isObject$5(i)?reactive(i):i,toReadonly=i=>isObject$5(i)?readonly(i):i;function trackRefValue(i){shouldTrack&&activeEffect&&(i=toRaw(i),trackEffects(i.dep||(i.dep=createDep())))}function triggerRefValue(i,e){i=toRaw(i);const r=i.dep;r&&triggerEffects(r)}function isRef(i){return!!(i&&i.__v_isRef===!0)}function ref(i){return createRef(i,!1)}function shallowRef(i){return createRef(i,!0)}function createRef(i,e){return isRef(i)?i:new RefImpl(i,e)}class RefImpl{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:toRaw(e),this._value=r?e:toReactive(e)}get value(){return trackRefValue(this),this._value}set value(e){const r=this.__v_isShallow||isShallow(e)||isReadonly(e);e=r?e:toRaw(e),hasChanged(e,this._rawValue)&&(this._rawValue=e,this._value=r?e:toReactive(e),triggerRefValue(this))}}function unref(i){return isRef(i)?i.value:i}const shallowUnwrapHandlers={get:(i,e,r)=>unref(Reflect.get(i,e,r)),set:(i,e,r,s)=>{const o=i[e];return isRef(o)&&!isRef(r)?(o.value=r,!0):Reflect.set(i,e,r,s)}};function proxyRefs(i){return isReactive(i)?i:new Proxy(i,shallowUnwrapHandlers)}function toRefs(i){const e=isArray$9(i)?new Array(i.length):{};for(const r in i)e[r]=toRef(i,r);return e}class ObjectRefImpl{constructor(e,r,s){this._object=e,this._key=r,this._defaultValue=s,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}function toRef(i,e,r){const s=i[e];return isRef(s)?s:new ObjectRefImpl(i,e,r)}var _a$1;class ComputedRefImpl{constructor(e,r,s,o){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[_a$1]=!1,this._dirty=!0,this.effect=new ReactiveEffect(e,()=>{this._dirty||(this._dirty=!0,triggerRefValue(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const e=toRaw(this);return trackRefValue(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}_a$1="__v_isReadonly";function computed$1(i,e,r=!1){let s,o;const a=isFunction$6(i);return a?(s=i,o=NOOP):(s=i.get,o=i.set),new ComputedRefImpl(s,o,a||!o,r)}function warn(i,...e){}function callWithErrorHandling(i,e,r,s){let o;try{o=s?i(...s):i()}catch(a){handleError(a,e,r)}return o}function callWithAsyncErrorHandling(i,e,r,s){if(isFunction$6(i)){const a=callWithErrorHandling(i,e,r,s);return a&&isPromise$1(a)&&a.catch(l=>{handleError(l,e,r)}),a}const o=[];for(let a=0;a<i.length;a++)o.push(callWithAsyncErrorHandling(i[a],e,r,s));return o}function handleError(i,e,r,s=!0){const o=e?e.vnode:null;if(e){let a=e.parent;const l=e.proxy,c=r;for(;a;){const d=a.ec;if(d){for(let g=0;g<d.length;g++)if(d[g](i,l,c)===!1)return}a=a.parent}const u=e.appContext.config.errorHandler;if(u){callWithErrorHandling(u,null,10,[i,l,c]);return}}logError(i,r,o,s)}function logError(i,e,r,s=!0){console.error(i)}let isFlushing=!1,isFlushPending=!1;const queue$1=[];let flushIndex=0;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick(i){const e=currentFlushPromise||resolvedPromise;return i?e.then(this?i.bind(this):i):e}function findInsertionIndex(i){let e=flushIndex+1,r=queue$1.length;for(;e<r;){const s=e+r>>>1;getId(queue$1[s])<i?e=s+1:r=s}return e}function queueJob(i){(!queue$1.length||!queue$1.includes(i,isFlushing&&i.allowRecurse?flushIndex+1:flushIndex))&&(i.id==null?queue$1.push(i):queue$1.splice(findInsertionIndex(i.id),0,i),queueFlush())}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function invalidateJob(i){const e=queue$1.indexOf(i);e>flushIndex&&queue$1.splice(e,1)}function queuePostFlushCb(i){isArray$9(i)?pendingPostFlushCbs.push(...i):(!activePostFlushCbs||!activePostFlushCbs.includes(i,i.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push(i),queueFlush()}function flushPreFlushCbs(i,e=isFlushing?flushIndex+1:0){for(;e<queue$1.length;e++){const r=queue$1[e];r&&r.pre&&(queue$1.splice(e,1),e--,r())}}function flushPostFlushCbs(i){if(pendingPostFlushCbs.length){const e=[...new Set(pendingPostFlushCbs)];if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...e);return}for(activePostFlushCbs=e,activePostFlushCbs.sort((r,s)=>getId(r)-getId(s)),postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++)activePostFlushCbs[postFlushIndex]();activePostFlushCbs=null,postFlushIndex=0}}const getId=i=>i.id==null?1/0:i.id,comparator=(i,e)=>{const r=getId(i)-getId(e);if(r===0){if(i.pre&&!e.pre)return-1;if(e.pre&&!i.pre)return 1}return r};function flushJobs(i){isFlushPending=!1,isFlushing=!0,queue$1.sort(comparator);const e=NOOP;try{for(flushIndex=0;flushIndex<queue$1.length;flushIndex++){const r=queue$1[flushIndex];r&&r.active!==!1&&callWithErrorHandling(r,null,14)}}finally{flushIndex=0,queue$1.length=0,flushPostFlushCbs(),isFlushing=!1,currentFlushPromise=null,(queue$1.length||pendingPostFlushCbs.length)&&flushJobs()}}function emit(i,e,...r){if(i.isUnmounted)return;const s=i.vnode.props||EMPTY_OBJ;let o=r;const a=e.startsWith("update:"),l=a&&e.slice(7);if(l&&l in s){const g=`${l==="modelValue"?"model":l}Modifiers`,{number:m,trim:y}=s[g]||EMPTY_OBJ;y&&(o=r.map(b=>isString$2(b)?b.trim():b)),m&&(o=r.map(looseToNumber))}let c,u=s[c=toHandlerKey(e)]||s[c=toHandlerKey(camelize$2(e))];!u&&a&&(u=s[c=toHandlerKey(hyphenate(e))]),u&&callWithAsyncErrorHandling(u,i,6,o);const d=s[c+"Once"];if(d){if(!i.emitted)i.emitted={};else if(i.emitted[c])return;i.emitted[c]=!0,callWithAsyncErrorHandling(d,i,6,o)}}function normalizeEmitsOptions(i,e,r=!1){const s=e.emitsCache,o=s.get(i);if(o!==void 0)return o;const a=i.emits;let l={},c=!1;if(!isFunction$6(i)){const u=d=>{const g=normalizeEmitsOptions(d,e,!0);g&&(c=!0,extend$3(l,g))};!r&&e.mixins.length&&e.mixins.forEach(u),i.extends&&u(i.extends),i.mixins&&i.mixins.forEach(u)}return!a&&!c?(isObject$5(i)&&s.set(i,null),null):(isArray$9(a)?a.forEach(u=>l[u]=null):extend$3(l,a),isObject$5(i)&&s.set(i,l),l)}function isEmitListener(i,e){return!i||!isOn(e)?!1:(e=e.slice(2).replace(/Once$/,""),hasOwn$2(i,e[0].toLowerCase()+e.slice(1))||hasOwn$2(i,hyphenate(e))||hasOwn$2(i,e))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(i){const e=currentRenderingInstance;return currentRenderingInstance=i,currentScopeId=i&&i.type.__scopeId||null,e}function pushScopeId(i){currentScopeId=i}function popScopeId(){currentScopeId=null}function withCtx(i,e=currentRenderingInstance,r){if(!e||i._n)return i;const s=(...o)=>{s._d&&setBlockTracking(-1);const a=setCurrentRenderingInstance(e);let l;try{l=i(...o)}finally{setCurrentRenderingInstance(a),s._d&&setBlockTracking(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function markAttrsAccessed(){}function renderComponentRoot(i){const{type:e,vnode:r,proxy:s,withProxy:o,props:a,propsOptions:[l],slots:c,attrs:u,emit:d,render:g,renderCache:m,data:y,setupState:b,ctx:A,inheritAttrs:S}=i;let E,x;const P=setCurrentRenderingInstance(i);try{if(r.shapeFlag&4){const T=o||s;E=normalizeVNode(g.call(T,T,m,a,b,y,A)),x=u}else{const T=e;E=normalizeVNode(T.length>1?T(a,{attrs:u,slots:c,emit:d}):T(a,null)),x=e.props?u:getFunctionalFallthrough(u)}}catch(T){blockStack.length=0,handleError(T,i,1),E=createVNode(Comment)}let C=E;if(x&&S!==!1){const T=Object.keys(x),{shapeFlag:k}=C;T.length&&k&7&&(l&&T.some(isModelListener)&&(x=filterModelListeners(x,l)),C=cloneVNode(C,x))}return r.dirs&&(C=cloneVNode(C),C.dirs=C.dirs?C.dirs.concat(r.dirs):r.dirs),r.transition&&(C.transition=r.transition),E=C,setCurrentRenderingInstance(P),E}const getFunctionalFallthrough=i=>{let e;for(const r in i)(r==="class"||r==="style"||isOn(r))&&((e||(e={}))[r]=i[r]);return e},filterModelListeners=(i,e)=>{const r={};for(const s in i)(!isModelListener(s)||!(s.slice(9)in e))&&(r[s]=i[s]);return r};function shouldUpdateComponent(i,e,r){const{props:s,children:o,component:a}=i,{props:l,children:c,patchFlag:u}=e,d=a.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&u>=0){if(u&1024)return!0;if(u&16)return s?hasPropsChanged(s,l,d):!!l;if(u&8){const g=e.dynamicProps;for(let m=0;m<g.length;m++){const y=g[m];if(l[y]!==s[y]&&!isEmitListener(d,y))return!0}}}else return(o||c)&&(!c||!c.$stable)?!0:s===l?!1:s?l?hasPropsChanged(s,l,d):!0:!!l;return!1}function hasPropsChanged(i,e,r){const s=Object.keys(e);if(s.length!==Object.keys(i).length)return!0;for(let o=0;o<s.length;o++){const a=s[o];if(e[a]!==i[a]&&!isEmitListener(r,a))return!0}return!1}function updateHOCHostEl({vnode:i,parent:e},r){for(;e&&e.subTree===i;)(i=e.vnode).el=r,e=e.parent}const isSuspense=i=>i.__isSuspense;function queueEffectWithSuspense(i,e){e&&e.pendingBranch?isArray$9(i)?e.effects.push(...i):e.effects.push(i):queuePostFlushCb(i)}function provide(i,e){if(currentInstance){let r=currentInstance.provides;const s=currentInstance.parent&&currentInstance.parent.provides;s===r&&(r=currentInstance.provides=Object.create(s)),r[i]=e}}function inject(i,e,r=!1){const s=currentInstance||currentRenderingInstance;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&i in o)return o[i];if(arguments.length>1)return r&&isFunction$6(e)?e.call(s.proxy):e}}function watchEffect(i,e){return doWatch(i,null,e)}const INITIAL_WATCHER_VALUE={};function watch(i,e,r){return doWatch(i,e,r)}function doWatch(i,e,{immediate:r,deep:s,flush:o,onTrack:a,onTrigger:l}=EMPTY_OBJ){const c=getCurrentScope()===(currentInstance==null?void 0:currentInstance.scope)?currentInstance:null;let u,d=!1,g=!1;if(isRef(i)?(u=()=>i.value,d=isShallow(i)):isReactive(i)?(u=()=>i,s=!0):isArray$9(i)?(g=!0,d=i.some(C=>isReactive(C)||isShallow(C)),u=()=>i.map(C=>{if(isRef(C))return C.value;if(isReactive(C))return traverse(C);if(isFunction$6(C))return callWithErrorHandling(C,c,2)})):isFunction$6(i)?e?u=()=>callWithErrorHandling(i,c,2):u=()=>{if(!(c&&c.isUnmounted))return m&&m(),callWithAsyncErrorHandling(i,c,3,[y])}:u=NOOP,e&&s){const C=u;u=()=>traverse(C())}let m,y=C=>{m=x.onStop=()=>{callWithErrorHandling(C,c,4)}},b;if(isInSSRComponentSetup)if(y=NOOP,e?r&&callWithAsyncErrorHandling(e,c,3,[u(),g?[]:void 0,y]):u(),o==="sync"){const C=useSSRContext();b=C.__watcherHandles||(C.__watcherHandles=[])}else return NOOP;let A=g?new Array(i.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const S=()=>{if(x.active)if(e){const C=x.run();(s||d||(g?C.some((T,k)=>hasChanged(T,A[k])):hasChanged(C,A)))&&(m&&m(),callWithAsyncErrorHandling(e,c,3,[C,A===INITIAL_WATCHER_VALUE?void 0:g&&A[0]===INITIAL_WATCHER_VALUE?[]:A,y]),A=C)}else x.run()};S.allowRecurse=!!e;let E;o==="sync"?E=S:o==="post"?E=()=>queuePostRenderEffect(S,c&&c.suspense):(S.pre=!0,c&&(S.id=c.uid),E=()=>queueJob(S));const x=new ReactiveEffect(u,E);e?r?S():A=x.run():o==="post"?queuePostRenderEffect(x.run.bind(x),c&&c.suspense):x.run();const P=()=>{x.stop(),c&&c.scope&&remove$7(c.scope.effects,x)};return b&&b.push(P),P}function instanceWatch(i,e,r){const s=this.proxy,o=isString$2(i)?i.includes(".")?createPathGetter(s,i):()=>s[i]:i.bind(s,s);let a;isFunction$6(e)?a=e:(a=e.handler,r=e);const l=currentInstance;setCurrentInstance(this);const c=doWatch(o,a.bind(s),r);return l?setCurrentInstance(l):unsetCurrentInstance(),c}function createPathGetter(i,e){const r=e.split(".");return()=>{let s=i;for(let o=0;o<r.length&&s;o++)s=s[r[o]];return s}}function traverse(i,e){if(!isObject$5(i)||i.__v_skip||(e=e||new Set,e.has(i)))return i;if(e.add(i),isRef(i))traverse(i.value,e);else if(isArray$9(i))for(let r=0;r<i.length;r++)traverse(i[r],e);else if(isSet$3(i)||isMap$3(i))i.forEach(r=>{traverse(r,e)});else if(isPlainObject$3(i))for(const r in i)traverse(i[r],e);return i}function useTransitionState(){const i={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted(()=>{i.isMounted=!0}),onBeforeUnmount(()=>{i.isUnmounting=!0}),i}const TransitionHookValidator=[Function,Array],BaseTransitionImpl={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},setup(i,{slots:e}){const r=getCurrentInstance(),s=useTransitionState();let o;return()=>{const a=e.default&&getTransitionRawChildren(e.default(),!0);if(!a||!a.length)return;let l=a[0];if(a.length>1){for(const S of a)if(S.type!==Comment){l=S;break}}const c=toRaw(i),{mode:u}=c;if(s.isLeaving)return emptyPlaceholder(l);const d=getKeepAliveChild(l);if(!d)return emptyPlaceholder(l);const g=resolveTransitionHooks(d,c,s,r);setTransitionHooks(d,g);const m=r.subTree,y=m&&getKeepAliveChild(m);let b=!1;const{getTransitionKey:A}=d.type;if(A){const S=A();o===void 0?o=S:S!==o&&(o=S,b=!0)}if(y&&y.type!==Comment&&(!isSameVNodeType(d,y)||b)){const S=resolveTransitionHooks(y,c,s,r);if(setTransitionHooks(y,S),u==="out-in")return s.isLeaving=!0,S.afterLeave=()=>{s.isLeaving=!1,r.update.active!==!1&&r.update()},emptyPlaceholder(l);u==="in-out"&&d.type!==Comment&&(S.delayLeave=(E,x,P)=>{const C=getLeavingNodesForType(s,y);C[String(y.key)]=y,E._leaveCb=()=>{x(),E._leaveCb=void 0,delete g.delayedLeave},g.delayedLeave=P})}return l}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(i,e){const{leavingVNodes:r}=i;let s=r.get(e.type);return s||(s=Object.create(null),r.set(e.type,s)),s}function resolveTransitionHooks(i,e,r,s){const{appear:o,mode:a,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:d,onEnterCancelled:g,onBeforeLeave:m,onLeave:y,onAfterLeave:b,onLeaveCancelled:A,onBeforeAppear:S,onAppear:E,onAfterAppear:x,onAppearCancelled:P}=e,C=String(i.key),T=getLeavingNodesForType(r,i),k=(R,B)=>{R&&callWithAsyncErrorHandling(R,s,9,B)},I=(R,B)=>{const _=B[1];k(R,B),isArray$9(R)?R.every(V=>V.length<=1)&&_():R.length<=1&&_()},M={mode:a,persisted:l,beforeEnter(R){let B=c;if(!r.isMounted)if(o)B=S||c;else return;R._leaveCb&&R._leaveCb(!0);const _=T[C];_&&isSameVNodeType(i,_)&&_.el._leaveCb&&_.el._leaveCb(),k(B,[R])},enter(R){let B=u,_=d,V=g;if(!r.isMounted)if(o)B=E||u,_=x||d,V=P||g;else return;let D=!1;const F=R._enterCb=N=>{D||(D=!0,N?k(V,[R]):k(_,[R]),M.delayedLeave&&M.delayedLeave(),R._enterCb=void 0)};B?I(B,[R,F]):F()},leave(R,B){const _=String(i.key);if(R._enterCb&&R._enterCb(!0),r.isUnmounting)return B();k(m,[R]);let V=!1;const D=R._leaveCb=F=>{V||(V=!0,B(),F?k(A,[R]):k(b,[R]),R._leaveCb=void 0,T[_]===i&&delete T[_])};T[_]=i,y?I(y,[R,D]):D()},clone(R){return resolveTransitionHooks(R,e,r,s)}};return M}function emptyPlaceholder(i){if(isKeepAlive(i))return i=cloneVNode(i),i.children=null,i}function getKeepAliveChild(i){return isKeepAlive(i)?i.children?i.children[0]:void 0:i}function setTransitionHooks(i,e){i.shapeFlag&6&&i.component?setTransitionHooks(i.component.subTree,e):i.shapeFlag&128?(i.ssContent.transition=e.clone(i.ssContent),i.ssFallback.transition=e.clone(i.ssFallback)):i.transition=e}function getTransitionRawChildren(i,e=!1,r){let s=[],o=0;for(let a=0;a<i.length;a++){let l=i[a];const c=r==null?l.key:String(r)+String(l.key!=null?l.key:a);l.type===Fragment?(l.patchFlag&128&&o++,s=s.concat(getTransitionRawChildren(l.children,e,c))):(e||l.type!==Comment)&&s.push(c!=null?cloneVNode(l,{key:c}):l)}if(o>1)for(let a=0;a<s.length;a++)s[a].patchFlag=-2;return s}function defineComponent(i){return isFunction$6(i)?{setup:i,name:i.name}:i}const isAsyncWrapper=i=>!!i.type.__asyncLoader,isKeepAlive=i=>i.type.__isKeepAlive;function onActivated(i,e){registerKeepAliveHook(i,"a",e)}function onDeactivated(i,e){registerKeepAliveHook(i,"da",e)}function registerKeepAliveHook(i,e,r=currentInstance){const s=i.__wdc||(i.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return i()});if(injectHook(e,s,r),r){let o=r.parent;for(;o&&o.parent;)isKeepAlive(o.parent.vnode)&&injectToKeepAliveRoot(s,e,r,o),o=o.parent}}function injectToKeepAliveRoot(i,e,r,s){const o=injectHook(e,i,s,!0);onUnmounted(()=>{remove$7(s[e],o)},r)}function injectHook(i,e,r=currentInstance,s=!1){if(r){const o=r[i]||(r[i]=[]),a=e.__weh||(e.__weh=(...l)=>{if(r.isUnmounted)return;pauseTracking(),setCurrentInstance(r);const c=callWithAsyncErrorHandling(e,r,i,l);return unsetCurrentInstance(),resetTracking(),c});return s?o.unshift(a):o.push(a),a}}const createHook=i=>(e,r=currentInstance)=>(!isInSSRComponentSetup||i==="sp")&&injectHook(i,(...s)=>e(...s),r),onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(i,e=currentInstance){injectHook("ec",i,e)}function withDirectives(i,e){const r=currentRenderingInstance;if(r===null)return i;const s=getExposeProxy(r)||r.proxy,o=i.dirs||(i.dirs=[]);for(let a=0;a<e.length;a++){let[l,c,u,d=EMPTY_OBJ]=e[a];l&&(isFunction$6(l)&&(l={mounted:l,updated:l}),l.deep&&traverse(c),o.push({dir:l,instance:s,value:c,oldValue:void 0,arg:u,modifiers:d}))}return i}function invokeDirectiveHook(i,e,r,s){const o=i.dirs,a=e&&e.dirs;for(let l=0;l<o.length;l++){const c=o[l];a&&(c.oldValue=a[l].value);let u=c.dir[s];u&&(pauseTracking(),callWithAsyncErrorHandling(u,r,8,[i.el,c,i,e]),resetTracking())}}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent(i,e){return resolveAsset(COMPONENTS,i,!0,e)||i}const NULL_DYNAMIC_COMPONENT=Symbol();function resolveDynamicComponent(i){return isString$2(i)?resolveAsset(COMPONENTS,i,!1)||i:i||NULL_DYNAMIC_COMPONENT}function resolveDirective(i){return resolveAsset(DIRECTIVES,i)}function resolveAsset(i,e,r=!0,s=!1){const o=currentRenderingInstance||currentInstance;if(o){const a=o.type;if(i===COMPONENTS){const c=getComponentName(a,!1);if(c&&(c===e||c===camelize$2(e)||c===capitalize(camelize$2(e))))return a}const l=resolve(o[i]||a[i],e)||resolve(o.appContext[i],e);return!l&&s?a:l}}function resolve(i,e){return i&&(i[e]||i[camelize$2(e)]||i[capitalize(camelize$2(e))])}function renderList(i,e,r,s){let o;const a=r&&r[s];if(isArray$9(i)||isString$2(i)){o=new Array(i.length);for(let l=0,c=i.length;l<c;l++)o[l]=e(i[l],l,void 0,a&&a[l])}else if(typeof i=="number"){o=new Array(i);for(let l=0;l<i;l++)o[l]=e(l+1,l,void 0,a&&a[l])}else if(isObject$5(i))if(i[Symbol.iterator])o=Array.from(i,(l,c)=>e(l,c,void 0,a&&a[c]));else{const l=Object.keys(i);o=new Array(l.length);for(let c=0,u=l.length;c<u;c++){const d=l[c];o[c]=e(i[d],d,c,a&&a[c])}}else o=[];return r&&(r[s]=o),o}function renderSlot(i,e,r={},s,o){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&&currentRenderingInstance.parent.isCE)return e!=="default"&&(r.name=e),createVNode("slot",r,s&&s());let a=i[e];a&&a._c&&(a._d=!1),openBlock();const l=a&&ensureValidVNode(a(r)),c=createBlock(Fragment,{key:r.key||l&&l.key||`_${e}`},l||(s?s():[]),l&&i._===1?64:-2);return!o&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),a&&a._c&&(a._d=!0),c}function ensureValidVNode(i){return i.some(e=>isVNode(e)?!(e.type===Comment||e.type===Fragment&&!ensureValidVNode(e.children)):!0)?i:null}const getPublicInstance=i=>i?isStatefulComponent(i)?getExposeProxy(i)||i.proxy:getPublicInstance(i.parent):null,publicPropertiesMap=extend$3(Object.create(null),{$:i=>i,$el:i=>i.vnode.el,$data:i=>i.data,$props:i=>i.props,$attrs:i=>i.attrs,$slots:i=>i.slots,$refs:i=>i.refs,$parent:i=>getPublicInstance(i.parent),$root:i=>getPublicInstance(i.root),$emit:i=>i.emit,$options:i=>resolveMergedOptions(i),$forceUpdate:i=>i.f||(i.f=()=>queueJob(i.update)),$nextTick:i=>i.n||(i.n=nextTick.bind(i.proxy)),$watch:i=>instanceWatch.bind(i)}),hasSetupBinding=(i,e)=>i!==EMPTY_OBJ&&!i.__isScriptSetup&&hasOwn$2(i,e),PublicInstanceProxyHandlers={get({_:i},e){const{ctx:r,setupState:s,data:o,props:a,accessCache:l,type:c,appContext:u}=i;let d;if(e[0]!=="$"){const b=l[e];if(b!==void 0)switch(b){case 1:return s[e];case 2:return o[e];case 4:return r[e];case 3:return a[e]}else{if(hasSetupBinding(s,e))return l[e]=1,s[e];if(o!==EMPTY_OBJ&&hasOwn$2(o,e))return l[e]=2,o[e];if((d=i.propsOptions[0])&&hasOwn$2(d,e))return l[e]=3,a[e];if(r!==EMPTY_OBJ&&hasOwn$2(r,e))return l[e]=4,r[e];shouldCacheAccess&&(l[e]=0)}}const g=publicPropertiesMap[e];let m,y;if(g)return e==="$attrs"&&track(i,"get",e),g(i);if((m=c.__cssModules)&&(m=m[e]))return m;if(r!==EMPTY_OBJ&&hasOwn$2(r,e))return l[e]=4,r[e];if(y=u.config.globalProperties,hasOwn$2(y,e))return y[e]},set({_:i},e,r){const{data:s,setupState:o,ctx:a}=i;return hasSetupBinding(o,e)?(o[e]=r,!0):s!==EMPTY_OBJ&&hasOwn$2(s,e)?(s[e]=r,!0):hasOwn$2(i.props,e)||e[0]==="$"&&e.slice(1)in i?!1:(a[e]=r,!0)},has({_:{data:i,setupState:e,accessCache:r,ctx:s,appContext:o,propsOptions:a}},l){let c;return!!r[l]||i!==EMPTY_OBJ&&hasOwn$2(i,l)||hasSetupBinding(e,l)||(c=a[0])&&hasOwn$2(c,l)||hasOwn$2(s,l)||hasOwn$2(publicPropertiesMap,l)||hasOwn$2(o.config.globalProperties,l)},defineProperty(i,e,r){return r.get!=null?i._.accessCache[e]=0:hasOwn$2(r,"value")&&this.set(i,e,r.value,null),Reflect.defineProperty(i,e,r)}};let shouldCacheAccess=!0;function applyOptions(i){const e=resolveMergedOptions(i),r=i.proxy,s=i.ctx;shouldCacheAccess=!1,e.beforeCreate&&callHook$1(e.beforeCreate,i,"bc");const{data:o,computed:a,methods:l,watch:c,provide:u,inject:d,created:g,beforeMount:m,mounted:y,beforeUpdate:b,updated:A,activated:S,deactivated:E,beforeDestroy:x,beforeUnmount:P,destroyed:C,unmounted:T,render:k,renderTracked:I,renderTriggered:M,errorCaptured:R,serverPrefetch:B,expose:_,inheritAttrs:V,components:D,directives:F,filters:N}=e;if(d&&resolveInjections(d,s,null,i.appContext.config.unwrapInjectedRef),l)for(const q in l){const O=l[q];isFunction$6(O)&&(s[q]=O.bind(r))}if(o){const q=o.call(r,r);isObject$5(q)&&(i.data=reactive(q))}if(shouldCacheAccess=!0,a)for(const q in a){const O=a[q],U=isFunction$6(O)?O.bind(r,r):isFunction$6(O.get)?O.get.bind(r,r):NOOP,$=!isFunction$6(O)&&isFunction$6(O.set)?O.set.bind(r):NOOP,Y=computed({get:U,set:$});Object.defineProperty(s,q,{enumerable:!0,configurable:!0,get:()=>Y.value,set:Q=>Y.value=Q})}if(c)for(const q in c)createWatcher(c[q],s,r,q);if(u){const q=isFunction$6(u)?u.call(r):u;Reflect.ownKeys(q).forEach(O=>{provide(O,q[O])})}g&&callHook$1(g,i,"c");function G(q,O){isArray$9(O)?O.forEach(U=>q(U.bind(r))):O&&q(O.bind(r))}if(G(onBeforeMount,m),G(onMounted,y),G(onBeforeUpdate,b),G(onUpdated,A),G(onActivated,S),G(onDeactivated,E),G(onErrorCaptured,R),G(onRenderTracked,I),G(onRenderTriggered,M),G(onBeforeUnmount,P),G(onUnmounted,T),G(onServerPrefetch,B),isArray$9(_))if(_.length){const q=i.exposed||(i.exposed={});_.forEach(O=>{Object.defineProperty(q,O,{get:()=>r[O],set:U=>r[O]=U})})}else i.exposed||(i.exposed={});k&&i.render===NOOP&&(i.render=k),V!=null&&(i.inheritAttrs=V),D&&(i.components=D),F&&(i.directives=F)}function resolveInjections(i,e,r=NOOP,s=!1){isArray$9(i)&&(i=normalizeInject(i));for(const o in i){const a=i[o];let l;isObject$5(a)?"default"in a?l=inject(a.from||o,a.default,!0):l=inject(a.from||o):l=inject(a),isRef(l)&&s?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>l.value,set:c=>l.value=c}):e[o]=l}}function callHook$1(i,e,r){callWithAsyncErrorHandling(isArray$9(i)?i.map(s=>s.bind(e.proxy)):i.bind(e.proxy),e,r)}function createWatcher(i,e,r,s){const o=s.includes(".")?createPathGetter(r,s):()=>r[s];if(isString$2(i)){const a=e[i];isFunction$6(a)&&watch(o,a)}else if(isFunction$6(i))watch(o,i.bind(r));else if(isObject$5(i))if(isArray$9(i))i.forEach(a=>createWatcher(a,e,r,s));else{const a=isFunction$6(i.handler)?i.handler.bind(r):e[i.handler];isFunction$6(a)&&watch(o,a,i)}}function resolveMergedOptions(i){const e=i.type,{mixins:r,extends:s}=e,{mixins:o,optionsCache:a,config:{optionMergeStrategies:l}}=i.appContext,c=a.get(e);let u;return c?u=c:!o.length&&!r&&!s?u=e:(u={},o.length&&o.forEach(d=>mergeOptions$1(u,d,l,!0)),mergeOptions$1(u,e,l)),isObject$5(e)&&a.set(e,u),u}function mergeOptions$1(i,e,r,s=!1){const{mixins:o,extends:a}=e;a&&mergeOptions$1(i,a,r,!0),o&&o.forEach(l=>mergeOptions$1(i,l,r,!0));for(const l in e)if(!(s&&l==="expose")){const c=internalOptionMergeStrats[l]||r&&r[l];i[l]=c?c(i[l],e[l]):e[l]}return i}const internalOptionMergeStrats={data:mergeDataFn,props:mergeObjectOptions,emits:mergeObjectOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(i,e){return e?i?function(){return extend$3(isFunction$6(i)?i.call(this,this):i,isFunction$6(e)?e.call(this,this):e)}:e:i}function mergeInject(i,e){return mergeObjectOptions(normalizeInject(i),normalizeInject(e))}function normalizeInject(i){if(isArray$9(i)){const e={};for(let r=0;r<i.length;r++)e[i[r]]=i[r];return e}return i}function mergeAsArray(i,e){return i?[...new Set([].concat(i,e))]:e}function mergeObjectOptions(i,e){return i?extend$3(extend$3(Object.create(null),i),e):e}function mergeWatchOptions(i,e){if(!i)return e;if(!e)return i;const r=extend$3(Object.create(null),i);for(const s in e)r[s]=mergeAsArray(i[s],e[s]);return r}function initProps(i,e,r,s=!1){const o={},a={};def(a,InternalObjectKey,1),i.propsDefaults=Object.create(null),setFullProps(i,e,o,a);for(const l in i.propsOptions[0])l in o||(o[l]=void 0);r?i.props=s?o:shallowReactive(o):i.type.props?i.props=o:i.props=a,i.attrs=a}function updateProps(i,e,r,s){const{props:o,attrs:a,vnode:{patchFlag:l}}=i,c=toRaw(o),[u]=i.propsOptions;let d=!1;if((s||l>0)&&!(l&16)){if(l&8){const g=i.vnode.dynamicProps;for(let m=0;m<g.length;m++){let y=g[m];if(isEmitListener(i.emitsOptions,y))continue;const b=e[y];if(u)if(hasOwn$2(a,y))b!==a[y]&&(a[y]=b,d=!0);else{const A=camelize$2(y);o[A]=resolvePropValue(u,c,A,b,i,!1)}else b!==a[y]&&(a[y]=b,d=!0)}}}else{setFullProps(i,e,o,a)&&(d=!0);let g;for(const m in c)(!e||!hasOwn$2(e,m)&&((g=hyphenate(m))===m||!hasOwn$2(e,g)))&&(u?r&&(r[m]!==void 0||r[g]!==void 0)&&(o[m]=resolvePropValue(u,c,m,void 0,i,!0)):delete o[m]);if(a!==c)for(const m in a)(!e||!hasOwn$2(e,m))&&(delete a[m],d=!0)}d&&trigger(i,"set","$attrs")}function setFullProps(i,e,r,s){const[o,a]=i.propsOptions;let l=!1,c;if(e)for(let u in e){if(isReservedProp(u))continue;const d=e[u];let g;o&&hasOwn$2(o,g=camelize$2(u))?!a||!a.includes(g)?r[g]=d:(c||(c={}))[g]=d:isEmitListener(i.emitsOptions,u)||(!(u in s)||d!==s[u])&&(s[u]=d,l=!0)}if(a){const u=toRaw(r),d=c||EMPTY_OBJ;for(let g=0;g<a.length;g++){const m=a[g];r[m]=resolvePropValue(o,u,m,d[m],i,!hasOwn$2(d,m))}}return l}function resolvePropValue(i,e,r,s,o,a){const l=i[r];if(l!=null){const c=hasOwn$2(l,"default");if(c&&s===void 0){const u=l.default;if(l.type!==Function&&isFunction$6(u)){const{propsDefaults:d}=o;r in d?s=d[r]:(setCurrentInstance(o),s=d[r]=u.call(null,e),unsetCurrentInstance())}else s=u}l[0]&&(a&&!c?s=!1:l[1]&&(s===""||s===hyphenate(r))&&(s=!0))}return s}function normalizePropsOptions(i,e,r=!1){const s=e.propsCache,o=s.get(i);if(o)return o;const a=i.props,l={},c=[];let u=!1;if(!isFunction$6(i)){const g=m=>{u=!0;const[y,b]=normalizePropsOptions(m,e,!0);extend$3(l,y),b&&c.push(...b)};!r&&e.mixins.length&&e.mixins.forEach(g),i.extends&&g(i.extends),i.mixins&&i.mixins.forEach(g)}if(!a&&!u)return isObject$5(i)&&s.set(i,EMPTY_ARR),EMPTY_ARR;if(isArray$9(a))for(let g=0;g<a.length;g++){const m=camelize$2(a[g]);validatePropName(m)&&(l[m]=EMPTY_OBJ)}else if(a)for(const g in a){const m=camelize$2(g);if(validatePropName(m)){const y=a[g],b=l[m]=isArray$9(y)||isFunction$6(y)?{type:y}:Object.assign({},y);if(b){const A=getTypeIndex(Boolean,b.type),S=getTypeIndex(String,b.type);b[0]=A>-1,b[1]=S<0||A<S,(A>-1||hasOwn$2(b,"default"))&&c.push(m)}}}const d=[l,c];return isObject$5(i)&&s.set(i,d),d}function validatePropName(i){return i[0]!=="$"}function getType(i){const e=i&&i.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:i===null?"null":""}function isSameType(i,e){return getType(i)===getType(e)}function getTypeIndex(i,e){return isArray$9(e)?e.findIndex(r=>isSameType(r,i)):isFunction$6(e)&&isSameType(e,i)?0:-1}const isInternalKey=i=>i[0]==="_"||i==="$stable",normalizeSlotValue=i=>isArray$9(i)?i.map(normalizeVNode):[normalizeVNode(i)],normalizeSlot$1=(i,e,r)=>{if(e._n)return e;const s=withCtx((...o)=>normalizeSlotValue(e(...o)),r);return s._c=!1,s},normalizeObjectSlots=(i,e,r)=>{const s=i._ctx;for(const o in i){if(isInternalKey(o))continue;const a=i[o];if(isFunction$6(a))e[o]=normalizeSlot$1(o,a,s);else if(a!=null){const l=normalizeSlotValue(a);e[o]=()=>l}}},normalizeVNodeSlots=(i,e)=>{const r=normalizeSlotValue(e);i.slots.default=()=>r},initSlots=(i,e)=>{if(i.vnode.shapeFlag&32){const r=e._;r?(i.slots=toRaw(e),def(e,"_",r)):normalizeObjectSlots(e,i.slots={})}else i.slots={},e&&normalizeVNodeSlots(i,e);def(i.slots,InternalObjectKey,1)},updateSlots=(i,e,r)=>{const{vnode:s,slots:o}=i;let a=!0,l=EMPTY_OBJ;if(s.shapeFlag&32){const c=e._;c?r&&c===1?a=!1:(extend$3(o,e),!r&&c===1&&delete o._):(a=!e.$stable,normalizeObjectSlots(e,o)),l=e}else e&&(normalizeVNodeSlots(i,e),l={default:1});if(a)for(const c in o)!isInternalKey(c)&&!(c in l)&&delete o[c]};function createAppContext(){return{app:null,config:{isNativeTag:NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let uid$1=0;function createAppAPI(i,e){return function(s,o=null){isFunction$6(s)||(s=Object.assign({},s)),o!=null&&!isObject$5(o)&&(o=null);const a=createAppContext(),l=new Set;let c=!1;const u=a.app={_uid:uid$1++,_component:s,_props:o,_container:null,_context:a,_instance:null,version,get config(){return a.config},set config(d){},use(d,...g){return l.has(d)||(d&&isFunction$6(d.install)?(l.add(d),d.install(u,...g)):isFunction$6(d)&&(l.add(d),d(u,...g))),u},mixin(d){return a.mixins.includes(d)||a.mixins.push(d),u},component(d,g){return g?(a.components[d]=g,u):a.components[d]},directive(d,g){return g?(a.directives[d]=g,u):a.directives[d]},mount(d,g,m){if(!c){const y=createVNode(s,o);return y.appContext=a,g&&e?e(y,d):i(y,d,m),c=!0,u._container=d,d.__vue_app__=u,getExposeProxy(y.component)||y.component.proxy}},unmount(){c&&(i(null,u._container),delete u._container.__vue_app__)},provide(d,g){return a.provides[d]=g,u}};return u}}function setRef(i,e,r,s,o=!1){if(isArray$9(i)){i.forEach((y,b)=>setRef(y,e&&(isArray$9(e)?e[b]:e),r,s,o));return}if(isAsyncWrapper(s)&&!o)return;const a=s.shapeFlag&4?getExposeProxy(s.component)||s.component.proxy:s.el,l=o?null:a,{i:c,r:u}=i,d=e&&e.r,g=c.refs===EMPTY_OBJ?c.refs={}:c.refs,m=c.setupState;if(d!=null&&d!==u&&(isString$2(d)?(g[d]=null,hasOwn$2(m,d)&&(m[d]=null)):isRef(d)&&(d.value=null)),isFunction$6(u))callWithErrorHandling(u,c,12,[l,g]);else{const y=isString$2(u),b=isRef(u);if(y||b){const A=()=>{if(i.f){const S=y?hasOwn$2(m,u)?m[u]:g[u]:u.value;o?isArray$9(S)&&remove$7(S,a):isArray$9(S)?S.includes(a)||S.push(a):y?(g[u]=[a],hasOwn$2(m,u)&&(m[u]=g[u])):(u.value=[a],i.k&&(g[i.k]=u.value))}else y?(g[u]=l,hasOwn$2(m,u)&&(m[u]=l)):b&&(u.value=l,i.k&&(g[i.k]=l))};l?(A.id=-1,queuePostRenderEffect(A,r)):A()}}}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(i){return baseCreateRenderer(i)}function baseCreateRenderer(i,e){const r=getGlobalThis();r.__VUE__=!0;const{insert:s,remove:o,patchProp:a,createElement:l,createText:c,createComment:u,setText:d,setElementText:g,parentNode:m,nextSibling:y,setScopeId:b=NOOP,insertStaticContent:A}=i,S=(te,ae,H,ve=null,pe=null,ee=null,ne=!1,me=null,Be=!!ae.dynamicChildren)=>{if(te===ae)return;te&&!isSameVNodeType(te,ae)&&(ve=ce(te),Q(te,pe,ee,!0),te=null),ae.patchFlag===-2&&(Be=!1,ae.dynamicChildren=null);const{type:oe,ref:be,shapeFlag:Ie}=ae;switch(oe){case Text:E(te,ae,H,ve);break;case Comment:x(te,ae,H,ve);break;case Static:te==null&&P(ae,H,ve,ne);break;case Fragment:D(te,ae,H,ve,pe,ee,ne,me,Be);break;default:Ie&1?k(te,ae,H,ve,pe,ee,ne,me,Be):Ie&6?F(te,ae,H,ve,pe,ee,ne,me,Be):(Ie&64||Ie&128)&&oe.process(te,ae,H,ve,pe,ee,ne,me,Be,Ee)}be!=null&&pe&&setRef(be,te&&te.ref,ee,ae||te,!ae)},E=(te,ae,H,ve)=>{if(te==null)s(ae.el=c(ae.children),H,ve);else{const pe=ae.el=te.el;ae.children!==te.children&&d(pe,ae.children)}},x=(te,ae,H,ve)=>{te==null?s(ae.el=u(ae.children||""),H,ve):ae.el=te.el},P=(te,ae,H,ve)=>{[te.el,te.anchor]=A(te.children,ae,H,ve,te.el,te.anchor)},C=({el:te,anchor:ae},H,ve)=>{let pe;for(;te&&te!==ae;)pe=y(te),s(te,H,ve),te=pe;s(ae,H,ve)},T=({el:te,anchor:ae})=>{let H;for(;te&&te!==ae;)H=y(te),o(te),te=H;o(ae)},k=(te,ae,H,ve,pe,ee,ne,me,Be)=>{ne=ne||ae.type==="svg",te==null?I(ae,H,ve,pe,ee,ne,me,Be):B(te,ae,pe,ee,ne,me,Be)},I=(te,ae,H,ve,pe,ee,ne,me)=>{let Be,oe;const{type:be,props:Ie,shapeFlag:Re,transition:Pe,dirs:he}=te;if(Be=te.el=l(te.type,ee,Ie&&Ie.is,Ie),Re&8?g(Be,te.children):Re&16&&R(te.children,Be,null,ve,pe,ee&&be!=="foreignObject",ne,me),he&&invokeDirectiveHook(te,null,ve,"created"),M(Be,te,te.scopeId,ne,ve),Ie){for(const ye in Ie)ye!=="value"&&!isReservedProp(ye)&&a(Be,ye,null,Ie[ye],ee,te.children,ve,pe,J);"value"in Ie&&a(Be,"value",null,Ie.value),(oe=Ie.onVnodeBeforeMount)&&invokeVNodeHook(oe,ve,te)}he&&invokeDirectiveHook(te,null,ve,"beforeMount");const Ce=(!pe||pe&&!pe.pendingBranch)&&Pe&&!Pe.persisted;Ce&&Pe.beforeEnter(Be),s(Be,ae,H),((oe=Ie&&Ie.onVnodeMounted)||Ce||he)&&queuePostRenderEffect(()=>{oe&&invokeVNodeHook(oe,ve,te),Ce&&Pe.enter(Be),he&&invokeDirectiveHook(te,null,ve,"mounted")},pe)},M=(te,ae,H,ve,pe)=>{if(H&&b(te,H),ve)for(let ee=0;ee<ve.length;ee++)b(te,ve[ee]);if(pe){let ee=pe.subTree;if(ae===ee){const ne=pe.vnode;M(te,ne,ne.scopeId,ne.slotScopeIds,pe.parent)}}},R=(te,ae,H,ve,pe,ee,ne,me,Be=0)=>{for(let oe=Be;oe<te.length;oe++){const be=te[oe]=me?cloneIfMounted(te[oe]):normalizeVNode(te[oe]);S(null,be,ae,H,ve,pe,ee,ne,me)}},B=(te,ae,H,ve,pe,ee,ne)=>{const me=ae.el=te.el;let{patchFlag:Be,dynamicChildren:oe,dirs:be}=ae;Be|=te.patchFlag&16;const Ie=te.props||EMPTY_OBJ,Re=ae.props||EMPTY_OBJ;let Pe;H&&toggleRecurse(H,!1),(Pe=Re.onVnodeBeforeUpdate)&&invokeVNodeHook(Pe,H,ae,te),be&&invokeDirectiveHook(ae,te,H,"beforeUpdate"),H&&toggleRecurse(H,!0);const he=pe&&ae.type!=="foreignObject";if(oe?_(te.dynamicChildren,oe,me,H,ve,he,ee):ne||O(te,ae,me,null,H,ve,he,ee,!1),Be>0){if(Be&16)V(me,ae,Ie,Re,H,ve,pe);else if(Be&2&&Ie.class!==Re.class&&a(me,"class",null,Re.class,pe),Be&4&&a(me,"style",Ie.style,Re.style,pe),Be&8){const Ce=ae.dynamicProps;for(let ye=0;ye<Ce.length;ye++){const Fe=Ce[ye],Ue=Ie[Fe],Ye=Re[Fe];(Ye!==Ue||Fe==="value")&&a(me,Fe,Ue,Ye,pe,te.children,H,ve,J)}}Be&1&&te.children!==ae.children&&g(me,ae.children)}else!ne&&oe==null&&V(me,ae,Ie,Re,H,ve,pe);((Pe=Re.onVnodeUpdated)||be)&&queuePostRenderEffect(()=>{Pe&&invokeVNodeHook(Pe,H,ae,te),be&&invokeDirectiveHook(ae,te,H,"updated")},ve)},_=(te,ae,H,ve,pe,ee,ne)=>{for(let me=0;me<ae.length;me++){const Be=te[me],oe=ae[me],be=Be.el&&(Be.type===Fragment||!isSameVNodeType(Be,oe)||Be.shapeFlag&70)?m(Be.el):H;S(Be,oe,be,null,ve,pe,ee,ne,!0)}},V=(te,ae,H,ve,pe,ee,ne)=>{if(H!==ve){if(H!==EMPTY_OBJ)for(const me in H)!isReservedProp(me)&&!(me in ve)&&a(te,me,H[me],null,ne,ae.children,pe,ee,J);for(const me in ve){if(isReservedProp(me))continue;const Be=ve[me],oe=H[me];Be!==oe&&me!=="value"&&a(te,me,oe,Be,ne,ae.children,pe,ee,J)}"value"in ve&&a(te,"value",H.value,ve.value)}},D=(te,ae,H,ve,pe,ee,ne,me,Be)=>{const oe=ae.el=te?te.el:c(""),be=ae.anchor=te?te.anchor:c("");let{patchFlag:Ie,dynamicChildren:Re,slotScopeIds:Pe}=ae;Pe&&(me=me?me.concat(Pe):Pe),te==null?(s(oe,H,ve),s(be,H,ve),R(ae.children,H,be,pe,ee,ne,me,Be)):Ie>0&&Ie&64&&Re&&te.dynamicChildren?(_(te.dynamicChildren,Re,H,pe,ee,ne,me),(ae.key!=null||pe&&ae===pe.subTree)&&traverseStaticChildren(te,ae,!0)):O(te,ae,H,be,pe,ee,ne,me,Be)},F=(te,ae,H,ve,pe,ee,ne,me,Be)=>{ae.slotScopeIds=me,te==null?ae.shapeFlag&512?pe.ctx.activate(ae,H,ve,ne,Be):N(ae,H,ve,pe,ee,ne,Be):K(te,ae,Be)},N=(te,ae,H,ve,pe,ee,ne)=>{const me=te.component=createComponentInstance(te,ve,pe);if(isKeepAlive(te)&&(me.ctx.renderer=Ee),setupComponent(me),me.asyncDep){if(pe&&pe.registerDep(me,G),!te.el){const Be=me.subTree=createVNode(Comment);x(null,Be,ae,H)}return}G(me,te,ae,H,pe,ee,ne)},K=(te,ae,H)=>{const ve=ae.component=te.component;if(shouldUpdateComponent(te,ae,H))if(ve.asyncDep&&!ve.asyncResolved){q(ve,ae,H);return}else ve.next=ae,invalidateJob(ve.update),ve.update();else ae.el=te.el,ve.vnode=ae},G=(te,ae,H,ve,pe,ee,ne)=>{const me=()=>{if(te.isMounted){let{next:be,bu:Ie,u:Re,parent:Pe,vnode:he}=te,Ce=be,ye;toggleRecurse(te,!1),be?(be.el=he.el,q(te,be,ne)):be=he,Ie&&invokeArrayFns(Ie),(ye=be.props&&be.props.onVnodeBeforeUpdate)&&invokeVNodeHook(ye,Pe,be,he),toggleRecurse(te,!0);const Fe=renderComponentRoot(te),Ue=te.subTree;te.subTree=Fe,S(Ue,Fe,m(Ue.el),ce(Ue),te,pe,ee),be.el=Fe.el,Ce===null&&updateHOCHostEl(te,Fe.el),Re&&queuePostRenderEffect(Re,pe),(ye=be.props&&be.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(ye,Pe,be,he),pe)}else{let be;const{el:Ie,props:Re}=ae,{bm:Pe,m:he,parent:Ce}=te,ye=isAsyncWrapper(ae);if(toggleRecurse(te,!1),Pe&&invokeArrayFns(Pe),!ye&&(be=Re&&Re.onVnodeBeforeMount)&&invokeVNodeHook(be,Ce,ae),toggleRecurse(te,!0),Ie&&De){const Fe=()=>{te.subTree=renderComponentRoot(te),De(Ie,te.subTree,te,pe,null)};ye?ae.type.__asyncLoader().then(()=>!te.isUnmounted&&Fe()):Fe()}else{const Fe=te.subTree=renderComponentRoot(te);S(null,Fe,H,ve,te,pe,ee),ae.el=Fe.el}if(he&&queuePostRenderEffect(he,pe),!ye&&(be=Re&&Re.onVnodeMounted)){const Fe=ae;queuePostRenderEffect(()=>invokeVNodeHook(be,Ce,Fe),pe)}(ae.shapeFlag&256||Ce&&isAsyncWrapper(Ce.vnode)&&Ce.vnode.shapeFlag&256)&&te.a&&queuePostRenderEffect(te.a,pe),te.isMounted=!0,ae=H=ve=null}},Be=te.effect=new ReactiveEffect(me,()=>queueJob(oe),te.scope),oe=te.update=()=>Be.run();oe.id=te.uid,toggleRecurse(te,!0),oe()},q=(te,ae,H)=>{ae.component=te;const ve=te.vnode.props;te.vnode=ae,te.next=null,updateProps(te,ae.props,ve,H),updateSlots(te,ae.children,H),pauseTracking(),flushPreFlushCbs(),resetTracking()},O=(te,ae,H,ve,pe,ee,ne,me,Be=!1)=>{const oe=te&&te.children,be=te?te.shapeFlag:0,Ie=ae.children,{patchFlag:Re,shapeFlag:Pe}=ae;if(Re>0){if(Re&128){$(oe,Ie,H,ve,pe,ee,ne,me,Be);return}else if(Re&256){U(oe,Ie,H,ve,pe,ee,ne,me,Be);return}}Pe&8?(be&16&&J(oe,pe,ee),Ie!==oe&&g(H,Ie)):be&16?Pe&16?$(oe,Ie,H,ve,pe,ee,ne,me,Be):J(oe,pe,ee,!0):(be&8&&g(H,""),Pe&16&&R(Ie,H,ve,pe,ee,ne,me,Be))},U=(te,ae,H,ve,pe,ee,ne,me,Be)=>{te=te||EMPTY_ARR,ae=ae||EMPTY_ARR;const oe=te.length,be=ae.length,Ie=Math.min(oe,be);let Re;for(Re=0;Re<Ie;Re++){const Pe=ae[Re]=Be?cloneIfMounted(ae[Re]):normalizeVNode(ae[Re]);S(te[Re],Pe,H,null,pe,ee,ne,me,Be)}oe>be?J(te,pe,ee,!0,!1,Ie):R(ae,H,ve,pe,ee,ne,me,Be,Ie)},$=(te,ae,H,ve,pe,ee,ne,me,Be)=>{let oe=0;const be=ae.length;let Ie=te.length-1,Re=be-1;for(;oe<=Ie&&oe<=Re;){const Pe=te[oe],he=ae[oe]=Be?cloneIfMounted(ae[oe]):normalizeVNode(ae[oe]);if(isSameVNodeType(Pe,he))S(Pe,he,H,null,pe,ee,ne,me,Be);else break;oe++}for(;oe<=Ie&&oe<=Re;){const Pe=te[Ie],he=ae[Re]=Be?cloneIfMounted(ae[Re]):normalizeVNode(ae[Re]);if(isSameVNodeType(Pe,he))S(Pe,he,H,null,pe,ee,ne,me,Be);else break;Ie--,Re--}if(oe>Ie){if(oe<=Re){const Pe=Re+1,he=Pe<be?ae[Pe].el:ve;for(;oe<=Re;)S(null,ae[oe]=Be?cloneIfMounted(ae[oe]):normalizeVNode(ae[oe]),H,he,pe,ee,ne,me,Be),oe++}}else if(oe>Re)for(;oe<=Ie;)Q(te[oe],pe,ee,!0),oe++;else{const Pe=oe,he=oe,Ce=new Map;for(oe=he;oe<=Re;oe++){const Ze=ae[oe]=Be?cloneIfMounted(ae[oe]):normalizeVNode(ae[oe]);Ze.key!=null&&Ce.set(Ze.key,oe)}let ye,Fe=0;const Ue=Re-he+1;let Ye=!1,Ge=0;const Ke=new Array(Ue);for(oe=0;oe<Ue;oe++)Ke[oe]=0;for(oe=Pe;oe<=Ie;oe++){const Ze=te[oe];if(Fe>=Ue){Q(Ze,pe,ee,!0);continue}let st;if(Ze.key!=null)st=Ce.get(Ze.key);else for(ye=he;ye<=Re;ye++)if(Ke[ye-he]===0&&isSameVNodeType(Ze,ae[ye])){st=ye;break}st===void 0?Q(Ze,pe,ee,!0):(Ke[st-he]=oe+1,st>=Ge?Ge=st:Ye=!0,S(Ze,ae[st],H,null,pe,ee,ne,me,Be),Fe++)}const et=Ye?getSequence(Ke):EMPTY_ARR;for(ye=et.length-1,oe=Ue-1;oe>=0;oe--){const Ze=he+oe,st=ae[Ze],vt=Ze+1<be?ae[Ze+1].el:ve;Ke[oe]===0?S(null,st,H,vt,pe,ee,ne,me,Be):Ye&&(ye<0||oe!==et[ye]?Y(st,H,vt,2):ye--)}}},Y=(te,ae,H,ve,pe=null)=>{const{el:ee,type:ne,transition:me,children:Be,shapeFlag:oe}=te;if(oe&6){Y(te.component.subTree,ae,H,ve);return}if(oe&128){te.suspense.move(ae,H,ve);return}if(oe&64){ne.move(te,ae,H,Ee);return}if(ne===Fragment){s(ee,ae,H);for(let Ie=0;Ie<Be.length;Ie++)Y(Be[Ie],ae,H,ve);s(te.anchor,ae,H);return}if(ne===Static){C(te,ae,H);return}if(ve!==2&&oe&1&&me)if(ve===0)me.beforeEnter(ee),s(ee,ae,H),queuePostRenderEffect(()=>me.enter(ee),pe);else{const{leave:Ie,delayLeave:Re,afterLeave:Pe}=me,he=()=>s(ee,ae,H),Ce=()=>{Ie(ee,()=>{he(),Pe&&Pe()})};Re?Re(ee,he,Ce):Ce()}else s(ee,ae,H)},Q=(te,ae,H,ve=!1,pe=!1)=>{const{type:ee,props:ne,ref:me,children:Be,dynamicChildren:oe,shapeFlag:be,patchFlag:Ie,dirs:Re}=te;if(me!=null&&setRef(me,null,H,te,!0),be&256){ae.ctx.deactivate(te);return}const Pe=be&1&&Re,he=!isAsyncWrapper(te);let Ce;if(he&&(Ce=ne&&ne.onVnodeBeforeUnmount)&&invokeVNodeHook(Ce,ae,te),be&6)W(te.component,H,ve);else{if(be&128){te.suspense.unmount(H,ve);return}Pe&&invokeDirectiveHook(te,null,ae,"beforeUnmount"),be&64?te.type.remove(te,ae,H,pe,Ee,ve):oe&&(ee!==Fragment||Ie>0&&Ie&64)?J(oe,ae,H,!1,!0):(ee===Fragment&&Ie&384||!pe&&be&16)&&J(Be,ae,H),ve&&xe(te)}(he&&(Ce=ne&&ne.onVnodeUnmounted)||Pe)&&queuePostRenderEffect(()=>{Ce&&invokeVNodeHook(Ce,ae,te),Pe&&invokeDirectiveHook(te,null,ae,"unmounted")},H)},xe=te=>{const{type:ae,el:H,anchor:ve,transition:pe}=te;if(ae===Fragment){ue(H,ve);return}if(ae===Static){T(te);return}const ee=()=>{o(H),pe&&!pe.persisted&&pe.afterLeave&&pe.afterLeave()};if(te.shapeFlag&1&&pe&&!pe.persisted){const{leave:ne,delayLeave:me}=pe,Be=()=>ne(H,ee);me?me(te.el,ee,Be):Be()}else ee()},ue=(te,ae)=>{let H;for(;te!==ae;)H=y(te),o(te),te=H;o(ae)},W=(te,ae,H)=>{const{bum:ve,scope:pe,update:ee,subTree:ne,um:me}=te;ve&&invokeArrayFns(ve),pe.stop(),ee&&(ee.active=!1,Q(ne,te,ae,H)),me&&queuePostRenderEffect(me,ae),queuePostRenderEffect(()=>{te.isUnmounted=!0},ae),ae&&ae.pendingBranch&&!ae.isUnmounted&&te.asyncDep&&!te.asyncResolved&&te.suspenseId===ae.pendingId&&(ae.deps--,ae.deps===0&&ae.resolve())},J=(te,ae,H,ve=!1,pe=!1,ee=0)=>{for(let ne=ee;ne<te.length;ne++)Q(te[ne],ae,H,ve,pe)},ce=te=>te.shapeFlag&6?ce(te.component.subTree):te.shapeFlag&128?te.suspense.next():y(te.anchor||te.el),ge=(te,ae,H)=>{te==null?ae._vnode&&Q(ae._vnode,null,null,!0):S(ae._vnode||null,te,ae,null,null,null,H),flushPreFlushCbs(),flushPostFlushCbs(),ae._vnode=te},Ee={p:S,um:Q,m:Y,r:xe,mt:N,mc:R,pc:O,pbc:_,n:ce,o:i};let Te,De;return e&&([Te,De]=e(Ee)),{render:ge,hydrate:Te,createApp:createAppAPI(ge,Te)}}function toggleRecurse({effect:i,update:e},r){i.allowRecurse=e.allowRecurse=r}function traverseStaticChildren(i,e,r=!1){const s=i.children,o=e.children;if(isArray$9(s)&&isArray$9(o))for(let a=0;a<s.length;a++){const l=s[a];let c=o[a];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=o[a]=cloneIfMounted(o[a]),c.el=l.el),r||traverseStaticChildren(l,c)),c.type===Text&&(c.el=l.el)}}function getSequence(i){const e=i.slice(),r=[0];let s,o,a,l,c;const u=i.length;for(s=0;s<u;s++){const d=i[s];if(d!==0){if(o=r[r.length-1],i[o]<d){e[s]=o,r.push(s);continue}for(a=0,l=r.length-1;a<l;)c=a+l>>1,i[r[c]]<d?a=c+1:l=c;d<i[r[a]]&&(a>0&&(e[s]=r[a-1]),r[a]=s)}}for(a=r.length,l=r[a-1];a-- >0;)r[a]=l,l=e[l];return r}const isTeleport=i=>i.__isTeleport,isTeleportDisabled=i=>i&&(i.disabled||i.disabled===""),isTargetSVG=i=>typeof SVGElement<"u"&&i instanceof SVGElement,resolveTarget=(i,e)=>{const r=i&&i.to;return isString$2(r)?e?e(r):null:r},TeleportImpl={__isTeleport:!0,process(i,e,r,s,o,a,l,c,u,d){const{mc:g,pc:m,pbc:y,o:{insert:b,querySelector:A,createText:S,createComment:E}}=d,x=isTeleportDisabled(e.props);let{shapeFlag:P,children:C,dynamicChildren:T}=e;if(i==null){const k=e.el=S(""),I=e.anchor=S("");b(k,r,s),b(I,r,s);const M=e.target=resolveTarget(e.props,A),R=e.targetAnchor=S("");M&&(b(R,M),l=l||isTargetSVG(M));const B=(_,V)=>{P&16&&g(C,_,V,o,a,l,c,u)};x?B(r,I):M&&B(M,R)}else{e.el=i.el;const k=e.anchor=i.anchor,I=e.target=i.target,M=e.targetAnchor=i.targetAnchor,R=isTeleportDisabled(i.props),B=R?r:I,_=R?k:M;if(l=l||isTargetSVG(I),T?(y(i.dynamicChildren,T,B,o,a,l,c),traverseStaticChildren(i,e,!0)):u||m(i,e,B,_,o,a,l,c,!1),x)R||moveTeleport(e,r,k,d,1);else if((e.props&&e.props.to)!==(i.props&&i.props.to)){const V=e.target=resolveTarget(e.props,A);V&&moveTeleport(e,V,null,d,0)}else R&&moveTeleport(e,I,M,d,1)}updateCssVars(e)},remove(i,e,r,s,{um:o,o:{remove:a}},l){const{shapeFlag:c,children:u,anchor:d,targetAnchor:g,target:m,props:y}=i;if(m&&a(g),(l||!isTeleportDisabled(y))&&(a(d),c&16))for(let b=0;b<u.length;b++){const A=u[b];o(A,e,r,!0,!!A.dynamicChildren)}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport(i,e,r,{o:{insert:s},m:o},a=2){a===0&&s(i.targetAnchor,e,r);const{el:l,anchor:c,shapeFlag:u,children:d,props:g}=i,m=a===2;if(m&&s(l,e,r),(!m||isTeleportDisabled(g))&&u&16)for(let y=0;y<d.length;y++)o(d[y],e,r,2);m&&s(c,e,r)}function hydrateTeleport(i,e,r,s,o,a,{o:{nextSibling:l,parentNode:c,querySelector:u}},d){const g=e.target=resolveTarget(e.props,u);if(g){const m=g._lpa||g.firstChild;if(e.shapeFlag&16)if(isTeleportDisabled(e.props))e.anchor=d(l(i),e,c(i),r,s,o,a),e.targetAnchor=m;else{e.anchor=l(i);let y=m;for(;y;)if(y=l(y),y&&y.nodeType===8&&y.data==="teleport anchor"){e.targetAnchor=y,g._lpa=e.targetAnchor&&l(e.targetAnchor);break}d(m,e,g,r,s,o,a)}updateCssVars(e)}return e.anchor&&l(e.anchor)}const Teleport=TeleportImpl;function updateCssVars(i){const e=i.ctx;if(e&&e.ut){let r=i.children[0].el;for(;r!==i.targetAnchor;)r.nodeType===1&&r.setAttribute("data-v-owner",e.uid),r=r.nextSibling;e.ut()}}const Fragment=Symbol(void 0),Text=Symbol(void 0),Comment=Symbol(void 0),Static=Symbol(void 0),blockStack=[];let currentBlock=null;function openBlock(i=!1){blockStack.push(currentBlock=i?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(i){isBlockTreeEnabled+=i}function setupBlock(i){return i.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(i),i}function createElementBlock(i,e,r,s,o,a){return setupBlock(createBaseVNode(i,e,r,s,o,a,!0))}function createBlock(i,e,r,s,o){return setupBlock(createVNode(i,e,r,s,o,!0))}function isVNode(i){return i?i.__v_isVNode===!0:!1}function isSameVNodeType(i,e){return i.type===e.type&&i.key===e.key}const InternalObjectKey="__vInternal",normalizeKey=({key:i})=>i!=null?i:null,normalizeRef=({ref:i,ref_key:e,ref_for:r})=>i!=null?isString$2(i)||isRef(i)||isFunction$6(i)?{i:currentRenderingInstance,r:i,k:e,f:!!r}:i:null;function createBaseVNode(i,e=null,r=null,s=0,o=null,a=i===Fragment?0:1,l=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:i,props:e,key:e&&normalizeKey(e),ref:e&&normalizeRef(e),scopeId:currentScopeId,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return c?(normalizeChildren(u,r),a&128&&i.normalize(u)):r&&(u.shapeFlag|=isString$2(r)?8:16),isBlockTreeEnabled>0&&!l&&currentBlock&&(u.patchFlag>0||a&6)&&u.patchFlag!==32&&currentBlock.push(u),u}const createVNode=_createVNode;function _createVNode(i,e=null,r=null,s=0,o=null,a=!1){if((!i||i===NULL_DYNAMIC_COMPONENT)&&(i=Comment),isVNode(i)){const c=cloneVNode(i,e,!0);return r&&normalizeChildren(c,r),isBlockTreeEnabled>0&&!a&&currentBlock&&(c.shapeFlag&6?currentBlock[currentBlock.indexOf(i)]=c:currentBlock.push(c)),c.patchFlag|=-2,c}if(isClassComponent(i)&&(i=i.__vccOpts),e){e=guardReactiveProps(e);let{class:c,style:u}=e;c&&!isString$2(c)&&(e.class=normalizeClass(c)),isObject$5(u)&&(isProxy(u)&&!isArray$9(u)&&(u=extend$3({},u)),e.style=normalizeStyle(u))}const l=isString$2(i)?1:isSuspense(i)?128:isTeleport(i)?64:isObject$5(i)?4:isFunction$6(i)?2:0;return createBaseVNode(i,e,r,s,o,l,a,!0)}function guardReactiveProps(i){return i?isProxy(i)||InternalObjectKey in i?extend$3({},i):i:null}function cloneVNode(i,e,r=!1){const{props:s,ref:o,patchFlag:a,children:l}=i,c=e?mergeProps(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:i.type,props:c,key:c&&normalizeKey(c),ref:e&&e.ref?r&&o?isArray$9(o)?o.concat(normalizeRef(e)):[o,normalizeRef(e)]:normalizeRef(e):o,scopeId:i.scopeId,slotScopeIds:i.slotScopeIds,children:l,target:i.target,targetAnchor:i.targetAnchor,staticCount:i.staticCount,shapeFlag:i.shapeFlag,patchFlag:e&&i.type!==Fragment?a===-1?16:a|16:a,dynamicProps:i.dynamicProps,dynamicChildren:i.dynamicChildren,appContext:i.appContext,dirs:i.dirs,transition:i.transition,component:i.component,suspense:i.suspense,ssContent:i.ssContent&&cloneVNode(i.ssContent),ssFallback:i.ssFallback&&cloneVNode(i.ssFallback),el:i.el,anchor:i.anchor,ctx:i.ctx,ce:i.ce}}function createTextVNode(i=" ",e=0){return createVNode(Text,null,i,e)}function createCommentVNode(i="",e=!1){return e?(openBlock(),createBlock(Comment,null,i)):createVNode(Comment,null,i)}function normalizeVNode(i){return i==null||typeof i=="boolean"?createVNode(Comment):isArray$9(i)?createVNode(Fragment,null,i.slice()):typeof i=="object"?cloneIfMounted(i):createVNode(Text,null,String(i))}function cloneIfMounted(i){return i.el===null&&i.patchFlag!==-1||i.memo?i:cloneVNode(i)}function normalizeChildren(i,e){let r=0;const{shapeFlag:s}=i;if(e==null)e=null;else if(isArray$9(e))r=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),normalizeChildren(i,o()),o._c&&(o._d=!0));return}else{r=32;const o=e._;!o&&!(InternalObjectKey in e)?e._ctx=currentRenderingInstance:o===3&&currentRenderingInstance&&(currentRenderingInstance.slots._===1?e._=1:(e._=2,i.patchFlag|=1024))}else isFunction$6(e)?(e={default:e,_ctx:currentRenderingInstance},r=32):(e=String(e),s&64?(r=16,e=[createTextVNode(e)]):r=8);i.children=e,i.shapeFlag|=r}function mergeProps(...i){const e={};for(let r=0;r<i.length;r++){const s=i[r];for(const o in s)if(o==="class")e.class!==s.class&&(e.class=normalizeClass([e.class,s.class]));else if(o==="style")e.style=normalizeStyle([e.style,s.style]);else if(isOn(o)){const a=e[o],l=s[o];l&&a!==l&&!(isArray$9(a)&&a.includes(l))&&(e[o]=a?[].concat(a,l):l)}else o!==""&&(e[o]=s[o])}return e}function invokeVNodeHook(i,e,r,s=null){callWithAsyncErrorHandling(i,e,7,[r,s])}const emptyAppContext=createAppContext();let uid$2=0;function createComponentInstance(i,e,r){const s=i.type,o=(e?e.appContext:i.appContext)||emptyAppContext,a={uid:uid$2++,vnode:i,type:s,parent:e,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(s,o),emitsOptions:normalizeEmitsOptions(s,o),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:s.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=e?e.root:a,a.emit=emit.bind(null,a),i.ce&&i.ce(a),a}let currentInstance=null;const getCurrentInstance=()=>currentInstance||currentRenderingInstance,setCurrentInstance=i=>{currentInstance=i,i.scope.on()},unsetCurrentInstance=()=>{currentInstance&&currentInstance.scope.off(),currentInstance=null};function isStatefulComponent(i){return i.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(i,e=!1){isInSSRComponentSetup=e;const{props:r,children:s}=i.vnode,o=isStatefulComponent(i);initProps(i,r,o,e),initSlots(i,s);const a=o?setupStatefulComponent(i,e):void 0;return isInSSRComponentSetup=!1,a}function setupStatefulComponent(i,e){const r=i.type;i.accessCache=Object.create(null),i.proxy=markRaw(new Proxy(i.ctx,PublicInstanceProxyHandlers));const{setup:s}=r;if(s){const o=i.setupContext=s.length>1?createSetupContext(i):null;setCurrentInstance(i),pauseTracking();const a=callWithErrorHandling(s,i,0,[i.props,o]);if(resetTracking(),unsetCurrentInstance(),isPromise$1(a)){if(a.then(unsetCurrentInstance,unsetCurrentInstance),e)return a.then(l=>{handleSetupResult(i,l,e)}).catch(l=>{handleError(l,i,0)});i.asyncDep=a}else handleSetupResult(i,a,e)}else finishComponentSetup(i,e)}function handleSetupResult(i,e,r){isFunction$6(e)?i.type.__ssrInlineRender?i.ssrRender=e:i.render=e:isObject$5(e)&&(i.setupState=proxyRefs(e)),finishComponentSetup(i,r)}let compile$1;function finishComponentSetup(i,e,r){const s=i.type;if(!i.render){if(!e&&compile$1&&!s.render){const o=s.template||resolveMergedOptions(i).template;if(o){const{isCustomElement:a,compilerOptions:l}=i.appContext.config,{delimiters:c,compilerOptions:u}=s,d=extend$3(extend$3({isCustomElement:a,delimiters:c},l),u);s.render=compile$1(o,d)}}i.render=s.render||NOOP}setCurrentInstance(i),pauseTracking(),applyOptions(i),resetTracking(),unsetCurrentInstance()}function createAttrsProxy(i){return new Proxy(i.attrs,{get(e,r){return track(i,"get","$attrs"),e[r]}})}function createSetupContext(i){const e=s=>{i.exposed=s||{}};let r;return{get attrs(){return r||(r=createAttrsProxy(i))},slots:i.slots,emit:i.emit,expose:e}}function getExposeProxy(i){if(i.exposed)return i.exposeProxy||(i.exposeProxy=new Proxy(proxyRefs(markRaw(i.exposed)),{get(e,r){if(r in e)return e[r];if(r in publicPropertiesMap)return publicPropertiesMap[r](i)},has(e,r){return r in e||r in publicPropertiesMap}}))}function getComponentName(i,e=!0){return isFunction$6(i)?i.displayName||i.name:i.name||e&&i.__name}function isClassComponent(i){return isFunction$6(i)&&"__vccOpts"in i}const computed=(i,e)=>computed$1(i,e,isInSSRComponentSetup);function h$1(i,e,r){const s=arguments.length;return s===2?isObject$5(e)&&!isArray$9(e)?isVNode(e)?createVNode(i,null,[e]):createVNode(i,e):createVNode(i,null,e):(s>3?r=Array.prototype.slice.call(arguments,2):s===3&&isVNode(r)&&(r=[r]),createVNode(i,e,r))}const ssrContextKey=Symbol(""),useSSRContext=()=>inject(ssrContextKey),version="3.2.47",svgNS="http://www.w3.org/2000/svg",doc$2=typeof document<"u"?document:null,templateContainer=doc$2&&doc$2.createElement("template"),nodeOps={insert:(i,e,r)=>{e.insertBefore(i,r||null)},remove:i=>{const e=i.parentNode;e&&e.removeChild(i)},createElement:(i,e,r,s)=>{const o=e?doc$2.createElementNS(svgNS,i):doc$2.createElement(i,r?{is:r}:void 0);return i==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:i=>doc$2.createTextNode(i),createComment:i=>doc$2.createComment(i),setText:(i,e)=>{i.nodeValue=e},setElementText:(i,e)=>{i.textContent=e},parentNode:i=>i.parentNode,nextSibling:i=>i.nextSibling,querySelector:i=>doc$2.querySelector(i),setScopeId(i,e){i.setAttribute(e,"")},insertStaticContent(i,e,r,s,o,a){const l=r?r.previousSibling:e.lastChild;if(o&&(o===a||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),r),!(o===a||!(o=o.nextSibling)););else{templateContainer.innerHTML=s?`<svg>${i}</svg>`:i;const c=templateContainer.content;if(s){const u=c.firstChild;for(;u.firstChild;)c.appendChild(u.firstChild);c.removeChild(u)}e.insertBefore(c,r)}return[l?l.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}};function patchClass(i,e,r){const s=i._vtc;s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?i.removeAttribute("class"):r?i.setAttribute("class",e):i.className=e}function patchStyle(i,e,r){const s=i.style,o=isString$2(r);if(r&&!o){if(e&&!isString$2(e))for(const a in e)r[a]==null&&setStyle(s,a,"");for(const a in r)setStyle(s,a,r[a])}else{const a=s.display;o?e!==r&&(s.cssText=r):e&&i.removeAttribute("style"),"_vod"in i&&(s.display=a)}}const importantRE=/\s*!important$/;function setStyle(i,e,r){if(isArray$9(r))r.forEach(s=>setStyle(i,e,s));else if(r==null&&(r=""),e.startsWith("--"))i.setProperty(e,r);else{const s=autoPrefix(i,e);importantRE.test(r)?i.setProperty(hyphenate(s),r.replace(importantRE,""),"important"):i[s]=r}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(i,e){const r=prefixCache[e];if(r)return r;let s=camelize$2(e);if(s!=="filter"&&s in i)return prefixCache[e]=s;s=capitalize(s);for(let o=0;o<prefixes.length;o++){const a=prefixes[o]+s;if(a in i)return prefixCache[e]=a}return e}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(i,e,r,s,o){if(s&&e.startsWith("xlink:"))r==null?i.removeAttributeNS(xlinkNS,e.slice(6,e.length)):i.setAttributeNS(xlinkNS,e,r);else{const a=isSpecialBooleanAttr(e);r==null||a&&!includeBooleanAttr(r)?i.removeAttribute(e):i.setAttribute(e,a?"":r)}}function patchDOMProp(i,e,r,s,o,a,l){if(e==="innerHTML"||e==="textContent"){s&&l(s,o,a),i[e]=r==null?"":r;return}if(e==="value"&&i.tagName!=="PROGRESS"&&!i.tagName.includes("-")){i._value=r;const u=r==null?"":r;(i.value!==u||i.tagName==="OPTION")&&(i.value=u),r==null&&i.removeAttribute(e);return}let c=!1;if(r===""||r==null){const u=typeof i[e];u==="boolean"?r=includeBooleanAttr(r):r==null&&u==="string"?(r="",c=!0):u==="number"&&(r=0,c=!0)}try{i[e]=r}catch(u){}c&&i.removeAttribute(e)}function addEventListener(i,e,r,s){i.addEventListener(e,r,s)}function removeEventListener(i,e,r,s){i.removeEventListener(e,r,s)}function patchEvent(i,e,r,s,o=null){const a=i._vei||(i._vei={}),l=a[e];if(s&&l)l.value=s;else{const[c,u]=parseName(e);if(s){const d=a[e]=createInvoker(s,o);addEventListener(i,c,d,u)}else l&&(removeEventListener(i,c,l,u),a[e]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(i){let e;if(optionsModifierRE.test(i)){e={};let s;for(;s=i.match(optionsModifierRE);)i=i.slice(0,i.length-s[0].length),e[s[0].toLowerCase()]=!0}return[i[2]===":"?i.slice(3):hyphenate(i.slice(2)),e]}let cachedNow=0;const p=Promise.resolve(),getNow=()=>cachedNow||(p.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(i,e){const r=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=r.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(s,r.value),e,5,[s])};return r.value=i,r.attached=getNow(),r}function patchStopImmediatePropagation(i,e){if(isArray$9(e)){const r=i.stopImmediatePropagation;return i.stopImmediatePropagation=()=>{r.call(i),i._stopped=!0},e.map(s=>o=>!o._stopped&&s&&s(o))}else return e}const nativeOnRE=/^on[a-z]/,patchProp=(i,e,r,s,o=!1,a,l,c,u)=>{e==="class"?patchClass(i,s,o):e==="style"?patchStyle(i,r,s):isOn(e)?isModelListener(e)||patchEvent(i,e,r,s,l):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):shouldSetAsProp(i,e,s,o))?patchDOMProp(i,e,s,a,l,c,u):(e==="true-value"?i._trueValue=s:e==="false-value"&&(i._falseValue=s),patchAttr(i,e,s,o))};function shouldSetAsProp(i,e,r,s){return s?!!(e==="innerHTML"||e==="textContent"||e in i&&nativeOnRE.test(e)&&isFunction$6(r)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&i.tagName==="INPUT"||e==="type"&&i.tagName==="TEXTAREA"||nativeOnRE.test(e)&&isString$2(r)?!1:e in i}const TRANSITION="transition",ANIMATION="animation",Transition=(i,{slots:e})=>h$1(BaseTransition,resolveTransitionProps(i),e);Transition.displayName="Transition";const DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=Transition.props=extend$3({},BaseTransition.props,DOMTransitionPropsValidators),callHook=(i,e=[])=>{isArray$9(i)?i.forEach(r=>r(...e)):i&&i(...e)},hasExplicitCallback=i=>i?isArray$9(i)?i.some(e=>e.length>1):i.length>1:!1;function resolveTransitionProps(i){const e={};for(const D in i)D in DOMTransitionPropsValidators||(e[D]=i[D]);if(i.css===!1)return e;const{name:r="v",type:s,duration:o,enterFromClass:a=`${r}-enter-from`,enterActiveClass:l=`${r}-enter-active`,enterToClass:c=`${r}-enter-to`,appearFromClass:u=a,appearActiveClass:d=l,appearToClass:g=c,leaveFromClass:m=`${r}-leave-from`,leaveActiveClass:y=`${r}-leave-active`,leaveToClass:b=`${r}-leave-to`}=i,A=normalizeDuration(o),S=A&&A[0],E=A&&A[1],{onBeforeEnter:x,onEnter:P,onEnterCancelled:C,onLeave:T,onLeaveCancelled:k,onBeforeAppear:I=x,onAppear:M=P,onAppearCancelled:R=C}=e,B=(D,F,N)=>{removeTransitionClass(D,F?g:c),removeTransitionClass(D,F?d:l),N&&N()},_=(D,F)=>{D._isLeaving=!1,removeTransitionClass(D,m),removeTransitionClass(D,b),removeTransitionClass(D,y),F&&F()},V=D=>(F,N)=>{const K=D?M:P,G=()=>B(F,D,N);callHook(K,[F,G]),nextFrame(()=>{removeTransitionClass(F,D?u:a),addTransitionClass(F,D?g:c),hasExplicitCallback(K)||whenTransitionEnds(F,s,S,G)})};return extend$3(e,{onBeforeEnter(D){callHook(x,[D]),addTransitionClass(D,a),addTransitionClass(D,l)},onBeforeAppear(D){callHook(I,[D]),addTransitionClass(D,u),addTransitionClass(D,d)},onEnter:V(!1),onAppear:V(!0),onLeave(D,F){D._isLeaving=!0;const N=()=>_(D,F);addTransitionClass(D,m),forceReflow(),addTransitionClass(D,y),nextFrame(()=>{D._isLeaving&&(removeTransitionClass(D,m),addTransitionClass(D,b),hasExplicitCallback(T)||whenTransitionEnds(D,s,E,N))}),callHook(T,[D,N])},onEnterCancelled(D){B(D,!1),callHook(C,[D])},onAppearCancelled(D){B(D,!0),callHook(R,[D])},onLeaveCancelled(D){_(D),callHook(k,[D])}})}function normalizeDuration(i){if(i==null)return null;if(isObject$5(i))return[NumberOf(i.enter),NumberOf(i.leave)];{const e=NumberOf(i);return[e,e]}}function NumberOf(i){return toNumber$1(i)}function addTransitionClass(i,e){e.split(/\s+/).forEach(r=>r&&i.classList.add(r)),(i._vtc||(i._vtc=new Set)).add(e)}function removeTransitionClass(i,e){e.split(/\s+/).forEach(s=>s&&i.classList.remove(s));const{_vtc:r}=i;r&&(r.delete(e),r.size||(i._vtc=void 0))}function nextFrame(i){requestAnimationFrame(()=>{requestAnimationFrame(i)})}let endId=0;function whenTransitionEnds(i,e,r,s){const o=i._endId=++endId,a=()=>{o===i._endId&&s()};if(r)return setTimeout(a,r);const{type:l,timeout:c,propCount:u}=getTransitionInfo(i,e);if(!l)return s();const d=l+"end";let g=0;const m=()=>{i.removeEventListener(d,y),a()},y=b=>{b.target===i&&++g>=u&&m()};setTimeout(()=>{g<u&&m()},c+1),i.addEventListener(d,y)}function getTransitionInfo(i,e){const r=window.getComputedStyle(i),s=A=>(r[A]||"").split(", "),o=s(`${TRANSITION}Delay`),a=s(`${TRANSITION}Duration`),l=getTimeout(o,a),c=s(`${ANIMATION}Delay`),u=s(`${ANIMATION}Duration`),d=getTimeout(c,u);let g=null,m=0,y=0;e===TRANSITION?l>0&&(g=TRANSITION,m=l,y=a.length):e===ANIMATION?d>0&&(g=ANIMATION,m=d,y=u.length):(m=Math.max(l,d),g=m>0?l>d?TRANSITION:ANIMATION:null,y=g?g===TRANSITION?a.length:u.length:0);const b=g===TRANSITION&&/\b(transform|all)(,|$)/.test(s(`${TRANSITION}Property`).toString());return{type:g,timeout:m,propCount:y,hasTransform:b}}function getTimeout(i,e){for(;i.length<e.length;)i=i.concat(i);return Math.max(...e.map((r,s)=>toMs(r)+toMs(i[s])))}function toMs(i){return Number(i.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}const positionMap=new WeakMap,newPositionMap=new WeakMap,TransitionGroupImpl={name:"TransitionGroup",props:extend$3({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(i,{slots:e}){const r=getCurrentInstance(),s=useTransitionState();let o,a;return onUpdated(()=>{if(!o.length)return;const l=i.moveClass||`${i.name||"v"}-move`;if(!hasCSSTransform(o[0].el,r.vnode.el,l))return;o.forEach(callPendingCbs),o.forEach(recordPosition);const c=o.filter(applyTranslation);forceReflow(),c.forEach(u=>{const d=u.el,g=d.style;addTransitionClass(d,l),g.transform=g.webkitTransform=g.transitionDuration="";const m=d._moveCb=y=>{y&&y.target!==d||(!y||/transform$/.test(y.propertyName))&&(d.removeEventListener("transitionend",m),d._moveCb=null,removeTransitionClass(d,l))};d.addEventListener("transitionend",m)})}),()=>{const l=toRaw(i),c=resolveTransitionProps(l);let u=l.tag||Fragment;o=a,a=e.default?getTransitionRawChildren(e.default()):[];for(let d=0;d<a.length;d++){const g=a[d];g.key!=null&&setTransitionHooks(g,resolveTransitionHooks(g,c,s,r))}if(o)for(let d=0;d<o.length;d++){const g=o[d];setTransitionHooks(g,resolveTransitionHooks(g,c,s,r)),positionMap.set(g,g.el.getBoundingClientRect())}return createVNode(u,null,a)}}},removeMode=i=>delete i.mode;TransitionGroupImpl.props;const TransitionGroup=TransitionGroupImpl;function callPendingCbs(i){const e=i.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function recordPosition(i){newPositionMap.set(i,i.el.getBoundingClientRect())}function applyTranslation(i){const e=positionMap.get(i),r=newPositionMap.get(i),s=e.left-r.left,o=e.top-r.top;if(s||o){const a=i.el.style;return a.transform=a.webkitTransform=`translate(${s}px,${o}px)`,a.transitionDuration="0s",i}}function hasCSSTransform(i,e,r){const s=i.cloneNode();i._vtc&&i._vtc.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),r.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=e.nodeType===1?e:e.parentNode;o.appendChild(s);const{hasTransform:a}=getTransitionInfo(s);return o.removeChild(s),a}const keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=(i,e)=>r=>{if(!("key"in r))return;const s=hyphenate(r.key);if(e.some(o=>o===s||keyNames[o]===s))return i(r)},vShow={beforeMount(i,{value:e},{transition:r}){i._vod=i.style.display==="none"?"":i.style.display,r&&e?r.beforeEnter(i):setDisplay(i,e)},mounted(i,{value:e},{transition:r}){r&&e&&r.enter(i)},updated(i,{value:e,oldValue:r},{transition:s}){!e!=!r&&(s?e?(s.beforeEnter(i),setDisplay(i,!0),s.enter(i)):s.leave(i,()=>{setDisplay(i,!1)}):setDisplay(i,e))},beforeUnmount(i,{value:e}){setDisplay(i,e)}};function setDisplay(i,e){i.style.display=e?i._vod:"none"}const rendererOptions=extend$3({patchProp},nodeOps);let renderer;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}const createApp=(...i)=>{const e=ensureRenderer().createApp(...i),{mount:r}=e;return e.mount=s=>{const o=normalizeContainer(s);if(!o)return;const a=e._component;!isFunction$6(a)&&!a.render&&!a.template&&(a.template=o.innerHTML),o.innerHTML="";const l=r(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),l},e};function normalizeContainer(i){return isString$2(i)?document.querySelector(i):i}/*!
  2. * vue-router v4.1.6
  3. * (c) 2022 Eduardo San Martin Morote
  4. * @license MIT
  5. */const isBrowser=typeof window<"u";function isESModule(i){return i.__esModule||i[Symbol.toStringTag]==="Module"}const assign$2=Object.assign;function applyToParams(i,e){const r={};for(const s in e){const o=e[s];r[s]=isArray$8(o)?o.map(i):i(o)}return r}const noop$2=()=>{},isArray$8=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=i=>i.replace(TRAILING_SLASH_RE,"");function parseURL(i,e,r="/"){let s,o={},a="",l="";const c=e.indexOf("#");let u=e.indexOf("?");return c<u&&c>=0&&(u=-1),u>-1&&(s=e.slice(0,u),a=e.slice(u+1,c>-1?c:e.length),o=i(a)),c>-1&&(s=s||e.slice(0,c),l=e.slice(c,e.length)),s=resolveRelativePath(s!=null?s:e,r),{fullPath:s+(a&&"?")+a+l,path:s,query:o,hash:l}}function stringifyURL(i,e){const r=e.query?i(e.query):"";return e.path+(r&&"?")+r+(e.hash||"")}function stripBase(i,e){return!e||!i.toLowerCase().startsWith(e.toLowerCase())?i:i.slice(e.length)||"/"}function isSameRouteLocation(i,e,r){const s=e.matched.length-1,o=r.matched.length-1;return s>-1&&s===o&&isSameRouteRecord(e.matched[s],r.matched[o])&&isSameRouteLocationParams(e.params,r.params)&&i(e.query)===i(r.query)&&e.hash===r.hash}function isSameRouteRecord(i,e){return(i.aliasOf||i)===(e.aliasOf||e)}function isSameRouteLocationParams(i,e){if(Object.keys(i).length!==Object.keys(e).length)return!1;for(const r in i)if(!isSameRouteLocationParamsValue(i[r],e[r]))return!1;return!0}function isSameRouteLocationParamsValue(i,e){return isArray$8(i)?isEquivalentArray(i,e):isArray$8(e)?isEquivalentArray(e,i):i===e}function isEquivalentArray(i,e){return isArray$8(e)?i.length===e.length&&i.every((r,s)=>r===e[s]):i.length===1&&i[0]===e}function resolveRelativePath(i,e){if(i.startsWith("/"))return i;if(!i)return e;const r=e.split("/"),s=i.split("/");let o=r.length-1,a,l;for(a=0;a<s.length;a++)if(l=s[a],l!==".")if(l==="..")o>1&&o--;else break;return r.slice(0,o).join("/")+"/"+s.slice(a-(a===s.length?1:0)).join("/")}var NavigationType;(function(i){i.pop="pop",i.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(i){i.back="back",i.forward="forward",i.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(i){if(!i)if(isBrowser){const e=document.querySelector("base");i=e&&e.getAttribute("href")||"/",i=i.replace(/^\w+:\/\/[^\/]+/,"")}else i="/";return i[0]!=="/"&&i[0]!=="#"&&(i="/"+i),removeTrailingSlash(i)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(i,e){return i.replace(BEFORE_HASH_RE,"#")+e}function getElementPosition(i,e){const r=document.documentElement.getBoundingClientRect(),s=i.getBoundingClientRect();return{behavior:e.behavior,left:s.left-r.left-(e.left||0),top:s.top-r.top-(e.top||0)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition(i){let e;if("el"in i){const r=i.el,s=typeof r=="string"&&r.startsWith("#"),o=typeof r=="string"?s?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!o)return;e=getElementPosition(o,i)}else e=i;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function getScrollKey(i,e){return(history.state?history.state.position-e:-1)+i}const scrollPositions=new Map;function saveScrollPosition(i,e){scrollPositions.set(i,e)}function getSavedScrollPosition(i){const e=scrollPositions.get(i);return scrollPositions.delete(i),e}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(i,e){const{pathname:r,search:s,hash:o}=e,a=i.indexOf("#");if(a>-1){let c=o.includes(i.slice(a))?i.slice(a).length:1,u=o.slice(c);return u[0]!=="/"&&(u="/"+u),stripBase(u,"")}return stripBase(r,i)+s+o}function useHistoryListeners(i,e,r,s){let o=[],a=[],l=null;const c=({state:y})=>{const b=createCurrentLocation(i,location),A=r.value,S=e.value;let E=0;if(y){if(r.value=b,e.value=y,l&&l===A){l=null;return}E=S?y.position-S.position:0}else s(b);o.forEach(x=>{x(r.value,A,{delta:E,type:NavigationType.pop,direction:E?E>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function u(){l=r.value}function d(y){o.push(y);const b=()=>{const A=o.indexOf(y);A>-1&&o.splice(A,1)};return a.push(b),b}function g(){const{history:y}=window;y.state&&y.replaceState(assign$2({},y.state,{scroll:computeScrollPosition()}),"")}function m(){for(const y of a)y();a=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",g)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",g),{pauseListeners:u,listen:d,destroy:m}}function buildState(i,e,r,s=!1,o=!1){return{back:i,current:e,forward:r,replaced:s,position:window.history.length,scroll:o?computeScrollPosition():null}}function useHistoryStateNavigation(i){const{history:e,location:r}=window,s={value:createCurrentLocation(i,r)},o={value:e.state};o.value||a(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function a(u,d,g){const m=i.indexOf("#"),y=m>-1?(r.host&&document.querySelector("base")?i:i.slice(m))+u:createBaseLocation()+i+u;try{e[g?"replaceState":"pushState"](d,"",y),o.value=d}catch(b){console.error(b),r[g?"replace":"assign"](y)}}function l(u,d){const g=assign$2({},e.state,buildState(o.value.back,u,o.value.forward,!0),d,{position:o.value.position});a(u,g,!0),s.value=u}function c(u,d){const g=assign$2({},o.value,e.state,{forward:u,scroll:computeScrollPosition()});a(g.current,g,!0);const m=assign$2({},buildState(s.value,u,null),{position:g.position+1},d);a(u,m,!1),s.value=u}return{location:s,state:o,push:c,replace:l}}function createWebHistory(i){i=normalizeBase(i);const e=useHistoryStateNavigation(i),r=useHistoryListeners(i,e.state,e.location,e.replace);function s(a,l=!0){l||r.pauseListeners(),history.go(a)}const o=assign$2({location:"",base:i,go:s,createHref:createHref.bind(null,i)},e,r);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>e.state.value}),o}function createWebHashHistory(i){return i=location.host?i||location.pathname+location.search:"",i.includes("#")||(i+="#"),createWebHistory(i)}function isRouteLocation(i){return typeof i=="string"||i&&typeof i=="object"}function isRouteName(i){return typeof i=="string"||typeof i=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(i){i[i.aborted=4]="aborted",i[i.cancelled=8]="cancelled",i[i.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(i,e){return assign$2(new Error,{type:i,[NavigationFailureSymbol]:!0},e)}function isNavigationFailure(i,e){return i instanceof Error&&NavigationFailureSymbol in i&&(e==null||!!(i.type&e))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(i,e){const r=assign$2({},BASE_PATH_PARSER_OPTIONS,e),s=[];let o=r.start?"^":"";const a=[];for(const d of i){const g=d.length?[]:[90];r.strict&&!d.length&&(o+="/");for(let m=0;m<d.length;m++){const y=d[m];let b=40+(r.sensitive?.25:0);if(y.type===0)m||(o+="/"),o+=y.value.replace(REGEX_CHARS_RE,"\\$&"),b+=40;else if(y.type===1){const{value:A,repeatable:S,optional:E,regexp:x}=y;a.push({name:A,repeatable:S,optional:E});const P=x||BASE_PARAM_PATTERN;if(P!==BASE_PARAM_PATTERN){b+=10;try{new RegExp(`(${P})`)}catch(T){throw new Error(`Invalid custom RegExp for param "${A}" (${P}): `+T.message)}}let C=S?`((?:${P})(?:/(?:${P}))*)`:`(${P})`;m||(C=E&&d.length<2?`(?:/${C})`:"/"+C),E&&(C+="?"),o+=C,b+=20,E&&(b+=-8),S&&(b+=-20),P===".*"&&(b+=-50)}g.push(b)}s.push(g)}if(r.strict&&r.end){const d=s.length-1;s[d][s[d].length-1]+=.7000000000000001}r.strict||(o+="/?"),r.end?o+="$":r.strict&&(o+="(?:/|$)");const l=new RegExp(o,r.sensitive?"":"i");function c(d){const g=d.match(l),m={};if(!g)return null;for(let y=1;y<g.length;y++){const b=g[y]||"",A=a[y-1];m[A.name]=b&&A.repeatable?b.split("/"):b}return m}function u(d){let g="",m=!1;for(const y of i){(!m||!g.endsWith("/"))&&(g+="/"),m=!1;for(const b of y)if(b.type===0)g+=b.value;else if(b.type===1){const{value:A,repeatable:S,optional:E}=b,x=A in d?d[A]:"";if(isArray$8(x)&&!S)throw new Error(`Provided param "${A}" is an array but it is not repeatable (* or + modifiers)`);const P=isArray$8(x)?x.join("/"):x;if(!P)if(E)y.length<2&&(g.endsWith("/")?g=g.slice(0,-1):m=!0);else throw new Error(`Missing required param "${A}"`);g+=P}}return g||"/"}return{re:l,score:s,keys:a,parse:c,stringify:u}}function compareScoreArray(i,e){let r=0;for(;r<i.length&&r<e.length;){const s=e[r]-i[r];if(s)return s;r++}return i.length<e.length?i.length===1&&i[0]===40+40?-1:1:i.length>e.length?e.length===1&&e[0]===40+40?1:-1:0}function comparePathParserScore(i,e){let r=0;const s=i.score,o=e.score;for(;r<s.length&&r<o.length;){const a=compareScoreArray(s[r],o[r]);if(a)return a;r++}if(Math.abs(o.length-s.length)===1){if(isLastScoreNegative(s))return 1;if(isLastScoreNegative(o))return-1}return o.length-s.length}function isLastScoreNegative(i){const e=i[i.length-1];return i.length>0&&e[e.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(i){if(!i)return[[]];if(i==="/")return[[ROOT_TOKEN]];if(!i.startsWith("/"))throw new Error(`Invalid path "${i}"`);function e(b){throw new Error(`ERR (${r})/"${d}": ${b}`)}let r=0,s=r;const o=[];let a;function l(){a&&o.push(a),a=[]}let c=0,u,d="",g="";function m(){d&&(r===0?a.push({type:0,value:d}):r===1||r===2||r===3?(a.length>1&&(u==="*"||u==="+")&&e(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:d,regexp:g,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):e("Invalid state to consume buffer"),d="")}function y(){d+=u}for(;c<i.length;){if(u=i[c++],u==="\\"&&r!==2){s=r,r=4;continue}switch(r){case 0:u==="/"?(d&&m(),l()):u===":"?(m(),r=1):y();break;case 4:y(),r=s;break;case 1:u==="("?r=2:VALID_PARAM_RE.test(u)?y():(m(),r=0,u!=="*"&&u!=="?"&&u!=="+"&&c--);break;case 2:u===")"?g[g.length-1]=="\\"?g=g.slice(0,-1)+u:r=3:g+=u;break;case 3:m(),r=0,u!=="*"&&u!=="?"&&u!=="+"&&c--,g="";break;default:e("Unknown state");break}}return r===2&&e(`Unfinished custom RegExp for param "${d}"`),m(),l(),o}function createRouteRecordMatcher(i,e,r){const s=tokensToParser(tokenizePath(i.path),r),o=assign$2(s,{record:i,parent:e,children:[],alias:[]});return e&&!o.record.aliasOf==!e.record.aliasOf&&e.children.push(o),o}function createRouterMatcher(i,e){const r=[],s=new Map;e=mergeOptions({strict:!1,end:!0,sensitive:!1},e);function o(g){return s.get(g)}function a(g,m,y){const b=!y,A=normalizeRouteRecord(g);A.aliasOf=y&&y.record;const S=mergeOptions(e,g),E=[A];if("alias"in g){const C=typeof g.alias=="string"?[g.alias]:g.alias;for(const T of C)E.push(assign$2({},A,{components:y?y.record.components:A.components,path:T,aliasOf:y?y.record:A}))}let x,P;for(const C of E){const{path:T}=C;if(m&&T[0]!=="/"){const k=m.record.path,I=k[k.length-1]==="/"?"":"/";C.path=m.record.path+(T&&I+T)}if(x=createRouteRecordMatcher(C,m,S),y?y.alias.push(x):(P=P||x,P!==x&&P.alias.push(x),b&&g.name&&!isAliasRecord(x)&&l(g.name)),A.children){const k=A.children;for(let I=0;I<k.length;I++)a(k[I],x,y&&y.children[I])}y=y||x,(x.record.components&&Object.keys(x.record.components).length||x.record.name||x.record.redirect)&&u(x)}return P?()=>{l(P)}:noop$2}function l(g){if(isRouteName(g)){const m=s.get(g);m&&(s.delete(g),r.splice(r.indexOf(m),1),m.children.forEach(l),m.alias.forEach(l))}else{const m=r.indexOf(g);m>-1&&(r.splice(m,1),g.record.name&&s.delete(g.record.name),g.children.forEach(l),g.alias.forEach(l))}}function c(){return r}function u(g){let m=0;for(;m<r.length&&comparePathParserScore(g,r[m])>=0&&(g.record.path!==r[m].record.path||!isRecordChildOf(g,r[m]));)m++;r.splice(m,0,g),g.record.name&&!isAliasRecord(g)&&s.set(g.record.name,g)}function d(g,m){let y,b={},A,S;if("name"in g&&g.name){if(y=s.get(g.name),!y)throw createRouterError(1,{location:g});S=y.record.name,b=assign$2(paramsFromLocation(m.params,y.keys.filter(P=>!P.optional).map(P=>P.name)),g.params&&paramsFromLocation(g.params,y.keys.map(P=>P.name))),A=y.stringify(b)}else if("path"in g)A=g.path,y=r.find(P=>P.re.test(A)),y&&(b=y.parse(A),S=y.record.name);else{if(y=m.name?s.get(m.name):r.find(P=>P.re.test(m.path)),!y)throw createRouterError(1,{location:g,currentLocation:m});S=y.record.name,b=assign$2({},m.params,g.params),A=y.stringify(b)}const E=[];let x=y;for(;x;)E.unshift(x.record),x=x.parent;return{name:S,path:A,params:b,matched:E,meta:mergeMetaFields(E)}}return i.forEach(g=>a(g)),{addRoute:a,resolve:d,removeRoute:l,getRoutes:c,getRecordMatcher:o}}function paramsFromLocation(i,e){const r={};for(const s of e)s in i&&(r[s]=i[s]);return r}function normalizeRouteRecord(i){return{path:i.path,redirect:i.redirect,name:i.name,meta:i.meta||{},aliasOf:void 0,beforeEnter:i.beforeEnter,props:normalizeRecordProps(i),children:i.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in i?i.components||null:i.component&&{default:i.component}}}function normalizeRecordProps(i){const e={},r=i.props||!1;if("component"in i)e.default=r;else for(const s in i.components)e[s]=typeof r=="boolean"?r:r[s];return e}function isAliasRecord(i){for(;i;){if(i.record.aliasOf)return!0;i=i.parent}return!1}function mergeMetaFields(i){return i.reduce((e,r)=>assign$2(e,r.meta),{})}function mergeOptions(i,e){const r={};for(const s in i)r[s]=s in e?e[s]:i[s];return r}function isRecordChildOf(i,e){return e.children.some(r=>r===i||isRecordChildOf(i,r))}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(i){return encodeURI(""+i).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(i){return commonEncode(i).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(i){return commonEncode(i).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(i){return encodeQueryValue(i).replace(EQUAL_RE,"%3D")}function encodePath(i){return commonEncode(i).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(i){return i==null?"":encodePath(i).replace(SLASH_RE,"%2F")}function decode$5(i){try{return decodeURIComponent(""+i)}catch(e){}return""+i}function parseQuery(i){const e={};if(i===""||i==="?")return e;const s=(i[0]==="?"?i.slice(1):i).split("&");for(let o=0;o<s.length;++o){const a=s[o].replace(PLUS_RE," "),l=a.indexOf("="),c=decode$5(l<0?a:a.slice(0,l)),u=l<0?null:decode$5(a.slice(l+1));if(c in e){let d=e[c];isArray$8(d)||(d=e[c]=[d]),d.push(u)}else e[c]=u}return e}function stringifyQuery(i){let e="";for(let r in i){const s=i[r];if(r=encodeQueryKey(r),s==null){s!==void 0&&(e+=(e.length?"&":"")+r);continue}(isArray$8(s)?s.map(a=>a&&encodeQueryValue(a)):[s&&encodeQueryValue(s)]).forEach(a=>{a!==void 0&&(e+=(e.length?"&":"")+r,a!=null&&(e+="="+a))})}return e}function normalizeQuery(i){const e={};for(const r in i){const s=i[r];s!==void 0&&(e[r]=isArray$8(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return e}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let i=[];function e(s){return i.push(s),()=>{const o=i.indexOf(s);o>-1&&i.splice(o,1)}}function r(){i=[]}return{add:e,list:()=>i,reset:r}}function guardToPromiseFn(i,e,r,s,o){const a=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((l,c)=>{const u=m=>{m===!1?c(createRouterError(4,{from:r,to:e})):m instanceof Error?c(m):isRouteLocation(m)?c(createRouterError(2,{from:e,to:m})):(a&&s.enterCallbacks[o]===a&&typeof m=="function"&&a.push(m),l())},d=i.call(s&&s.instances[o],e,r,u);let g=Promise.resolve(d);i.length<3&&(g=g.then(u)),g.catch(m=>c(m))})}function extractComponentsGuards(i,e,r,s){const o=[];for(const a of i)for(const l in a.components){let c=a.components[l];if(!(e!=="beforeRouteEnter"&&!a.instances[l]))if(isRouteComponent(c)){const d=(c.__vccOpts||c)[e];d&&o.push(guardToPromiseFn(d,r,s,a,l))}else{let u=c();o.push(()=>u.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${a.path}"`));const g=isESModule(d)?d.default:d;a.components[l]=g;const y=(g.__vccOpts||g)[e];return y&&guardToPromiseFn(y,r,s,a,l)()}))}}return o}function isRouteComponent(i){return typeof i=="object"||"displayName"in i||"props"in i||"__vccOpts"in i}function useLink(i){const e=inject(routerKey),r=inject(routeLocationKey),s=computed(()=>e.resolve(unref(i.to))),o=computed(()=>{const{matched:u}=s.value,{length:d}=u,g=u[d-1],m=r.matched;if(!g||!m.length)return-1;const y=m.findIndex(isSameRouteRecord.bind(null,g));if(y>-1)return y;const b=getOriginalPath(u[d-2]);return d>1&&getOriginalPath(g)===b&&m[m.length-1].path!==b?m.findIndex(isSameRouteRecord.bind(null,u[d-2])):y}),a=computed(()=>o.value>-1&&includesParams(r.params,s.value.params)),l=computed(()=>o.value>-1&&o.value===r.matched.length-1&&isSameRouteLocationParams(r.params,s.value.params));function c(u={}){return guardEvent(u)?e[unref(i.replace)?"replace":"push"](unref(i.to)).catch(noop$2):Promise.resolve()}return{route:s,href:computed(()=>s.value.href),isActive:a,isExactActive:l,navigate:c}}const RouterLinkImpl=defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink,setup(i,{slots:e}){const r=reactive(useLink(i)),{options:s}=inject(routerKey),o=computed(()=>({[getLinkClass(i.activeClass,s.linkActiveClass,"router-link-active")]:r.isActive,[getLinkClass(i.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const a=e.default&&e.default(r);return i.custom?a:h$1("a",{"aria-current":r.isExactActive?i.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:o.value},a)}}}),RouterLink=RouterLinkImpl;function guardEvent(i){if(!(i.metaKey||i.altKey||i.ctrlKey||i.shiftKey)&&!i.defaultPrevented&&!(i.button!==void 0&&i.button!==0)){if(i.currentTarget&&i.currentTarget.getAttribute){const e=i.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return i.preventDefault&&i.preventDefault(),!0}}function includesParams(i,e){for(const r in e){const s=e[r],o=i[r];if(typeof s=="string"){if(s!==o)return!1}else if(!isArray$8(o)||o.length!==s.length||s.some((a,l)=>a!==o[l]))return!1}return!0}function getOriginalPath(i){return i?i.aliasOf?i.aliasOf.path:i.path:""}const getLinkClass=(i,e,r)=>i!=null?i:e!=null?e:r,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(i,{attrs:e,slots:r}){const s=inject(routerViewLocationKey),o=computed(()=>i.route||s.value),a=inject(viewDepthKey,0),l=computed(()=>{let d=unref(a);const{matched:g}=o.value;let m;for(;(m=g[d])&&!m.components;)d++;return d}),c=computed(()=>o.value.matched[l.value]);provide(viewDepthKey,computed(()=>l.value+1)),provide(matchedRouteKey,c),provide(routerViewLocationKey,o);const u=ref();return watch(()=>[u.value,c.value,i.name],([d,g,m],[y,b,A])=>{g&&(g.instances[m]=d,b&&b!==g&&d&&d===y&&(g.leaveGuards.size||(g.leaveGuards=b.leaveGuards),g.updateGuards.size||(g.updateGuards=b.updateGuards))),d&&g&&(!b||!isSameRouteRecord(g,b)||!y)&&(g.enterCallbacks[m]||[]).forEach(S=>S(d))},{flush:"post"}),()=>{const d=o.value,g=i.name,m=c.value,y=m&&m.components[g];if(!y)return normalizeSlot(r.default,{Component:y,route:d});const b=m.props[g],A=b?b===!0?d.params:typeof b=="function"?b(d):b:null,E=h$1(y,assign$2({},A,e,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(m.instances[g]=null)},ref:u}));return normalizeSlot(r.default,{Component:E,route:d})||E}}});function normalizeSlot(i,e){if(!i)return null;const r=i(e);return r.length===1?r[0]:r}const RouterView=RouterViewImpl;function createRouter(i){const e=createRouterMatcher(i.routes,i),r=i.parseQuery||parseQuery,s=i.stringifyQuery||stringifyQuery,o=i.history,a=useCallbacks(),l=useCallbacks(),c=useCallbacks(),u=shallowRef(START_LOCATION_NORMALIZED);let d=START_LOCATION_NORMALIZED;isBrowser&&i.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const g=applyToParams.bind(null,W=>""+W),m=applyToParams.bind(null,encodeParam),y=applyToParams.bind(null,decode$5);function b(W,J){let ce,ge;return isRouteName(W)?(ce=e.getRecordMatcher(W),ge=J):ge=W,e.addRoute(ge,ce)}function A(W){const J=e.getRecordMatcher(W);J&&e.removeRoute(J)}function S(){return e.getRoutes().map(W=>W.record)}function E(W){return!!e.getRecordMatcher(W)}function x(W,J){if(J=assign$2({},J||u.value),typeof W=="string"){const te=parseURL(r,W,J.path),ae=e.resolve({path:te.path},J),H=o.createHref(te.fullPath);return assign$2(te,ae,{params:y(ae.params),hash:decode$5(te.hash),redirectedFrom:void 0,href:H})}let ce;if("path"in W)ce=assign$2({},W,{path:parseURL(r,W.path,J.path).path});else{const te=assign$2({},W.params);for(const ae in te)te[ae]==null&&delete te[ae];ce=assign$2({},W,{params:m(W.params)}),J.params=m(J.params)}const ge=e.resolve(ce,J),Ee=W.hash||"";ge.params=g(y(ge.params));const Te=stringifyURL(s,assign$2({},W,{hash:encodeHash(Ee),path:ge.path})),De=o.createHref(Te);return assign$2({fullPath:Te,hash:Ee,query:s===stringifyQuery?normalizeQuery(W.query):W.query||{}},ge,{redirectedFrom:void 0,href:De})}function P(W){return typeof W=="string"?parseURL(r,W,u.value.path):assign$2({},W)}function C(W,J){if(d!==W)return createRouterError(8,{from:J,to:W})}function T(W){return M(W)}function k(W){return T(assign$2(P(W),{replace:!0}))}function I(W){const J=W.matched[W.matched.length-1];if(J&&J.redirect){const{redirect:ce}=J;let ge=typeof ce=="function"?ce(W):ce;return typeof ge=="string"&&(ge=ge.includes("?")||ge.includes("#")?ge=P(ge):{path:ge},ge.params={}),assign$2({query:W.query,hash:W.hash,params:"path"in ge?{}:W.params},ge)}}function M(W,J){const ce=d=x(W),ge=u.value,Ee=W.state,Te=W.force,De=W.replace===!0,te=I(ce);if(te)return M(assign$2(P(te),{state:typeof te=="object"?assign$2({},Ee,te.state):Ee,force:Te,replace:De}),J||ce);const ae=ce;ae.redirectedFrom=J;let H;return!Te&&isSameRouteLocation(s,ge,ce)&&(H=createRouterError(16,{to:ae,from:ge}),$(ge,ge,!0,!1)),(H?Promise.resolve(H):B(ae,ge)).catch(ve=>isNavigationFailure(ve)?isNavigationFailure(ve,2)?ve:U(ve):q(ve,ae,ge)).then(ve=>{if(ve){if(isNavigationFailure(ve,2))return M(assign$2({replace:De},P(ve.to),{state:typeof ve.to=="object"?assign$2({},Ee,ve.to.state):Ee,force:Te}),J||ae)}else ve=V(ae,ge,!0,De,Ee);return _(ae,ge,ve),ve})}function R(W,J){const ce=C(W,J);return ce?Promise.reject(ce):Promise.resolve()}function B(W,J){let ce;const[ge,Ee,Te]=extractChangingRecords(W,J);ce=extractComponentsGuards(ge.reverse(),"beforeRouteLeave",W,J);for(const te of ge)te.leaveGuards.forEach(ae=>{ce.push(guardToPromiseFn(ae,W,J))});const De=R.bind(null,W,J);return ce.push(De),runGuardQueue(ce).then(()=>{ce=[];for(const te of a.list())ce.push(guardToPromiseFn(te,W,J));return ce.push(De),runGuardQueue(ce)}).then(()=>{ce=extractComponentsGuards(Ee,"beforeRouteUpdate",W,J);for(const te of Ee)te.updateGuards.forEach(ae=>{ce.push(guardToPromiseFn(ae,W,J))});return ce.push(De),runGuardQueue(ce)}).then(()=>{ce=[];for(const te of W.matched)if(te.beforeEnter&&!J.matched.includes(te))if(isArray$8(te.beforeEnter))for(const ae of te.beforeEnter)ce.push(guardToPromiseFn(ae,W,J));else ce.push(guardToPromiseFn(te.beforeEnter,W,J));return ce.push(De),runGuardQueue(ce)}).then(()=>(W.matched.forEach(te=>te.enterCallbacks={}),ce=extractComponentsGuards(Te,"beforeRouteEnter",W,J),ce.push(De),runGuardQueue(ce))).then(()=>{ce=[];for(const te of l.list())ce.push(guardToPromiseFn(te,W,J));return ce.push(De),runGuardQueue(ce)}).catch(te=>isNavigationFailure(te,8)?te:Promise.reject(te))}function _(W,J,ce){for(const ge of c.list())ge(W,J,ce)}function V(W,J,ce,ge,Ee){const Te=C(W,J);if(Te)return Te;const De=J===START_LOCATION_NORMALIZED,te=isBrowser?history.state:{};ce&&(ge||De?o.replace(W.fullPath,assign$2({scroll:De&&te&&te.scroll},Ee)):o.push(W.fullPath,Ee)),u.value=W,$(W,J,ce,De),U()}let D;function F(){D||(D=o.listen((W,J,ce)=>{if(!ue.listening)return;const ge=x(W),Ee=I(ge);if(Ee){M(assign$2(Ee,{replace:!0}),ge).catch(noop$2);return}d=ge;const Te=u.value;isBrowser&&saveScrollPosition(getScrollKey(Te.fullPath,ce.delta),computeScrollPosition()),B(ge,Te).catch(De=>isNavigationFailure(De,12)?De:isNavigationFailure(De,2)?(M(De.to,ge).then(te=>{isNavigationFailure(te,20)&&!ce.delta&&ce.type===NavigationType.pop&&o.go(-1,!1)}).catch(noop$2),Promise.reject()):(ce.delta&&o.go(-ce.delta,!1),q(De,ge,Te))).then(De=>{De=De||V(ge,Te,!1),De&&(ce.delta&&!isNavigationFailure(De,8)?o.go(-ce.delta,!1):ce.type===NavigationType.pop&&isNavigationFailure(De,20)&&o.go(-1,!1)),_(ge,Te,De)}).catch(noop$2)}))}let N=useCallbacks(),K=useCallbacks(),G;function q(W,J,ce){U(W);const ge=K.list();return ge.length?ge.forEach(Ee=>Ee(W,J,ce)):console.error(W),Promise.reject(W)}function O(){return G&&u.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((W,J)=>{N.add([W,J])})}function U(W){return G||(G=!W,F(),N.list().forEach(([J,ce])=>W?ce(W):J()),N.reset()),W}function $(W,J,ce,ge){const{scrollBehavior:Ee}=i;if(!isBrowser||!Ee)return Promise.resolve();const Te=!ce&&getSavedScrollPosition(getScrollKey(W.fullPath,0))||(ge||!ce)&&history.state&&history.state.scroll||null;return nextTick().then(()=>Ee(W,J,Te)).then(De=>De&&scrollToPosition(De)).catch(De=>q(De,W,J))}const Y=W=>o.go(W);let Q;const xe=new Set,ue={currentRoute:u,listening:!0,addRoute:b,removeRoute:A,hasRoute:E,getRoutes:S,resolve:x,options:i,push:T,replace:k,go:Y,back:()=>Y(-1),forward:()=>Y(1),beforeEach:a.add,beforeResolve:l.add,afterEach:c.add,onError:K.add,isReady:O,install(W){const J=this;W.component("RouterLink",RouterLink),W.component("RouterView",RouterView),W.config.globalProperties.$router=J,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(u)}),isBrowser&&!Q&&u.value===START_LOCATION_NORMALIZED&&(Q=!0,T(o.location).catch(Ee=>{}));const ce={};for(const Ee in START_LOCATION_NORMALIZED)ce[Ee]=computed(()=>u.value[Ee]);W.provide(routerKey,J),W.provide(routeLocationKey,reactive(ce)),W.provide(routerViewLocationKey,u);const ge=W.unmount;xe.add(W),W.unmount=function(){xe.delete(W),xe.size<1&&(d=START_LOCATION_NORMALIZED,D&&D(),D=null,u.value=START_LOCATION_NORMALIZED,Q=!1,G=!1),ge()}}};return ue}function runGuardQueue(i){return i.reduce((e,r)=>e.then(()=>r()),Promise.resolve())}function extractChangingRecords(i,e){const r=[],s=[],o=[],a=Math.max(e.matched.length,i.matched.length);for(let l=0;l<a;l++){const c=e.matched[l];c&&(i.matched.find(d=>isSameRouteRecord(d,c))?s.push(c):r.push(c));const u=i.matched[l];u&&(e.matched.find(d=>isSameRouteRecord(d,u))||o.push(u))}return[r,s,o]}function useRouter(){return inject(routerKey)}function useRoute$1(){return inject(routeLocationKey)}const isDef$1=i=>i!=null,isFunction$5=i=>typeof i=="function",isObject$4=i=>i!==null&&typeof i=="object",isPromise=i=>isObject$4(i)&&isFunction$5(i.then)&&isFunction$5(i.catch),isNumeric=i=>typeof i=="number"||/^\d+(\.\d+)?$/.test(i),isIOS$2=()=>inBrowser$2?/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()):!1;function noop$1(){}const extend$2=Object.assign,inBrowser$2=typeof window<"u";function get(i,e){const r=e.split(".");let s=i;return r.forEach(o=>{var a;s=isObject$4(s)&&(a=s[o])!=null?a:""}),s}function pick$1(i,e,r){return e.reduce((s,o)=>((!r||i[o]!==void 0)&&(s[o]=i[o]),s),{})}const isSameValue=(i,e)=>JSON.stringify(i)===JSON.stringify(e),toArray=i=>Array.isArray(i)?i:[i],unknownProp=null,numericProp=[Number,String],truthProp={type:Boolean,default:!0},makeRequiredProp=i=>({type:i,required:!0}),makeArrayProp=()=>({type:Array,default:()=>[]}),makeNumberProp=i=>({type:Number,default:i}),makeNumericProp=i=>({type:numericProp,default:i}),makeStringProp=i=>({type:String,default:i});var inBrowser$1=typeof window<"u";function raf(i){return inBrowser$1?requestAnimationFrame(i):-1}function cancelRaf(i){inBrowser$1&&cancelAnimationFrame(i)}function doubleRaf(i){raf(()=>raf(i))}var isWindow=i=>i===window,makeDOMRect=(i,e)=>({top:0,left:0,right:i,bottom:e,width:i,height:e}),useRect=i=>{const e=unref(i);if(isWindow(e)){const r=e.innerWidth,s=e.innerHeight;return makeDOMRect(r,s)}return e!=null&&e.getBoundingClientRect?e.getBoundingClientRect():makeDOMRect(0,0)};function useParent$1(i){const e=inject(i,null);if(e){const r=getCurrentInstance(),{link:s,unlink:o,internalChildren:a}=e;s(r),onUnmounted(()=>o(r));const l=computed(()=>a.indexOf(r));return{parent:e,index:l}}return{parent:null,index:ref(-1)}}function flattenVNodes(i){const e=[],r=s=>{Array.isArray(s)&&s.forEach(o=>{var a;isVNode(o)&&(e.push(o),(a=o.component)!=null&&a.subTree&&(e.push(o.component.subTree),r(o.component.subTree.children)),o.children&&r(o.children))})};return r(i),e}var findVNodeIndex=(i,e)=>{const r=i.indexOf(e);return r===-1?i.findIndex(s=>e.key!==void 0&&e.key!==null&&s.type===e.type&&s.key===e.key):r};function sortChildren(i,e,r){const s=flattenVNodes(i.subTree.children);r.sort((a,l)=>findVNodeIndex(s,a.vnode)-findVNodeIndex(s,l.vnode));const o=r.map(a=>a.proxy);e.sort((a,l)=>{const c=o.indexOf(a),u=o.indexOf(l);return c-u})}function useChildren$1(i){const e=reactive([]),r=reactive([]),s=getCurrentInstance();return{children:e,linkChildren:a=>{provide(i,Object.assign({link:u=>{u.proxy&&(r.push(u),e.push(u.proxy),sortChildren(s,e,r))},unlink:u=>{const d=r.indexOf(u);e.splice(d,1),r.splice(d,1)},children:e,internalChildren:r},a))}}}function onMountedOrActivated(i){let e;onMounted(()=>{i(),nextTick(()=>{e=!0})}),onActivated(()=>{e&&i()})}function useEventListener$1(i,e,r={}){if(!inBrowser$1)return;const{target:s=window,passive:o=!1,capture:a=!1}=r;let l=!1,c;const u=m=>{if(l)return;const y=unref(m);y&&!c&&(y.addEventListener(i,e,{capture:a,passive:o}),c=!0)},d=m=>{if(l)return;const y=unref(m);y&&c&&(y.removeEventListener(i,e,a),c=!1)};onUnmounted(()=>d(s)),onDeactivated(()=>d(s)),onMountedOrActivated(()=>u(s));let g;return isRef(s)&&(g=watch(s,(m,y)=>{d(y),u(m)})),()=>{g==null||g(),d(s),l=!0}}function useClickAway(i,e,r={}){if(!inBrowser$1)return;const{eventName:s="click"}=r;useEventListener$1(s,a=>{(Array.isArray(i)?i:[i]).every(u=>{const d=unref(u);return d&&!d.contains(a.target)})&&e(a)},{target:document})}var width,height;function useWindowSize(){if(!width&&(width=ref(0),height=ref(0),inBrowser$1)){const i=()=>{width.value=window.innerWidth,height.value=window.innerHeight};i(),window.addEventListener("resize",i,{passive:!0}),window.addEventListener("orientationchange",i,{passive:!0})}return{width,height}}var overflowScrollReg=/scroll|auto|overlay/i,defaultRoot=inBrowser$1?window:void 0;function isElement$2(i){return i.tagName!=="HTML"&&i.tagName!=="BODY"&&i.nodeType===1}function getScrollParent$1(i,e=defaultRoot){let r=i;for(;r&&r!==e&&isElement$2(r);){const{overflowY:s}=window.getComputedStyle(r);if(overflowScrollReg.test(s))return r;r=r.parentNode}return e}function useScrollParent(i,e=defaultRoot){const r=ref();return onMounted(()=>{i.value&&(r.value=getScrollParent$1(i.value,e))}),r}var visibility;function usePageVisibility(){if(!visibility&&(visibility=ref("visible"),inBrowser$1)){const i=()=>{visibility.value=document.hidden?"hidden":"visible"};i(),window.addEventListener("visibilitychange",i)}return visibility}var CUSTOM_FIELD_INJECTION_KEY=Symbol("van-field");function useCustomFieldValue(i){const e=inject(CUSTOM_FIELD_INJECTION_KEY,null);e&&!e.customValue.value&&(e.customValue.value=i,watch(i,()=>{e.resetValidation(),e.validateWithTrigger("onChange")}))}function getScrollTop(i){const e="scrollTop"in i?i.scrollTop:i.pageYOffset;return Math.max(e,0)}function setScrollTop(i,e){"scrollTop"in i?i.scrollTop=e:i.scrollTo(i.scrollX,e)}function getRootScrollTop(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function setRootScrollTop(i){setScrollTop(window,i),setScrollTop(document.body,i)}function getElementTop(i,e){if(i===window)return 0;const r=e?getScrollTop(e):getRootScrollTop();return useRect(i).top+r}const isIOS$1=isIOS$2();function resetScroll(){isIOS$1&&setRootScrollTop(getRootScrollTop())}const stopPropagation=i=>i.stopPropagation();function preventDefault(i,e){(typeof i.cancelable!="boolean"||i.cancelable)&&i.preventDefault(),e&&stopPropagation(i)}function isHidden(i){const e=unref(i);if(!e)return!1;const r=window.getComputedStyle(e),s=r.display==="none",o=e.offsetParent===null&&r.position!=="fixed";return s||o}const{width:windowWidth,height:windowHeight}=useWindowSize();function addUnit(i){if(isDef$1(i))return isNumeric(i)?`${i}px`:String(i)}function getSizeStyle(i){if(isDef$1(i)){if(Array.isArray(i))return{width:addUnit(i[0]),height:addUnit(i[1])};const e=addUnit(i);return{width:e,height:e}}}function getZIndexStyle(i){const e={};return i!==void 0&&(e.zIndex=+i),e}let rootFontSize;function getRootFontSize(){if(!rootFontSize){const i=document.documentElement,e=i.style.fontSize||window.getComputedStyle(i).fontSize;rootFontSize=parseFloat(e)}return rootFontSize}function convertRem(i){return i=i.replace(/rem/g,""),+i*getRootFontSize()}function convertVw(i){return i=i.replace(/vw/g,""),+i*windowWidth.value/100}function convertVh(i){return i=i.replace(/vh/g,""),+i*windowHeight.value/100}function unitToPx(i){if(typeof i=="number")return i;if(inBrowser$2){if(i.includes("rem"))return convertRem(i);if(i.includes("vw"))return convertVw(i);if(i.includes("vh"))return convertVh(i)}return parseFloat(i)}const camelizeRE=/-(\w)/g,camelize$1=i=>i.replace(camelizeRE,(e,r)=>r.toUpperCase()),kebabCase=i=>i.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,""),clamp=(i,e,r)=>Math.min(Math.max(i,e),r);function trimExtraChar(i,e,r){const s=i.indexOf(e);return s===-1?i:e==="-"&&s!==0?i.slice(0,s):i.slice(0,s+1)+i.slice(s).replace(r,"")}function formatNumber(i,e=!0,r=!0){e?i=trimExtraChar(i,".",/\./g):i=i.split(".")[0],r?i=trimExtraChar(i,"-",/-/g):i=i.replace(/-/,"");const s=e?/[^-0-9.]/g:/[^-0-9]/g;return i.replace(s,"")}function addNumber(i,e){return Math.round((i+e)*1e10)/1e10}const{hasOwnProperty:hasOwnProperty$d}=Object.prototype;function assignKey(i,e,r){const s=e[r];isDef$1(s)&&(!hasOwnProperty$d.call(i,r)||!isObject$4(s)?i[r]=s:i[r]=deepAssign(Object(i[r]),s))}function deepAssign(i,e){return Object.keys(e).forEach(r=>{assignKey(i,e,r)}),i}var stdin_default$L={name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:(i,e)=>`${i}年${e}月`,rangePrompt:i=>`最多选择 ${i} 天`},vanCascader:{select:"请选择"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无门槛",discount:i=>`${i}折`,condition:i=>`满${i}元可用`},vanCouponCell:{title:"优惠券",count:i=>`${i}张可用`},vanCouponList:{exchange:"兑换",close:"不使用",enable:"可用",disabled:"不可用",placeholder:"输入优惠码"},vanAddressEdit:{area:"地区",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",addressDetail:"详细地址",defaultAddress:"设为默认收货地址"},vanAddressList:{add:"新增地址"}};const lang=ref("zh-CN"),messages=reactive({"zh-CN":stdin_default$L}),Locale={messages(){return messages[lang.value]},use(i,e){lang.value=i,this.add({[i]:e})},add(i={}){deepAssign(messages,i)}};var stdin_default$K=Locale;function createTranslate(i){const e=camelize$1(i)+".";return(r,...s)=>{const o=stdin_default$K.messages(),a=get(o,e+r)||get(o,r);return isFunction$5(a)?a(...s):a}}function genBem(i,e){return e?typeof e=="string"?` ${i}--${e}`:Array.isArray(e)?e.reduce((r,s)=>r+genBem(i,s),""):Object.keys(e).reduce((r,s)=>r+(e[s]?genBem(i,s):""),""):""}function createBEM(i){return(e,r)=>(e&&typeof e!="string"&&(r=e,e=""),e=e?`${i}__${e}`:i,`${e}${genBem(e,r)}`)}function createNamespace$1(i){const e=`van-${i}`;return[e,createBEM(e),createTranslate(e)]}const BORDER="van-hairline",BORDER_TOP=`${BORDER}--top`,BORDER_LEFT=`${BORDER}--left`,BORDER_BOTTOM=`${BORDER}--bottom`,BORDER_SURROUND=`${BORDER}--surround`,BORDER_TOP_BOTTOM=`${BORDER}--top-bottom`,BORDER_UNSET_TOP_BOTTOM=`${BORDER}-unset--top-bottom`,HAPTICS_FEEDBACK="van-haptics-feedback",FORM_KEY=Symbol("van-form"),LONG_PRESS_START_TIME=500;function callInterceptor(i,{args:e=[],done:r,canceled:s}){if(i){const o=i.apply(null,e);isPromise(o)?o.then(a=>{a?r():s&&s()}).catch(noop$1):o?r():s&&s()}else r()}function withInstall(i){return i.install=e=>{const{name:r}=i;r&&(e.component(r,i),e.component(camelize$1(`-${r}`),i))},i}const POPUP_TOGGLE_KEY=Symbol();function onPopupReopen(i){const e=inject(POPUP_TOGGLE_KEY,null);e&&watch(e,r=>{r&&i()})}const useHeight=(i,e)=>{const r=ref(),s=()=>{r.value=useRect(i).height};return onMounted(()=>{if(nextTick(s),e)for(let o=1;o<=3;o++)setTimeout(s,100*o)}),onPopupReopen(()=>nextTick(s)),watch([windowWidth,windowHeight],s),r};function usePlaceholder(i,e){const r=useHeight(i,!0);return s=>createVNode("div",{class:e("placeholder"),style:{height:r.value?`${r.value}px`:void 0}},[s()])}const[name$J,bem$G]=createNamespace$1("action-bar"),ACTION_BAR_KEY=Symbol(name$J),actionBarProps={placeholder:Boolean,safeAreaInsetBottom:truthProp};var stdin_default$J=defineComponent({name:name$J,props:actionBarProps,setup(i,{slots:e}){const r=ref(),s=usePlaceholder(r,bem$G),{linkChildren:o}=useChildren$1(ACTION_BAR_KEY);o();const a=()=>{var l;return createVNode("div",{ref:r,class:[bem$G(),{"van-safe-area-bottom":i.safeAreaInsetBottom}]},[(l=e.default)==null?void 0:l.call(e)])};return()=>i.placeholder?s(a):a()}});const ActionBar=withInstall(stdin_default$J);function useExpose(i){const e=getCurrentInstance();e&&extend$2(e.proxy,i)}const routeProps={to:[String,Object],url:String,replace:Boolean};function route({to:i,url:e,replace:r,$router:s}){i&&s?s[r?"replace":"push"](i):e&&(r?location.replace(e):location.href=e)}function useRoute(){const i=getCurrentInstance().proxy;return()=>route(i)}const[name$I,bem$F]=createNamespace$1("badge"),badgeProps={dot:Boolean,max:numericProp,tag:makeStringProp("div"),color:String,offset:Array,content:numericProp,showZero:truthProp,position:makeStringProp("top-right")};var stdin_default$I=defineComponent({name:name$I,props:badgeProps,setup(i,{slots:e}){const r=()=>{if(e.content)return!0;const{content:c,showZero:u}=i;return isDef$1(c)&&c!==""&&(u||c!==0&&c!=="0")},s=()=>{const{dot:c,max:u,content:d}=i;if(!c&&r())return e.content?e.content():isDef$1(u)&&isNumeric(d)&&+d>+u?`${u}+`:d},o=c=>c.startsWith("-")?c.replace("-",""):`-${c}`,a=computed(()=>{const c={background:i.color};if(i.offset){const[u,d]=i.offset,{position:g}=i,[m,y]=g.split("-");e.default?(typeof d=="number"?c[m]=addUnit(m==="top"?d:-d):c[m]=m==="top"?addUnit(d):o(d),typeof u=="number"?c[y]=addUnit(y==="left"?u:-u):c[y]=y==="left"?addUnit(u):o(u)):(c.marginTop=addUnit(d),c.marginLeft=addUnit(u))}return c}),l=()=>{if(r()||i.dot)return createVNode("div",{class:bem$F([i.position,{dot:i.dot,fixed:!!e.default}]),style:a.value},[s()])};return()=>{if(e.default){const{tag:c}=i;return createVNode(c,{class:bem$F("wrapper")},{default:()=>[e.default(),l()]})}return l()}}});const Badge=withInstall(stdin_default$I);let globalZIndex=2e3;const useGlobalZIndex=()=>++globalZIndex,setGlobalZIndex=i=>{globalZIndex=i},[name$H,bem$E]=createNamespace$1("config-provider"),CONFIG_PROVIDER_KEY=Symbol(name$H),configProviderProps={tag:makeStringProp("div"),theme:makeStringProp("light"),zIndex:Number,themeVars:Object,themeVarsDark:Object,themeVarsLight:Object,iconPrefix:String};function mapThemeVarsToCSSVars(i){const e={};return Object.keys(i).forEach(r=>{e[`--van-${kebabCase(r)}`]=i[r]}),e}defineComponent({name:name$H,props:configProviderProps,setup(i,{slots:e}){const r=computed(()=>mapThemeVarsToCSSVars(extend$2({},i.themeVars,i.theme==="dark"?i.themeVarsDark:i.themeVarsLight)));if(inBrowser$2){const s=()=>{document.documentElement.classList.add(`van-theme-${i.theme}`)},o=(a=i.theme)=>{document.documentElement.classList.remove(`van-theme-${a}`)};watch(()=>i.theme,(a,l)=>{l&&o(l),s()},{immediate:!0}),onActivated(s),onDeactivated(o),onBeforeUnmount(o)}return provide(CONFIG_PROVIDER_KEY,i),watchEffect(()=>{i.zIndex!==void 0&&setGlobalZIndex(i.zIndex)}),()=>createVNode(i.tag,{class:bem$E(),style:r.value},{default:()=>{var s;return[(s=e.default)==null?void 0:s.call(e)]}})}});const[name$G,bem$D]=createNamespace$1("icon"),isImage=i=>i==null?void 0:i.includes("/"),iconProps={dot:Boolean,tag:makeStringProp("i"),name:String,size:numericProp,badge:numericProp,color:String,badgeProps:Object,classPrefix:String};var stdin_default$H=defineComponent({name:name$G,props:iconProps,setup(i,{slots:e}){const r=inject(CONFIG_PROVIDER_KEY,null),s=computed(()=>i.classPrefix||(r==null?void 0:r.iconPrefix)||bem$D());return()=>{const{tag:o,dot:a,name:l,size:c,badge:u,color:d}=i,g=isImage(l);return createVNode(Badge,mergeProps({dot:a,tag:o,class:[s.value,g?"":`${s.value}-${l}`],style:{color:d,fontSize:addUnit(c)},content:u},i.badgeProps),{default:()=>{var m;return[(m=e.default)==null?void 0:m.call(e),g&&createVNode("img",{class:bem$D("image"),src:l},null)]}})}}});const Icon$1=withInstall(stdin_default$H),[name$F,bem$C]=createNamespace$1("loading"),SpinIcon=Array(12).fill(null).map((i,e)=>createVNode("i",{class:bem$C("line",String(e+1))},null)),CircularIcon=createVNode("svg",{class:bem$C("circular"),viewBox:"25 25 50 50"},[createVNode("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]),loadingProps={size:numericProp,type:makeStringProp("circular"),color:String,vertical:Boolean,textSize:numericProp,textColor:String};var stdin_default$G=defineComponent({name:name$F,props:loadingProps,setup(i,{slots:e}){const r=computed(()=>extend$2({color:i.color},getSizeStyle(i.size))),s=()=>{const a=i.type==="spinner"?SpinIcon:CircularIcon;return createVNode("span",{class:bem$C("spinner",i.type),style:r.value},[e.icon?e.icon():a])},o=()=>{var a;if(e.default)return createVNode("span",{class:bem$C("text"),style:{fontSize:addUnit(i.textSize),color:(a=i.textColor)!=null?a:i.color}},[e.default()])};return()=>{const{type:a,vertical:l}=i;return createVNode("div",{class:bem$C([a,{vertical:l}]),"aria-live":"polite","aria-busy":!0},[s(),o()])}}});const Loading$2=withInstall(stdin_default$G),[name$E,bem$B]=createNamespace$1("button"),buttonProps=extend$2({},routeProps,{tag:makeStringProp("button"),text:String,icon:String,type:makeStringProp("default"),size:makeStringProp("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:makeStringProp("button"),loadingSize:numericProp,loadingText:String,loadingType:String,iconPosition:makeStringProp("left")});var stdin_default$F=defineComponent({name:name$E,props:buttonProps,emits:["click"],setup(i,{emit:e,slots:r}){const s=useRoute(),o=()=>r.loading?r.loading():createVNode(Loading$2,{size:i.loadingSize,type:i.loadingType,class:bem$B("loading")},null),a=()=>{if(i.loading)return o();if(r.icon)return createVNode("div",{class:bem$B("icon")},[r.icon()]);if(i.icon)return createVNode(Icon$1,{name:i.icon,class:bem$B("icon"),classPrefix:i.iconPrefix},null)},l=()=>{let d;if(i.loading?d=i.loadingText:d=r.default?r.default():i.text,d)return createVNode("span",{class:bem$B("text")},[d])},c=()=>{const{color:d,plain:g}=i;if(d){const m={color:g?d:"white"};return g||(m.background=d),d.includes("gradient")?m.border=0:m.borderColor=d,m}},u=d=>{i.loading?preventDefault(d):i.disabled||(e("click",d),s())};return()=>{const{tag:d,type:g,size:m,block:y,round:b,plain:A,square:S,loading:E,disabled:x,hairline:P,nativeType:C,iconPosition:T}=i,k=[bem$B([g,m,{plain:A,block:y,round:b,square:S,loading:E,disabled:x,hairline:P}]),{[BORDER_SURROUND]:P}];return createVNode(d,{type:C,class:k,style:c(),disabled:x,onClick:u},{default:()=>[createVNode("div",{class:bem$B("content")},[T==="left"&&a(),l(),T==="right"&&a()])]})}}});const Button$1=withInstall(stdin_default$F),[name$D,bem$A]=createNamespace$1("action-bar-button"),actionBarButtonProps=extend$2({},routeProps,{type:String,text:String,icon:String,color:String,loading:Boolean,disabled:Boolean});var stdin_default$E=defineComponent({name:name$D,props:actionBarButtonProps,setup(i,{slots:e}){const r=useRoute(),{parent:s,index:o}=useParent$1(ACTION_BAR_KEY),a=computed(()=>{if(s){const c=s.children[o.value-1];return!(c&&"isButton"in c)}}),l=computed(()=>{if(s){const c=s.children[o.value+1];return!(c&&"isButton"in c)}});return useExpose({isButton:!0}),()=>{const{type:c,icon:u,text:d,color:g,loading:m,disabled:y}=i;return createVNode(Button$1,{class:bem$A([c,{last:l.value,first:a.value}]),size:"large",type:c,icon:u,color:g,loading:m,disabled:y,onClick:r},{default:()=>[e.default?e.default():d]})}}});const ActionBarButton=withInstall(stdin_default$E),popupSharedProps={show:Boolean,zIndex:numericProp,overlay:truthProp,duration:numericProp,teleport:[String,Object],lockScroll:truthProp,lazyRender:truthProp,beforeClose:Function,overlayStyle:Object,overlayClass:unknownProp,transitionAppear:Boolean,closeOnClickOverlay:truthProp},popupSharedPropKeys=Object.keys(popupSharedProps);function getDirection(i,e){return i>e?"horizontal":e>i?"vertical":""}function useTouch(){const i=ref(0),e=ref(0),r=ref(0),s=ref(0),o=ref(0),a=ref(0),l=ref(""),c=()=>l.value==="vertical",u=()=>l.value==="horizontal",d=()=>{r.value=0,s.value=0,o.value=0,a.value=0,l.value=""};return{move:y=>{const b=y.touches[0];r.value=(b.clientX<0?0:b.clientX)-i.value,s.value=b.clientY-e.value,o.value=Math.abs(r.value),a.value=Math.abs(s.value);const A=10;(!l.value||o.value<A&&a.value<A)&&(l.value=getDirection(o.value,a.value))},start:y=>{d(),i.value=y.touches[0].clientX,e.value=y.touches[0].clientY},reset:d,startX:i,startY:e,deltaX:r,deltaY:s,offsetX:o,offsetY:a,direction:l,isVertical:c,isHorizontal:u}}let totalLockCount=0;const BODY_LOCK_CLASS="van-overflow-hidden";function useLockScroll(i,e){const r=useTouch(),s="01",o="10",a=g=>{r.move(g);const m=r.deltaY.value>0?o:s,y=getScrollParent$1(g.target,i.value),{scrollHeight:b,offsetHeight:A,scrollTop:S}=y;let E="11";S===0?E=A>=b?"00":"01":S+A>=b&&(E="10"),E!=="11"&&r.isVertical()&&!(parseInt(E,2)&parseInt(m,2))&&preventDefault(g,!0)},l=()=>{document.addEventListener("touchstart",r.start),document.addEventListener("touchmove",a,{passive:!1}),totalLockCount||document.body.classList.add(BODY_LOCK_CLASS),totalLockCount++},c=()=>{totalLockCount&&(document.removeEventListener("touchstart",r.start),document.removeEventListener("touchmove",a),totalLockCount--,totalLockCount||document.body.classList.remove(BODY_LOCK_CLASS))},u=()=>e()&&l(),d=()=>e()&&c();onMountedOrActivated(u),onDeactivated(d),onBeforeUnmount(d),watch(e,g=>{g?l():c()})}function useLazyRender(i){const e=ref(!1);return watch(i,r=>{r&&(e.value=r)},{immediate:!0}),r=>()=>e.value?r():null}const[name$C,bem$z]=createNamespace$1("overlay"),overlayProps={show:Boolean,zIndex:numericProp,duration:numericProp,className:unknownProp,lockScroll:truthProp,lazyRender:truthProp,customStyle:Object};var stdin_default$D=defineComponent({name:name$C,props:overlayProps,setup(i,{slots:e}){const r=ref(),s=useLazyRender(()=>i.show||!i.lazyRender),o=l=>{i.lockScroll&&preventDefault(l,!0)},a=s(()=>{var l;const c=extend$2(getZIndexStyle(i.zIndex),i.customStyle);return isDef$1(i.duration)&&(c.animationDuration=`${i.duration}s`),withDirectives(createVNode("div",{ref:r,style:c,class:[bem$z(),i.className]},[(l=e.default)==null?void 0:l.call(e)]),[[vShow,i.show]])});return useEventListener$1("touchmove",o,{target:r}),()=>createVNode(Transition,{name:"van-fade",appear:!0},{default:a})}});const Overlay=withInstall(stdin_default$D),popupProps$2=extend$2({},popupSharedProps,{round:Boolean,position:makeStringProp("center"),closeIcon:makeStringProp("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:makeStringProp("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[name$B,bem$y]=createNamespace$1("popup");var stdin_default$C=defineComponent({name:name$B,inheritAttrs:!1,props:popupProps$2,emits:["open","close","opened","closed","keydown","update:show","clickOverlay","clickCloseIcon"],setup(i,{emit:e,attrs:r,slots:s}){let o,a;const l=ref(),c=ref(),u=useLazyRender(()=>i.show||!i.lazyRender),d=computed(()=>{const k={zIndex:l.value};if(isDef$1(i.duration)){const I=i.position==="center"?"animationDuration":"transitionDuration";k[I]=`${i.duration}s`}return k}),g=()=>{o||(o=!0,l.value=i.zIndex!==void 0?+i.zIndex:useGlobalZIndex(),e("open"))},m=()=>{o&&callInterceptor(i.beforeClose,{done(){o=!1,e("close"),e("update:show",!1)}})},y=k=>{e("clickOverlay",k),i.closeOnClickOverlay&&m()},b=()=>{if(i.overlay)return createVNode(Overlay,{show:i.show,class:i.overlayClass,zIndex:l.value,duration:i.duration,customStyle:i.overlayStyle,role:i.closeOnClickOverlay?"button":void 0,tabindex:i.closeOnClickOverlay?0:void 0,onClick:y},{default:s["overlay-content"]})},A=k=>{e("clickCloseIcon",k),m()},S=()=>{if(i.closeable)return createVNode(Icon$1,{role:"button",tabindex:0,name:i.closeIcon,class:[bem$y("close-icon",i.closeIconPosition),HAPTICS_FEEDBACK],classPrefix:i.iconPrefix,onClick:A},null)},E=()=>e("opened"),x=()=>e("closed"),P=k=>e("keydown",k),C=u(()=>{var k;const{round:I,position:M,safeAreaInsetTop:R,safeAreaInsetBottom:B}=i;return withDirectives(createVNode("div",mergeProps({ref:c,style:d.value,role:"dialog",tabindex:0,class:[bem$y({round:I,[M]:M}),{"van-safe-area-top":R,"van-safe-area-bottom":B}],onKeydown:P},r),[(k=s.default)==null?void 0:k.call(s),S()]),[[vShow,i.show]])}),T=()=>{const{position:k,transition:I,transitionAppear:M}=i,R=k==="center"?"van-fade":`van-popup-slide-${k}`;return createVNode(Transition,{name:I||R,appear:M,onAfterEnter:E,onAfterLeave:x},{default:C})};return watch(()=>i.show,k=>{k&&!o&&(g(),r.tabindex===0&&nextTick(()=>{var I;(I=c.value)==null||I.focus()})),!k&&o&&(o=!1,e("close"))}),useExpose({popupRef:c}),useLockScroll(c,()=>i.show&&i.lockScroll),useEventListener$1("popstate",()=>{i.closeOnPopstate&&(m(),a=!1)}),onMounted(()=>{i.show&&g()}),onActivated(()=>{a&&(e("update:show",!0),a=!1)}),onDeactivated(()=>{i.show&&i.teleport&&(m(),a=!0)}),provide(POPUP_TOGGLE_KEY,()=>i.show),()=>i.teleport?createVNode(Teleport,{to:i.teleport},{default:()=>[b(),T()]}):createVNode(Fragment,null,[b(),T()])}});const Popup=withInstall(stdin_default$C),[name$A,bem$x,t$3]=createNamespace$1("picker"),getFirstEnabledOption=i=>i.find(e=>!e.disabled)||i[0];function getColumnsType(i,e){const r=i[0];if(r){if(Array.isArray(r))return"multiple";if(e.children in r)return"cascade"}return"default"}function findIndexOfEnabledOption(i,e){e=clamp(e,0,i.length);for(let r=e;r<i.length;r++)if(!i[r].disabled)return r;for(let r=e-1;r>=0;r--)if(!i[r].disabled)return r;return 0}const isOptionExist=(i,e,r)=>e!==void 0&&!!i.find(s=>s[r.value]===e);function findOptionByValue(i,e,r){const s=i.findIndex(a=>a[r.value]===e),o=findIndexOfEnabledOption(i,s);return i[o]}function formatCascadeColumns(i,e,r){const s=[];let o={[e.children]:i},a=0;for(;o&&o[e.children];){const l=o[e.children],c=r.value[a];if(o=isDef$1(c)?findOptionByValue(l,c,e):void 0,!o&&l.length){const u=getFirstEnabledOption(l)[e.value];o=findOptionByValue(l,u,e)}a++,s.push(l)}return s}function getElementTranslateY(i){const{transform:e}=window.getComputedStyle(i),r=e.slice(7,e.length-1).split(", ")[5];return Number(r)}function assignDefaultFields(i){return extend$2({text:"text",value:"value",children:"children"},i)}const DEFAULT_DURATION=200,MOMENTUM_TIME=300,MOMENTUM_DISTANCE=15,[name$z,bem$w]=createNamespace$1("picker-column"),PICKER_KEY=Symbol(name$z);var stdin_default$B=defineComponent({name:name$z,props:{value:numericProp,fields:makeRequiredProp(Object),options:makeArrayProp(),readonly:Boolean,allowHtml:Boolean,optionHeight:makeRequiredProp(Number),swipeDuration:makeRequiredProp(numericProp),visibleOptionNum:makeRequiredProp(numericProp)},emits:["change","clickOption"],setup(i,{emit:e,slots:r}){let s,o,a,l,c;const u=ref(),d=ref(),g=ref(0),m=ref(0),y=useTouch(),b=()=>i.options.length,A=()=>i.optionHeight*(+i.visibleOptionNum-1)/2,S=B=>{const _=findIndexOfEnabledOption(i.options,B),V=-_*i.optionHeight,D=()=>{const F=i.options[_][i.fields.value];F!==i.value&&e("change",F)};s&&V!==g.value?c=D:D(),g.value=V},E=()=>i.readonly||!i.options.length,x=B=>{s||E()||(c=null,m.value=DEFAULT_DURATION,S(B),e("clickOption",i.options[B]))},P=B=>clamp(Math.round(-B/i.optionHeight),0,b()-1),C=(B,_)=>{const V=Math.abs(B/_);B=g.value+V/.003*(B<0?-1:1);const D=P(B);m.value=+i.swipeDuration,S(D)},T=()=>{s=!1,m.value=0,c&&(c(),c=null)},k=B=>{if(!E()){if(y.start(B),s){const _=getElementTranslateY(d.value);g.value=Math.min(0,_-A())}m.value=0,o=g.value,a=Date.now(),l=o,c=null}},I=B=>{if(E())return;y.move(B),y.isVertical()&&(s=!0,preventDefault(B,!0)),g.value=clamp(o+y.deltaY.value,-(b()*i.optionHeight),i.optionHeight);const _=Date.now();_-a>MOMENTUM_TIME&&(a=_,l=g.value)},M=()=>{if(E())return;const B=g.value-l,_=Date.now()-a;if(_<MOMENTUM_TIME&&Math.abs(B)>MOMENTUM_DISTANCE){C(B,_);return}const D=P(g.value);m.value=DEFAULT_DURATION,S(D),setTimeout(()=>{s=!1},0)},R=()=>{const B={height:`${i.optionHeight}px`};return i.options.map((_,V)=>{const D=_[i.fields.text],{disabled:F}=_,N=_[i.fields.value],K={role:"button",style:B,tabindex:F?-1:0,class:[bem$w("item",{disabled:F,selected:N===i.value}),_.className],onClick:()=>x(V)},G={class:"van-ellipsis",[i.allowHtml?"innerHTML":"textContent"]:D};return createVNode("li",K,[r.option?r.option(_,V):createVNode("div",G,null)])})};return useParent$1(PICKER_KEY),useExpose({stopMomentum:T}),watchEffect(()=>{const B=i.options.findIndex(D=>D[i.fields.value]===i.value),V=-findIndexOfEnabledOption(i.options,B)*i.optionHeight;g.value=V}),useEventListener$1("touchmove",I,{target:u}),()=>createVNode("div",{ref:u,class:bem$w(),onTouchstartPassive:k,onTouchend:M,onTouchcancel:M},[createVNode("ul",{ref:d,style:{transform:`translate3d(0, ${g.value+A()}px, 0)`,transitionDuration:`${m.value}ms`,transitionProperty:m.value?"all":"none"},class:bem$w("wrapper"),onTransitionend:T},[R()])])}});const[name$y]=createNamespace$1("picker-toolbar"),pickerToolbarProps={title:String,cancelButtonText:String,confirmButtonText:String},pickerToolbarSlots=["cancel","confirm","title","toolbar"],pickerToolbarPropKeys=Object.keys(pickerToolbarProps);var stdin_default$A=defineComponent({name:name$y,props:pickerToolbarProps,emits:["confirm","cancel"],setup(i,{emit:e,slots:r}){const s=()=>{if(r.title)return r.title();if(i.title)return createVNode("div",{class:[bem$x("title"),"van-ellipsis"]},[i.title])},o=()=>e("cancel"),a=()=>e("confirm"),l=()=>{const u=i.cancelButtonText||t$3("cancel");return createVNode("button",{type:"button",class:[bem$x("cancel"),HAPTICS_FEEDBACK],onClick:o},[r.cancel?r.cancel():u])},c=()=>{const u=i.confirmButtonText||t$3("confirm");return createVNode("button",{type:"button",class:[bem$x("confirm"),HAPTICS_FEEDBACK],onClick:a},[r.confirm?r.confirm():u])};return()=>createVNode("div",{class:bem$x("toolbar")},[r.toolbar?r.toolbar():[l(),s(),c()]])}});function scrollLeftTo(i,e,r){let s=0;const o=i.scrollLeft,a=r===0?1:Math.round(r*1e3/16);function l(){i.scrollLeft+=(e-o)/a,++s<a&&raf(l)}l()}function scrollTopTo(i,e,r,s){let o=getScrollTop(i);const a=o<e,l=r===0?1:Math.round(r*1e3/16),c=(e-o)/l;function u(){o+=c,(a&&o>e||!a&&o<e)&&(o=e),setScrollTop(i,o),a&&o<e||!a&&o>e?raf(u):s&&raf(s)}u()}let current=0;function useId(){const i=getCurrentInstance(),{name:e="unknown"}=(i==null?void 0:i.type)||{};return`${e}-${++current}`}function useRefs(){const i=ref([]),e=[];return onBeforeUpdate(()=>{i.value=[]}),[i,s=>(e[s]||(e[s]=o=>{i.value[s]=o}),e[s])]}function useVisibilityChange(i,e){if(!inBrowser$2||!window.IntersectionObserver)return;const r=new IntersectionObserver(a=>{e(a[0].intersectionRatio>0)},{root:document.body}),s=()=>{i.value&&r.observe(i.value)},o=()=>{i.value&&r.unobserve(i.value)};onDeactivated(o),onBeforeUnmount(o),onMountedOrActivated(s)}const[name$x,bem$v]=createNamespace$1("sticky"),stickyProps={zIndex:numericProp,position:makeStringProp("top"),container:Object,offsetTop:makeNumericProp(0),offsetBottom:makeNumericProp(0)};var stdin_default$z=defineComponent({name:name$x,props:stickyProps,emits:["scroll","change"],setup(i,{emit:e,slots:r}){const s=ref(),o=useScrollParent(s),a=reactive({fixed:!1,width:0,height:0,transform:0}),l=computed(()=>unitToPx(i.position==="top"?i.offsetTop:i.offsetBottom)),c=computed(()=>{const{fixed:m,height:y,width:b}=a;if(m)return{width:`${b}px`,height:`${y}px`}}),u=computed(()=>{if(!a.fixed)return;const m=extend$2(getZIndexStyle(i.zIndex),{width:`${a.width}px`,height:`${a.height}px`,[i.position]:`${l.value}px`});return a.transform&&(m.transform=`translate3d(0, ${a.transform}px, 0)`),m}),d=m=>e("scroll",{scrollTop:m,isFixed:a.fixed}),g=()=>{if(!s.value||isHidden(s))return;const{container:m,position:y}=i,b=useRect(s),A=getScrollTop(window);if(a.width=b.width,a.height=b.height,y==="top")if(m){const S=useRect(m),E=S.bottom-l.value-a.height;a.fixed=l.value>b.top&&S.bottom>0,a.transform=E<0?E:0}else a.fixed=l.value>b.top;else{const{clientHeight:S}=document.documentElement;if(m){const E=useRect(m),x=S-E.top-l.value-a.height;a.fixed=S-l.value<b.bottom&&S>E.top,a.transform=x<0?-x:0}else a.fixed=S-l.value<b.bottom}d(A)};return watch(()=>a.fixed,m=>e("change",m)),useEventListener$1("scroll",g,{target:o,passive:!0}),useVisibilityChange(s,g),()=>{var m;return createVNode("div",{ref:s,style:c.value},[createVNode("div",{class:bem$v({fixed:a.fixed}),style:u.value},[(m=r.default)==null?void 0:m.call(r)])])}}});const Sticky=withInstall(stdin_default$z),[name$w,bem$u]=createNamespace$1("tab");var stdin_default$y=defineComponent({name:name$w,props:{id:String,dot:Boolean,type:String,color:String,title:String,badge:numericProp,shrink:Boolean,isActive:Boolean,disabled:Boolean,controls:String,scrollable:Boolean,activeColor:String,inactiveColor:String,showZeroBadge:truthProp},setup(i,{slots:e}){const r=computed(()=>{const o={},{type:a,color:l,disabled:c,isActive:u,activeColor:d,inactiveColor:g}=i;l&&a==="card"&&(o.borderColor=l,c||(u?o.backgroundColor=l:o.color=l));const y=u?d:g;return y&&(o.color=y),o}),s=()=>{const o=createVNode("span",{class:bem$u("text",{ellipsis:!i.scrollable})},[e.title?e.title():i.title]);return i.dot||isDef$1(i.badge)&&i.badge!==""?createVNode(Badge,{dot:i.dot,content:i.badge,showZero:i.showZeroBadge},{default:()=>[o]}):o};return()=>createVNode("div",{id:i.id,role:"tab",class:[bem$u([i.type,{grow:i.scrollable&&!i.shrink,shrink:i.shrink,active:i.isActive,disabled:i.disabled}])],style:r.value,tabindex:i.disabled?void 0:i.isActive?0:-1,"aria-selected":i.isActive,"aria-disabled":i.disabled||void 0,"aria-controls":i.controls},[s()])}});const[name$v,bem$t]=createNamespace$1("swipe"),swipeProps={loop:truthProp,width:numericProp,height:numericProp,vertical:Boolean,autoplay:makeNumericProp(0),duration:makeNumericProp(500),touchable:truthProp,lazyRender:Boolean,initialSwipe:makeNumericProp(0),indicatorColor:String,showIndicators:truthProp,stopPropagation:truthProp},SWIPE_KEY=Symbol(name$v);var stdin_default$x=defineComponent({name:name$v,props:swipeProps,emits:["change","dragStart","dragEnd"],setup(i,{emit:e,slots:r}){const s=ref(),o=ref(),a=reactive({rect:null,width:0,height:0,offset:0,active:0,swiping:!1});let l=!1;const c=useTouch(),{children:u,linkChildren:d}=useChildren$1(SWIPE_KEY),g=computed(()=>u.length),m=computed(()=>a[i.vertical?"height":"width"]),y=computed(()=>i.vertical?c.deltaY.value:c.deltaX.value),b=computed(()=>a.rect?(i.vertical?a.rect.height:a.rect.width)-m.value*g.value:0),A=computed(()=>m.value?Math.ceil(Math.abs(b.value)/m.value):g.value),S=computed(()=>g.value*m.value),E=computed(()=>(a.active+g.value)%g.value),x=computed(()=>{const Y=i.vertical?"vertical":"horizontal";return c.direction.value===Y}),P=computed(()=>{const Y={transitionDuration:`${a.swiping?0:i.duration}ms`,transform:`translate${i.vertical?"Y":"X"}(${a.offset}px)`};if(m.value){const Q=i.vertical?"height":"width",xe=i.vertical?"width":"height";Y[Q]=`${S.value}px`,Y[xe]=i[xe]?`${i[xe]}px`:""}return Y}),C=Y=>{const{active:Q}=a;return Y?i.loop?clamp(Q+Y,-1,g.value):clamp(Q+Y,0,A.value):Q},T=(Y,Q=0)=>{let xe=Y*m.value;i.loop||(xe=Math.min(xe,-b.value));let ue=Q-xe;return i.loop||(ue=clamp(ue,b.value,0)),ue},k=({pace:Y=0,offset:Q=0,emitChange:xe})=>{if(g.value<=1)return;const{active:ue}=a,W=C(Y),J=T(W,Q);if(i.loop){if(u[0]&&J!==b.value){const ce=J<b.value;u[0].setOffset(ce?S.value:0)}if(u[g.value-1]&&J!==0){const ce=J>0;u[g.value-1].setOffset(ce?-S.value:0)}}a.active=W,a.offset=J,xe&&W!==ue&&e("change",E.value)},I=()=>{a.swiping=!0,a.active<=-1?k({pace:g.value}):a.active>=g.value&&k({pace:-g.value})},M=()=>{I(),c.reset(),doubleRaf(()=>{a.swiping=!1,k({pace:-1,emitChange:!0})})},R=()=>{I(),c.reset(),doubleRaf(()=>{a.swiping=!1,k({pace:1,emitChange:!0})})};let B;const _=()=>clearTimeout(B),V=()=>{_(),+i.autoplay>0&&g.value>1&&(B=setTimeout(()=>{R(),V()},+i.autoplay))},D=(Y=+i.initialSwipe)=>{if(!s.value)return;const Q=()=>{var xe,ue;if(!isHidden(s)){const W={width:s.value.offsetWidth,height:s.value.offsetHeight};a.rect=W,a.width=+((xe=i.width)!=null?xe:W.width),a.height=+((ue=i.height)!=null?ue:W.height)}g.value&&(Y=Math.min(g.value-1,Y),Y===-1&&(Y=g.value-1)),a.active=Y,a.swiping=!0,a.offset=T(Y),u.forEach(W=>{W.setOffset(0)}),V()};isHidden(s)?nextTick().then(Q):Q()},F=()=>D(a.active);let N;const K=Y=>{!i.touchable||Y.touches.length>1||(c.start(Y),l=!1,N=Date.now(),_(),I())},G=Y=>{i.touchable&&a.swiping&&(c.move(Y),x.value&&(!i.loop&&(a.active===0&&y.value>0||a.active===g.value-1&&y.value<0)||(preventDefault(Y,i.stopPropagation),k({offset:y.value}),l||(e("dragStart",{index:E.value}),l=!0))))},q=()=>{if(!i.touchable||!a.swiping)return;const Y=Date.now()-N,Q=y.value/Y;if((Math.abs(Q)>.25||Math.abs(y.value)>m.value/2)&&x.value){const ue=i.vertical?c.offsetY.value:c.offsetX.value;let W=0;i.loop?W=ue>0?y.value>0?-1:1:0:W=-Math[y.value>0?"ceil":"floor"](y.value/m.value),k({pace:W,emitChange:!0})}else y.value&&k({pace:0});l=!1,a.swiping=!1,e("dragEnd",{index:E.value}),V()},O=(Y,Q={})=>{I(),c.reset(),doubleRaf(()=>{let xe;i.loop&&Y===g.value?xe=a.active===0?0:Y:xe=Y%g.value,Q.immediate?doubleRaf(()=>{a.swiping=!1}):a.swiping=!1,k({pace:xe-a.active,emitChange:!0})})},U=(Y,Q)=>{const xe=Q===E.value,ue=xe?{backgroundColor:i.indicatorColor}:void 0;return createVNode("i",{style:ue,class:bem$t("indicator",{active:xe})},null)},$=()=>{if(r.indicator)return r.indicator({active:E.value,total:g.value});if(i.showIndicators&&g.value>1)return createVNode("div",{class:bem$t("indicators",{vertical:i.vertical})},[Array(g.value).fill("").map(U)])};return useExpose({prev:M,next:R,state:a,resize:F,swipeTo:O}),d({size:m,props:i,count:g,activeIndicator:E}),watch(()=>i.initialSwipe,Y=>D(+Y)),watch(g,()=>D(a.active)),watch(()=>i.autoplay,V),watch([windowWidth,windowHeight],F),watch(usePageVisibility(),Y=>{Y==="visible"?V():_()}),onMounted(D),onActivated(()=>D(a.active)),onPopupReopen(()=>D(a.active)),onDeactivated(_),onBeforeUnmount(_),useEventListener$1("touchmove",G,{target:o}),()=>{var Y;return createVNode("div",{ref:s,class:bem$t()},[createVNode("div",{ref:o,style:P.value,class:bem$t("track",{vertical:i.vertical}),onTouchstartPassive:K,onTouchend:q,onTouchcancel:q},[(Y=r.default)==null?void 0:Y.call(r)]),$()])}}});const Swipe=withInstall(stdin_default$x),[name$u,bem$s]=createNamespace$1("tabs");var stdin_default$w=defineComponent({name:name$u,props:{count:makeRequiredProp(Number),inited:Boolean,animated:Boolean,duration:makeRequiredProp(numericProp),swipeable:Boolean,lazyRender:Boolean,currentIndex:makeRequiredProp(Number)},emits:["change"],setup(i,{emit:e,slots:r}){const s=ref(),o=c=>e("change",c),a=()=>{var c;const u=(c=r.default)==null?void 0:c.call(r);return i.animated||i.swipeable?createVNode(Swipe,{ref:s,loop:!1,class:bem$s("track"),duration:+i.duration*1e3,touchable:i.swipeable,lazyRender:i.lazyRender,showIndicators:!1,onChange:o},{default:()=>[u]}):u},l=c=>{const u=s.value;u&&u.state.active!==c&&u.swipeTo(c,{immediate:!i.inited})};return watch(()=>i.currentIndex,l),onMounted(()=>{l(i.currentIndex)}),useExpose({swipeRef:s}),()=>createVNode("div",{class:bem$s("content",{animated:i.animated||i.swipeable})},[a()])}});const[name$t,bem$r]=createNamespace$1("tabs"),tabsProps={type:makeStringProp("line"),color:String,border:Boolean,sticky:Boolean,shrink:Boolean,active:makeNumericProp(0),duration:makeNumericProp(.3),animated:Boolean,ellipsis:truthProp,swipeable:Boolean,scrollspy:Boolean,offsetTop:makeNumericProp(0),background:String,lazyRender:truthProp,lineWidth:numericProp,lineHeight:numericProp,beforeChange:Function,swipeThreshold:makeNumericProp(5),titleActiveColor:String,titleInactiveColor:String},TABS_KEY=Symbol(name$t);var stdin_default$v=defineComponent({name:name$t,props:tabsProps,emits:["change","scroll","rendered","clickTab","update:active"],setup(i,{emit:e,slots:r}){let s,o,a;const l=ref(),c=ref(),u=ref(),d=ref(),g=useId(),m=useScrollParent(l),[y,b]=useRefs(),{children:A,linkChildren:S}=useChildren$1(TABS_KEY),E=reactive({inited:!1,position:"",lineStyle:{},currentIndex:-1}),x=computed(()=>A.length>+i.swipeThreshold||!i.ellipsis||i.shrink),P=computed(()=>({borderColor:i.color,background:i.background})),C=(ue,W)=>{var J;return(J=ue.name)!=null?J:W},T=computed(()=>{const ue=A[E.currentIndex];if(ue)return C(ue,E.currentIndex)}),k=computed(()=>unitToPx(i.offsetTop)),I=computed(()=>i.sticky?k.value+s:0),M=ue=>{const W=c.value,J=y.value;if(!x.value||!W||!J||!J[E.currentIndex])return;const ce=J[E.currentIndex].$el,ge=ce.offsetLeft-(W.offsetWidth-ce.offsetWidth)/2;scrollLeftTo(W,ge,ue?0:+i.duration)},R=()=>{const ue=E.inited;nextTick(()=>{const W=y.value;if(!W||!W[E.currentIndex]||i.type!=="line"||isHidden(l.value))return;const J=W[E.currentIndex].$el,{lineWidth:ce,lineHeight:ge}=i,Ee=J.offsetLeft+J.offsetWidth/2,Te={width:addUnit(ce),backgroundColor:i.color,transform:`translateX(${Ee}px) translateX(-50%)`};if(ue&&(Te.transitionDuration=`${i.duration}s`),isDef$1(ge)){const De=addUnit(ge);Te.height=De,Te.borderRadius=De}E.lineStyle=Te})},B=ue=>{const W=ue<E.currentIndex?-1:1;for(;ue>=0&&ue<A.length;){if(!A[ue].disabled)return ue;ue+=W}},_=(ue,W)=>{const J=B(ue);if(!isDef$1(J))return;const ce=A[J],ge=C(ce,J),Ee=E.currentIndex!==null;E.currentIndex!==J&&(E.currentIndex=J,W||M(),R()),ge!==i.active&&(e("update:active",ge),Ee&&e("change",ge,ce.title)),a&&!i.scrollspy&&setRootScrollTop(Math.ceil(getElementTop(l.value)-k.value))},V=(ue,W)=>{const J=A.find((ge,Ee)=>C(ge,Ee)===ue),ce=J?A.indexOf(J):0;_(ce,W)},D=(ue=!1)=>{if(i.scrollspy){const W=A[E.currentIndex].$el;if(W&&m.value){const J=getElementTop(W,m.value)-I.value;o=!0,scrollTopTo(m.value,J,ue?0:+i.duration,()=>{o=!1})}}},F=(ue,W,J)=>{const{title:ce,disabled:ge}=A[W],Ee=C(A[W],W);ge||(callInterceptor(i.beforeChange,{args:[Ee],done:()=>{_(W),D()}}),route(ue)),e("clickTab",{name:Ee,title:ce,event:J,disabled:ge})},N=ue=>{a=ue.isFixed,e("scroll",ue)},K=ue=>{nextTick(()=>{V(ue),D(!0)})},G=()=>{for(let ue=0;ue<A.length;ue++){const{top:W}=useRect(A[ue].$el);if(W>I.value)return ue===0?0:ue-1}return A.length-1},q=()=>{if(i.scrollspy&&!o){const ue=G();_(ue)}},O=()=>A.map((ue,W)=>createVNode(stdin_default$y,mergeProps({key:ue.id,id:`${g}-${W}`,ref:b(W),type:i.type,color:i.color,style:ue.titleStyle,class:ue.titleClass,shrink:i.shrink,isActive:W===E.currentIndex,controls:ue.id,scrollable:x.value,activeColor:i.titleActiveColor,inactiveColor:i.titleInactiveColor,onClick:J=>F(ue,W,J)},pick$1(ue,["dot","badge","title","disabled","showZeroBadge"])),{title:ue.$slots.title})),U=()=>{if(i.type==="line"&&A.length)return createVNode("div",{class:bem$r("line"),style:E.lineStyle},null)},$=()=>{var ue,W,J;const{type:ce,border:ge,sticky:Ee}=i,Te=[createVNode("div",{ref:Ee?void 0:u,class:[bem$r("wrap"),{[BORDER_TOP_BOTTOM]:ce==="line"&&ge}]},[createVNode("div",{ref:c,role:"tablist",class:bem$r("nav",[ce,{shrink:i.shrink,complete:x.value}]),style:P.value,"aria-orientation":"horizontal"},[(ue=r["nav-left"])==null?void 0:ue.call(r),O(),U(),(W=r["nav-right"])==null?void 0:W.call(r)])]),(J=r["nav-bottom"])==null?void 0:J.call(r)];return Ee?createVNode("div",{ref:u},[Te]):Te};watch([()=>i.color,windowWidth],R),watch(()=>i.active,ue=>{ue!==T.value&&V(ue)}),watch(()=>A.length,()=>{E.inited&&(V(i.active),R(),nextTick(()=>{M(!0)}))});const Y=()=>{V(i.active,!0),nextTick(()=>{E.inited=!0,u.value&&(s=useRect(u.value).height),M(!0)})},Q=(ue,W)=>e("rendered",ue,W);return useExpose({resize:()=>{R(),nextTick(()=>{var ue,W;return(W=(ue=d.value)==null?void 0:ue.swipeRef.value)==null?void 0:W.resize()})},scrollTo:K}),onActivated(R),onPopupReopen(R),onMountedOrActivated(Y),useVisibilityChange(l,R),useEventListener$1("scroll",q,{target:m,passive:!0}),S({id:g,props:i,setLine:R,onRendered:Q,currentName:T,scrollIntoView:M}),()=>createVNode("div",{ref:l,class:bem$r([i.type])},[i.sticky?createVNode(Sticky,{container:l.value,offsetTop:k.value,onScroll:N},{default:()=>[$()]}):$(),createVNode(stdin_default$w,{ref:d,count:A.length,inited:E.inited,animated:i.animated,duration:i.duration,swipeable:i.swipeable,lazyRender:i.lazyRender,currentIndex:E.currentIndex,onChange:_},{default:()=>{var ue;return[(ue=r.default)==null?void 0:ue.call(r)]}})])}});const TAB_STATUS_KEY=Symbol(),useTabStatus=()=>inject(TAB_STATUS_KEY,null),[name$s,bem$q]=createNamespace$1("swipe-item");var stdin_default$u=defineComponent({name:name$s,setup(i,{slots:e}){let r;const s=reactive({offset:0,inited:!1,mounted:!1}),{parent:o,index:a}=useParent$1(SWIPE_KEY);if(!o)return;const l=computed(()=>{const d={},{vertical:g}=o.props;return o.size.value&&(d[g?"height":"width"]=`${o.size.value}px`),s.offset&&(d.transform=`translate${g?"Y":"X"}(${s.offset}px)`),d}),c=computed(()=>{const{loop:d,lazyRender:g}=o.props;if(!g||r)return!0;if(!s.mounted)return!1;const m=o.activeIndicator.value,y=o.count.value-1,b=m===0&&d?y:m-1,A=m===y&&d?0:m+1;return r=a.value===m||a.value===b||a.value===A,r}),u=d=>{s.offset=d};return onMounted(()=>{nextTick(()=>{s.mounted=!0})}),useExpose({setOffset:u}),()=>{var d;return createVNode("div",{class:bem$q(),style:l.value},[c.value?(d=e.default)==null?void 0:d.call(e):null])}}});const SwipeItem=withInstall(stdin_default$u),[name$r,bem$p]=createNamespace$1("tab"),tabProps=extend$2({},routeProps,{dot:Boolean,name:numericProp,badge:numericProp,title:String,disabled:Boolean,titleClass:unknownProp,titleStyle:[String,Object],showZeroBadge:truthProp});var stdin_default$t=defineComponent({name:name$r,props:tabProps,setup(i,{slots:e}){const r=useId(),s=ref(!1),{parent:o,index:a}=useParent$1(TABS_KEY);if(!o)return;const l=()=>{var g;return(g=i.name)!=null?g:a.value},c=()=>{s.value=!0,o.props.lazyRender&&nextTick(()=>{o.onRendered(l(),i.title)})},u=computed(()=>{const g=l()===o.currentName.value;return g&&!s.value&&c(),g}),d=ref(!u.value);return watch(u,g=>{g?d.value=!1:doubleRaf(()=>{d.value=!0})}),watch(()=>i.title,()=>{o.setLine(),o.scrollIntoView()}),provide(TAB_STATUS_KEY,u),()=>{var g;const m=`${o.id}-${a.value}`,{animated:y,swipeable:b,scrollspy:A,lazyRender:S}=o.props;if(!e.default&&!y)return;const E=A||u.value;if(y||b)return createVNode(SwipeItem,{id:r,role:"tabpanel",class:bem$p("panel-wrapper",{inactive:d.value}),tabindex:u.value?0:-1,"aria-hidden":!u.value,"aria-labelledby":m},{default:()=>{var C;return[createVNode("div",{class:bem$p("panel")},[(C=e.default)==null?void 0:C.call(e)])]}});const P=s.value||A||!S?(g=e.default)==null?void 0:g.call(e):null;return useExpose({id:r}),withDirectives(createVNode("div",{id:r,role:"tabpanel",class:bem$p("panel"),tabindex:E?0:-1,"aria-labelledby":m},[P]),[[vShow,E]])}}});const Tab=withInstall(stdin_default$t),Tabs=withInstall(stdin_default$v),[name$q,bem$o]=createNamespace$1("picker-group"),PICKER_GROUP_KEY=Symbol(name$q),pickerGroupProps=extend$2({tabs:makeArrayProp(),nextStepText:String},pickerToolbarProps);defineComponent({name:name$q,props:pickerGroupProps,emits:["confirm","cancel"],setup(i,{emit:e,slots:r}){const s=ref(0),{children:o,linkChildren:a}=useChildren$1(PICKER_GROUP_KEY);a();const l=()=>s.value<i.tabs.length-1&&i.nextStepText,c=()=>{l()?s.value++:e("confirm",o.map(d=>d.confirm()))},u=()=>e("cancel");return()=>{var d;const g=(d=r.default)==null?void 0:d.call(r),m=l()?i.nextStepText:i.confirmButtonText;return createVNode("div",{class:bem$o()},[createVNode(stdin_default$A,{title:i.title,cancelButtonText:i.cancelButtonText,confirmButtonText:m,onConfirm:c,onCancel:u},pick$1(r,pickerToolbarSlots)),createVNode(Tabs,{active:s.value,"onUpdate:active":y=>s.value=y,class:bem$o("tabs"),shrink:!0,animated:!0,lazyRender:!1},{default:()=>[i.tabs.map((y,b)=>createVNode(Tab,{title:y,titleClass:bem$o("tab-title")},{default:()=>[g==null?void 0:g[b]]}))]})])}}});const pickerSharedProps=extend$2({loading:Boolean,readonly:Boolean,allowHtml:Boolean,optionHeight:makeNumericProp(44),showToolbar:truthProp,swipeDuration:makeNumericProp(1e3),visibleOptionNum:makeNumericProp(6)},pickerToolbarProps),pickerProps=extend$2({},pickerSharedProps,{columns:makeArrayProp(),modelValue:makeArrayProp(),toolbarPosition:makeStringProp("top"),columnsFieldNames:Object});var stdin_default$s=defineComponent({name:name$A,props:pickerProps,emits:["confirm","cancel","change","clickOption","update:modelValue"],setup(i,{emit:e,slots:r}){const s=ref(),o=ref(i.modelValue.slice(0)),{parent:a}=useParent$1(PICKER_GROUP_KEY),{children:l,linkChildren:c}=useChildren$1(PICKER_KEY);c();const u=computed(()=>assignDefaultFields(i.columnsFieldNames)),d=computed(()=>unitToPx(i.optionHeight)),g=computed(()=>getColumnsType(i.columns,u.value)),m=computed(()=>{const{columns:V}=i;switch(g.value){case"multiple":return V;case"cascade":return formatCascadeColumns(V,u.value,o);default:return[V]}}),y=computed(()=>m.value.some(V=>V.length)),b=computed(()=>m.value.map((V,D)=>findOptionByValue(V,o.value[D],u.value))),A=computed(()=>m.value.map((V,D)=>V.findIndex(F=>F[u.value.value]===o.value[D]))),S=(V,D)=>{if(o.value[V]!==D){const F=o.value.slice(0);F[V]=D,o.value=F}},E=()=>({selectedValues:o.value.slice(0),selectedOptions:b.value,selectedIndexes:A.value}),x=(V,D)=>{S(D,V),g.value==="cascade"&&o.value.forEach((F,N)=>{const K=m.value[N];isOptionExist(K,F,u.value)||S(N,K.length?K[0][u.value.value]:void 0)}),nextTick(()=>{e("change",extend$2({columnIndex:D},E()))})},P=(V,D)=>e("clickOption",extend$2({columnIndex:D,currentOption:V},E())),C=()=>{l.forEach(D=>D.stopMomentum());const V=E();return nextTick(()=>{e("confirm",V)}),V},T=()=>e("cancel",E()),k=()=>m.value.map((V,D)=>createVNode(stdin_default$B,{value:o.value[D],fields:u.value,options:V,readonly:i.readonly,allowHtml:i.allowHtml,optionHeight:d.value,swipeDuration:i.swipeDuration,visibleOptionNum:i.visibleOptionNum,onChange:F=>x(F,D),onClickOption:F=>P(F,D)},{option:r.option})),I=V=>{if(y.value){const D={height:`${d.value}px`},F={backgroundSize:`100% ${(V-d.value)/2}px`};return[createVNode("div",{class:bem$x("mask"),style:F},null),createVNode("div",{class:[BORDER_UNSET_TOP_BOTTOM,bem$x("frame")],style:D},null)]}},M=()=>{const V=d.value*+i.visibleOptionNum,D={height:`${V}px`};return createVNode("div",{ref:s,class:bem$x("columns"),style:D},[k(),I(V)])},R=()=>{if(i.showToolbar&&!a)return createVNode(stdin_default$A,mergeProps(pick$1(i,pickerToolbarPropKeys),{onConfirm:C,onCancel:T}),pick$1(r,pickerToolbarSlots))};watch(m,V=>{V.forEach((D,F)=>{D.length&&!isOptionExist(D,o.value[F],u.value)&&S(F,getFirstEnabledOption(D)[u.value.value])})},{immediate:!0});let B;return watch(()=>i.modelValue,V=>{!isSameValue(V,o.value)&&!isSameValue(V,B)&&(o.value=V.slice(0),B=V.slice(0))},{deep:!0}),watch(o,V=>{isSameValue(V,i.modelValue)||(B=V.slice(0),e("update:modelValue",B))},{immediate:!0}),useEventListener$1("touchmove",preventDefault,{target:s}),useExpose({confirm:C,getSelectedOptions:()=>b.value}),()=>{var V,D;return createVNode("div",{class:bem$x()},[i.toolbarPosition==="top"?R():null,i.loading?createVNode(Loading$2,{class:bem$x("loading")},null):null,(V=r["columns-top"])==null?void 0:V.call(r),M(),(D=r["columns-bottom"])==null?void 0:D.call(r),i.toolbarPosition==="bottom"?R():null])}}});const Picker=withInstall(stdin_default$s),[name$p,bem$n]=createNamespace$1("cell"),cellSharedProps={tag:makeStringProp("div"),icon:String,size:String,title:numericProp,value:numericProp,label:numericProp,center:Boolean,isLink:Boolean,border:truthProp,required:Boolean,iconPrefix:String,valueClass:unknownProp,labelClass:unknownProp,titleClass:unknownProp,titleStyle:null,arrowDirection:String,clickable:{type:Boolean,default:null}},cellProps=extend$2({},cellSharedProps,routeProps);var stdin_default$r=defineComponent({name:name$p,props:cellProps,setup(i,{slots:e}){const r=useRoute(),s=()=>{if(e.label||isDef$1(i.label))return createVNode("div",{class:[bem$n("label"),i.labelClass]},[e.label?e.label():i.label])},o=()=>{var u;if(e.title||isDef$1(i.title)){const d=(u=e.title)==null?void 0:u.call(e);return Array.isArray(d)&&d.length===0?void 0:createVNode("div",{class:[bem$n("title"),i.titleClass],style:i.titleStyle},[d||createVNode("span",null,[i.title]),s()])}},a=()=>{const u=e.value||e.default;if(u||isDef$1(i.value))return createVNode("div",{class:[bem$n("value"),i.valueClass]},[u?u():createVNode("span",null,[i.value])])},l=()=>{if(e.icon)return e.icon();if(i.icon)return createVNode(Icon$1,{name:i.icon,class:bem$n("left-icon"),classPrefix:i.iconPrefix},null)},c=()=>{if(e["right-icon"])return e["right-icon"]();if(i.isLink){const u=i.arrowDirection&&i.arrowDirection!=="right"?`arrow-${i.arrowDirection}`:"arrow";return createVNode(Icon$1,{name:u,class:bem$n("right-icon")},null)}};return()=>{var u;const{tag:d,size:g,center:m,border:y,isLink:b,required:A}=i,S=(u=i.clickable)!=null?u:b,E={center:m,required:A,clickable:S,borderless:!y};return g&&(E[g]=!!g),createVNode(d,{class:bem$n(E),role:S?"button":void 0,tabindex:S?0:void 0,onClick:r},{default:()=>{var x;return[l(),o(),a(),c(),(x=e.extra)==null?void 0:x.call(e)]}})}}});const Cell=withInstall(stdin_default$r);function isEmptyValue(i){return Array.isArray(i)?!i.length:i===0?!1:!i}function runSyncRule(i,e){if(isEmptyValue(i)){if(e.required)return!1;if(e.validateEmpty===!1)return!0}return!(e.pattern&&!e.pattern.test(String(i)))}function runRuleValidator(i,e){return new Promise(r=>{const s=e.validator(i,e);if(isPromise(s)){s.then(r);return}r(s)})}function getRuleMessage(i,e){const{message:r}=e;return isFunction$5(r)?r(i,e):r||""}function startComposing({target:i}){i.composing=!0}function endComposing({target:i}){i.composing&&(i.composing=!1,i.dispatchEvent(new Event("input")))}function resizeTextarea(i,e){const r=getRootScrollTop();i.style.height="auto";let s=i.scrollHeight;if(isObject$4(e)){const{maxHeight:o,minHeight:a}=e;o!==void 0&&(s=Math.min(s,o)),a!==void 0&&(s=Math.max(s,a))}s&&(i.style.height=`${s}px`,setRootScrollTop(r))}function mapInputType(i){return i==="number"?{type:"text",inputmode:"decimal"}:i==="digit"?{type:"tel",inputmode:"numeric"}:{type:i}}function getStringLength(i){return[...i].length}function cutString(i,e){return[...i].slice(0,e).join("")}const[name$o,bem$m]=createNamespace$1("field"),fieldSharedProps={id:String,name:String,leftIcon:String,rightIcon:String,autofocus:Boolean,clearable:Boolean,maxlength:numericProp,formatter:Function,clearIcon:makeStringProp("clear"),modelValue:makeNumericProp(""),inputAlign:String,placeholder:String,autocomplete:String,errorMessage:String,enterkeyhint:String,clearTrigger:makeStringProp("focus"),formatTrigger:makeStringProp("onChange"),error:{type:Boolean,default:null},disabled:{type:Boolean,default:null},readonly:{type:Boolean,default:null}},fieldProps=extend$2({},cellSharedProps,fieldSharedProps,{rows:numericProp,type:makeStringProp("text"),rules:Array,autosize:[Boolean,Object],labelWidth:numericProp,labelClass:unknownProp,labelAlign:String,showWordLimit:Boolean,errorMessageAlign:String,colon:{type:Boolean,default:null}});var stdin_default$q=defineComponent({name:name$o,props:fieldProps,emits:["blur","focus","clear","keypress","clickInput","endValidate","startValidate","clickLeftIcon","clickRightIcon","update:modelValue"],setup(i,{emit:e,slots:r}){const s=useId(),o=reactive({status:"unvalidated",focused:!1,validateMessage:""}),a=ref(),l=ref(),c=ref(),{parent:u}=useParent$1(FORM_KEY),d=()=>{var J;return String((J=i.modelValue)!=null?J:"")},g=J=>{if(isDef$1(i[J]))return i[J];if(u&&isDef$1(u.props[J]))return u.props[J]},m=computed(()=>{const J=g("readonly");if(i.clearable&&!J){const ce=d()!=="",ge=i.clearTrigger==="always"||i.clearTrigger==="focus"&&o.focused;return ce&&ge}return!1}),y=computed(()=>c.value&&r.input?c.value():i.modelValue),b=J=>J.reduce((ce,ge)=>ce.then(()=>{if(o.status==="failed")return;let{value:Ee}=y;if(ge.formatter&&(Ee=ge.formatter(Ee,ge)),!runSyncRule(Ee,ge)){o.status="failed",o.validateMessage=getRuleMessage(Ee,ge);return}if(ge.validator)return isEmptyValue(Ee)&&ge.validateEmpty===!1?void 0:runRuleValidator(Ee,ge).then(Te=>{Te&&typeof Te=="string"?(o.status="failed",o.validateMessage=Te):Te===!1&&(o.status="failed",o.validateMessage=getRuleMessage(Ee,ge))})}),Promise.resolve()),A=()=>{o.status="unvalidated",o.validateMessage=""},S=()=>e("endValidate",{status:o.status,message:o.validateMessage}),E=(J=i.rules)=>new Promise(ce=>{A(),J?(e("startValidate"),b(J).then(()=>{o.status==="failed"?(ce({name:i.name,message:o.validateMessage}),S()):(o.status="passed",ce(),S())})):ce()}),x=J=>{if(u&&i.rules){const{validateTrigger:ce}=u.props,ge=toArray(ce).includes(J),Ee=i.rules.filter(Te=>Te.trigger?toArray(Te.trigger).includes(J):ge);Ee.length&&E(Ee)}},P=J=>{var ce;const{maxlength:ge}=i;if(isDef$1(ge)&&getStringLength(J)>+ge){const Ee=d();if(Ee&&getStringLength(Ee)===+ge)return Ee;const Te=(ce=a.value)==null?void 0:ce.selectionEnd;if(o.focused&&Te){const De=[...J],te=De.length-+ge;return De.splice(Te-te,te),De.join("")}return cutString(J,+ge)}return J},C=(J,ce="onChange")=>{const ge=J;J=P(J);const Ee=getStringLength(ge)-getStringLength(J);if(i.type==="number"||i.type==="digit"){const De=i.type==="number";J=formatNumber(J,De,De)}let Te=0;if(i.formatter&&ce===i.formatTrigger){const{formatter:De,maxlength:te}=i;if(J=De(J),isDef$1(te)&&getStringLength(J)>+te&&(J=cutString(J,+te)),a.value&&o.focused){const{selectionEnd:ae}=a.value,H=cutString(ge,ae);Te=getStringLength(De(H))-getStringLength(H)}}if(a.value&&a.value.value!==J)if(o.focused){let{selectionStart:De,selectionEnd:te}=a.value;if(a.value.value=J,isDef$1(De)&&isDef$1(te)){const ae=getStringLength(J);Ee?(De-=Ee,te-=Ee):Te&&(De+=Te,te+=Te),a.value.setSelectionRange(Math.min(De,ae),Math.min(te,ae))}}else a.value.value=J;J!==i.modelValue&&e("update:modelValue",J)},T=J=>{J.target.composing||C(J.target.value)},k=()=>{var J;return(J=a.value)==null?void 0:J.blur()},I=()=>{var J;return(J=a.value)==null?void 0:J.focus()},M=()=>{const J=a.value;i.type==="textarea"&&i.autosize&&J&&resizeTextarea(J,i.autosize)},R=J=>{o.focused=!0,e("focus",J),nextTick(M),g("readonly")&&k()},B=J=>{o.focused=!1,C(d(),"onBlur"),e("blur",J),!g("readonly")&&(x("onBlur"),nextTick(M),resetScroll())},_=J=>e("clickInput",J),V=J=>e("clickLeftIcon",J),D=J=>e("clickRightIcon",J),F=J=>{preventDefault(J),e("update:modelValue",""),e("clear",J)},N=computed(()=>{if(typeof i.error=="boolean")return i.error;if(u&&u.props.showError&&o.status==="failed")return!0}),K=computed(()=>{const J=g("labelWidth"),ce=g("labelAlign");if(J&&ce!=="top")return{width:addUnit(J)}}),G=J=>{J.keyCode===13&&(!(u&&u.props.submitOnEnter)&&i.type!=="textarea"&&preventDefault(J),i.type==="search"&&k()),e("keypress",J)},q=()=>i.id||`${s}-input`,O=()=>o.status,U=()=>{const J=bem$m("control",[g("inputAlign"),{error:N.value,custom:!!r.input,"min-height":i.type==="textarea"&&!i.autosize}]);if(r.input)return createVNode("div",{class:J,onClick:_},[r.input()]);const ce={id:q(),ref:a,name:i.name,rows:i.rows!==void 0?+i.rows:void 0,class:J,disabled:g("disabled"),readonly:g("readonly"),autofocus:i.autofocus,placeholder:i.placeholder,autocomplete:i.autocomplete,enterkeyhint:i.enterkeyhint,"aria-labelledby":i.label?`${s}-label`:void 0,onBlur:B,onFocus:R,onInput:T,onClick:_,onChange:endComposing,onKeypress:G,onCompositionend:endComposing,onCompositionstart:startComposing};return i.type==="textarea"?createVNode("textarea",ce,null):createVNode("input",mergeProps(mapInputType(i.type),ce),null)},$=()=>{const J=r["left-icon"];if(i.leftIcon||J)return createVNode("div",{class:bem$m("left-icon"),onClick:V},[J?J():createVNode(Icon$1,{name:i.leftIcon,classPrefix:i.iconPrefix},null)])},Y=()=>{const J=r["right-icon"];if(i.rightIcon||J)return createVNode("div",{class:bem$m("right-icon"),onClick:D},[J?J():createVNode(Icon$1,{name:i.rightIcon,classPrefix:i.iconPrefix},null)])},Q=()=>{if(i.showWordLimit&&i.maxlength){const J=getStringLength(d());return createVNode("div",{class:bem$m("word-limit")},[createVNode("span",{class:bem$m("word-num")},[J]),createTextVNode("/"),i.maxlength])}},xe=()=>{if(u&&u.props.showErrorMessage===!1)return;const J=i.errorMessage||o.validateMessage;if(J){const ce=r["error-message"],ge=g("errorMessageAlign");return createVNode("div",{class:bem$m("error-message",ge)},[ce?ce({message:J}):J])}},ue=()=>{const J=g("labelWidth"),ce=g("labelAlign"),ge=g("colon")?":":"";if(r.label)return[r.label(),ge];if(i.label)return createVNode("label",{id:`${s}-label`,for:q(),style:ce==="top"&&J?{width:addUnit(J)}:void 0},[i.label+ge])},W=()=>[createVNode("div",{class:bem$m("body")},[U(),m.value&&createVNode(Icon$1,{ref:l,name:i.clearIcon,class:bem$m("clear")},null),Y(),r.button&&createVNode("div",{class:bem$m("button")},[r.button()])]),Q(),xe()];return useExpose({blur:k,focus:I,validate:E,formValue:y,resetValidation:A,getValidationStatus:O}),provide(CUSTOM_FIELD_INJECTION_KEY,{customValue:c,resetValidation:A,validateWithTrigger:x}),watch(()=>i.modelValue,()=>{C(d()),A(),x("onChange"),nextTick(M)}),onMounted(()=>{C(d(),i.formatTrigger),nextTick(M)}),useEventListener$1("touchstart",F,{target:computed(()=>{var J;return(J=l.value)==null?void 0:J.$el})}),()=>{const J=g("disabled"),ce=g("labelAlign"),ge=$(),Ee=()=>{const Te=ue();return ce==="top"?[ge,Te].filter(Boolean):Te||[]};return createVNode(Cell,{size:i.size,class:bem$m({error:N.value,disabled:J,[`label-${ce}`]:ce}),center:i.center,border:i.border,isLink:i.isLink,clickable:i.clickable,titleStyle:K.value,valueClass:bem$m("value"),titleClass:[bem$m("label",[ce,{required:i.required}]),i.labelClass],arrowDirection:i.arrowDirection},{icon:ge&&ce!=="top"?()=>ge:null,title:Ee,value:W,extra:r.extra})}}});const Field=withInstall(stdin_default$q);let lockCount=0;function lockClick(i){i?(lockCount||document.body.classList.add("van-toast--unclickable"),lockCount++):lockCount&&(lockCount--,lockCount||document.body.classList.remove("van-toast--unclickable"))}const[name$n,bem$l]=createNamespace$1("toast"),popupInheritProps=["show","overlay","teleport","transition","overlayClass","overlayStyle","closeOnClickOverlay"],toastProps={icon:String,show:Boolean,type:makeStringProp("text"),overlay:Boolean,message:numericProp,iconSize:numericProp,duration:makeNumberProp(2e3),position:makeStringProp("middle"),teleport:[String,Object],wordBreak:String,className:unknownProp,iconPrefix:String,transition:makeStringProp("van-fade"),loadingType:String,forbidClick:Boolean,overlayClass:unknownProp,overlayStyle:Object,closeOnClick:Boolean,closeOnClickOverlay:Boolean};var stdin_default$p=defineComponent({name:name$n,props:toastProps,emits:["update:show"],setup(i,{emit:e,slots:r}){let s,o=!1;const a=()=>{const m=i.show&&i.forbidClick;o!==m&&(o=m,lockClick(o))},l=m=>e("update:show",m),c=()=>{i.closeOnClick&&l(!1)},u=()=>clearTimeout(s),d=()=>{const{icon:m,type:y,iconSize:b,iconPrefix:A,loadingType:S}=i;if(m||y==="success"||y==="fail")return createVNode(Icon$1,{name:m||y,size:b,class:bem$l("icon"),classPrefix:A},null);if(y==="loading")return createVNode(Loading$2,{class:bem$l("loading"),size:b,type:S},null)},g=()=>{const{type:m,message:y}=i;if(r.message)return createVNode("div",{class:bem$l("text")},[r.message()]);if(isDef$1(y)&&y!=="")return m==="html"?createVNode("div",{key:0,class:bem$l("text"),innerHTML:String(y)},null):createVNode("div",{class:bem$l("text")},[y])};return watch(()=>[i.show,i.forbidClick],a),watch(()=>[i.show,i.type,i.message,i.duration],()=>{u(),i.show&&i.duration>0&&(s=setTimeout(()=>{l(!1)},i.duration))}),onMounted(a),onUnmounted(a),()=>createVNode(Popup,mergeProps({class:[bem$l([i.position,i.wordBreak==="normal"?"break-normal":i.wordBreak,{[i.type]:!i.icon}]),i.className],lockScroll:!1,onClick:c,onClosed:u,"onUpdate:show":l},pick$1(i,popupInheritProps)),{default:()=>[d(),g()]})}});function usePopupState(){const i=reactive({show:!1}),e=o=>{i.show=o},r=o=>{extend$2(i,o,{transitionAppear:!0}),e(!0)},s=()=>e(!1);return useExpose({open:r,close:s,toggle:e}),{open:r,close:s,state:i,toggle:e}}function mountComponent(i){const e=createApp(i),r=document.createElement("div");return document.body.appendChild(r),{instance:e.mount(r),unmount(){e.unmount(),document.body.removeChild(r)}}}const defaultOptions$1={icon:"",type:"text",message:"",className:"",overlay:!1,onClose:void 0,onOpened:void 0,duration:2e3,teleport:"body",iconSize:void 0,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,overlayClass:"",overlayStyle:void 0,closeOnClick:!1,closeOnClickOverlay:!1};let queue=[],allowMultiple=!1,currentOptions$1=extend$2({},defaultOptions$1);const defaultOptionsMap=new Map;function parseOptions(i){return isObject$4(i)?i:{message:i}}function createInstance(){const{instance:i,unmount:e}=mountComponent({setup(){const r=ref(""),{open:s,state:o,close:a,toggle:l}=usePopupState(),c=()=>{},u=()=>createVNode(stdin_default$p,mergeProps(o,{onClosed:c,"onUpdate:show":l}),null);return watch(r,d=>{o.message=d}),getCurrentInstance().render=u,{open:s,close:a,message:r}}});return i}function getInstance(){if(!queue.length||allowMultiple){const i=createInstance();queue.push(i)}return queue[queue.length-1]}function showToast(i={}){if(!inBrowser$2)return{};const e=getInstance(),r=parseOptions(i);return e.open(extend$2({},currentOptions$1,defaultOptionsMap.get(r.type||currentOptions$1.type),r)),e}const createMethod=i=>e=>showToast(extend$2({type:i},parseOptions(e))),showLoadingToast=createMethod("loading"),closeToast=i=>{queue.length&&(i?(queue.forEach(e=>{e.close()}),queue=[]):queue[0].close())};withInstall(stdin_default$p);const[name$m,bem$k]=createNamespace$1("switch"),switchProps={size:numericProp,loading:Boolean,disabled:Boolean,modelValue:unknownProp,activeColor:String,inactiveColor:String,activeValue:{type:unknownProp,default:!0},inactiveValue:{type:unknownProp,default:!1}};var stdin_default$o=defineComponent({name:name$m,props:switchProps,emits:["change","update:modelValue"],setup(i,{emit:e,slots:r}){const s=()=>i.modelValue===i.activeValue,o=()=>{if(!i.disabled&&!i.loading){const l=s()?i.inactiveValue:i.activeValue;e("update:modelValue",l),e("change",l)}},a=()=>{if(i.loading){const l=s()?i.activeColor:i.inactiveColor;return createVNode(Loading$2,{class:bem$k("loading"),color:l},null)}if(r.node)return r.node()};return useCustomFieldValue(()=>i.modelValue),()=>{var l;const{size:c,loading:u,disabled:d,activeColor:g,inactiveColor:m}=i,y=s(),b={fontSize:addUnit(c),backgroundColor:y?g:m};return createVNode("div",{role:"switch",class:bem$k({on:y,loading:u,disabled:d}),style:b,tabindex:d?void 0:0,"aria-checked":y,onClick:o},[createVNode("div",{class:bem$k("node")},[a()]),(l=r.background)==null?void 0:l.call(r)])}}});const Switch$1=withInstall(stdin_default$o),[name$l,bem$j]=createNamespace$1("image"),imageProps={src:String,alt:String,fit:String,position:String,round:Boolean,block:Boolean,width:numericProp,height:numericProp,radius:numericProp,lazyLoad:Boolean,iconSize:numericProp,showError:truthProp,errorIcon:makeStringProp("photo-fail"),iconPrefix:String,showLoading:truthProp,loadingIcon:makeStringProp("photo")};var stdin_default$n=defineComponent({name:name$l,props:imageProps,emits:["load","error"],setup(i,{emit:e,slots:r}){const s=ref(!1),o=ref(!0),a=ref(),{$Lazyload:l}=getCurrentInstance().proxy,c=computed(()=>{const E={width:addUnit(i.width),height:addUnit(i.height)};return isDef$1(i.radius)&&(E.overflow="hidden",E.borderRadius=addUnit(i.radius)),E});watch(()=>i.src,()=>{s.value=!1,o.value=!0});const u=E=>{o.value&&(o.value=!1,e("load",E))},d=()=>{const E=new Event("load");Object.defineProperty(E,"target",{value:a.value,enumerable:!0}),u(E)},g=E=>{s.value=!0,o.value=!1,e("error",E)},m=(E,x,P)=>P?P():createVNode(Icon$1,{name:E,size:i.iconSize,class:x,classPrefix:i.iconPrefix},null),y=()=>{if(o.value&&i.showLoading)return createVNode("div",{class:bem$j("loading")},[m(i.loadingIcon,bem$j("loading-icon"),r.loading)]);if(s.value&&i.showError)return createVNode("div",{class:bem$j("error")},[m(i.errorIcon,bem$j("error-icon"),r.error)])},b=()=>{if(s.value||!i.src)return;const E={alt:i.alt,class:bem$j("img"),style:{objectFit:i.fit,objectPosition:i.position}};return i.lazyLoad?withDirectives(createVNode("img",mergeProps({ref:a},E),null),[[resolveDirective("lazy"),i.src]]):createVNode("img",mergeProps({ref:a,src:i.src,onLoad:u,onError:g},E),null)},A=({el:E})=>{const x=()=>{E===a.value&&o.value&&d()};a.value?x():nextTick(x)},S=({el:E})=>{E===a.value&&!s.value&&g()};return l&&inBrowser$2&&(l.$on("loaded",A),l.$on("error",S),onBeforeUnmount(()=>{l.$off("loaded",A),l.$off("error",S)})),onMounted(()=>{nextTick(()=>{var E;(E=a.value)!=null&&E.complete&&d()})}),()=>{var E;return createVNode("div",{class:bem$j({round:i.round,block:i.block}),style:c.value},[b(),y(),(E=r.default)==null?void 0:E.call(r)])}}});const Image$1=withInstall(stdin_default$n),[name$k,bem$i]=createNamespace$1("circle");let uid=0;const format$1=i=>Math.min(Math.max(+i,0),100);function getPath(i,e){const r=i?1:0;return`M ${e/2} ${e/2} m 0, -500 a 500, 500 0 1, ${r} 0, 1000 a 500, 500 0 1, ${r} 0, -1000`}const circleProps={text:String,size:numericProp,fill:makeStringProp("none"),rate:makeNumericProp(100),speed:makeNumericProp(0),color:[String,Object],clockwise:truthProp,layerColor:String,currentRate:makeNumberProp(0),strokeWidth:makeNumericProp(40),strokeLinecap:String,startPosition:makeStringProp("top")};var stdin_default$m=defineComponent({name:name$k,props:circleProps,emits:["update:currentRate"],setup(i,{emit:e,slots:r}){const s=`van-circle-${uid++}`,o=computed(()=>+i.strokeWidth+1e3),a=computed(()=>getPath(i.clockwise,o.value)),l=computed(()=>{const y={top:0,right:90,bottom:180,left:270}[i.startPosition];if(y)return{transform:`rotate(${y}deg)`}});watch(()=>i.rate,m=>{let y;const b=Date.now(),A=i.currentRate,S=format$1(m),E=Math.abs((A-S)*1e3/+i.speed),x=()=>{const P=Date.now(),T=Math.min((P-b)/E,1)*(S-A)+A;e("update:currentRate",format$1(parseFloat(T.toFixed(1)))),(S>A?T<S:T>S)&&(y=raf(x))};i.speed?(y&&cancelRaf(y),y=raf(x)):e("update:currentRate",S)},{immediate:!0});const c=()=>{const{strokeWidth:y,currentRate:b,strokeLinecap:A}=i,S=3140*b/100,E=isObject$4(i.color)?`url(#${s})`:i.color,x={stroke:E,strokeWidth:`${+y+1}px`,strokeLinecap:A,strokeDasharray:`${S}px 3140px`};return createVNode("path",{d:a.value,style:x,class:bem$i("hover"),stroke:E},null)},u=()=>{const m={fill:i.fill,stroke:i.layerColor,strokeWidth:`${i.strokeWidth}px`};return createVNode("path",{class:bem$i("layer"),style:m,d:a.value},null)},d=()=>{const{color:m}=i;if(!isObject$4(m))return;const y=Object.keys(m).sort((b,A)=>parseFloat(b)-parseFloat(A)).map((b,A)=>createVNode("stop",{key:A,offset:b,"stop-color":m[b]},null));return createVNode("defs",null,[createVNode("linearGradient",{id:s,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},[y])])},g=()=>{if(r.default)return r.default();if(i.text)return createVNode("div",{class:bem$i("text")},[i.text])};return()=>createVNode("div",{class:bem$i(),style:getSizeStyle(i.size)},[createVNode("svg",{viewBox:`0 0 ${o.value} ${o.value}`,style:l.value},[d(),u(),c()]),g()])}});const Circle=withInstall(stdin_default$m),[name$j,bem$h]=createNamespace$1("empty"),emptyProps={image:makeStringProp("default"),imageSize:[Number,String,Array],description:String};var stdin_default$l=defineComponent({name:name$j,props:emptyProps,setup(i,{slots:e}){const r=()=>{const x=e.description?e.description():i.description;if(x)return createVNode("p",{class:bem$h("description")},[x])},s=()=>{if(e.default)return createVNode("div",{class:bem$h("bottom")},[e.default()])},o=useId(),a=x=>`${o}-${x}`,l=x=>`url(#${a(x)})`,c=(x,P,C)=>createVNode("stop",{"stop-color":x,offset:`${P}%`,"stop-opacity":C},null),u=(x,P)=>[c(x,0),c(P,100)],d=x=>[createVNode("defs",null,[createVNode("radialGradient",{id:a(x),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)"},[c("#EBEDF0",0),c("#F2F3F5",100,.3)])]),createVNode("ellipse",{fill:l(x),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8"},null)],g=()=>[createVNode("defs",null,[createVNode("linearGradient",{id:a("a"),x1:"64%",y1:"100%",x2:"64%"},[c("#FFF",0,.5),c("#F2F3F5",100)])]),createVNode("g",{opacity:".8"},[createVNode("path",{d:"M36 131V53H16v20H2v58h34z",fill:l("a")},null),createVNode("path",{d:"M123 15h22v14h9v77h-31V15z",fill:l("a")},null)])],m=()=>[createVNode("defs",null,[createVNode("linearGradient",{id:a("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%"},[c("#F2F3F5",0,.3),c("#F2F3F5",100)])]),createVNode("g",{opacity:".8"},[createVNode("path",{d:"M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",fill:l("b")},null),createVNode("path",{d:"M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",fill:l("b")},null)])],y=()=>createVNode("svg",{viewBox:"0 0 160 160"},[createVNode("defs",null,[createVNode("linearGradient",{id:a(1),x1:"64%",y1:"100%",x2:"64%"},[c("#FFF",0,.5),c("#F2F3F5",100)]),createVNode("linearGradient",{id:a(2),x1:"50%",x2:"50%",y2:"84%"},[c("#EBEDF0",0),c("#DCDEE0",100,0)]),createVNode("linearGradient",{id:a(3),x1:"100%",x2:"100%",y2:"100%"},[u("#EAEDF0","#DCDEE0")]),createVNode("radialGradient",{id:a(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[c("#EBEDF0",0),c("#FFF",100,0)])]),createVNode("g",{fill:"none"},[g(),createVNode("path",{fill:l(4),d:"M0 139h160v21H0z"},null),createVNode("path",{d:"M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",fill:l(2)},null),createVNode("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7"},[createVNode("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:l(3)},null),createVNode("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:l(3)},null),createVNode("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:l(3)},null),createVNode("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:l(3)},null)]),createVNode("g",{transform:"translate(31 105)"},[createVNode("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),createVNode("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),createVNode("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])]),b=()=>createVNode("svg",{viewBox:"0 0 160 160"},[createVNode("defs",null,[createVNode("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:a(5)},[u("#F2F3F5","#DCDEE0")]),createVNode("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:a(6)},[u("#EAEDF1","#DCDEE0")]),createVNode("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:a(7)},[u("#EAEDF1","#DCDEE0")])]),g(),m(),createVNode("g",{transform:"translate(36 50)",fill:"none"},[createVNode("g",{transform:"translate(8)"},[createVNode("rect",{fill:"#EBEDF0",opacity:".6",x:"38",y:"13",width:"36",height:"53",rx:"2"},null),createVNode("rect",{fill:l(5),width:"64",height:"66",rx:"2"},null),createVNode("rect",{fill:"#FFF",x:"6",y:"6",width:"52",height:"55",rx:"1"},null),createVNode("g",{transform:"translate(15 17)",fill:l(6)},[createVNode("rect",{width:"34",height:"6",rx:"1"},null),createVNode("path",{d:"M0 14h34v6H0z"},null),createVNode("rect",{y:"28",width:"34",height:"6",rx:"1"},null)])]),createVNode("rect",{fill:l(7),y:"61",width:"88",height:"28",rx:"1"},null),createVNode("rect",{fill:"#F7F8FA",x:"29",y:"72",width:"30",height:"6",rx:"1"},null)])]),A=()=>createVNode("svg",{viewBox:"0 0 160 160"},[createVNode("defs",null,[createVNode("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:a(8)},[u("#EAEDF1","#DCDEE0")])]),g(),m(),d("c"),createVNode("path",{d:"m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",fill:l(8)},null)]),S=()=>createVNode("svg",{viewBox:"0 0 160 160"},[createVNode("defs",null,[createVNode("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:a(9)},[u("#EEE","#D8D8D8")]),createVNode("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:a(10)},[u("#F2F3F5","#DCDEE0")]),createVNode("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:a(11)},[u("#F2F3F5","#DCDEE0")]),createVNode("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:a(12)},[u("#FFF","#F7F8FA")])]),g(),m(),d("d"),createVNode("g",{transform:"rotate(-45 113 -4)",fill:"none"},[createVNode("rect",{fill:l(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),createVNode("rect",{fill:l(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),createVNode("circle",{stroke:l(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),createVNode("circle",{fill:l(12),cx:"27",cy:"27",r:"16"},null),createVNode("path",{d:"M37 7c-8 0-15 5-16 12",stroke:l(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])]),E=()=>{var x;if(e.image)return e.image();const P={error:A,search:S,network:y,default:b};return((x=P[i.image])==null?void 0:x.call(P))||createVNode("img",{src:i.image},null)};return()=>createVNode("div",{class:bem$h()},[createVNode("div",{class:bem$h("image"),style:getSizeStyle(i.imageSize)},[E()]),r(),s()])}});const Empty=withInstall(stdin_default$l),[name$i,bem$g,t$2]=createNamespace$1("dialog"),dialogProps=extend$2({},popupSharedProps,{title:String,theme:String,width:numericProp,message:[String,Function],callback:Function,allowHtml:Boolean,className:unknownProp,transition:makeStringProp("van-dialog-bounce"),messageAlign:String,closeOnPopstate:truthProp,showCancelButton:Boolean,cancelButtonText:String,cancelButtonColor:String,cancelButtonDisabled:Boolean,confirmButtonText:String,confirmButtonColor:String,confirmButtonDisabled:Boolean,showConfirmButton:truthProp,closeOnClickOverlay:Boolean}),popupInheritKeys=[...popupSharedPropKeys,"transition","closeOnPopstate"];var stdin_default$k=defineComponent({name:name$i,props:dialogProps,emits:["confirm","cancel","keydown","update:show"],setup(i,{emit:e,slots:r}){const s=ref(),o=reactive({confirm:!1,cancel:!1}),a=x=>e("update:show",x),l=x=>{var P;a(!1),(P=i.callback)==null||P.call(i,x)},c=x=>()=>{i.show&&(e(x),i.beforeClose?(o[x]=!0,callInterceptor(i.beforeClose,{args:[x],done(){l(x),o[x]=!1},canceled(){o[x]=!1}})):l(x))},u=c("cancel"),d=c("confirm"),g=withKeys(x=>{var P,C;if(x.target!==((C=(P=s.value)==null?void 0:P.popupRef)==null?void 0:C.value))return;({Enter:i.showConfirmButton?d:noop$1,Escape:i.showCancelButton?u:noop$1})[x.key](),e("keydown",x)},["enter","esc"]),m=()=>{const x=r.title?r.title():i.title;if(x)return createVNode("div",{class:bem$g("header",{isolated:!i.message&&!r.default})},[x])},y=x=>{const{message:P,allowHtml:C,messageAlign:T}=i,k=bem$g("message",{"has-title":x,[T]:T}),I=isFunction$5(P)?P():P;return C&&typeof I=="string"?createVNode("div",{class:k,innerHTML:I},null):createVNode("div",{class:k},[I])},b=()=>{if(r.default)return createVNode("div",{class:bem$g("content")},[r.default()]);const{title:x,message:P,allowHtml:C}=i;if(P){const T=!!(x||r.title);return createVNode("div",{key:C?1:0,class:bem$g("content",{isolated:!T})},[y(T)])}},A=()=>createVNode("div",{class:[BORDER_TOP,bem$g("footer")]},[i.showCancelButton&&createVNode(Button$1,{size:"large",text:i.cancelButtonText||t$2("cancel"),class:bem$g("cancel"),style:{color:i.cancelButtonColor},loading:o.cancel,disabled:i.cancelButtonDisabled,onClick:u},null),i.showConfirmButton&&createVNode(Button$1,{size:"large",text:i.confirmButtonText||t$2("confirm"),class:[bem$g("confirm"),{[BORDER_LEFT]:i.showCancelButton}],style:{color:i.confirmButtonColor},loading:o.confirm,disabled:i.confirmButtonDisabled,onClick:d},null)]),S=()=>createVNode(ActionBar,{class:bem$g("footer")},{default:()=>[i.showCancelButton&&createVNode(ActionBarButton,{type:"warning",text:i.cancelButtonText||t$2("cancel"),class:bem$g("cancel"),color:i.cancelButtonColor,loading:o.cancel,disabled:i.cancelButtonDisabled,onClick:u},null),i.showConfirmButton&&createVNode(ActionBarButton,{type:"danger",text:i.confirmButtonText||t$2("confirm"),class:bem$g("confirm"),color:i.confirmButtonColor,loading:o.confirm,disabled:i.confirmButtonDisabled,onClick:d},null)]}),E=()=>r.footer?r.footer():i.theme==="round-button"?S():A();return()=>{const{width:x,title:P,theme:C,message:T,className:k}=i;return createVNode(Popup,mergeProps({ref:s,role:"dialog",class:[bem$g([C]),k],style:{width:addUnit(x)},tabindex:0,"aria-labelledby":P||T,onKeydown:g,"onUpdate:show":a},pick$1(i,popupInheritKeys)),{default:()=>[m(),b(),E()]})}}});let instance$2;const DEFAULT_OPTIONS$1={title:"",width:"",theme:null,message:"",overlay:!0,callback:null,teleport:"body",className:"",allowHtml:!1,lockScroll:!0,transition:void 0,beforeClose:null,overlayClass:"",overlayStyle:void 0,messageAlign:"",cancelButtonText:"",cancelButtonColor:null,cancelButtonDisabled:!1,confirmButtonText:"",confirmButtonColor:null,confirmButtonDisabled:!1,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1};let currentOptions=extend$2({},DEFAULT_OPTIONS$1);function initInstance$1(){({instance:instance$2}=mountComponent({setup(){const{state:e,toggle:r}=usePopupState();return()=>createVNode(stdin_default$k,mergeProps(e,{"onUpdate:show":r}),null)}}))}function showDialog(i){return inBrowser$2?new Promise((e,r)=>{instance$2||initInstance$1(),instance$2.open(extend$2({},currentOptions,i,{callback:s=>{(s==="confirm"?e:r)(s)}}))}):Promise.resolve()}const showConfirmDialog=i=>showDialog(extend$2({showCancelButton:!0},i));withInstall(stdin_default$k);const[name$h,bem$f]=createNamespace$1("dropdown-menu"),dropdownMenuProps={overlay:truthProp,zIndex:numericProp,duration:makeNumericProp(.2),direction:makeStringProp("down"),activeColor:String,closeOnClickOutside:truthProp,closeOnClickOverlay:truthProp},DROPDOWN_KEY=Symbol(name$h);var stdin_default$j=defineComponent({name:name$h,props:dropdownMenuProps,setup(i,{slots:e}){const r=useId(),s=ref(),o=ref(),a=ref(0),{children:l,linkChildren:c}=useChildren$1(DROPDOWN_KEY),u=useScrollParent(s),d=computed(()=>l.some(E=>E.state.showWrapper)),g=computed(()=>{if(d.value&&isDef$1(i.zIndex))return{zIndex:+i.zIndex+1}}),m=()=>{i.closeOnClickOutside&&l.forEach(E=>{E.toggle(!1)})},y=()=>{if(o.value){const E=useRect(o);i.direction==="down"?a.value=E.bottom:a.value=windowHeight.value-E.top}},b=()=>{d.value&&y()},A=E=>{l.forEach((x,P)=>{P===E?x.toggle():x.state.showPopup&&x.toggle(!1,{immediate:!0})})},S=(E,x)=>{const{showPopup:P}=E.state,{disabled:C,titleClass:T}=E;return createVNode("div",{id:`${r}-${x}`,role:"button",tabindex:C?void 0:0,class:[bem$f("item",{disabled:C}),{[HAPTICS_FEEDBACK]:!C}],onClick:()=>{C||A(x)}},[createVNode("span",{class:[bem$f("title",{down:P===(i.direction==="down"),active:P}),T],style:{color:P?i.activeColor:""}},[createVNode("div",{class:"van-ellipsis"},[E.renderTitle()])])])};return c({id:r,props:i,offset:a,updateOffset:y}),useClickAway(s,m),useEventListener$1("scroll",b,{target:u,passive:!0}),()=>{var E;return createVNode("div",{ref:s,class:bem$f()},[createVNode("div",{ref:o,style:g.value,class:bem$f("bar",{opened:d.value})},[l.map(S)]),(E=e.default)==null?void 0:E.call(e)])}}});const[name$g,bem$e]=createNamespace$1("dropdown-item"),dropdownItemProps={title:String,options:makeArrayProp(),disabled:Boolean,teleport:[String,Object],lazyRender:truthProp,modelValue:unknownProp,titleClass:unknownProp};var stdin_default$i=defineComponent({name:name$g,inheritAttrs:!1,props:dropdownItemProps,emits:["open","opened","close","closed","change","update:modelValue"],setup(i,{emit:e,slots:r,attrs:s}){const o=reactive({showPopup:!1,transition:!0,showWrapper:!1}),{parent:a,index:l}=useParent$1(DROPDOWN_KEY);if(!a)return;const c=x=>()=>e(x),u=c("open"),d=c("close"),g=c("opened"),m=()=>{o.showWrapper=!1,e("closed")},y=x=>{i.teleport&&x.stopPropagation()},b=(x=!o.showPopup,P={})=>{x!==o.showPopup&&(o.showPopup=x,o.transition=!P.immediate,x&&(a.updateOffset(),o.showWrapper=!0))},A=()=>{if(r.title)return r.title();if(i.title)return i.title;const x=i.options.find(P=>P.value===i.modelValue);return x?x.text:""},S=x=>{const{activeColor:P}=a.props,C=x.value===i.modelValue,T=()=>{o.showPopup=!1,x.value!==i.modelValue&&(e("update:modelValue",x.value),e("change",x.value))},k=()=>{if(C)return createVNode(Icon$1,{class:bem$e("icon"),color:P,name:"success"},null)};return createVNode(Cell,{role:"menuitem",key:x.value,icon:x.icon,title:x.text,class:bem$e("option",{active:C}),style:{color:C?P:""},tabindex:C?0:-1,clickable:!0,onClick:T},{value:k})},E=()=>{const{offset:x}=a,{zIndex:P,overlay:C,duration:T,direction:k,closeOnClickOverlay:I}=a.props,M=getZIndexStyle(P);return k==="down"?M.top=`${x.value}px`:M.bottom=`${x.value}px`,withDirectives(createVNode("div",mergeProps({style:M,class:bem$e([k]),onClick:y},s),[createVNode(Popup,{show:o.showPopup,"onUpdate:show":R=>o.showPopup=R,role:"menu",class:bem$e("content"),overlay:C,position:k==="down"?"top":"bottom",duration:o.transition?T:0,lazyRender:i.lazyRender,overlayStyle:{position:"absolute"},"aria-labelledby":`${a.id}-${l.value}`,closeOnClickOverlay:I,onOpen:u,onClose:d,onOpened:g,onClosed:m},{default:()=>{var R;return[i.options.map(S),(R=r.default)==null?void 0:R.call(r)]}})]),[[vShow,o.showWrapper]])};return useExpose({state:o,toggle:b,renderTitle:A}),()=>i.teleport?createVNode(Teleport,{to:i.teleport},{default:()=>[E()]}):E()}});const DropdownItem=withInstall(stdin_default$i),DropdownMenu=withInstall(stdin_default$j),getDistance=i=>Math.sqrt((i[0].clientX-i[1].clientX)**2+(i[0].clientY-i[1].clientY)**2),bem$d=createNamespace$1("image-preview")[1];var stdin_default$h=defineComponent({props:{src:String,show:Boolean,active:Number,minZoom:makeRequiredProp(numericProp),maxZoom:makeRequiredProp(numericProp),rootWidth:makeRequiredProp(Number),rootHeight:makeRequiredProp(Number),disableZoom:Boolean},emits:["scale","close","longPress"],setup(i,{emit:e,slots:r}){const s=reactive({scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}),o=useTouch(),a=ref(),l=computed(()=>{const{rootWidth:_,rootHeight:V}=i,D=V/_;return s.imageRatio>D}),c=computed(()=>{const{scale:_,moveX:V,moveY:D,moving:F,zooming:N}=s,K={transitionDuration:N||F?"0s":".3s"};if(_!==1){const G=V/_,q=D/_;K.transform=`scale(${_}, ${_}) translate(${G}px, ${q}px)`}return K}),u=computed(()=>{if(s.imageRatio){const{rootWidth:_,rootHeight:V}=i,D=l.value?V/s.imageRatio:_;return Math.max(0,(s.scale*D-_)/2)}return 0}),d=computed(()=>{if(s.imageRatio){const{rootWidth:_,rootHeight:V}=i,D=l.value?V:_*s.imageRatio;return Math.max(0,(s.scale*D-V)/2)}return 0}),g=_=>{_=clamp(_,+i.minZoom,+i.maxZoom+1),_!==s.scale&&(s.scale=_,e("scale",{scale:_,index:i.active}))},m=()=>{g(1),s.moveX=0,s.moveY=0},y=()=>{const _=s.scale>1?1:2;g(_),s.moveX=0,s.moveY=0};let b,A,S,E,x,P,C,T=!1;const k=_=>{const{touches:V}=_;if(b=V.length,b===2&&i.disableZoom)return;const{offsetX:D}=o;o.start(_),A=s.moveX,S=s.moveY,C=Date.now(),T=!1,s.moving=b===1&&s.scale!==1,s.zooming=b===2&&!D.value,s.zooming&&(E=s.scale,x=getDistance(_.touches))},I=_=>{const{touches:V}=_;if(o.move(_),s.moving){const{deltaX:D,deltaY:F}=o,N=D.value+A,K=F.value+S;if((N>u.value||N<-u.value)&&!T&&o.isHorizontal()){s.moving=!1;return}T=!0,preventDefault(_,!0),s.moveX=clamp(N,-u.value,u.value),s.moveY=clamp(K,-d.value,d.value)}if(s.zooming&&(preventDefault(_,!0),V.length===2)){const D=getDistance(V),F=E*D/x;g(F)}},M=()=>{if(b>1)return;const{offsetX:_,offsetY:V}=o,D=Date.now()-C,F=250,N=5;_.value<N&&V.value<N&&(D<F?P?(clearTimeout(P),P=null,y()):P=setTimeout(()=>{e("close"),P=null},F):D>LONG_PRESS_START_TIME&&e("longPress"))},R=_=>{let V=!1;if((s.moving||s.zooming)&&(V=!0,s.moving&&A===s.moveX&&S===s.moveY&&(V=!1),!_.touches.length)){s.zooming&&(s.moveX=clamp(s.moveX,-u.value,u.value),s.moveY=clamp(s.moveY,-d.value,d.value),s.zooming=!1),s.moving=!1,A=0,S=0,E=1,s.scale<1&&m();const D=+i.maxZoom;s.scale>D&&(s.scale=D)}preventDefault(_,V),M(),o.reset()},B=_=>{const{naturalWidth:V,naturalHeight:D}=_.target;s.imageRatio=D/V};return watch(()=>i.active,m),watch(()=>i.show,_=>{_||m()}),useEventListener$1("touchmove",I,{target:computed(()=>{var _;return(_=a.value)==null?void 0:_.$el})}),()=>{const _={loading:()=>createVNode(Loading$2,{type:"spinner"},null)};return createVNode(SwipeItem,{ref:a,class:bem$d("swipe-item"),onTouchstartPassive:k,onTouchend:R,onTouchcancel:R},{default:()=>[r.image?createVNode("div",{class:bem$d("image-wrap")},[r.image({src:i.src})]):createVNode(Image$1,{src:i.src,fit:"contain",class:bem$d("image",{vertical:l.value}),style:c.value,onLoad:B},_)]})}}});const[name$f,bem$c]=createNamespace$1("image-preview"),popupProps$1=["show","teleport","transition","overlayStyle","closeOnPopstate"],imagePreviewProps={show:Boolean,loop:truthProp,images:makeArrayProp(),minZoom:makeNumericProp(1/3),maxZoom:makeNumericProp(3),overlay:truthProp,closeable:Boolean,showIndex:truthProp,className:unknownProp,closeIcon:makeStringProp("clear"),transition:String,beforeClose:Function,overlayClass:unknownProp,overlayStyle:Object,swipeDuration:makeNumericProp(300),startPosition:makeNumericProp(0),showIndicators:Boolean,closeOnPopstate:truthProp,closeIconPosition:makeStringProp("top-right"),teleport:[String,Object]};var stdin_default$g=defineComponent({name:name$f,props:imagePreviewProps,emits:["scale","close","closed","change","longPress","update:show"],setup(i,{emit:e,slots:r}){const s=ref(),o=reactive({active:0,rootWidth:0,rootHeight:0,disableZoom:!1}),a=()=>{if(s.value){const P=useRect(s.value.$el);o.rootWidth=P.width,o.rootHeight=P.height,s.value.resize()}},l=P=>e("scale",P),c=P=>e("update:show",P),u=()=>{callInterceptor(i.beforeClose,{args:[o.active],done:()=>c(!1)})},d=P=>{P!==o.active&&(o.active=P,e("change",P))},g=()=>{if(i.showIndex)return createVNode("div",{class:bem$c("index")},[r.index?r.index({index:o.active}):`${o.active+1} / ${i.images.length}`])},m=()=>{if(r.cover)return createVNode("div",{class:bem$c("cover")},[r.cover()])},y=()=>{o.disableZoom=!0},b=()=>{o.disableZoom=!1},A=()=>createVNode(Swipe,{ref:s,lazyRender:!0,loop:i.loop,class:bem$c("swipe"),duration:i.swipeDuration,initialSwipe:i.startPosition,showIndicators:i.showIndicators,indicatorColor:"white",onChange:d,onDragEnd:b,onDragStart:y},{default:()=>[i.images.map((P,C)=>createVNode(stdin_default$h,{src:P,show:i.show,active:o.active,maxZoom:i.maxZoom,minZoom:i.minZoom,rootWidth:o.rootWidth,rootHeight:o.rootHeight,disableZoom:o.disableZoom,onScale:l,onClose:u,onLongPress:()=>e("longPress",{index:C})},{image:r.image}))]}),S=()=>{if(i.closeable)return createVNode(Icon$1,{role:"button",name:i.closeIcon,class:[bem$c("close-icon",i.closeIconPosition),HAPTICS_FEEDBACK],onClick:u},null)},E=()=>e("closed"),x=(P,C)=>{var T;return(T=s.value)==null?void 0:T.swipeTo(P,C)};return useExpose({swipeTo:x}),onMounted(a),watch([windowWidth,windowHeight],a),watch(()=>i.startPosition,P=>d(+P)),watch(()=>i.show,P=>{const{images:C,startPosition:T}=i;P?(d(+T),nextTick(()=>{a(),x(+T,{immediate:!0})})):e("close",{index:o.active,url:C[o.active]})}),()=>createVNode(Popup,mergeProps({class:[bem$c(),i.className],overlayClass:[bem$c("overlay"),i.overlayClass],onClosed:E,"onUpdate:show":c},pick$1(i,popupProps$1)),{default:()=>[S(),A(),g(),m()]})}});let instance$1;const defaultConfig={loop:!0,images:[],maxZoom:3,minZoom:1/3,onScale:void 0,onClose:void 0,onChange:void 0,teleport:"body",className:"",showIndex:!0,closeable:!1,closeIcon:"clear",transition:void 0,beforeClose:void 0,overlayStyle:void 0,overlayClass:void 0,startPosition:0,swipeDuration:300,showIndicators:!1,closeOnPopstate:!0,closeIconPosition:"top-right"};function initInstance(){({instance:instance$1}=mountComponent({setup(){const{state:i,toggle:e}=usePopupState(),r=()=>{i.images=[]};return()=>createVNode(stdin_default$g,mergeProps(i,{onClosed:r,"onUpdate:show":e}),null)}}))}const showImagePreview=(i,e=0)=>{if(inBrowser$2)return instance$1||initInstance(),i=Array.isArray(i)?{images:i,startPosition:e}:i,instance$1.open(extend$2({},defaultConfig,i)),instance$1};withInstall(stdin_default$g);const[name$e,bem$b,t$1]=createNamespace$1("list"),listProps={error:Boolean,offset:makeNumericProp(300),loading:Boolean,disabled:Boolean,finished:Boolean,errorText:String,direction:makeStringProp("down"),loadingText:String,finishedText:String,immediateCheck:truthProp};var stdin_default$f=defineComponent({name:name$e,props:listProps,emits:["load","update:error","update:loading"],setup(i,{emit:e,slots:r}){const s=ref(i.loading),o=ref(),a=ref(),l=useTabStatus(),c=useScrollParent(o),u=()=>{nextTick(()=>{if(s.value||i.finished||i.disabled||i.error||(l==null?void 0:l.value)===!1)return;const{direction:b}=i,A=+i.offset,S=useRect(c);if(!S.height||isHidden(o))return;let E=!1;const x=useRect(a);b==="up"?E=S.top-x.top<=A:E=x.bottom-S.bottom<=A,E&&(s.value=!0,e("update:loading",!0),e("load"))})},d=()=>{if(i.finished){const b=r.finished?r.finished():i.finishedText;if(b)return createVNode("div",{class:bem$b("finished-text")},[b])}},g=()=>{e("update:error",!1),u()},m=()=>{if(i.error){const b=r.error?r.error():i.errorText;if(b)return createVNode("div",{role:"button",class:bem$b("error-text"),tabindex:0,onClick:g},[b])}},y=()=>{if(s.value&&!i.finished&&!i.disabled)return createVNode("div",{class:bem$b("loading")},[r.loading?r.loading():createVNode(Loading$2,{class:bem$b("loading-icon")},{default:()=>[i.loadingText||t$1("loading")]})])};return watch(()=>[i.loading,i.finished,i.error],u),l&&watch(l,b=>{b&&u()}),onUpdated(()=>{s.value=i.loading}),onMounted(()=>{i.immediateCheck&&u()}),useExpose({check:u}),useEventListener$1("scroll",u,{target:c,passive:!0}),()=>{var b;const A=(b=r.default)==null?void 0:b.call(r),S=createVNode("div",{ref:a,class:bem$b("placeholder")},null);return createVNode("div",{ref:o,role:"feed",class:bem$b(),"aria-busy":s.value},[i.direction==="down"?A:S,y(),d(),m(),i.direction==="up"?A:S])}}});const List$1=withInstall(stdin_default$f),[name$d,bem$a]=createNamespace$1("nav-bar"),navBarProps={title:String,fixed:Boolean,zIndex:numericProp,border:truthProp,leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean,clickable:truthProp};var stdin_default$e=defineComponent({name:name$d,props:navBarProps,emits:["clickLeft","clickRight"],setup(i,{emit:e,slots:r}){const s=ref(),o=usePlaceholder(s,bem$a),a=g=>e("clickLeft",g),l=g=>e("clickRight",g),c=()=>r.left?r.left():[i.leftArrow&&createVNode(Icon$1,{class:bem$a("arrow"),name:"arrow-left"},null),i.leftText&&createVNode("span",{class:bem$a("text")},[i.leftText])],u=()=>r.right?r.right():createVNode("span",{class:bem$a("text")},[i.rightText]),d=()=>{const{title:g,fixed:m,border:y,zIndex:b}=i,A=getZIndexStyle(b),S=i.leftArrow||i.leftText||r.left,E=i.rightText||r.right;return createVNode("div",{ref:s,style:A,class:[bem$a({fixed:m}),{[BORDER_BOTTOM]:y,"van-safe-area-top":i.safeAreaInsetTop}]},[createVNode("div",{class:bem$a("content")},[S&&createVNode("div",{class:[bem$a("left"),i.clickable?HAPTICS_FEEDBACK:""],onClick:a},[c()]),createVNode("div",{class:[bem$a("title"),"van-ellipsis"]},[r.title?r.title():g]),E&&createVNode("div",{class:[bem$a("right"),i.clickable?HAPTICS_FEEDBACK:""],onClick:l},[u()])])])};return()=>i.fixed&&i.placeholder?o(d):d()}});const NavBar=withInstall(stdin_default$e),[name$c,bem$9]=createNamespace$1("notice-bar"),noticeBarProps={text:String,mode:String,color:String,delay:makeNumericProp(1),speed:makeNumericProp(60),leftIcon:String,wrapable:Boolean,background:String,scrollable:{type:Boolean,default:null}};var stdin_default$d=defineComponent({name:name$c,props:noticeBarProps,emits:["close","replay"],setup(i,{emit:e,slots:r}){let s=0,o=0,a;const l=ref(),c=ref(),u=reactive({show:!0,offset:0,duration:0}),d=()=>{if(r["left-icon"])return r["left-icon"]();if(i.leftIcon)return createVNode(Icon$1,{class:bem$9("left-icon"),name:i.leftIcon},null)},g=()=>{if(i.mode==="closeable")return"cross";if(i.mode==="link")return"arrow"},m=E=>{i.mode==="closeable"&&(u.show=!1,e("close",E))},y=()=>{if(r["right-icon"])return r["right-icon"]();const E=g();if(E)return createVNode(Icon$1,{name:E,class:bem$9("right-icon"),onClick:m},null)},b=()=>{u.offset=s,u.duration=0,raf(()=>{doubleRaf(()=>{u.offset=-o,u.duration=(o+s)/+i.speed,e("replay")})})},A=()=>{const E=i.scrollable===!1&&!i.wrapable,x={transform:u.offset?`translateX(${u.offset}px)`:"",transitionDuration:`${u.duration}s`};return createVNode("div",{ref:l,role:"marquee",class:bem$9("wrap")},[createVNode("div",{ref:c,style:x,class:[bem$9("content"),{"van-ellipsis":E}],onTransitionend:b},[r.default?r.default():i.text])])},S=()=>{const{delay:E,speed:x,scrollable:P}=i,C=isDef$1(E)?+E*1e3:0;s=0,o=0,u.offset=0,u.duration=0,clearTimeout(a),a=setTimeout(()=>{if(!l.value||!c.value||P===!1)return;const T=useRect(l).width,k=useRect(c).width;(P||k>T)&&doubleRaf(()=>{s=T,o=k,u.offset=-o,u.duration=o/+x})},C)};return onPopupReopen(S),onMountedOrActivated(S),useEventListener$1("pageshow",S),useExpose({reset:S}),watch(()=>[i.text,i.scrollable],S),()=>{const{color:E,wrapable:x,background:P}=i;return withDirectives(createVNode("div",{role:"alert",class:bem$9({wrapable:x}),style:{color:E,background:P}},[d(),A(),y()]),[[vShow,u.show]])}}});const NoticeBar=withInstall(stdin_default$d);function getWindow(i){if(i==null)return window;if(i.toString()!=="[object Window]"){var e=i.ownerDocument;return e&&e.defaultView||window}return i}function isElement$1(i){var e=getWindow(i).Element;return i instanceof e||i instanceof Element}function isHTMLElement(i){var e=getWindow(i).HTMLElement;return i instanceof e||i instanceof HTMLElement}function isShadowRoot(i){if(typeof ShadowRoot>"u")return!1;var e=getWindow(i).ShadowRoot;return i instanceof e||i instanceof ShadowRoot}var round=Math.round;function getUAString(){var i=navigator.userAgentData;return i!=null&&i.brands?i.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(i,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var s=i.getBoundingClientRect(),o=1,a=1;e&&isHTMLElement(i)&&(o=i.offsetWidth>0&&round(s.width)/i.offsetWidth||1,a=i.offsetHeight>0&&round(s.height)/i.offsetHeight||1);var l=isElement$1(i)?getWindow(i):window,c=l.visualViewport,u=!isLayoutViewport()&&r,d=(s.left+(u&&c?c.offsetLeft:0))/o,g=(s.top+(u&&c?c.offsetTop:0))/a,m=s.width/o,y=s.height/a;return{width:m,height:y,top:g,right:d+m,bottom:g+y,left:d,x:d,y:g}}function getWindowScroll(i){var e=getWindow(i),r=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:r,scrollTop:s}}function getHTMLElementScroll(i){return{scrollLeft:i.scrollLeft,scrollTop:i.scrollTop}}function getNodeScroll(i){return i===getWindow(i)||!isHTMLElement(i)?getWindowScroll(i):getHTMLElementScroll(i)}function getNodeName(i){return i?(i.nodeName||"").toLowerCase():null}function getDocumentElement(i){return((isElement$1(i)?i.ownerDocument:i.document)||window.document).documentElement}function getWindowScrollBarX(i){return getBoundingClientRect(getDocumentElement(i)).left+getWindowScroll(i).scrollLeft}function getComputedStyle(i){return getWindow(i).getComputedStyle(i)}function isScrollParent(i){var e=getComputedStyle(i),r=e.overflow,s=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+s)}function isElementScaled(i){var e=i.getBoundingClientRect(),r=round(e.width)/i.offsetWidth||1,s=round(e.height)/i.offsetHeight||1;return r!==1||s!==1}function getCompositeRect(i,e,r){r===void 0&&(r=!1);var s=isHTMLElement(e),o=isHTMLElement(e)&&isElementScaled(e),a=getDocumentElement(e),l=getBoundingClientRect(i,o,r),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(s||!s&&!r)&&((getNodeName(e)!=="body"||isScrollParent(a))&&(c=getNodeScroll(e)),isHTMLElement(e)?(u=getBoundingClientRect(e,!0),u.x+=e.clientLeft,u.y+=e.clientTop):a&&(u.x=getWindowScrollBarX(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function getLayoutRect(i){var e=getBoundingClientRect(i),r=i.offsetWidth,s=i.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:i.offsetLeft,y:i.offsetTop,width:r,height:s}}function getParentNode(i){return getNodeName(i)==="html"?i:i.assignedSlot||i.parentNode||(isShadowRoot(i)?i.host:null)||getDocumentElement(i)}function getScrollParent(i){return["html","body","#document"].indexOf(getNodeName(i))>=0?i.ownerDocument.body:isHTMLElement(i)&&isScrollParent(i)?i:getScrollParent(getParentNode(i))}function listScrollParents(i,e){var r;e===void 0&&(e=[]);var s=getScrollParent(i),o=s===((r=i.ownerDocument)==null?void 0:r.body),a=getWindow(s),l=o?[a].concat(a.visualViewport||[],isScrollParent(s)?s:[]):s,c=e.concat(l);return o?c:c.concat(listScrollParents(getParentNode(l)))}function isTableElement(i){return["table","td","th"].indexOf(getNodeName(i))>=0}function getTrueOffsetParent(i){return!isHTMLElement(i)||getComputedStyle(i).position==="fixed"?null:i.offsetParent}function getContainingBlock(i){var e=/firefox/i.test(getUAString()),r=/Trident/i.test(getUAString());if(r&&isHTMLElement(i)){var s=getComputedStyle(i);if(s.position==="fixed")return null}var o=getParentNode(i);for(isShadowRoot(o)&&(o=o.host);isHTMLElement(o)&&["html","body"].indexOf(getNodeName(o))<0;){var a=getComputedStyle(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||e&&a.willChange==="filter"||e&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function getOffsetParent(i){for(var e=getWindow(i),r=getTrueOffsetParent(i);r&&isTableElement(r)&&getComputedStyle(r).position==="static";)r=getTrueOffsetParent(r);return r&&(getNodeName(r)==="html"||getNodeName(r)==="body"&&getComputedStyle(r).position==="static")?e:r||getContainingBlock(i)||e}var top$2="top",bottom$1="bottom",right$3="right",left$1="left",auto="auto",basePlacements=[top$2,bottom$1,right$3,left$1],start="start",end="end",placements=[].concat(basePlacements,[auto]).reduce(function(i,e){return i.concat([e,e+"-"+start,e+"-"+end])},[]),beforeRead="beforeRead",read$6="read",afterRead="afterRead",beforeMain="beforeMain",main="main",afterMain="afterMain",beforeWrite="beforeWrite",write$6="write",afterWrite="afterWrite",modifierPhases=[beforeRead,read$6,afterRead,beforeMain,main,afterMain,beforeWrite,write$6,afterWrite];function order(i){var e=new Map,r=new Set,s=[];i.forEach(function(a){e.set(a.name,a)});function o(a){r.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(c){if(!r.has(c)){var u=e.get(c);u&&o(u)}}),s.push(a)}return i.forEach(function(a){r.has(a.name)||o(a)}),s}function orderModifiers(i){var e=order(i);return modifierPhases.reduce(function(r,s){return r.concat(e.filter(function(o){return o.phase===s}))},[])}function debounce$1(i){var e;return function(){return e||(e=new Promise(function(r){Promise.resolve().then(function(){e=void 0,r(i())})})),e}}function format(i){for(var e=arguments.length,r=new Array(e>1?e-1:0),s=1;s<e;s++)r[s-1]=arguments[s];return[].concat(r).reduce(function(o,a){return o.replace(/%s/,a)},i)}var INVALID_MODIFIER_ERROR='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',MISSING_DEPENDENCY_ERROR='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',VALID_PROPERTIES=["name","enabled","phase","fn","effect","requires","options"];function validateModifiers(i){i.forEach(function(e){[].concat(Object.keys(e),VALID_PROPERTIES).filter(function(r,s,o){return o.indexOf(r)===s}).forEach(function(r){switch(r){case"name":typeof e.name!="string"&&console.error(format(INVALID_MODIFIER_ERROR,String(e.name),'"name"','"string"','"'+String(e.name)+'"'));break;case"enabled":typeof e.enabled!="boolean"&&console.error(format(INVALID_MODIFIER_ERROR,e.name,'"enabled"','"boolean"','"'+String(e.enabled)+'"'));break;case"phase":modifierPhases.indexOf(e.phase)<0&&console.error(format(INVALID_MODIFIER_ERROR,e.name,'"phase"',"either "+modifierPhases.join(", "),'"'+String(e.phase)+'"'));break;case"fn":typeof e.fn!="function"&&console.error(format(INVALID_MODIFIER_ERROR,e.name,'"fn"','"function"','"'+String(e.fn)+'"'));break;case"effect":e.effect!=null&&typeof e.effect!="function"&&console.error(format(INVALID_MODIFIER_ERROR,e.name,'"effect"','"function"','"'+String(e.fn)+'"'));break;case"requires":e.requires!=null&&!Array.isArray(e.requires)&&console.error(format(INVALID_MODIFIER_ERROR,e.name,'"requires"','"array"','"'+String(e.requires)+'"'));break;case"requiresIfExists":Array.isArray(e.requiresIfExists)||console.error(format(INVALID_MODIFIER_ERROR,e.name,'"requiresIfExists"','"array"','"'+String(e.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+e.name+'" modifier, valid properties are '+VALID_PROPERTIES.map(function(s){return'"'+s+'"'}).join(", ")+'; but "'+r+'" was provided.')}e.requires&&e.requires.forEach(function(s){i.find(function(o){return o.name===s})==null&&console.error(format(MISSING_DEPENDENCY_ERROR,String(e.name),s,s))})})})}function uniqueBy(i,e){var r=new Set;return i.filter(function(s){var o=e(s);if(!r.has(o))return r.add(o),!0})}function getBasePlacement(i){return i.split("-")[0]}function mergeByName(i){var e=i.reduce(function(r,s){var o=r[s.name];return r[s.name]=o?Object.assign({},o,s,{options:Object.assign({},o.options,s.options),data:Object.assign({},o.data,s.data)}):s,r},{});return Object.keys(e).map(function(r){return e[r]})}function getVariation(i){return i.split("-")[1]}function getMainAxisFromPlacement(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}function computeOffsets(i){var e=i.reference,r=i.element,s=i.placement,o=s?getBasePlacement(s):null,a=s?getVariation(s):null,l=e.x+e.width/2-r.width/2,c=e.y+e.height/2-r.height/2,u;switch(o){case top$2:u={x:l,y:e.y-r.height};break;case bottom$1:u={x:l,y:e.y+e.height};break;case right$3:u={x:e.x+e.width,y:c};break;case left$1:u={x:e.x-r.width,y:c};break;default:u={x:e.x,y:e.y}}var d=o?getMainAxisFromPlacement(o):null;if(d!=null){var g=d==="y"?"height":"width";switch(a){case start:u[d]=u[d]-(e[g]/2-r[g]/2);break;case end:u[d]=u[d]+(e[g]/2-r[g]/2);break}}return u}var INVALID_ELEMENT_ERROR="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",INFINITE_LOOP_ERROR="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var i=arguments.length,e=new Array(i),r=0;r<i;r++)e[r]=arguments[r];return!e.some(function(s){return!(s&&typeof s.getBoundingClientRect=="function")})}function popperGenerator(i){i===void 0&&(i={});var e=i,r=e.defaultModifiers,s=r===void 0?[]:r,o=e.defaultOptions,a=o===void 0?DEFAULT_OPTIONS:o;return function(c,u,d){d===void 0&&(d=a);var g={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,a),modifiersData:{},elements:{reference:c,popper:u},attributes:{},styles:{}},m=[],y=!1,b={state:g,setOptions:function(x){var P=typeof x=="function"?x(g.options):x;S(),g.options=Object.assign({},a,g.options,P),g.scrollParents={reference:isElement$1(c)?listScrollParents(c):c.contextElement?listScrollParents(c.contextElement):[],popper:listScrollParents(u)};var C=orderModifiers(mergeByName([].concat(s,g.options.modifiers)));g.orderedModifiers=C.filter(function(V){return V.enabled});{var T=uniqueBy([].concat(C,g.options.modifiers),function(V){var D=V.name;return D});if(validateModifiers(T),getBasePlacement(g.options.placement)===auto){var k=g.orderedModifiers.find(function(V){var D=V.name;return D==="flip"});k||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var I=getComputedStyle(u),M=I.marginTop,R=I.marginRight,B=I.marginBottom,_=I.marginLeft;[M,R,B,_].some(function(V){return parseFloat(V)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return A(),b.update()},forceUpdate:function(){if(!y){var x=g.elements,P=x.reference,C=x.popper;if(!areValidElements(P,C)){console.error(INVALID_ELEMENT_ERROR);return}g.rects={reference:getCompositeRect(P,getOffsetParent(C),g.options.strategy==="fixed"),popper:getLayoutRect(C)},g.reset=!1,g.placement=g.options.placement,g.orderedModifiers.forEach(function(V){return g.modifiersData[V.name]=Object.assign({},V.data)});for(var T=0,k=0;k<g.orderedModifiers.length;k++){if(T+=1,T>100){console.error(INFINITE_LOOP_ERROR);break}if(g.reset===!0){g.reset=!1,k=-1;continue}var I=g.orderedModifiers[k],M=I.fn,R=I.options,B=R===void 0?{}:R,_=I.name;typeof M=="function"&&(g=M({state:g,options:B,name:_,instance:b})||g)}}},update:debounce$1(function(){return new Promise(function(E){b.forceUpdate(),E(g)})}),destroy:function(){S(),y=!0}};if(!areValidElements(c,u))return console.error(INVALID_ELEMENT_ERROR),b;b.setOptions(d).then(function(E){!y&&d.onFirstUpdate&&d.onFirstUpdate(E)});function A(){g.orderedModifiers.forEach(function(E){var x=E.name,P=E.options,C=P===void 0?{}:P,T=E.effect;if(typeof T=="function"){var k=T({state:g,name:x,instance:b,options:C}),I=function(){};m.push(k||I)}})}function S(){m.forEach(function(E){return E()}),m=[]}return b}}var passive={passive:!0};function effect(i){var e=i.state,r=i.instance,s=i.options,o=s.scroll,a=o===void 0?!0:o,l=s.resize,c=l===void 0?!0:l,u=getWindow(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return a&&d.forEach(function(g){g.addEventListener("scroll",r.update,passive)}),c&&u.addEventListener("resize",r.update,passive),function(){a&&d.forEach(function(g){g.removeEventListener("scroll",r.update,passive)}),c&&u.removeEventListener("resize",r.update,passive)}}var eventListeners_default={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect,data:{}};function popperOffsets(i){var e=i.state,r=i.name;e.modifiersData[r]=computeOffsets({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var popperOffsets_default={name:"popperOffsets",enabled:!0,phase:"read",fn:popperOffsets,data:{}},unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR(i){var e=i.x,r=i.y,s=window,o=s.devicePixelRatio||1;return{x:round(e*o)/o||0,y:round(r*o)/o||0}}function mapToStyles(i){var e,r=i.popper,s=i.popperRect,o=i.placement,a=i.variation,l=i.offsets,c=i.position,u=i.gpuAcceleration,d=i.adaptive,g=i.roundOffsets,m=i.isFixed,y=l.x,b=y===void 0?0:y,A=l.y,S=A===void 0?0:A,E=typeof g=="function"?g({x:b,y:S}):{x:b,y:S};b=E.x,S=E.y;var x=l.hasOwnProperty("x"),P=l.hasOwnProperty("y"),C=left$1,T=top$2,k=window;if(d){var I=getOffsetParent(r),M="clientHeight",R="clientWidth";if(I===getWindow(r)&&(I=getDocumentElement(r),getComputedStyle(I).position!=="static"&&c==="absolute"&&(M="scrollHeight",R="scrollWidth")),I=I,o===top$2||(o===left$1||o===right$3)&&a===end){T=bottom$1;var B=m&&I===k&&k.visualViewport?k.visualViewport.height:I[M];S-=B-s.height,S*=u?1:-1}if(o===left$1||(o===top$2||o===bottom$1)&&a===end){C=right$3;var _=m&&I===k&&k.visualViewport?k.visualViewport.width:I[R];b-=_-s.width,b*=u?1:-1}}var V=Object.assign({position:c},d&&unsetSides),D=g===!0?roundOffsetsByDPR({x:b,y:S}):{x:b,y:S};if(b=D.x,S=D.y,u){var F;return Object.assign({},V,(F={},F[T]=P?"0":"",F[C]=x?"0":"",F.transform=(k.devicePixelRatio||1)<=1?"translate("+b+"px, "+S+"px)":"translate3d("+b+"px, "+S+"px, 0)",F))}return Object.assign({},V,(e={},e[T]=P?S+"px":"",e[C]=x?b+"px":"",e.transform="",e))}function computeStyles(i){var e=i.state,r=i.options,s=r.gpuAcceleration,o=s===void 0?!0:s,a=r.adaptive,l=a===void 0?!0:a,c=r.roundOffsets,u=c===void 0?!0:c;{var d=getComputedStyle(e.elements.popper).transitionProperty||"";l&&["transform","top","right","bottom","left"].some(function(m){return d.indexOf(m)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
  6. `,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
  7. `,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var g={placement:getBasePlacement(e.placement),variation:getVariation(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,mapToStyles(Object.assign({},g,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:l,roundOffsets:u})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,mapToStyles(Object.assign({},g,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var computeStyles_default={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:computeStyles,data:{}};function applyStyles(i){var e=i.state;Object.keys(e.elements).forEach(function(r){var s=e.styles[r]||{},o=e.attributes[r]||{},a=e.elements[r];!isHTMLElement(a)||!getNodeName(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(l){var c=o[l];c===!1?a.removeAttribute(l):a.setAttribute(l,c===!0?"":c)}))})}function effect2(i){var e=i.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach(function(s){var o=e.elements[s],a=e.attributes[s]||{},l=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:r[s]),c=l.reduce(function(u,d){return u[d]="",u},{});!isHTMLElement(o)||!getNodeName(o)||(Object.assign(o.style,c),Object.keys(a).forEach(function(u){o.removeAttribute(u)}))})}}var applyStyles_default={name:"applyStyles",enabled:!0,phase:"write",fn:applyStyles,effect:effect2,requires:["computeStyles"]},defaultModifiers=[eventListeners_default,popperOffsets_default,computeStyles_default,applyStyles_default],createPopper=popperGenerator({defaultModifiers});function distanceAndSkiddingToXY(i,e,r){var s=getBasePlacement(i),o=[left$1,top$2].indexOf(s)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},e,{placement:i})):r,l=a[0],c=a[1];return l=l||0,c=(c||0)*o,[left$1,right$3].indexOf(s)>=0?{x:c,y:l}:{x:l,y:c}}function offset(i){var e=i.state,r=i.options,s=i.name,o=r.offset,a=o===void 0?[0,0]:o,l=placements.reduce(function(g,m){return g[m]=distanceAndSkiddingToXY(m,e.rects,a),g},{}),c=l[e.placement],u=c.x,d=c.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=d),e.modifiersData[s]=l}var offset_default={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:offset};const useSyncPropRef=(i,e)=>{const r=ref(i());return watch(i,s=>{s!==r.value&&(r.value=s)}),watch(r,s=>{s!==i()&&e(s)}),r},[name$b,bem$8]=createNamespace$1("popover"),popupProps=["overlay","duration","teleport","overlayStyle","overlayClass","closeOnClickOverlay"],popoverProps={show:Boolean,theme:makeStringProp("light"),overlay:Boolean,actions:makeArrayProp(),trigger:makeStringProp("click"),duration:numericProp,showArrow:truthProp,placement:makeStringProp("bottom"),iconPrefix:String,overlayClass:unknownProp,overlayStyle:Object,closeOnClickAction:truthProp,closeOnClickOverlay:truthProp,closeOnClickOutside:truthProp,offset:{type:Array,default:()=>[0,8]},teleport:{type:[String,Object],default:"body"}};var stdin_default$c=defineComponent({name:name$b,props:popoverProps,emits:["select","touchstart","update:show"],setup(i,{emit:e,slots:r,attrs:s}){let o;const a=ref(),l=ref(),c=ref(),u=useSyncPropRef(()=>i.show,P=>e("update:show",P)),d=()=>({placement:i.placement,modifiers:[{name:"computeStyles",options:{adaptive:!1,gpuAcceleration:!1}},extend$2({},offset_default,{options:{offset:i.offset}})]}),g=()=>l.value&&c.value?createPopper(l.value,c.value.popupRef.value,d()):null,m=()=>{nextTick(()=>{u.value&&(o?o.setOptions(d()):(o=g(),inBrowser$2&&(window.addEventListener("animationend",m),window.addEventListener("transitionend",m))))})},y=P=>{u.value=P},b=()=>{i.trigger==="click"&&(u.value=!u.value)},A=(P,C)=>{P.disabled||(e("select",P,C),i.closeOnClickAction&&(u.value=!1))},S=()=>{u.value&&i.closeOnClickOutside&&(!i.overlay||i.closeOnClickOverlay)&&(u.value=!1)},E=(P,C)=>r.action?r.action({action:P,index:C}):[P.icon&&createVNode(Icon$1,{name:P.icon,classPrefix:i.iconPrefix,class:bem$8("action-icon")},null),createVNode("div",{class:[bem$8("action-text"),BORDER_BOTTOM]},[P.text])],x=(P,C)=>{const{icon:T,color:k,disabled:I,className:M}=P;return createVNode("div",{role:"menuitem",class:[bem$8("action",{disabled:I,"with-icon":T}),M],style:{color:k},tabindex:I?void 0:0,"aria-disabled":I||void 0,onClick:()=>A(P,C)},[E(P,C)])};return onMounted(()=>{m(),watchEffect(()=>{var P;a.value=(P=c.value)==null?void 0:P.popupRef.value})}),onBeforeUnmount(()=>{o&&(inBrowser$2&&(window.removeEventListener("animationend",m),window.removeEventListener("transitionend",m)),o.destroy(),o=null)}),watch(()=>[u.value,i.offset,i.placement],m),useClickAway([l,a],S,{eventName:"touchstart"}),()=>{var P;return createVNode(Fragment,null,[createVNode("span",{ref:l,class:bem$8("wrapper"),onClick:b},[(P=r.reference)==null?void 0:P.call(r)]),createVNode(Popup,mergeProps({ref:c,show:u.value,class:bem$8([i.theme]),position:"",transition:"van-popover-zoom",lockScroll:!1,"onUpdate:show":y},s,pick$1(i,popupProps)),{default:()=>[i.showArrow&&createVNode("div",{class:bem$8("arrow")},null),createVNode("div",{role:"menu",class:bem$8("content")},[r.default?r.default():i.actions.map(x)])]})])}}});const Popover=withInstall(stdin_default$c),[name$a,bem$7]=createNamespace$1("progress"),progressProps={color:String,inactive:Boolean,pivotText:String,textColor:String,showPivot:truthProp,pivotColor:String,trackColor:String,strokeWidth:numericProp,percentage:{type:numericProp,default:0,validator:i=>+i>=0&&+i<=100}};var stdin_default$b=defineComponent({name:name$a,props:progressProps,setup(i){const e=computed(()=>i.inactive?void 0:i.color),r=()=>{const{textColor:s,pivotText:o,pivotColor:a,percentage:l}=i,c=o!=null?o:`${l}%`;if(i.showPivot&&c){const u={color:s,left:`${+l}%`,transform:`translate(-${+l}%,-50%)`,background:a||e.value};return createVNode("span",{style:u,class:bem$7("pivot",{inactive:i.inactive})},[c])}};return()=>{const{trackColor:s,percentage:o,strokeWidth:a}=i,l={background:s,height:addUnit(a)},c={width:`${o}%`,background:e.value};return createVNode("div",{class:bem$7(),style:l},[createVNode("span",{class:bem$7("portion",{inactive:i.inactive}),style:c},null),r()])}}});const Progress=withInstall(stdin_default$b),[name$9,bem$6]=createNamespace$1("skeleton-title"),skeletonTitleProps={round:Boolean,titleWidth:numericProp};var stdin_default$a=defineComponent({name:name$9,props:skeletonTitleProps,setup(i){return()=>createVNode("h3",{class:bem$6([{round:i.round}]),style:{width:addUnit(i.titleWidth)}},null)}});const SkeletonTitle=withInstall(stdin_default$a);var stdin_default$9=SkeletonTitle;const[name$8,bem$5]=createNamespace$1("skeleton-avatar"),skeletonAvatarProps={avatarSize:numericProp,avatarShape:makeStringProp("round")};var stdin_default$8=defineComponent({name:name$8,props:skeletonAvatarProps,setup(i){return()=>createVNode("div",{class:bem$5([i.avatarShape]),style:getSizeStyle(i.avatarSize)},null)}});const SkeletonAvatar=withInstall(stdin_default$8);var stdin_default$7=SkeletonAvatar;const DEFAULT_ROW_WIDTH="100%",skeletonParagraphProps={round:Boolean,rowWidth:{type:numericProp,default:DEFAULT_ROW_WIDTH}},[name$7,bem$4]=createNamespace$1("skeleton-paragraph");var stdin_default$6=defineComponent({name:name$7,props:skeletonParagraphProps,setup(i){return()=>createVNode("div",{class:bem$4([{round:i.round}]),style:{width:i.rowWidth}},null)}});const SkeletonParagraph=withInstall(stdin_default$6);var stdin_default$5=SkeletonParagraph;const[name$6,bem$3]=createNamespace$1("skeleton"),DEFAULT_LAST_ROW_WIDTH="60%",skeletonProps={row:makeNumericProp(0),round:Boolean,title:Boolean,titleWidth:numericProp,avatar:Boolean,avatarSize:numericProp,avatarShape:makeStringProp("round"),loading:truthProp,animate:truthProp,rowWidth:{type:[Number,String,Array],default:DEFAULT_ROW_WIDTH}};var stdin_default$4=defineComponent({name:name$6,inheritAttrs:!1,props:skeletonProps,setup(i,{slots:e,attrs:r}){const s=()=>{if(i.avatar)return createVNode(stdin_default$7,{avatarShape:i.avatarShape,avatarSize:i.avatarSize},null)},o=()=>{if(i.title)return createVNode(stdin_default$9,{round:i.round,titleWidth:i.titleWidth},null)},a=u=>{const{rowWidth:d}=i;return d===DEFAULT_ROW_WIDTH&&u===+i.row-1?DEFAULT_LAST_ROW_WIDTH:Array.isArray(d)?d[u]:d},l=()=>Array(+i.row).fill("").map((u,d)=>createVNode(stdin_default$5,{key:d,round:i.round,rowWidth:addUnit(a(d))},null)),c=()=>e.template?e.template():createVNode(Fragment,null,[s(),createVNode("div",{class:bem$3("content")},[o(),l()])]);return()=>{var u;return i.loading?createVNode("div",mergeProps({class:bem$3({animate:i.animate,round:i.round})},r),[c()]):(u=e.default)==null?void 0:u.call(e)}}});const Skeleton=withInstall(stdin_default$4),[name$5,bem$2]=createNamespace$1("slider"),sliderProps={min:makeNumericProp(0),max:makeNumericProp(100),step:makeNumericProp(1),range:Boolean,reverse:Boolean,disabled:Boolean,readonly:Boolean,vertical:Boolean,barHeight:numericProp,buttonSize:numericProp,activeColor:String,inactiveColor:String,modelValue:{type:[Number,Array],default:0}};var stdin_default$3=defineComponent({name:name$5,props:sliderProps,emits:["change","dragEnd","dragStart","update:modelValue"],setup(i,{emit:e,slots:r}){let s,o,a;const l=ref(),c=[ref(),ref()],u=ref(),d=useTouch(),g=computed(()=>Number(i.max)-Number(i.min)),m=computed(()=>{const _=i.vertical?"width":"height";return{background:i.inactiveColor,[_]:addUnit(i.barHeight)}}),y=_=>i.range&&Array.isArray(_),b=()=>{const{modelValue:_,min:V}=i;return y(_)?`${(_[1]-_[0])*100/g.value}%`:`${(_-Number(V))*100/g.value}%`},A=()=>{const{modelValue:_,min:V}=i;return y(_)?`${(_[0]-Number(V))*100/g.value}%`:"0%"},S=computed(()=>{const V={[i.vertical?"height":"width"]:b(),background:i.activeColor};u.value&&(V.transition="none");const D=()=>i.vertical?i.reverse?"bottom":"top":i.reverse?"right":"left";return V[D()]=A(),V}),E=_=>{const V=+i.min,D=+i.max,F=+i.step;_=clamp(_,V,D);const N=Math.round((_-V)/F)*F;return addNumber(V,N)},x=_=>{var V,D;const F=(V=_[0])!=null?V:Number(i.min),N=(D=_[1])!=null?D:Number(i.max);return F>N?[N,F]:[F,N]},P=(_,V)=>{y(_)?_=x(_).map(E):_=E(_),isSameValue(_,i.modelValue)||e("update:modelValue",_),V&&!isSameValue(_,a)&&e("change",_)},C=_=>{if(_.stopPropagation(),i.disabled||i.readonly)return;const{min:V,reverse:D,vertical:F,modelValue:N}=i,K=useRect(l),G=()=>F?D?K.bottom-_.clientY:_.clientY-K.top:D?K.right-_.clientX:_.clientX-K.left,q=F?K.height:K.width,O=Number(V)+G()/q*g.value;if(y(N)){const[U,$]=N,Y=(U+$)/2;O<=Y?P([O,$],!0):P([U,O],!0)}else P(O,!0)},T=_=>{i.disabled||i.readonly||(d.start(_),o=i.modelValue,y(o)?a=o.map(E):a=E(o),u.value="start")},k=_=>{if(i.disabled||i.readonly)return;u.value==="start"&&e("dragStart",_),preventDefault(_,!0),d.move(_),u.value="dragging";const V=useRect(l),D=i.vertical?d.deltaY.value:d.deltaX.value,F=i.vertical?V.height:V.width;let N=D/F*g.value;if(i.reverse&&(N=-N),y(a)){const K=i.reverse?1-s:s;o[K]=a[K]+N}else o=a+N;P(o)},I=_=>{i.disabled||i.readonly||(u.value==="dragging"&&(P(o,!0),e("dragEnd",_)),u.value="")},M=_=>typeof _=="number"?bem$2("button-wrapper",["left","right"][_]):bem$2("button-wrapper",i.reverse?"left":"right"),R=(_,V)=>{if(typeof V=="number"){const D=r[V===0?"left-button":"right-button"];if(D)return D({value:_})}return r.button?r.button({value:_}):createVNode("div",{class:bem$2("button"),style:getSizeStyle(i.buttonSize)},null)},B=_=>{const V=typeof _=="number"?i.modelValue[_]:i.modelValue;return createVNode("div",{ref:c[_!=null?_:0],role:"slider",class:M(_),tabindex:i.disabled?void 0:0,"aria-valuemin":i.min,"aria-valuenow":V,"aria-valuemax":i.max,"aria-disabled":i.disabled||void 0,"aria-readonly":i.readonly||void 0,"aria-orientation":i.vertical?"vertical":"horizontal",onTouchstartPassive:D=>{typeof _=="number"&&(s=_),T(D)},onTouchend:I,onTouchcancel:I,onClick:stopPropagation},[R(V,_)])};return P(i.modelValue),useCustomFieldValue(()=>i.modelValue),c.forEach(_=>{useEventListener$1("touchmove",k,{target:_})}),()=>createVNode("div",{ref:l,style:m.value,class:bem$2({vertical:i.vertical,disabled:i.disabled}),onClick:C},[createVNode("div",{class:bem$2("bar"),style:S.value},[i.range?[B(0),B(1)]:B()])])}});const Slider=withInstall(stdin_default$3),[name$4,bem$1]=createNamespace$1("space"),spaceProps={align:String,direction:{type:String,default:"horizontal"},size:{type:[Number,String,Array],default:8},wrap:Boolean,fill:Boolean};function filterEmpty(i=[]){const e=[];return i.forEach(r=>{Array.isArray(r)?e.push(...r):r.type===Fragment?e.push(...filterEmpty(r.children)):e.push(r)}),e.filter(r=>{var s;return!(r&&(r.type===Comment||r.type===Fragment&&((s=r.children)==null?void 0:s.length)===0||r.type===Text&&r.children.trim()===""))})}var stdin_default$2=defineComponent({name:name$4,props:spaceProps,setup(i,{slots:e}){const r=computed(()=>{var a;return(a=i.align)!=null?a:i.direction==="horizontal"?"center":""}),s=a=>typeof a=="number"?a+"px":a,o=a=>{const l={},c=`${s(Array.isArray(i.size)?i.size[0]:i.size)}`,u=`${s(Array.isArray(i.size)?i.size[1]:i.size)}`;return a?i.wrap?{marginBottom:u}:{}:(i.direction==="horizontal"&&(l.marginRight=c),(i.direction==="vertical"||i.wrap)&&(l.marginBottom=u),l)};return()=>{var a;const l=filterEmpty((a=e.default)==null?void 0:a.call(e));return createVNode("div",{class:[bem$1({[i.direction]:i.direction,[`align-${r.value}`]:r.value,wrap:i.wrap,fill:i.fill})]},[l.map((c,u)=>createVNode("div",{key:`item-${u}`,class:`${name$4}-item`,style:o(u===l.length-1)},[c]))])}}});const Space=withInstall(stdin_default$2),[name$3,bem,t]=createNamespace$1("uploader");function readFileContent(i,e){return new Promise(r=>{if(e==="file"){r();return}const s=new FileReader;s.onload=o=>{r(o.target.result)},e==="dataUrl"?s.readAsDataURL(i):e==="text"&&s.readAsText(i)})}function isOversize(i,e){return toArray(i).some(r=>r.file?isFunction$5(e)?e(r.file):r.file.size>+e:!1)}function filterFiles(i,e){const r=[],s=[];return i.forEach(o=>{isOversize(o,e)?s.push(o):r.push(o)}),{valid:r,invalid:s}}const IMAGE_REGEXP=/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg|avif)/i,isImageUrl=i=>IMAGE_REGEXP.test(i);function isImageFile(i){return i.isImage?!0:i.file&&i.file.type?i.file.type.indexOf("image")===0:i.url?isImageUrl(i.url):typeof i.content=="string"?i.content.indexOf("data:image")===0:!1}var stdin_default$1=defineComponent({props:{name:numericProp,item:makeRequiredProp(Object),index:Number,imageFit:String,lazyLoad:Boolean,deletable:Boolean,previewSize:[Number,String,Array],beforeDelete:Function},emits:["delete","preview"],setup(i,{emit:e,slots:r}){const s=()=>{const{status:d,message:g}=i.item;if(d==="uploading"||d==="failed"){const m=d==="failed"?createVNode(Icon$1,{name:"close",class:bem("mask-icon")},null):createVNode(Loading$2,{class:bem("loading")},null),y=isDef$1(g)&&g!=="";return createVNode("div",{class:bem("mask")},[m,y&&createVNode("div",{class:bem("mask-message")},[g])])}},o=d=>{const{name:g,item:m,index:y,beforeDelete:b}=i;d.stopPropagation(),callInterceptor(b,{args:[m,{name:g,index:y}],done:()=>e("delete")})},a=()=>e("preview"),l=()=>{if(i.deletable&&i.item.status!=="uploading"){const d=r["preview-delete"];return createVNode("div",{role:"button",class:bem("preview-delete",{shadow:!d}),tabindex:0,"aria-label":t("delete"),onClick:o},[d?d():createVNode(Icon$1,{name:"cross",class:bem("preview-delete-icon")},null)])}},c=()=>{if(r["preview-cover"]){const{index:d,item:g}=i;return createVNode("div",{class:bem("preview-cover")},[r["preview-cover"](extend$2({index:d},g))])}},u=()=>{const{item:d,lazyLoad:g,imageFit:m,previewSize:y}=i;return isImageFile(d)?createVNode(Image$1,{fit:m,src:d.content||d.url,class:bem("preview-image"),width:Array.isArray(y)?y[0]:y,height:Array.isArray(y)?y[1]:y,lazyLoad:g,onClick:a},{default:c}):createVNode("div",{class:bem("file"),style:getSizeStyle(i.previewSize)},[createVNode(Icon$1,{class:bem("file-icon"),name:"description"},null),createVNode("div",{class:[bem("file-name"),"van-ellipsis"]},[d.file?d.file.name:d.url]),c()])};return()=>createVNode("div",{class:bem("preview")},[u(),s(),l()])}});const uploaderProps={name:makeNumericProp(""),accept:makeStringProp("image/*"),capture:String,multiple:Boolean,disabled:Boolean,readonly:Boolean,lazyLoad:Boolean,maxCount:makeNumericProp(1/0),imageFit:makeStringProp("cover"),resultType:makeStringProp("dataUrl"),uploadIcon:makeStringProp("photograph"),uploadText:String,deletable:truthProp,afterRead:Function,showUpload:truthProp,modelValue:makeArrayProp(),beforeRead:Function,beforeDelete:Function,previewSize:[Number,String,Array],previewImage:truthProp,previewOptions:Object,previewFullImage:truthProp,maxSize:{type:[Number,String,Function],default:1/0}};var stdin_default=defineComponent({name:name$3,props:uploaderProps,emits:["delete","oversize","clickUpload","closePreview","clickPreview","update:modelValue"],setup(i,{emit:e,slots:r}){const s=ref(),o=[],a=(T=i.modelValue.length)=>({name:i.name,index:T}),l=()=>{s.value&&(s.value.value="")},c=T=>{if(l(),isOversize(T,i.maxSize))if(Array.isArray(T)){const k=filterFiles(T,i.maxSize);if(T=k.valid,e("oversize",k.invalid,a()),!T.length)return}else{e("oversize",T,a());return}T=reactive(T),e("update:modelValue",[...i.modelValue,...toArray(T)]),i.afterRead&&i.afterRead(T,a())},u=T=>{const{maxCount:k,modelValue:I,resultType:M}=i;if(Array.isArray(T)){const R=+k-I.length;T.length>R&&(T=T.slice(0,R)),Promise.all(T.map(B=>readFileContent(B,M))).then(B=>{const _=T.map((V,D)=>{const F={file:V,status:"",message:""};return B[D]&&(F.content=B[D]),F});c(_)})}else readFileContent(T,M).then(R=>{const B={file:T,status:"",message:""};R&&(B.content=R),c(B)})},d=T=>{const{files:k}=T.target;if(i.disabled||!k||!k.length)return;const I=k.length===1?k[0]:[].slice.call(k);if(i.beforeRead){const M=i.beforeRead(I,a());if(!M){l();return}if(isPromise(M)){M.then(R=>{u(R||I)}).catch(l);return}}u(I)};let g;const m=()=>e("closePreview"),y=T=>{if(i.previewFullImage){const k=i.modelValue.filter(isImageFile),I=k.map(M=>(M.file&&!M.url&&M.status!=="failed"&&(M.url=URL.createObjectURL(M.file),o.push(M.url)),M.url)).filter(Boolean);g=showImagePreview(extend$2({images:I,startPosition:k.indexOf(T),onClose:m},i.previewOptions))}},b=()=>{g&&g.close()},A=(T,k)=>{const I=i.modelValue.slice(0);I.splice(k,1),e("update:modelValue",I),e("delete",T,a(k))},S=(T,k)=>{const I=["imageFit","deletable","previewSize","beforeDelete"],M=extend$2(pick$1(i,I),pick$1(T,I,!0));return createVNode(stdin_default$1,mergeProps({item:T,index:k,onClick:()=>e("clickPreview",T,a(k)),onDelete:()=>A(T,k),onPreview:()=>y(T)},pick$1(i,["name","lazyLoad"]),M),pick$1(r,["preview-cover","preview-delete"]))},E=()=>{if(i.previewImage)return i.modelValue.map(S)},x=T=>e("clickUpload",T),P=()=>{if(i.modelValue.length>=+i.maxCount)return;const T=i.readonly?null:createVNode("input",{ref:s,type:"file",class:bem("input"),accept:i.accept,capture:i.capture,multiple:i.multiple,disabled:i.disabled,onChange:d},null);return r.default?createVNode("div",{class:bem("input-wrapper"),onClick:x},[r.default(),T]):withDirectives(createVNode("div",{class:bem("upload",{readonly:i.readonly}),style:getSizeStyle(i.previewSize),onClick:x},[createVNode(Icon$1,{name:i.uploadIcon,class:bem("upload-icon")},null),i.uploadText&&createVNode("span",{class:bem("upload-text")},[i.uploadText]),T]),[[vShow,i.showUpload]])},C=()=>{s.value&&!i.disabled&&s.value.click()};return onBeforeUnmount(()=>{o.forEach(T=>URL.revokeObjectURL(T))}),useExpose({chooseFile:C,closeImagePreview:b}),useCustomFieldValue(()=>i.modelValue),()=>createVNode("div",{class:bem()},[createVNode("div",{class:bem("wrapper",{disabled:i.disabled})},[E(),P()])])}});const Uploader=withInstall(stdin_default),storeData=reactive({status:"init",user:{},platformType:"STUDENT",platformApi:"/api-student",proxy:"",isApp:!1}),setStoreData=i=>{Object.assign(storeData,i)},setUserInfo=i=>{storeData.status="login",storeData.user=i||{}};var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}function getAugmentedNamespace(i){if(i.__esModule)return i;var e=i.default;if(typeof e=="function"){var r=function s(){if(this instanceof s){var o=[null];o.push.apply(o,arguments);var a=Function.bind.apply(e,o);return new a}return e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(i).forEach(function(s){var o=Object.getOwnPropertyDescriptor(i,s);Object.defineProperty(r,s,o.get?o:{enumerable:!0,get:function(){return i[s]}})}),r}var assign$1=make_assign(),create$1=make_create(),trim$1=make_trim(),Global$5=typeof window<"u"?window:commonjsGlobal,util$i={assign:assign$1,create:create$1,trim:trim$1,bind:bind$3,slice:slice$3,each:each$8,map,pluck:pluck$1,isList:isList$1,isFunction:isFunction$4,isObject:isObject$3,Global:Global$5};function make_assign(){return Object.assign?Object.assign:function(e,r,s,o){for(var a=1;a<arguments.length;a++)each$8(Object(arguments[a]),function(l,c){e[c]=l});return e}}function make_create(){if(Object.create)return function(e,r,s,o){var a=slice$3(arguments,1);return assign$1.apply(this,[Object.create(e)].concat(a))};{let i=function(){};return function(r,s,o,a){var l=slice$3(arguments,1);return i.prototype=r,assign$1.apply(this,[new i].concat(l))}}}function make_trim(){return String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function bind$3(i,e){return function(){return e.apply(i,Array.prototype.slice.call(arguments,0))}}function slice$3(i,e){return Array.prototype.slice.call(i,e||0)}function each$8(i,e){pluck$1(i,function(r,s){return e(r,s),!1})}function map(i,e){var r=isList$1(i)?[]:{};return pluck$1(i,function(s,o){return r[o]=e(s,o),!1}),r}function pluck$1(i,e){if(isList$1(i)){for(var r=0;r<i.length;r++)if(e(i[r],r))return i[r]}else for(var s in i)if(i.hasOwnProperty(s)&&e(i[s],s))return i[s]}function isList$1(i){return i!=null&&typeof i!="function"&&typeof i.length=="number"}function isFunction$4(i){return i&&{}.toString.call(i)==="[object Function]"}function isObject$3(i){return i&&{}.toString.call(i)==="[object Object]"}var util$h=util$i,slice$2=util$h.slice,pluck=util$h.pluck,each$7=util$h.each,bind$2=util$h.bind,create=util$h.create,isList=util$h.isList,isFunction$3=util$h.isFunction,isObject$2=util$h.isObject,storeEngine={createStore},storeAPI={version:"2.0.12",enabled:!1,get:function(i,e){var r=this.storage.read(this._namespacePrefix+i);return this._deserialize(r,e)},set:function(i,e){return e===void 0?this.remove(i):(this.storage.write(this._namespacePrefix+i,this._serialize(e)),e)},remove:function(i){this.storage.remove(this._namespacePrefix+i)},each:function(i){var e=this;this.storage.each(function(r,s){i.call(e,e._deserialize(r),(s||"").replace(e._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(i){return this._namespacePrefix=="__storejs_"+i+"_"},createStore:function(){return createStore.apply(this,arguments)},addPlugin:function(i){this._addPlugin(i)},namespace:function(i){return createStore(this.storage,this.plugins,i)}};function _warn(){var i=typeof console>"u"?null:console;if(i){var e=i.warn?i.warn:i.log;e.apply(i,arguments)}}function createStore(i,e,r){r||(r=""),i&&!isList(i)&&(i=[i]),e&&!isList(e)&&(e=[e]);var s=r?"__storejs_"+r+"_":"",o=r?new RegExp("^"+s):null,a=/^[a-zA-Z0-9_\-]*$/;if(!a.test(r))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var l={_namespacePrefix:s,_namespaceRegexp:o,_testStorage:function(u){try{var d="__storejs__test__";u.write(d,d);var g=u.read(d)===d;return u.remove(d),g}catch(m){return!1}},_assignPluginFnProp:function(u,d){var g=this[d];this[d]=function(){var y=slice$2(arguments,0),b=this;function A(){if(g)return each$7(arguments,function(E,x){y[x]=E}),g.apply(b,y)}var S=[A].concat(y);return u.apply(b,S)}},_serialize:function(u){return JSON.stringify(u)},_deserialize:function(u,d){if(!u)return d;var g="";try{g=JSON.parse(u)}catch(m){g=u}return g!==void 0?g:d},_addStorage:function(u){this.enabled||this._testStorage(u)&&(this.storage=u,this.enabled=!0)},_addPlugin:function(u){var d=this;if(isList(u)){each$7(u,function(y){d._addPlugin(y)});return}var g=pluck(this.plugins,function(y){return u===y});if(!g){if(this.plugins.push(u),!isFunction$3(u))throw new Error("Plugins must be function values that return objects");var m=u.call(this);if(!isObject$2(m))throw new Error("Plugins must return an object of function properties");each$7(m,function(y,b){if(!isFunction$3(y))throw new Error("Bad plugin property: "+b+" from plugin "+u.name+". Plugins should only return functions.");d._assignPluginFnProp(y,b)})}},addStorage:function(u){_warn("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(u)}},c=create(l,storeAPI,{plugins:[]});return c.raw={},each$7(c,function(u,d){isFunction$3(u)&&(c.raw[d]=bind$2(c,u))}),each$7(i,function(u){c._addStorage(u)}),each$7(e,function(u){c._addPlugin(u)}),c}var util$g=util$i,Global$4=util$g.Global,localStorage_1={name:"localStorage",read:read$5,write:write$5,each:each$6,remove:remove$6,clearAll:clearAll$5};function localStorage$1(){return Global$4.localStorage}function read$5(i){return localStorage$1().getItem(i)}function write$5(i,e){return localStorage$1().setItem(i,e)}function each$6(i){for(var e=localStorage$1().length-1;e>=0;e--){var r=localStorage$1().key(e);i(read$5(r),r)}}function remove$6(i){return localStorage$1().removeItem(i)}function clearAll$5(){return localStorage$1().clear()}var util$f=util$i,Global$3=util$f.Global,oldFFGlobalStorage={name:"oldFF-globalStorage",read:read$4,write:write$4,each:each$5,remove:remove$5,clearAll:clearAll$4},globalStorage=Global$3.globalStorage;function read$4(i){return globalStorage[i]}function write$4(i,e){globalStorage[i]=e}function each$5(i){for(var e=globalStorage.length-1;e>=0;e--){var r=globalStorage.key(e);i(globalStorage[r],r)}}function remove$5(i){return globalStorage.removeItem(i)}function clearAll$4(){each$5(function(i,e){delete globalStorage[i]})}var util$e=util$i,Global$2=util$e.Global,oldIEUserDataStorage={name:"oldIE-userDataStorage",write:write$3,read:read$3,each:each$4,remove:remove$4,clearAll:clearAll$3},storageName="storejs",doc$1=Global$2.document,_withStorageEl=_makeIEStorageElFunction(),disable$1=(Global$2.navigator?Global$2.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function write$3(i,e){if(!disable$1){var r=fixKey(i);_withStorageEl(function(s){s.setAttribute(r,e),s.save(storageName)})}}function read$3(i){if(!disable$1){var e=fixKey(i),r=null;return _withStorageEl(function(s){r=s.getAttribute(e)}),r}}function each$4(i){_withStorageEl(function(e){for(var r=e.XMLDocument.documentElement.attributes,s=r.length-1;s>=0;s--){var o=r[s];i(e.getAttribute(o.name),o.name)}})}function remove$4(i){var e=fixKey(i);_withStorageEl(function(r){r.removeAttribute(e),r.save(storageName)})}function clearAll$3(){_withStorageEl(function(i){var e=i.XMLDocument.documentElement.attributes;i.load(storageName);for(var r=e.length-1;r>=0;r--)i.removeAttribute(e[r].name);i.save(storageName)})}var forbiddenCharsRegex=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function fixKey(i){return i.replace(/^\d/,"___$&").replace(forbiddenCharsRegex,"___")}function _makeIEStorageElFunction(){if(!doc$1||!doc$1.documentElement||!doc$1.documentElement.addBehavior)return null;var i="script",e,r,s;try{r=new ActiveXObject("htmlfile"),r.open(),r.write("<"+i+">document.w=window</"+i+'><iframe src="/favicon.ico"></iframe>'),r.close(),e=r.w.frames[0].document,s=e.createElement("div")}catch(o){s=doc$1.createElement("div"),e=doc$1.body}return function(o){var a=[].slice.call(arguments,0);a.unshift(s),e.appendChild(s),s.addBehavior("#default#userData"),s.load(storageName),o.apply(this,a),e.removeChild(s)}}var util$d=util$i,Global$1=util$d.Global,trim=util$d.trim,cookieStorage={name:"cookieStorage",read:read$2,write:write$2,each:each$3,remove:remove$3,clearAll:clearAll$2},doc=Global$1.document;function read$2(i){if(!i||!_has(i))return null;var e="(?:^|.*;\\s*)"+escape(i).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(doc.cookie.replace(new RegExp(e),"$1"))}function each$3(i){for(var e=doc.cookie.split(/; ?/g),r=e.length-1;r>=0;r--)if(trim(e[r])){var s=e[r].split("="),o=unescape(s[0]),a=unescape(s[1]);i(a,o)}}function write$2(i,e){i&&(doc.cookie=escape(i)+"="+escape(e)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function remove$3(i){!i||!_has(i)||(doc.cookie=escape(i)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function clearAll$2(){each$3(function(i,e){remove$3(e)})}function _has(i){return new RegExp("(?:^|;\\s*)"+escape(i).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(doc.cookie)}var util$c=util$i,Global=util$c.Global,sessionStorage_1={name:"sessionStorage",read:read$1,write:write$1,each:each$2,remove:remove$2,clearAll:clearAll$1};function sessionStorage$1(){return Global.sessionStorage}function read$1(i){return sessionStorage$1().getItem(i)}function write$1(i,e){return sessionStorage$1().setItem(i,e)}function each$2(i){for(var e=sessionStorage$1().length-1;e>=0;e--){var r=sessionStorage$1().key(e);i(read$1(r),r)}}function remove$2(i){return sessionStorage$1().removeItem(i)}function clearAll$1(){return sessionStorage$1().clear()}var memoryStorage_1={name:"memoryStorage",read,write,each:each$1,remove:remove$1,clearAll},memoryStorage={};function read(i){return memoryStorage[i]}function write(i,e){memoryStorage[i]=e}function each$1(i){for(var e in memoryStorage)memoryStorage.hasOwnProperty(e)&&i(memoryStorage[e],e)}function remove$1(i){delete memoryStorage[i]}function clearAll(i){memoryStorage={}}var all=[localStorage_1,oldFFGlobalStorage,oldIEUserDataStorage,cookieStorage,sessionStorage_1,memoryStorage_1],json2$1={},hasRequiredJson2;function requireJson2(){return hasRequiredJson2||(hasRequiredJson2=1,typeof JSON!="object"&&(JSON={}),function(){var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(i){return i<10?"0"+i:i}function this_value(){return this.valueOf()}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value);var gap,indent,meta,rep;function quote(i){return rx_escapable.lastIndex=0,rx_escapable.test(i)?'"'+i.replace(rx_escapable,function(e){var r=meta[e];return typeof r=="string"?r:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+i+'"'}function str(i,e){var r,s,o,a,l=gap,c,u=e[i];switch(u&&typeof u=="object"&&typeof u.toJSON=="function"&&(u=u.toJSON(i)),typeof rep=="function"&&(u=rep.call(e,i,u)),typeof u){case"string":return quote(u);case"number":return isFinite(u)?String(u):"null";case"boolean":case"null":return String(u);case"object":if(!u)return"null";if(gap+=indent,c=[],Object.prototype.toString.apply(u)==="[object Array]"){for(a=u.length,r=0;r<a;r+=1)c[r]=str(r,u)||"null";return o=c.length===0?"[]":gap?`[
  8. `+gap+c.join(`,
  9. `+gap)+`
  10. `+l+"]":"["+c.join(",")+"]",gap=l,o}if(rep&&typeof rep=="object")for(a=rep.length,r=0;r<a;r+=1)typeof rep[r]=="string"&&(s=rep[r],o=str(s,u),o&&c.push(quote(s)+(gap?": ":":")+o));else for(s in u)Object.prototype.hasOwnProperty.call(u,s)&&(o=str(s,u),o&&c.push(quote(s)+(gap?": ":":")+o));return o=c.length===0?"{}":gap?`{
  11. `+gap+c.join(`,
  12. `+gap)+`
  13. `+l+"}":"{"+c.join(",")+"}",gap=l,o}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(i,e,r){var s;if(gap="",indent="",typeof r=="number")for(s=0;s<r;s+=1)indent+=" ";else typeof r=="string"&&(indent=r);if(rep=e,e&&typeof e!="function"&&(typeof e!="object"||typeof e.length!="number"))throw new Error("JSON.stringify");return str("",{"":i})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(i,e){var r,s,o=i[e];if(o&&typeof o=="object")for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(s=walk(o,r),s!==void 0?o[r]=s:delete o[r]);return reviver.call(i,e,o)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(i){return"\\u"+("0000"+i.charCodeAt(0).toString(16)).slice(-4)})),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()),json2$1}var json2=json2Plugin;function json2Plugin(){return requireJson2(),{}}var engine=storeEngine,storages=all,plugins=[json2],store_legacy=engine.createStore(storages,plugins);const token="%[a-f0-9]{2}",singleMatcher=new RegExp("("+token+")|([^%]+?)","gi"),multiMatcher=new RegExp("("+token+")+","gi");function decodeComponents(i,e){try{return[decodeURIComponent(i.join(""))]}catch(o){}if(i.length===1)return i;e=e||1;const r=i.slice(0,e),s=i.slice(e);return Array.prototype.concat.call([],decodeComponents(r),decodeComponents(s))}function decode$4(i){try{return decodeURIComponent(i)}catch(e){let r=i.match(singleMatcher)||[];for(let s=1;s<r.length;s++)i=decodeComponents(r,s).join(""),r=i.match(singleMatcher)||[];return i}}function customDecodeURIComponent(i){const e={"%FE%FF":"��","%FF%FE":"��"};let r=multiMatcher.exec(i);for(;r;){try{e[r[0]]=decodeURIComponent(r[0])}catch(o){const a=decode$4(r[0]);a!==r[0]&&(e[r[0]]=a)}r=multiMatcher.exec(i)}e["%C2"]="�";const s=Object.keys(e);for(const o of s)i=i.replace(new RegExp(o,"g"),e[o]);return i}function decodeUriComponent(i){if(typeof i!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof i+"`");try{return decodeURIComponent(i)}catch(e){return customDecodeURIComponent(i)}}function splitOnFirst(i,e){if(!(typeof i=="string"&&typeof e=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(i===""||e==="")return[];const r=i.indexOf(e);return r===-1?[]:[i.slice(0,r),i.slice(r+e.length)]}function includeKeys(i,e){const r={};if(Array.isArray(e))for(const s of e){const o=Object.getOwnPropertyDescriptor(i,s);o!=null&&o.enumerable&&Object.defineProperty(r,s,o)}else for(const s of Reflect.ownKeys(i)){const o=Object.getOwnPropertyDescriptor(i,s);if(o.enumerable){const a=i[s];e(s,a,i)&&Object.defineProperty(r,s,o)}}return r}const isNullOrUndefined=i=>i==null,strictUriEncode=i=>encodeURIComponent(i).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`),encodeFragmentIdentifier=Symbol("encodeFragmentIdentifier");function encoderForArrayFormat(i){switch(i.arrayFormat){case"index":return e=>(r,s)=>{const o=r.length;return s===void 0||i.skipNull&&s===null||i.skipEmptyString&&s===""?r:s===null?[...r,[encode$1(e,i),"[",o,"]"].join("")]:[...r,[encode$1(e,i),"[",encode$1(o,i),"]=",encode$1(s,i)].join("")]};case"bracket":return e=>(r,s)=>s===void 0||i.skipNull&&s===null||i.skipEmptyString&&s===""?r:s===null?[...r,[encode$1(e,i),"[]"].join("")]:[...r,[encode$1(e,i),"[]=",encode$1(s,i)].join("")];case"colon-list-separator":return e=>(r,s)=>s===void 0||i.skipNull&&s===null||i.skipEmptyString&&s===""?r:s===null?[...r,[encode$1(e,i),":list="].join("")]:[...r,[encode$1(e,i),":list=",encode$1(s,i)].join("")];case"comma":case"separator":case"bracket-separator":{const e=i.arrayFormat==="bracket-separator"?"[]=":"=";return r=>(s,o)=>o===void 0||i.skipNull&&o===null||i.skipEmptyString&&o===""?s:(o=o===null?"":o,s.length===0?[[encode$1(r,i),e,encode$1(o,i)].join("")]:[[s,encode$1(o,i)].join(i.arrayFormatSeparator)])}default:return e=>(r,s)=>s===void 0||i.skipNull&&s===null||i.skipEmptyString&&s===""?r:s===null?[...r,encode$1(e,i)]:[...r,[encode$1(e,i),"=",encode$1(s,i)].join("")]}}function parserForArrayFormat(i){let e;switch(i.arrayFormat){case"index":return(r,s,o)=>{if(e=/\[(\d*)]$/.exec(r),r=r.replace(/\[\d*]$/,""),!e){o[r]=s;return}o[r]===void 0&&(o[r]={}),o[r][e[1]]=s};case"bracket":return(r,s,o)=>{if(e=/(\[])$/.exec(r),r=r.replace(/\[]$/,""),!e){o[r]=s;return}if(o[r]===void 0){o[r]=[s];return}o[r]=[...o[r],s]};case"colon-list-separator":return(r,s,o)=>{if(e=/(:list)$/.exec(r),r=r.replace(/:list$/,""),!e){o[r]=s;return}if(o[r]===void 0){o[r]=[s];return}o[r]=[...o[r],s]};case"comma":case"separator":return(r,s,o)=>{const a=typeof s=="string"&&s.includes(i.arrayFormatSeparator),l=typeof s=="string"&&!a&&decode$3(s,i).includes(i.arrayFormatSeparator);s=l?decode$3(s,i):s;const c=a||l?s.split(i.arrayFormatSeparator).map(u=>decode$3(u,i)):s===null?s:decode$3(s,i);o[r]=c};case"bracket-separator":return(r,s,o)=>{const a=/(\[])$/.test(r);if(r=r.replace(/\[]$/,""),!a){o[r]=s&&decode$3(s,i);return}const l=s===null?[]:s.split(i.arrayFormatSeparator).map(c=>decode$3(c,i));if(o[r]===void 0){o[r]=l;return}o[r]=[...o[r],...l]};default:return(r,s,o)=>{if(o[r]===void 0){o[r]=s;return}o[r]=[...[o[r]].flat(),s]}}}function validateArrayFormatSeparator(i){if(typeof i!="string"||i.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function encode$1(i,e){return e.encode?e.strict?strictUriEncode(i):encodeURIComponent(i):i}function decode$3(i,e){return e.decode?decodeUriComponent(i):i}function keysSorter(i){return Array.isArray(i)?i.sort():typeof i=="object"?keysSorter(Object.keys(i)).sort((e,r)=>Number(e)-Number(r)).map(e=>i[e]):i}function removeHash(i){const e=i.indexOf("#");return e!==-1&&(i=i.slice(0,e)),i}function getHash(i){let e="";const r=i.indexOf("#");return r!==-1&&(e=i.slice(r)),e}function parseValue(i,e){return e.parseNumbers&&!Number.isNaN(Number(i))&&typeof i=="string"&&i.trim()!==""?i=Number(i):e.parseBooleans&&i!==null&&(i.toLowerCase()==="true"||i.toLowerCase()==="false")&&(i=i.toLowerCase()==="true"),i}function extract(i){i=removeHash(i);const e=i.indexOf("?");return e===-1?"":i.slice(e+1)}function parse$5(i,e){e={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...e},validateArrayFormatSeparator(e.arrayFormatSeparator);const r=parserForArrayFormat(e),s=Object.create(null);if(typeof i!="string"||(i=i.trim().replace(/^[?#&]/,""),!i))return s;for(const o of i.split("&")){if(o==="")continue;const a=e.decode?o.replace(/\+/g," "):o;let[l,c]=splitOnFirst(a,"=");l===void 0&&(l=a),c=c===void 0?null:["comma","separator","bracket-separator"].includes(e.arrayFormat)?c:decode$3(c,e),r(decode$3(l,e),c,s)}for(const[o,a]of Object.entries(s))if(typeof a=="object"&&a!==null)for(const[l,c]of Object.entries(a))a[l]=parseValue(c,e);else s[o]=parseValue(a,e);return e.sort===!1?s:(e.sort===!0?Object.keys(s).sort():Object.keys(s).sort(e.sort)).reduce((o,a)=>{const l=s[a];return l&&typeof l=="object"&&!Array.isArray(l)?o[a]=keysSorter(l):o[a]=l,o},Object.create(null))}function stringify$2(i,e){if(!i)return"";e={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...e},validateArrayFormatSeparator(e.arrayFormatSeparator);const r=l=>e.skipNull&&isNullOrUndefined(i[l])||e.skipEmptyString&&i[l]==="",s=encoderForArrayFormat(e),o={};for(const[l,c]of Object.entries(i))r(l)||(o[l]=c);const a=Object.keys(o);return e.sort!==!1&&a.sort(e.sort),a.map(l=>{const c=i[l];return c===void 0?"":c===null?encode$1(l,e):Array.isArray(c)?c.length===0&&e.arrayFormat==="bracket-separator"?encode$1(l,e)+"[]":c.reduce(s(l),[]).join("&"):encode$1(l,e)+"="+encode$1(c,e)}).filter(l=>l.length>0).join("&")}function parseUrl(i,e){var o,a;e={decode:!0,...e};let[r,s]=splitOnFirst(i,"#");return r===void 0&&(r=i),{url:(a=(o=r==null?void 0:r.split("?"))==null?void 0:o[0])!=null?a:"",query:parse$5(extract(i),e),...e&&e.parseFragmentIdentifier&&s?{fragmentIdentifier:decode$3(s,e)}:{}}}function stringifyUrl(i,e){e={encode:!0,strict:!0,[encodeFragmentIdentifier]:!0,...e};const r=removeHash(i.url).split("?")[0]||"",s=extract(i.url),o={...parse$5(s,{sort:!1}),...i.query};let a=stringify$2(o,e);a&&(a=`?${a}`);let l=getHash(i.url);if(i.fragmentIdentifier){const c=new URL(r);c.hash=i.fragmentIdentifier,l=e[encodeFragmentIdentifier]?c.hash:`#${i.fragmentIdentifier}`}return`${r}${a}${l}`}function pick(i,e,r){r={parseFragmentIdentifier:!0,[encodeFragmentIdentifier]:!1,...r};const{url:s,query:o,fragmentIdentifier:a}=parseUrl(i,r);return stringifyUrl({url:s,query:includeKeys(o,e),fragmentIdentifier:a},r)}function exclude(i,e,r){const s=Array.isArray(e)?o=>!e.includes(o):(o,a)=>!e(o,a);return pick(i,s,r)}const queryString=Object.freeze(Object.defineProperty({__proto__:null,exclude,extract,parse:parse$5,parseUrl,pick,stringify:stringify$2,stringifyUrl},Symbol.toStringTag,{value:"Module"})),getQuery=()=>{let i={};try{i={...queryString.parse(location.search),...queryString.parse(location.hash.split("?")[1])}}catch(e){}return{...i}},browser=()=>{const i=navigator.userAgent;return{trident:i.indexOf("Trident")>-1,presto:i.indexOf("Presto")>-1,webKit:i.indexOf("AppleWebKit")>-1,gecko:i.indexOf("Gecko")>-1&&i.indexOf("KHTML")==-1,mobile:!!i.match(/AppleWebKit.*Mobile.*/),ios:!!i.match(/Mac OS X/)||/(iPhone|iPad|iPod|iOS)/i.test(i),android:i.indexOf("Android")>-1||i.indexOf("Adr")>-1,iPhone:i.indexOf("ORCHESTRAAPPI")>-1,isApp:i.includes("DAYAAPPA")||i.includes("DAYAAPPI")||i.includes("COLEXIUAPPA")||i.includes("COLEXIUAPPI")||i.includes("ORCHESTRAAPPI")||i.includes("ORCHESTRAAPPA"),isTeacher:i.indexOf("ORCHESTRATEACHER")>-1||i.includes("COLEXIUTEACHER"),isStudent:i.indexOf("ORCHESTRASTUDENT")>-1||i.includes("COLEXIUSTUDENT"),isSchool:i.indexOf("ORCHESTRASCHOOL")>-1,iPad:i.indexOf("iPad")>-1,webApp:i.indexOf("Safari")==-1,weixin:i.indexOf("MicroMessenger")>-1,alipay:i.indexOf("AlipayClient")>-1,huawei:!!i.match(/huawei/i)||!!i.match(/honor/i),xiaomi:!!i.match(/mi\s/i)||!!i.match(/redmi/i)||!!i.match(/mix/i)}},getRandomKey=()=>""+Date.now()+Math.floor(Math.random()*1e6),AuthorizationKey="AUTHORIZATION",setToken=i=>{sessionStorage.setItem(AuthorizationKey,i)},getToken=()=>sessionStorage.getItem(AuthorizationKey)||"",setGlobalData=(i,e)=>{if(!i||!e)return;const r=window.GYM||{};r[i]=e,window.GYM=r},BEHAVIORIDKEY="BEHAVIORID",setBehaviorId=i=>{localStorage.setItem(BEHAVIORIDKEY,i)},getBehaviorId=()=>localStorage.getItem(BEHAVIORIDKEY),campIdKey="CAMPID",setCampId=i=>{sessionStorage.setItem(campIdKey,i)},getCampId=()=>sessionStorage.getItem(campIdKey)||"",getSecondRPM=(i,e)=>{if(isNaN(i))return"00:00";let r=Math.floor(i/60/60%24),s=Math.floor(i/60%60),o=Math.floor(i%60);return e==="cn"?`${r>0?r.toString().padStart(2,"0")+"时":""}${s.toString().padStart(2,"0")}分${o.toString().padStart(2,"0")}秒`:`${r>0?r.toString().padStart(2,"0")+":":""}${s.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}`},SPEEDKEY="speeds",setStorageSpeed=(i,e)=>{const r=store_legacy.get(SPEEDKEY)||{};r[i]=e,store_legacy.set(SPEEDKEY,r)},getStorageSpeed=i=>(store_legacy.get(SPEEDKEY)||{})[i]||0,matchProductApiUrl=()=>{const i=getQuery(),e={cbs:{dev:"https://dev.resource.colexiu.com",test:"https://test.resource.colexiu.com",online:"https://mec.colexiu.com"},gym:{dev:"https://dev.dayaedu.com",test:"https://test.dayaedu.com",online:"https://online.dayaedu.com"},colexiu:{dev:"https://dev.colexiu.com/",test:"https://test.colexiu.com",online:"https://online.colexiu.com"},orchestra:{dev:"https://dev.lexiaoya.cn",test:"https://test.lexiaoya.cn",online:"https://online.lexiaoya.cn"},instrument:{dev:"https://dev.kt.colexiu.com",test:"https://test.kt.colexiu.com",test2:"https://test.lexiaoya.cn",online:"https://kt.colexiu.com"}};let r=location.origin.includes("//dev")?"dev":location.origin.includes("//test")?"test":location.origin.includes("//online")||location.origin.includes("//kt")||location.origin.includes("//mec")?"online":"dev";if(i.isCbs)return e.cbs[r]+"/cbs-app";{const s=location.pathname.includes("gym")?"gym":location.pathname.includes("colexiu")?"colexiu":location.pathname.includes("orchestra")?"orchestra":"instrument";return s==="instrument"&&r==="test"&&(r=location.origin.includes("//test.kt")?"test":"test2"),e[s][r]+"/edu-app"}},debounce=(i,e=0)=>{let r;return function(...s){clearTimeout(r),r=setTimeout(()=>i.apply(this,s),e)}},originalPostMessage=window.postMessage;window.postMessage=i=>{originalPostMessage(i,"*")};const loop=()=>{},calls={};var Gi,Ui,Hi,zi,qi,Ki;const instance=window.DAYA||((Ui=(Gi=window.webkit)==null?void 0:Gi.messageHandlers)==null?void 0:Ui.DAYA)||window.COLEXIU||((zi=(Hi=window.webkit)==null?void 0:Hi.messageHandlers)==null?void 0:zi.COLEXIU)||window.ORCHESTRA||((Ki=(qi=window.webkit)==null?void 0:qi.messageHandlers)==null?void 0:Ki.ORCHESTRA);instance&&window.addEventListener("message",i=>{var e,r;try{const s=i.data?typeof i.data=="object"?i.data:JSON.parse(i.data):{},o=((e=s.content)==null?void 0:e.uuid)||s.uuid;try{s.content&&(s.content=JSON.parse(s.content))}catch(c){}if(!o){const c=Object.keys(calls).filter(u=>u.indexOf(s.api)===0);for(const u of c){const d=calls[u]||loop;typeof d=="function"&&d(s),Array.isArray(d)&&d.forEach(g=>{typeof g=="function"&&g(s)})}return}const a=((r=s.content)==null?void 0:r.uuid)||s.uuid||s.api+s.uuid,l=calls[a]||loop;typeof l=="function"&&l(s)}catch(s){console.error("通信消息解析错误",s)}});const postMessage$1=(i,e)=>{if(instance){const r=getRandomKey();calls[r]=e||loop,i.content=i.content?{...i.content,uuid:r}:{uuid:r},instance.postMessage(JSON.stringify(i)),console.log("h5_请求_api:",i)}},listenerMessage=(i,e)=>{const r=i;calls[r]||(calls[r]=[]),calls[r].push(e||loop)},removeListenerMessage=(i,e)=>{const r=i;if(Array.isArray(calls[r])){const s=calls[r].indexOf(e);calls[r].splice(s,1)}},promisefiyPostMessage=i=>new Promise(e=>{postMessage$1(i,r=>e(r))}),api_getToken=()=>storeData.isApp?promisefiyPostMessage({api:"getToken"}):Promise.resolve({}),getEarphone=()=>storeData.isApp?promisefiyPostMessage({api:"isWiredHeadsetOn"}):Promise.resolve({}),isSpecialShapedScreen=()=>storeData.isApp?promisefiyPostMessage({api:"isSpecialShapedScreen"}):Promise.resolve({}),sendResult=i=>{listenerMessage("sendResult",i)},removeResult=i=>{removeListenerMessage("sendResult",i)},endSoundCheck=()=>{postMessage$1({api:"endSoundCheck"})},startEvaluating=i=>storeData.isApp?promisefiyPostMessage({api:"startEvaluating",content:i}):Promise.resolve({}),endEvaluating=i=>storeData.isApp?promisefiyPostMessage({api:"endEvaluating",content:i}):Promise.resolve({}),cancelEvaluating=()=>{postMessage$1({api:"cancelEvaluating"})},api_startRecordingCb=(i,e)=>{postMessage$1({api:"startRecording",content:i},e)},api_proxyServiceMessage=i=>storeData.isApp?promisefiyPostMessage({api:"proxyServiceMessage",content:i}):Promise.resolve({}),api_recordStartTime=i=>{listenerMessage("recordStartTime",i)},api_remove_recordStartTime=i=>{removeListenerMessage("recordStartTime",i)},api_videoUpdate=i=>{postMessage$1({api:"videoUpdate"},i)},api_shareAchievements=i=>storeData.isApp?promisefiyPostMessage({api:"shareAchievements",content:i}):Promise.resolve({}),api_openWebView=i=>storeData.isApp?promisefiyPostMessage({api:"openWebView",content:i}):Promise.resolve({}),api_openCamera=()=>storeData.isApp?promisefiyPostMessage({api:"openCamera"}):Promise.resolve({}),api_closeCamera=()=>storeData.isApp?promisefiyPostMessage({api:"closeCamera"}):Promise.resolve({}),api_setStatusBarVisibility=()=>{postMessage$1({api:"setStatusBarVisibility",content:{isVisibility:0}})},api_cloudToggleFollow=i=>storeData.isApp?promisefiyPostMessage({api:"cloudToggleFollow",content:{state:i}}):Promise.resolve({}),api_cloudFollowTime=(i,e=!0)=>{e?listenerMessage("cloudFollowTime",i):removeListenerMessage("cloudFollowTime",i)},api_goback=()=>{postMessage$1({api:"goBack"})},api_back=()=>{postMessage$1({api:"back"})},api_cloudLoading=(i=!1)=>{postMessage$1({api:"cloudLoading",content:{show:i,type:"fullscreen"}})},api_cloudDestroy=()=>{postMessage$1({api:"cloudDestroy"})},api_setEventTracking=()=>{postMessage$1({api:"setEventTracking",content:{type:"klx_xiaokuAI"}})},api_savePicture=i=>storeData.isApp?promisefiyPostMessage({api:"savePicture",content:i}):Promise.resolve({}),api_setCache=i=>{postMessage$1({api:"setCache",content:i})},api_suspendPlay=i=>{listenerMessage("suspendPlay",i)},api_startCapture=()=>{postMessage$1({api:"startCapture"})},api_endCapture=()=>{postMessage$1({api:"endCapture"})},api_getDeviceDelay=()=>storeData.isApp?promisefiyPostMessage({api:"getDeviceDelay"}):Promise.resolve({}),api_createMusicPlayer=i=>storeData.isApp?promisefiyPostMessage({api:"createMusicPlayer",content:i}):Promise.resolve({}),api_keepScreenLongLight=()=>{postMessage$1({api:"keepScreenLongLight",content:{isOpenLight:!0}})},api_setRequestedOrientation=i=>{postMessage$1({api:"setRequestedOrientation",content:{orientation:i}})},api_playProgress=i=>{listenerMessage("playProgress",i)},api_openAdjustRecording=i=>{postMessage$1({api:"openAdjustRecording",content:i})},hideComplexButton=(i,e)=>{e?listenerMessage("hideComplexButton",i):removeListenerMessage("hideComplexButton",i)},api_checkSocketStatus=()=>promisefiyPostMessage({api:"checkSocketStatus"}),addAccompanyError=i=>{listenerMessage("accompanyError",i)},removeAccompanyError=i=>{removeListenerMessage("accompanyError",i)},addSocketStatus=i=>{listenerMessage("socketConnectSuccessReport",i)},removeSocketStatus=i=>{removeListenerMessage("socketConnectSuccessReport",i)},api_disconnectSocket=()=>promisefiyPostMessage({api:"disconnectSocket"}),api_cloudDetail=(i,e)=>{postMessage$1({api:"cloudDetail",content:i},e)},api_cloudGetMediaStatus=()=>promisefiyPostMessage({api:"cloudGetMediaStatus"}),api_cloudPlay=i=>{promisefiyPostMessage({api:"cloudPlay",content:i})},api_cloudSuspend=i=>{promisefiyPostMessage({api:"cloudSuspend",content:i})},api_cloudSetCurrentTime=i=>{promisefiyPostMessage({api:"cloudSetCurrentTime",content:i})},api_cloudChangeSpeed=i=>{promisefiyPostMessage({api:"cloudChangeSpeed",content:i})},api_cloudVolume=i=>{promisefiyPostMessage({api:"cloudVolume",content:i})},api_cloudTimeUpdae=i=>{listenerMessage("cloudTimeUpdae",i)},api_remove_cloudTimeUpdae=i=>{removeListenerMessage("cloudTimeUpdae",i)},api_cloudplayed=i=>{listenerMessage("cloudplayed",i)},api_remove_cloudplayed=i=>{removeListenerMessage("cloudplayed",i)},api_midiMicDelay=i=>{postMessage$1({api:"proxyServiceMessage",content:i})},api_startDelayCheck=i=>{promisefiyPostMessage({api:"startDelayCheck",content:i})},api_closeDelayCheck=i=>{promisefiyPostMessage({api:"closeDelayCheck",content:i})},api_cancelDelayCheck=i=>{listenerMessage("cancelDelayCheck",i)},api_finishDelayCheck=i=>{listenerMessage("finishDelayCheck",i)},simple_musicPage=i=>{postMessage$1({api:"api_musicPage",content:i})},api_retryEvaluating=i=>{listenerMessage("retryEvaluating",i)},TheError=defineComponent({name:"The-error",setup(i,e){return()=>createVNode("div",null,[createVNode(NavBar,{leftArrow:!0,onClickLeft:()=>{api_back()}},null),createVNode(Empty,{image:"error",description:"网络开小差,请稍后重试"},{default:()=>[createVNode(Button$1,{type:"primary",size:"small",onClick:()=>history.go(0)},{default:()=>[createTextVNode("重新加载")]})]})])}});var shams=function i(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),s=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(s)!=="[object Symbol]")return!1;var o=42;e[r]=o;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(e,r);if(l.value!==o||l.enumerable!==!0)return!1}return!0},origSymbol=typeof Symbol<"u"&&Symbol,hasSymbolSham=shams,hasSymbols$1=function i(){return typeof origSymbol!="function"||typeof Symbol!="function"||typeof origSymbol("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hasSymbolSham()},ERROR_MESSAGE="Function.prototype.bind called on incompatible ",slice$1=Array.prototype.slice,toStr$1=Object.prototype.toString,funcType="[object Function]",implementation$1=function i(e){var r=this;if(typeof r!="function"||toStr$1.call(r)!==funcType)throw new TypeError(ERROR_MESSAGE+r);for(var s=slice$1.call(arguments,1),o,a=function(){if(this instanceof o){var g=r.apply(this,s.concat(slice$1.call(arguments)));return Object(g)===g?g:this}else return r.apply(e,s.concat(slice$1.call(arguments)))},l=Math.max(0,r.length-s.length),c=[],u=0;u<l;u++)c.push("$"+u);if(o=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var d=function(){};d.prototype=r.prototype,o.prototype=new d,d.prototype=null}return o},implementation=implementation$1,functionBind=Function.prototype.bind||implementation,bind$1=functionBind,src$1=bind$1.call(Function.call,Object.prototype.hasOwnProperty),undefined$1,$SyntaxError=SyntaxError,$Function=Function,$TypeError$1=TypeError,getEvalledConstructor=function(i){try{return $Function('"use strict"; return ('+i+").constructor;")()}catch(e){}},$gOPD=Object.getOwnPropertyDescriptor;if($gOPD)try{$gOPD({},"")}catch(i){$gOPD=null}var throwTypeError=function(){throw new $TypeError$1},ThrowTypeError=$gOPD?function(){try{return arguments.callee,throwTypeError}catch(i){try{return $gOPD(arguments,"callee").get}catch(e){return throwTypeError}}}():throwTypeError,hasSymbols=hasSymbols$1(),getProto=Object.getPrototypeOf||function(i){return i.__proto__},needsEval={},TypedArray=typeof Uint8Array>"u"?undefined$1:getProto(Uint8Array),INTRINSICS={"%AggregateError%":typeof AggregateError>"u"?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols?getProto([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined$1:Atomics,"%BigInt%":typeof BigInt>"u"?undefined$1:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined$1:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined$1:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined$1:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined$1:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined$1:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols?getProto(getProto([][Symbol.iterator]())):undefined$1,"%JSON%":typeof JSON=="object"?JSON:undefined$1,"%Map%":typeof Map>"u"?undefined$1:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols?undefined$1:getProto(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined$1:Promise,"%Proxy%":typeof Proxy>"u"?undefined$1:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined$1:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols?undefined$1:getProto(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols?getProto(""[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$1,"%Uint8Array%":typeof Uint8Array>"u"?undefined$1:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined$1:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined$1:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined$1:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?undefined$1:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined$1:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined$1:WeakSet};try{null.error}catch(i){var errorProto=getProto(getProto(i));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function i(e){var r;if(e==="%AsyncFunction%")r=getEvalledConstructor("async function () {}");else if(e==="%GeneratorFunction%")r=getEvalledConstructor("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=getEvalledConstructor("async function* () {}");else if(e==="%AsyncGenerator%"){var s=i("%AsyncGeneratorFunction%");s&&(r=s.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=i("%AsyncGenerator%");o&&(r=getProto(o.prototype))}return INTRINSICS[e]=r,r},LEGACY_ALIASES={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=functionBind,hasOwn$1=src$1,$concat$1=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace$1=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function i(e){var r=$strSlice(e,0,1),s=$strSlice(e,-1);if(r==="%"&&s!=="%")throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if(s==="%"&&r!=="%")throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var o=[];return $replace$1(e,rePropName,function(a,l,c,u){o[o.length]=c?$replace$1(u,reEscapeChar,"$1"):l||a}),o},getBaseIntrinsic=function i(e,r){var s=e,o;if(hasOwn$1(LEGACY_ALIASES,s)&&(o=LEGACY_ALIASES[s],s="%"+o[0]+"%"),hasOwn$1(INTRINSICS,s)){var a=INTRINSICS[s];if(a===needsEval&&(a=doEval(s)),typeof a>"u"&&!r)throw new $TypeError$1("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:s,value:a}}throw new $SyntaxError("intrinsic "+e+" does not exist!")},getIntrinsic=function i(e,r){if(typeof e!="string"||e.length===0)throw new $TypeError$1("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new $TypeError$1('"allowMissing" argument must be a boolean');if($exec(/^%?[^%]*%?$/,e)===null)throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var s=stringToPath(e),o=s.length>0?s[0]:"",a=getBaseIntrinsic("%"+o+"%",r),l=a.name,c=a.value,u=!1,d=a.alias;d&&(o=d[0],$spliceApply(s,$concat$1([0,1],d)));for(var g=1,m=!0;g<s.length;g+=1){var y=s[g],b=$strSlice(y,0,1),A=$strSlice(y,-1);if((b==='"'||b==="'"||b==="`"||A==='"'||A==="'"||A==="`")&&b!==A)throw new $SyntaxError("property names with quotes must have matching quotes");if((y==="constructor"||!m)&&(u=!0),o+="."+y,l="%"+o+"%",hasOwn$1(INTRINSICS,l))c=INTRINSICS[l];else if(c!=null){if(!(y in c)){if(!r)throw new $TypeError$1("base intrinsic for "+e+" exists, but the property is not available.");return}if($gOPD&&g+1>=s.length){var S=$gOPD(c,y);m=!!S,m&&"get"in S&&!("originalValue"in S.get)?c=S.get:c=c[y]}else m=hasOwn$1(c,y),c=c[y];m&&!u&&(INTRINSICS[l]=c)}}return c},callBindExports={},callBind$1={get exports(){return callBindExports},set exports(i){callBindExports=i}};(function(i){var e=functionBind,r=getIntrinsic,s=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||e.call(o,s),l=r("%Object.getOwnPropertyDescriptor%",!0),c=r("%Object.defineProperty%",!0),u=r("%Math.max%");if(c)try{c({},"a",{value:1})}catch(g){c=null}i.exports=function(m){var y=a(e,o,arguments);if(l&&c){var b=l(y,"length");b.configurable&&c(y,"length",{value:1+u(0,m.length-(arguments.length-1))})}return y};var d=function(){return a(e,s,arguments)};c?c(i.exports,"apply",{value:d}):i.exports.apply=d})(callBind$1);var GetIntrinsic$1=getIntrinsic,callBind=callBindExports,$indexOf=callBind(GetIntrinsic$1("String.prototype.indexOf")),callBound$1=function i(e,r){var s=GetIntrinsic$1(e,!!r);return typeof s=="function"&&$indexOf(e,".prototype.")>-1?callBind(s):s};const __viteBrowserExternal={},__viteBrowserExternal$1=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0$1=getAugmentedNamespace(__viteBrowserExternal$1);var hasMap=typeof Map=="function"&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,mapSize=hasMap&&mapSizeDescriptor&&typeof mapSizeDescriptor.get=="function"?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet=typeof Set=="function"&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,setSize=hasSet&&setSizeDescriptor&&typeof setSizeDescriptor.get=="function"?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,hasWeakMap=typeof WeakMap=="function"&&WeakMap.prototype,weakMapHas=hasWeakMap?WeakMap.prototype.has:null,hasWeakSet=typeof WeakSet=="function"&&WeakSet.prototype,weakSetHas=hasWeakSet?WeakSet.prototype.has:null,hasWeakRef=typeof WeakRef=="function"&&WeakRef.prototype,weakRefDeref=hasWeakRef?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString$2=Object.prototype.toString,functionToString=Function.prototype.toString,$match=String.prototype.match,$slice=String.prototype.slice,$replace=String.prototype.replace,$toUpperCase=String.prototype.toUpperCase,$toLowerCase=String.prototype.toLowerCase,$test=RegExp.prototype.test,$concat=Array.prototype.concat,$join=Array.prototype.join,$arrSlice=Array.prototype.slice,$floor=Math.floor,bigIntValueOf=typeof BigInt=="function"?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,hasShammedSymbols=typeof Symbol=="function"&&typeof Symbol.iterator=="object",toStringTag=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hasShammedSymbols||"symbol")?Symbol.toStringTag:null,isEnumerable=Object.prototype.propertyIsEnumerable,gPO=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(i){return i.__proto__}:null);function addNumericSeparator(i,e){if(i===1/0||i===-1/0||i!==i||i&&i>-1e3&&i<1e3||$test.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof i=="number"){var s=i<0?-$floor(-i):$floor(i);if(s!==i){var o=String(s),a=$slice.call(e,o.length+1);return $replace.call(o,r,"$&_")+"."+$replace.call($replace.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(e,r,"$&_")}var utilInspect=require$$0$1,inspectCustom=utilInspect.custom,inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null,objectInspect=function i(e,r,s,o){var a=r||{};if(has$3(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has$3(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=has$3(a,"customInspect")?a.customInspect:!0;if(typeof l!="boolean"&&l!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has$3(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has$3(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var c=a.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return inspectString(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var u=String(e);return c?addNumericSeparator(e,u):u}if(typeof e=="bigint"){var d=String(e)+"n";return c?addNumericSeparator(e,d):d}var g=typeof a.depth>"u"?5:a.depth;if(typeof s>"u"&&(s=0),s>=g&&g>0&&typeof e=="object")return isArray$7(e)?"[Array]":"[Object]";var m=getIndent(a,s);if(typeof o>"u")o=[];else if(indexOf$2(o,e)>=0)return"[Circular]";function y(F,N,K){if(N&&(o=$arrSlice.call(o),o.push(N)),K){var G={depth:a.depth};return has$3(a,"quoteStyle")&&(G.quoteStyle=a.quoteStyle),i(F,G,s+1,o)}return i(F,a,s+1,o)}if(typeof e=="function"&&!isRegExp$1(e)){var b=nameOf(e),A=arrObjKeys(e,y);return"[Function"+(b?": "+b:" (anonymous)")+"]"+(A.length>0?" { "+$join.call(A,", ")+" }":"")}if(isSymbol(e)){var S=hasShammedSymbols?$replace.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(e);return typeof e=="object"&&!hasShammedSymbols?markBoxed(S):S}if(isElement(e)){for(var E="<"+$toLowerCase.call(String(e.nodeName)),x=e.attributes||[],P=0;P<x.length;P++)E+=" "+x[P].name+"="+wrapQuotes(quote(x[P].value),"double",a);return E+=">",e.childNodes&&e.childNodes.length&&(E+="..."),E+="</"+$toLowerCase.call(String(e.nodeName))+">",E}if(isArray$7(e)){if(e.length===0)return"[]";var C=arrObjKeys(e,y);return m&&!singleLineValues(C)?"["+indentedJoin(C,m)+"]":"[ "+$join.call(C,", ")+" ]"}if(isError(e)){var T=arrObjKeys(e,y);return!("cause"in Error.prototype)&&"cause"in e&&!isEnumerable.call(e,"cause")?"{ ["+String(e)+"] "+$join.call($concat.call("[cause]: "+y(e.cause),T),", ")+" }":T.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+$join.call(T,", ")+" }"}if(typeof e=="object"&&l){if(inspectSymbol&&typeof e[inspectSymbol]=="function"&&utilInspect)return utilInspect(e,{depth:g-s});if(l!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(isMap$2(e)){var k=[];return mapForEach&&mapForEach.call(e,function(F,N){k.push(y(N,e,!0)+" => "+y(F,e))}),collectionOf("Map",mapSize.call(e),k,m)}if(isSet$2(e)){var I=[];return setForEach&&setForEach.call(e,function(F){I.push(y(F,e))}),collectionOf("Set",setSize.call(e),I,m)}if(isWeakMap(e))return weakCollectionOf("WeakMap");if(isWeakSet(e))return weakCollectionOf("WeakSet");if(isWeakRef(e))return weakCollectionOf("WeakRef");if(isNumber$1(e))return markBoxed(y(Number(e)));if(isBigInt(e))return markBoxed(y(bigIntValueOf.call(e)));if(isBoolean$1(e))return markBoxed(booleanValueOf.call(e));if(isString$1(e))return markBoxed(y(String(e)));if(!isDate$1(e)&&!isRegExp$1(e)){var M=arrObjKeys(e,y),R=gPO?gPO(e)===Object.prototype:e instanceof Object||e.constructor===Object,B=e instanceof Object?"":"null prototype",_=!R&&toStringTag&&Object(e)===e&&toStringTag in e?$slice.call(toStr(e),8,-1):B?"Object":"",V=R||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",D=V+(_||B?"["+$join.call($concat.call([],_||[],B||[]),": ")+"] ":"");return M.length===0?D+"{}":m?D+"{"+indentedJoin(M,m)+"}":D+"{ "+$join.call(M,", ")+" }"}return String(e)};function wrapQuotes(i,e,r){var s=(r.quoteStyle||e)==="double"?'"':"'";return s+i+s}function quote(i){return $replace.call(String(i),/"/g,"&quot;")}function isArray$7(i){return toStr(i)==="[object Array]"&&(!toStringTag||!(typeof i=="object"&&toStringTag in i))}function isDate$1(i){return toStr(i)==="[object Date]"&&(!toStringTag||!(typeof i=="object"&&toStringTag in i))}function isRegExp$1(i){return toStr(i)==="[object RegExp]"&&(!toStringTag||!(typeof i=="object"&&toStringTag in i))}function isError(i){return toStr(i)==="[object Error]"&&(!toStringTag||!(typeof i=="object"&&toStringTag in i))}function isString$1(i){return toStr(i)==="[object String]"&&(!toStringTag||!(typeof i=="object"&&toStringTag in i))}function isNumber$1(i){return toStr(i)==="[object Number]"&&(!toStringTag||!(typeof i=="object"&&toStringTag in i))}function isBoolean$1(i){return toStr(i)==="[object Boolean]"&&(!toStringTag||!(typeof i=="object"&&toStringTag in i))}function isSymbol(i){if(hasShammedSymbols)return i&&typeof i=="object"&&i instanceof Symbol;if(typeof i=="symbol")return!0;if(!i||typeof i!="object"||!symToString)return!1;try{return symToString.call(i),!0}catch(e){}return!1}function isBigInt(i){if(!i||typeof i!="object"||!bigIntValueOf)return!1;try{return bigIntValueOf.call(i),!0}catch(e){}return!1}var hasOwn=Object.prototype.hasOwnProperty||function(i){return i in this};function has$3(i,e){return hasOwn.call(i,e)}function toStr(i){return objectToString$2.call(i)}function nameOf(i){if(i.name)return i.name;var e=$match.call(functionToString.call(i),/^function\s*([\w$]+)/);return e?e[1]:null}function indexOf$2(i,e){if(i.indexOf)return i.indexOf(e);for(var r=0,s=i.length;r<s;r++)if(i[r]===e)return r;return-1}function isMap$2(i){if(!mapSize||!i||typeof i!="object")return!1;try{mapSize.call(i);try{setSize.call(i)}catch(e){return!0}return i instanceof Map}catch(e){}return!1}function isWeakMap(i){if(!weakMapHas||!i||typeof i!="object")return!1;try{weakMapHas.call(i,weakMapHas);try{weakSetHas.call(i,weakSetHas)}catch(e){return!0}return i instanceof WeakMap}catch(e){}return!1}function isWeakRef(i){if(!weakRefDeref||!i||typeof i!="object")return!1;try{return weakRefDeref.call(i),!0}catch(e){}return!1}function isSet$2(i){if(!setSize||!i||typeof i!="object")return!1;try{setSize.call(i);try{mapSize.call(i)}catch(e){return!0}return i instanceof Set}catch(e){}return!1}function isWeakSet(i){if(!weakSetHas||!i||typeof i!="object")return!1;try{weakSetHas.call(i,weakSetHas);try{weakMapHas.call(i,weakMapHas)}catch(e){return!0}return i instanceof WeakSet}catch(e){}return!1}function isElement(i){return!i||typeof i!="object"?!1:typeof HTMLElement<"u"&&i instanceof HTMLElement?!0:typeof i.nodeName=="string"&&typeof i.getAttribute=="function"}function inspectString(i,e){if(i.length>e.maxStringLength){var r=i.length-e.maxStringLength,s="... "+r+" more character"+(r>1?"s":"");return inspectString($slice.call(i,0,e.maxStringLength),e)+s}var o=$replace.call($replace.call(i,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte);return wrapQuotes(o,"single",e)}function lowbyte(i){var e=i.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+$toUpperCase.call(e.toString(16))}function markBoxed(i){return"Object("+i+")"}function weakCollectionOf(i){return i+" { ? }"}function collectionOf(i,e,r,s){var o=s?indentedJoin(r,s):$join.call(r,", ");return i+" ("+e+") {"+o+"}"}function singleLineValues(i){for(var e=0;e<i.length;e++)if(indexOf$2(i[e],`
  14. `)>=0)return!1;return!0}function getIndent(i,e){var r;if(i.indent===" ")r=" ";else if(typeof i.indent=="number"&&i.indent>0)r=$join.call(Array(i.indent+1)," ");else return null;return{base:r,prev:$join.call(Array(e+1),r)}}function indentedJoin(i,e){if(i.length===0)return"";var r=`
  15. `+e.prev+e.base;return r+$join.call(i,","+r)+`
  16. `+e.prev}function arrObjKeys(i,e){var r=isArray$7(i),s=[];if(r){s.length=i.length;for(var o=0;o<i.length;o++)s[o]=has$3(i,o)?e(i[o],i):""}var a=typeof gOPS=="function"?gOPS(i):[],l;if(hasShammedSymbols){l={};for(var c=0;c<a.length;c++)l["$"+a[c]]=a[c]}for(var u in i)has$3(i,u)&&(r&&String(Number(u))===u&&u<i.length||hasShammedSymbols&&l["$"+u]instanceof Symbol||($test.call(/[^\w$]/,u)?s.push(e(u,i)+": "+e(i[u],i)):s.push(u+": "+e(i[u],i))));if(typeof gOPS=="function")for(var d=0;d<a.length;d++)isEnumerable.call(i,a[d])&&s.push("["+e(a[d])+"]: "+e(i[a[d]],i));return s}var GetIntrinsic=getIntrinsic,callBound=callBound$1,inspect=objectInspect,$TypeError=GetIntrinsic("%TypeError%"),$WeakMap=GetIntrinsic("%WeakMap%",!0),$Map=GetIntrinsic("%Map%",!0),$weakMapGet=callBound("WeakMap.prototype.get",!0),$weakMapSet=callBound("WeakMap.prototype.set",!0),$weakMapHas=callBound("WeakMap.prototype.has",!0),$mapGet=callBound("Map.prototype.get",!0),$mapSet=callBound("Map.prototype.set",!0),$mapHas=callBound("Map.prototype.has",!0),listGetNode=function(i,e){for(var r=i,s;(s=r.next)!==null;r=s)if(s.key===e)return r.next=s.next,s.next=i.next,i.next=s,s},listGet=function(i,e){var r=listGetNode(i,e);return r&&r.value},listSet=function(i,e,r){var s=listGetNode(i,e);s?s.value=r:i.next={key:e,next:i.next,value:r}},listHas=function(i,e){return!!listGetNode(i,e)},sideChannel=function i(){var e,r,s,o={assert:function(a){if(!o.has(a))throw new $TypeError("Side channel does not contain "+inspect(a))},get:function(a){if($WeakMap&&a&&(typeof a=="object"||typeof a=="function")){if(e)return $weakMapGet(e,a)}else if($Map){if(r)return $mapGet(r,a)}else if(s)return listGet(s,a)},has:function(a){if($WeakMap&&a&&(typeof a=="object"||typeof a=="function")){if(e)return $weakMapHas(e,a)}else if($Map){if(r)return $mapHas(r,a)}else if(s)return listHas(s,a);return!1},set:function(a,l){$WeakMap&&a&&(typeof a=="object"||typeof a=="function")?(e||(e=new $WeakMap),$weakMapSet(e,a,l)):$Map?(r||(r=new $Map),$mapSet(r,a,l)):(s||(s={key:{},next:null}),listSet(s,a,l))}};return o},replace=String.prototype.replace,percentTwenties=/%20/g,Format={RFC1738:"RFC1738",RFC3986:"RFC3986"},formats$3={default:Format.RFC3986,formatters:{RFC1738:function(i){return replace.call(i,percentTwenties,"+")},RFC3986:function(i){return String(i)}},RFC1738:Format.RFC1738,RFC3986:Format.RFC3986},formats$2=formats$3,has$2=Object.prototype.hasOwnProperty,isArray$6=Array.isArray,hexTable=function(){for(var i=[],e=0;e<256;++e)i.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return i}(),compactQueue=function i(e){for(;e.length>1;){var r=e.pop(),s=r.obj[r.prop];if(isArray$6(s)){for(var o=[],a=0;a<s.length;++a)typeof s[a]<"u"&&o.push(s[a]);r.obj[r.prop]=o}}},arrayToObject=function i(e,r){for(var s=r&&r.plainObjects?Object.create(null):{},o=0;o<e.length;++o)typeof e[o]<"u"&&(s[o]=e[o]);return s},merge=function i(e,r,s){if(!r)return e;if(typeof r!="object"){if(isArray$6(e))e.push(r);else if(e&&typeof e=="object")(s&&(s.plainObjects||s.allowPrototypes)||!has$2.call(Object.prototype,r))&&(e[r]=!0);else return[e,r];return e}if(!e||typeof e!="object")return[e].concat(r);var o=e;return isArray$6(e)&&!isArray$6(r)&&(o=arrayToObject(e,s)),isArray$6(e)&&isArray$6(r)?(r.forEach(function(a,l){if(has$2.call(e,l)){var c=e[l];c&&typeof c=="object"&&a&&typeof a=="object"?e[l]=i(c,a,s):e.push(a)}else e[l]=a}),e):Object.keys(r).reduce(function(a,l){var c=r[l];return has$2.call(a,l)?a[l]=i(a[l],c,s):a[l]=c,a},o)},assign=function i(e,r){return Object.keys(r).reduce(function(s,o){return s[o]=r[o],s},e)},decode$2=function(i,e,r){var s=i.replace(/\+/g," ");if(r==="iso-8859-1")return s.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(s)}catch(o){return s}},encode=function i(e,r,s,o,a){if(e.length===0)return e;var l=e;if(typeof e=="symbol"?l=Symbol.prototype.toString.call(e):typeof e!="string"&&(l=String(e)),s==="iso-8859-1")return escape(l).replace(/%u[0-9a-f]{4}/gi,function(g){return"%26%23"+parseInt(g.slice(2),16)+"%3B"});for(var c="",u=0;u<l.length;++u){var d=l.charCodeAt(u);if(d===45||d===46||d===95||d===126||d>=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||a===formats$2.RFC1738&&(d===40||d===41)){c+=l.charAt(u);continue}if(d<128){c=c+hexTable[d];continue}if(d<2048){c=c+(hexTable[192|d>>6]+hexTable[128|d&63]);continue}if(d<55296||d>=57344){c=c+(hexTable[224|d>>12]+hexTable[128|d>>6&63]+hexTable[128|d&63]);continue}u+=1,d=65536+((d&1023)<<10|l.charCodeAt(u)&1023),c+=hexTable[240|d>>18]+hexTable[128|d>>12&63]+hexTable[128|d>>6&63]+hexTable[128|d&63]}return c},compact=function i(e){for(var r=[{obj:{o:e},prop:"o"}],s=[],o=0;o<r.length;++o)for(var a=r[o],l=a.obj[a.prop],c=Object.keys(l),u=0;u<c.length;++u){var d=c[u],g=l[d];typeof g=="object"&&g!==null&&s.indexOf(g)===-1&&(r.push({obj:l,prop:d}),s.push(g))}return compactQueue(r),e},isRegExp=function i(e){return Object.prototype.toString.call(e)==="[object RegExp]"},isBuffer$2=function i(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},combine=function i(e,r){return[].concat(e,r)},maybeMap=function i(e,r){if(isArray$6(e)){for(var s=[],o=0;o<e.length;o+=1)s.push(r(e[o]));return s}return r(e)},utils$3={arrayToObject,assign,combine,compact,decode:decode$2,encode,isBuffer:isBuffer$2,isRegExp,maybeMap,merge},getSideChannel=sideChannel,utils$2=utils$3,formats$1=formats$3,has$1=Object.prototype.hasOwnProperty,arrayPrefixGenerators={brackets:function i(e){return e+"[]"},comma:"comma",indices:function i(e,r){return e+"["+r+"]"},repeat:function i(e){return e}},isArray$5=Array.isArray,push=Array.prototype.push,pushToArray=function(i,e){push.apply(i,isArray$5(e)?e:[e])},toISO=Date.prototype.toISOString,defaultFormat=formats$1.default,defaults$1={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:utils$2.encode,encodeValuesOnly:!1,format:defaultFormat,formatter:formats$1.formatters[defaultFormat],indices:!1,serializeDate:function i(e){return toISO.call(e)},skipNulls:!1,strictNullHandling:!1},isNonNullishPrimitive=function i(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},sentinel={},stringify$1=function i(e,r,s,o,a,l,c,u,d,g,m,y,b,A,S,E){for(var x=e,P=E,C=0,T=!1;(P=P.get(sentinel))!==void 0&&!T;){var k=P.get(e);if(C+=1,typeof k<"u"){if(k===C)throw new RangeError("Cyclic object value");T=!0}typeof P.get(sentinel)>"u"&&(C=0)}if(typeof u=="function"?x=u(r,x):x instanceof Date?x=m(x):s==="comma"&&isArray$5(x)&&(x=utils$2.maybeMap(x,function(G){return G instanceof Date?m(G):G})),x===null){if(a)return c&&!A?c(r,defaults$1.encoder,S,"key",y):r;x=""}if(isNonNullishPrimitive(x)||utils$2.isBuffer(x)){if(c){var I=A?r:c(r,defaults$1.encoder,S,"key",y);return[b(I)+"="+b(c(x,defaults$1.encoder,S,"value",y))]}return[b(r)+"="+b(String(x))]}var M=[];if(typeof x>"u")return M;var R;if(s==="comma"&&isArray$5(x))A&&c&&(x=utils$2.maybeMap(x,c)),R=[{value:x.length>0?x.join(",")||null:void 0}];else if(isArray$5(u))R=u;else{var B=Object.keys(x);R=d?B.sort(d):B}for(var _=o&&isArray$5(x)&&x.length===1?r+"[]":r,V=0;V<R.length;++V){var D=R[V],F=typeof D=="object"&&typeof D.value<"u"?D.value:x[D];if(!(l&&F===null)){var N=isArray$5(x)?typeof s=="function"?s(_,D):_:_+(g?"."+D:"["+D+"]");E.set(e,C);var K=getSideChannel();K.set(sentinel,E),pushToArray(M,i(F,N,s,o,a,l,s==="comma"&&A&&isArray$5(x)?null:c,u,d,g,m,y,b,A,S,K))}}return M},normalizeStringifyOptions=function i(e){if(!e)return defaults$1;if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=e.charset||defaults$1.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var s=formats$1.default;if(typeof e.format<"u"){if(!has$1.call(formats$1.formatters,e.format))throw new TypeError("Unknown format option provided.");s=e.format}var o=formats$1.formatters[s],a=defaults$1.filter;return(typeof e.filter=="function"||isArray$5(e.filter))&&(a=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:defaults$1.addQueryPrefix,allowDots:typeof e.allowDots>"u"?defaults$1.allowDots:!!e.allowDots,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:defaults$1.charsetSentinel,delimiter:typeof e.delimiter>"u"?defaults$1.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:defaults$1.encode,encoder:typeof e.encoder=="function"?e.encoder:defaults$1.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:defaults$1.encodeValuesOnly,filter:a,format:s,formatter:o,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:defaults$1.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:defaults$1.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:defaults$1.strictNullHandling}},stringify_1=function(i,e){var r=i,s=normalizeStringifyOptions(e),o,a;typeof s.filter=="function"?(a=s.filter,r=a("",r)):isArray$5(s.filter)&&(a=s.filter,o=a);var l=[];if(typeof r!="object"||r===null)return"";var c;e&&e.arrayFormat in arrayPrefixGenerators?c=e.arrayFormat:e&&"indices"in e?c=e.indices?"indices":"repeat":c="indices";var u=arrayPrefixGenerators[c];if(e&&"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var d=u==="comma"&&e&&e.commaRoundTrip;o||(o=Object.keys(r)),s.sort&&o.sort(s.sort);for(var g=getSideChannel(),m=0;m<o.length;++m){var y=o[m];s.skipNulls&&r[y]===null||pushToArray(l,stringify$1(r[y],y,u,d,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,g))}var b=l.join(s.delimiter),A=s.addQueryPrefix===!0?"?":"";return s.charsetSentinel&&(s.charset==="iso-8859-1"?A+="utf8=%26%2310003%3B&":A+="utf8=%E2%9C%93&"),b.length>0?A+b:""},utils$1=utils$3,has=Object.prototype.hasOwnProperty,isArray$4=Array.isArray,defaults={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:utils$1.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},interpretNumericEntities=function(i){return i.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},parseArrayValue=function(i,e){return i&&typeof i=="string"&&e.comma&&i.indexOf(",")>-1?i.split(","):i},isoSentinel="utf8=%26%2310003%3B",charsetSentinel="utf8=%E2%9C%93",parseValues=function i(e,r){var s={},o=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=r.parameterLimit===1/0?void 0:r.parameterLimit,l=o.split(r.delimiter,a),c=-1,u,d=r.charset;if(r.charsetSentinel)for(u=0;u<l.length;++u)l[u].indexOf("utf8=")===0&&(l[u]===charsetSentinel?d="utf-8":l[u]===isoSentinel&&(d="iso-8859-1"),c=u,u=l.length);for(u=0;u<l.length;++u)if(u!==c){var g=l[u],m=g.indexOf("]="),y=m===-1?g.indexOf("="):m+1,b,A;y===-1?(b=r.decoder(g,defaults.decoder,d,"key"),A=r.strictNullHandling?null:""):(b=r.decoder(g.slice(0,y),defaults.decoder,d,"key"),A=utils$1.maybeMap(parseArrayValue(g.slice(y+1),r),function(S){return r.decoder(S,defaults.decoder,d,"value")})),A&&r.interpretNumericEntities&&d==="iso-8859-1"&&(A=interpretNumericEntities(A)),g.indexOf("[]=")>-1&&(A=isArray$4(A)?[A]:A),has.call(s,b)?s[b]=utils$1.combine(s[b],A):s[b]=A}return s},parseObject=function(i,e,r,s){for(var o=s?e:parseArrayValue(e,r),a=i.length-1;a>=0;--a){var l,c=i[a];if(c==="[]"&&r.parseArrays)l=[].concat(o);else{l=r.plainObjects?Object.create(null):{};var u=c.charAt(0)==="["&&c.charAt(c.length-1)==="]"?c.slice(1,-1):c,d=parseInt(u,10);!r.parseArrays&&u===""?l={0:o}:!isNaN(d)&&c!==u&&String(d)===u&&d>=0&&r.parseArrays&&d<=r.arrayLimit?(l=[],l[d]=o):u!=="__proto__"&&(l[u]=o)}o=l}return o},parseKeys=function i(e,r,s,o){if(e){var a=s.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,l=/(\[[^[\]]*])/,c=/(\[[^[\]]*])/g,u=s.depth>0&&l.exec(a),d=u?a.slice(0,u.index):a,g=[];if(d){if(!s.plainObjects&&has.call(Object.prototype,d)&&!s.allowPrototypes)return;g.push(d)}for(var m=0;s.depth>0&&(u=c.exec(a))!==null&&m<s.depth;){if(m+=1,!s.plainObjects&&has.call(Object.prototype,u[1].slice(1,-1))&&!s.allowPrototypes)return;g.push(u[1])}return u&&g.push("["+a.slice(u.index)+"]"),parseObject(g,r,s,o)}},normalizeParseOptions=function i(e){if(!e)return defaults;if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof e.charset>"u"?defaults.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?defaults.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:defaults.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:defaults.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:defaults.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:defaults.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:defaults.comma,decoder:typeof e.decoder=="function"?e.decoder:defaults.decoder,delimiter:typeof e.delimiter=="string"||utils$1.isRegExp(e.delimiter)?e.delimiter:defaults.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:defaults.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:defaults.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:defaults.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:defaults.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:defaults.strictNullHandling}},parse$4=function(i,e){var r=normalizeParseOptions(e);if(i===""||i===null||typeof i>"u")return r.plainObjects?Object.create(null):{};for(var s=typeof i=="string"?parseValues(i,r):i,o=r.plainObjects?Object.create(null):{},a=Object.keys(s),l=0;l<a.length;++l){var c=a[l],u=parseKeys(c,s[c],r,typeof i=="string");o=utils$1.merge(o,u,r)}return r.allowSparse===!0?o:utils$1.compact(o)},stringify=stringify_1,parse$3=parse$4,formats=formats$3,lib$4={formats,parse:parse$3,stringify},global$1=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global$1<"u"&&global$1,support={searchParams:"URLSearchParams"in global$1,iterable:"Symbol"in global$1&&"iterator"in Symbol,blob:"FileReader"in global$1&&"Blob"in global$1&&function(){try{return new Blob,!0}catch(i){return!1}}(),formData:"FormData"in global$1,arrayBuffer:"ArrayBuffer"in global$1};function isDataView(i){return i&&DataView.prototype.isPrototypeOf(i)}if(support.arrayBuffer)var viewClasses=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],isArrayBufferView=ArrayBuffer.isView||function(i){return i&&viewClasses.indexOf(Object.prototype.toString.call(i))>-1};function normalizeName(i){if(typeof i!="string"&&(i=String(i)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(i)||i==="")throw new TypeError('Invalid character in header field name: "'+i+'"');return i.toLowerCase()}function normalizeValue(i){return typeof i!="string"&&(i=String(i)),i}function iteratorFor(i){var e={next:function(){var r=i.shift();return{done:r===void 0,value:r}}};return support.iterable&&(e[Symbol.iterator]=function(){return e}),e}function Headers(i){this.map={},i instanceof Headers?i.forEach(function(e,r){this.append(r,e)},this):Array.isArray(i)?i.forEach(function(e){this.append(e[0],e[1])},this):i&&Object.getOwnPropertyNames(i).forEach(function(e){this.append(e,i[e])},this)}Headers.prototype.append=function(i,e){i=normalizeName(i),e=normalizeValue(e);var r=this.map[i];this.map[i]=r?r+", "+e:e};Headers.prototype.delete=function(i){delete this.map[normalizeName(i)]};Headers.prototype.get=function(i){return i=normalizeName(i),this.has(i)?this.map[i]:null};Headers.prototype.has=function(i){return this.map.hasOwnProperty(normalizeName(i))};Headers.prototype.set=function(i,e){this.map[normalizeName(i)]=normalizeValue(e)};Headers.prototype.forEach=function(i,e){for(var r in this.map)this.map.hasOwnProperty(r)&&i.call(e,this.map[r],r,this)};Headers.prototype.keys=function(){var i=[];return this.forEach(function(e,r){i.push(r)}),iteratorFor(i)};Headers.prototype.values=function(){var i=[];return this.forEach(function(e){i.push(e)}),iteratorFor(i)};Headers.prototype.entries=function(){var i=[];return this.forEach(function(e,r){i.push([r,e])}),iteratorFor(i)};support.iterable&&(Headers.prototype[Symbol.iterator]=Headers.prototype.entries);function consumed(i){if(i.bodyUsed)return Promise.reject(new TypeError("Already read"));i.bodyUsed=!0}function fileReaderReady(i){return new Promise(function(e,r){i.onload=function(){e(i.result)},i.onerror=function(){r(i.error)}})}function readBlobAsArrayBuffer(i){var e=new FileReader,r=fileReaderReady(e);return e.readAsArrayBuffer(i),r}function readBlobAsText(i){var e=new FileReader,r=fileReaderReady(e);return e.readAsText(i),r}function readArrayBufferAsText(i){for(var e=new Uint8Array(i),r=new Array(e.length),s=0;s<e.length;s++)r[s]=String.fromCharCode(e[s]);return r.join("")}function bufferClone(i){if(i.slice)return i.slice(0);var e=new Uint8Array(i.byteLength);return e.set(new Uint8Array(i)),e.buffer}function Body(){return this.bodyUsed=!1,this._initBody=function(i){this.bodyUsed=this.bodyUsed,this._bodyInit=i,i?typeof i=="string"?this._bodyText=i:support.blob&&Blob.prototype.isPrototypeOf(i)?this._bodyBlob=i:support.formData&&FormData.prototype.isPrototypeOf(i)?this._bodyFormData=i:support.searchParams&&URLSearchParams.prototype.isPrototypeOf(i)?this._bodyText=i.toString():support.arrayBuffer&&support.blob&&isDataView(i)?(this._bodyArrayBuffer=bufferClone(i.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):support.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(i)||isArrayBufferView(i))?this._bodyArrayBuffer=bufferClone(i):this._bodyText=i=Object.prototype.toString.call(i):this._bodyText="",this.headers.get("content-type")||(typeof i=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):support.searchParams&&URLSearchParams.prototype.isPrototypeOf(i)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},support.blob&&(this.blob=function(){var i=consumed(this);if(i)return i;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var i=consumed(this);return i||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else return this.blob().then(readBlobAsArrayBuffer)}),this.text=function(){var i=consumed(this);if(i)return i;if(this._bodyBlob)return readBlobAsText(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},support.formData&&(this.formData=function(){return this.text().then(decode$1)}),this.json=function(){return this.text().then(JSON.parse)},this}var methods=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function normalizeMethod(i){var e=i.toUpperCase();return methods.indexOf(e)>-1?e:i}function Request(i,e){if(!(this instanceof Request))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{};var r=e.body;if(i instanceof Request){if(i.bodyUsed)throw new TypeError("Already read");this.url=i.url,this.credentials=i.credentials,e.headers||(this.headers=new Headers(i.headers)),this.method=i.method,this.mode=i.mode,this.signal=i.signal,!r&&i._bodyInit!=null&&(r=i._bodyInit,i.bodyUsed=!0)}else this.url=String(i);if(this.credentials=e.credentials||this.credentials||"same-origin",(e.headers||!this.headers)&&(this.headers=new Headers(e.headers)),this.method=normalizeMethod(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),(this.method==="GET"||this.method==="HEAD")&&(e.cache==="no-store"||e.cache==="no-cache")){var s=/([?&])_=[^&]*/;if(s.test(this.url))this.url=this.url.replace(s,"$1_="+new Date().getTime());else{var o=/\?/;this.url+=(o.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}Request.prototype.clone=function(){return new Request(this,{body:this._bodyInit})};function decode$1(i){var e=new FormData;return i.trim().split("&").forEach(function(r){if(r){var s=r.split("="),o=s.shift().replace(/\+/g," "),a=s.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(a))}}),e}function parseHeaders(i){var e=new Headers,r=i.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(s){return s.indexOf(`
  17. `)===0?s.substr(1,s.length):s}).forEach(function(s){var o=s.split(":"),a=o.shift().trim();if(a){var l=o.join(":").trim();e.append(a,l)}}),e}Body.call(Request.prototype);function Response(i,e){if(!(this instanceof Response))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=e.status===void 0?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=e.statusText===void 0?"":""+e.statusText,this.headers=new Headers(e.headers),this.url=e.url||"",this._initBody(i)}Body.call(Response.prototype);Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers(this.headers),url:this.url})};Response.error=function(){var i=new Response(null,{status:0,statusText:""});return i.type="error",i};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(i,e){if(redirectStatuses.indexOf(e)===-1)throw new RangeError("Invalid status code");return new Response(null,{status:e,headers:{location:i}})};var DOMException=global$1.DOMException;try{new DOMException}catch(i){DOMException=function(e,r){this.message=e,this.name=r;var s=Error(e);this.stack=s.stack},DOMException.prototype=Object.create(Error.prototype),DOMException.prototype.constructor=DOMException}function fetch$2(i,e){return new Promise(function(r,s){var o=new Request(i,e);if(o.signal&&o.signal.aborted)return s(new DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function l(){a.abort()}a.onload=function(){var u={status:a.status,statusText:a.statusText,headers:parseHeaders(a.getAllResponseHeaders()||"")};u.url="responseURL"in a?a.responseURL:u.headers.get("X-Request-URL");var d="response"in a?a.response:a.responseText;setTimeout(function(){r(new Response(d,u))},0)},a.onerror=function(){setTimeout(function(){s(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){s(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){s(new DOMException("Aborted","AbortError"))},0)};function c(u){try{return u===""&&global$1.location.href?global$1.location.href:u}catch(d){return u}}a.open(o.method,c(o.url),!0),o.credentials==="include"?a.withCredentials=!0:o.credentials==="omit"&&(a.withCredentials=!1),"responseType"in a&&(support.blob?a.responseType="blob":support.arrayBuffer&&o.headers.get("Content-Type")&&o.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(a.responseType="arraybuffer")),e&&typeof e.headers=="object"&&!(e.headers instanceof Headers)?Object.getOwnPropertyNames(e.headers).forEach(function(u){a.setRequestHeader(u,normalizeValue(e.headers[u]))}):o.headers.forEach(function(u,d){a.setRequestHeader(d,u)}),o.signal&&(o.signal.addEventListener("abort",l),a.onreadystatechange=function(){a.readyState===4&&o.signal.removeEventListener("abort",l)}),a.send(typeof o._bodyInit>"u"?null:o._bodyInit)})}fetch$2.polyfill=!0;global$1.fetch||(global$1.fetch=fetch$2,global$1.Headers=Headers,global$1.Request=Request,global$1.Response=Response);self.fetch.bind(self);function ownKeys(i,e){var r=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);e&&(s=s.filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable})),r.push.apply(r,s)}return r}function _objectSpread2(i){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ownKeys(Object(r),!0).forEach(function(s){_defineProperty(i,s,r[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(s){Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(r,s))})}return i}function _typeof(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(e){return typeof e}:_typeof=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(i)}function _classCallCheck(i,e){if(!(i instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(i,e){for(var r=0;r<e.length;r++){var s=e[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}function _createClass(i,e,r){return e&&_defineProperties(i.prototype,e),r&&_defineProperties(i,r),i}function _defineProperty(i,e,r){return e in i?Object.defineProperty(i,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[e]=r,i}function _inherits(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(e&&e.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),e&&_setPrototypeOf(i,e)}function _getPrototypeOf(i){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_getPrototypeOf(i)}function _setPrototypeOf(i,e){return _setPrototypeOf=Object.setPrototypeOf||function(s,o){return s.__proto__=o,s},_setPrototypeOf(i,e)}function _isNativeReflectConstruct(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(i){return!1}}function _construct(i,e,r){return _isNativeReflectConstruct()?_construct=Reflect.construct:_construct=function(o,a,l){var c=[null];c.push.apply(c,a);var u=Function.bind.apply(o,c),d=new u;return l&&_setPrototypeOf(d,l.prototype),d},_construct.apply(null,arguments)}function _isNativeFunction(i){return Function.toString.call(i).indexOf("[native code]")!==-1}function _wrapNativeSuper(i){var e=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(s){if(s===null||!_isNativeFunction(s))return s;if(typeof s!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(s))return e.get(s);e.set(s,o)}function o(){return _construct(s,arguments,_getPrototypeOf(this).constructor)}return o.prototype=Object.create(s.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(o,s)},_wrapNativeSuper(i)}function _assertThisInitialized(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function _possibleConstructorReturn(i,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(i)}function _createSuper(i){var e=_isNativeReflectConstruct();return function(){var s=_getPrototypeOf(i),o;if(e){var a=_getPrototypeOf(this).constructor;o=Reflect.construct(s,arguments,a)}else o=s.apply(this,arguments);return _possibleConstructorReturn(this,o)}}function _toConsumableArray(i){return _arrayWithoutHoles(i)||_iterableToArray(i)||_unsupportedIterableToArray(i)||_nonIterableSpread()}function _arrayWithoutHoles(i){if(Array.isArray(i))return _arrayLikeToArray(i)}function _iterableToArray(i){if(typeof Symbol<"u"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function _unsupportedIterableToArray(i,e){if(i){if(typeof i=="string")return _arrayLikeToArray(i,e);var r=Object.prototype.toString.call(i).slice(8,-1);if(r==="Object"&&i.constructor&&(r=i.constructor.name),r==="Map"||r==="Set")return Array.from(i);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _arrayLikeToArray(i,e)}}function _arrayLikeToArray(i,e){(e==null||e>i.length)&&(e=i.length);for(var r=0,s=new Array(e);r<e;r++)s[r]=i[r];return s}function _nonIterableSpread(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
  18. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function compose(i){if(!Array.isArray(i))throw new TypeError("Middlewares must be an array!");for(var e=i.length,r=0;r<e;r++)if(typeof i[r]!="function")throw new TypeError("Middleware must be componsed of function");return function(o,a){var l=-1;function c(u){if(u<=l)return Promise.reject(new Error("next() should not be called multiple times in one middleware!"));l=u;var d=i[u]||a;if(!d)return Promise.resolve();try{return Promise.resolve(d(o,function(){return c(u+1)}))}catch(g){return Promise.reject(g)}}return c(0)}}var Onion=function(){function i(e){if(_classCallCheck(this,i),!Array.isArray(e))throw new TypeError("Default middlewares must be an array!");this.defaultMiddlewares=_toConsumableArray(e),this.middlewares=[]}return _createClass(i,[{key:"use",value:function(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!1,core:!1,defaultInstance:!1},o=!1,a=!1,l=!1;if(typeof s=="number"?(process&&process.env,o=!0,a=!1):_typeof(s)==="object"&&s&&(a=s.global||!1,o=s.core||!1,l=s.defaultInstance||!1),a){i.globalMiddlewares.splice(i.globalMiddlewares.length-i.defaultGlobalMiddlewaresLength,0,r);return}if(o){i.coreMiddlewares.splice(i.coreMiddlewares.length-i.defaultCoreMiddlewaresLength,0,r);return}if(l){this.defaultMiddlewares.push(r);return}this.middlewares.push(r)}},{key:"execute",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,s=compose([].concat(_toConsumableArray(this.middlewares),_toConsumableArray(this.defaultMiddlewares),_toConsumableArray(i.globalMiddlewares),_toConsumableArray(i.coreMiddlewares)));return s(r)}}]),i}();Onion.globalMiddlewares=[];Onion.defaultGlobalMiddlewaresLength=0;Onion.coreMiddlewares=[];Onion.defaultCoreMiddlewaresLength=0;var MapCache$1=function(){function i(e){_classCallCheck(this,i),this.cache=new Map,this.timer={},this.extendOptions(e)}return _createClass(i,[{key:"extendOptions",value:function(r){this.maxCache=r.maxCache||0}},{key:"get",value:function(r){return this.cache.get(JSON.stringify(r))}},{key:"set",value:function(r,s){var o=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:6e4;if(this.maxCache>0&&this.cache.size>=this.maxCache){var l=_toConsumableArray(this.cache.keys())[0];this.cache.delete(l),this.timer[l]&&clearTimeout(this.timer[l])}var c=JSON.stringify(r);this.cache.set(c,s),a>0&&(this.timer[c]=setTimeout(function(){o.cache.delete(c),delete o.timer[c]},a))}},{key:"delete",value:function(r){var s=JSON.stringify(r);return delete this.timer[s],this.cache.delete(s)}},{key:"clear",value:function(){return this.timer={},this.cache.clear()}}]),i}(),RequestError=function(i){_inherits(r,i);var e=_createSuper(r);function r(s,o){var a,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"RequestError";return _classCallCheck(this,r),a=e.call(this,s),a.name="RequestError",a.request=o,a.type=l,a}return r}(_wrapNativeSuper(Error)),ResponseError=function(i){_inherits(r,i);var e=_createSuper(r);function r(s,o,a,l){var c,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"ResponseError";return _classCallCheck(this,r),c=e.call(this,o||s.statusText),c.name="ResponseError",c.data=a,c.response=s,c.request=l,c.type=u,c}return r}(_wrapNativeSuper(Error));function readerGBK(i){return new Promise(function(e,r){var s=new FileReader;s.onload=function(){e(s.result)},s.onerror=r,s.readAsText(i,"GBK")})}function safeJsonParse(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;try{return JSON.parse(i)}catch(o){if(e)throw new ResponseError(r,"JSON.parse fail",i,s,"ParseError")}return i}function timeout2Throw(i,e,r){return new Promise(function(s,o){setTimeout(function(){o(new RequestError(e||"timeout of ".concat(i,"ms exceeded"),r,"Timeout"))},i)})}function cancel2Throw(i){return new Promise(function(e,r){i.cancelToken&&i.cancelToken.promise.then(function(s){r(s)})})}var toString$2=Object.prototype.toString;function getEnv(){var i;return typeof process<"u"&&toString$2.call(process)==="[object process]"&&(i="NODE"),typeof XMLHttpRequest<"u"&&(i="BROWSER"),i}function isArray$3(i){return _typeof(i)==="object"&&Object.prototype.toString.call(i)==="[object Array]"}function isURLSearchParams(i){return typeof URLSearchParams<"u"&&i instanceof URLSearchParams}function isDate(i){return _typeof(i)==="object"&&Object.prototype.toString.call(i)==="[object Date]"}function isObject$1(i){return i!==null&&_typeof(i)==="object"}function forEach2ObjArr(i,e){if(i)if(_typeof(i)!=="object"&&(i=[i]),isArray$3(i))for(var r=0;r<i.length;r++)e.call(null,i[r],r,i);else for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&e.call(null,i[s],s,i)}function getParamObject(i){return isURLSearchParams(i)?lib$4.parse(i.toString(),{strictNullHandling:!0}):typeof i=="string"?[i]:i}function reqStringify(i){return lib$4.stringify(i,{arrayFormat:"repeat",strictNullHandling:!0})}function mergeRequestOptions(i,e){return _objectSpread2(_objectSpread2(_objectSpread2({},i),e),{},{headers:_objectSpread2(_objectSpread2({},i.headers),e.headers),params:_objectSpread2(_objectSpread2({},getParamObject(i.params)),getParamObject(e.params)),method:(e.method||i.method||"get").toLowerCase()})}var addfix=function i(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=r.prefix,o=r.suffix;return s&&(e="".concat(s).concat(e)),o&&(e="".concat(e).concat(o)),{url:e,options:r}},warnedCoreType=!1;function __defaultValidateCache(i,e){var r=e.method,s=r===void 0?"get":r;return s.toLowerCase()==="get"}function fetchMiddleware(i,e){if(!i)return e();var r=i.req;r=r===void 0?{}:r;var s=r.options,o=s===void 0?{}:s,a=r.url,l=a===void 0?"":a,c=i.cache,u=i.responseInterceptors,d=o.timeout,g=d===void 0?0:d,m=o.timeoutMessage,y=o.__umiRequestCoreType__,b=y===void 0?"normal":y,A=o.useCache,S=A===void 0?!1:A,E=o.method,x=E===void 0?"get":E,P=o.params,C=o.ttl,T=o.validateCache,k=T===void 0?__defaultValidateCache:T;if(b!=="normal")return process&&process.env,e();var I=fetch;if(!I)throw new Error("Global fetch not exist!");var M=getEnv()==="BROWSER",R=k(l,o)&&S&&M;if(R){var B=c.get({url:l,params:P,method:x});if(B)return B=B.clone(),B.useCache=!0,i.res=B,e()}var _;return g>0?_=Promise.race([cancel2Throw(o),I(l,o),timeout2Throw(g,m,i.req)]):_=Promise.race([cancel2Throw(o),I(l,o)]),u.forEach(function(V){_=_.then(function(D){var F=typeof D.clone=="function"?D.clone():D;return V(F,o)})}),_.then(function(V){if(R&&V.status===200){var D=V.clone();D.useCache=!0,c.set({url:l,params:P,method:x},D,C)}return i.res=V,e()})}function parseResponseMiddleware(i,e){var r;return e().then(function(){if(i){var s=i.res,o=s===void 0?{}:s,a=i.req,l=a===void 0?{}:a,c=l||{},u=c.options;u=u===void 0?{}:u;var d=u.responseType,g=d===void 0?"json":d,m=u.charset,y=m===void 0?"utf8":m;u.getResponse;var b=u.throwErrIfParseFail,A=b===void 0?!1:b,S=u.parseResponse,E=S===void 0?!0:S;if(E&&!(!o||!o.clone)){if(r=getEnv()==="BROWSER"?o.clone():o,r.useCache=o.useCache||!1,y==="gbk")try{return o.blob().then(readerGBK).then(function(x){return safeJsonParse(x,!1,r,l)})}catch(x){throw new ResponseError(r,x.message,null,l,"ParseError")}else if(g==="json")return o.text().then(function(x){return safeJsonParse(x,A,r,l)});try{return o[g]()}catch(x){throw new ResponseError(r,"responseType not support",null,l,"ParseError")}}}}).then(function(s){if(i){i.res;var o=i.req,a=o===void 0?{}:o,l=a||{},c=l.options;c=c===void 0?{}:c;var u=c.getResponse,d=u===void 0?!1:u;if(r){if(r.status>=200&&r.status<300){if(d){i.res={data:s,response:r};return}i.res=s;return}throw new ResponseError(r,"http error",s,a,"HttpError")}}}).catch(function(s){if(s instanceof RequestError||s instanceof ResponseError)throw s;var o=i.req,a=i.res;throw s.request=s.request||o,s.response=s.response||a,s.type=s.type||s.name,s.data=s.data||void 0,s})}function simplePostMiddleware(i,e){if(!i)return e();var r=i.req;r=r===void 0?{}:r;var s=r.options,o=s===void 0?{}:s,a=o.method,l=a===void 0?"get":a;if(["post","put","patch","delete"].indexOf(l.toLowerCase())===-1)return e();var c=o.requestType,u=c===void 0?"json":c,d=o.data;if(d){var g=Object.prototype.toString.call(d);g==="[object Object]"||g==="[object Array]"?u==="json"?(o.headers=_objectSpread2({Accept:"application/json","Content-Type":"application/json;charset=UTF-8"},o.headers),o.body=JSON.stringify(d)):u==="form"&&(o.headers=_objectSpread2({Accept:"application/json","Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},o.headers),o.body=reqStringify(d)):(o.headers=_objectSpread2({Accept:"application/json"},o.headers),o.body=d)}return i.req.options=o,e()}function paramsSerialize(i,e){var r,s;if(i)if(e)r=e(i);else if(isURLSearchParams(i))r=i.toString();else if(isArray$3(i))s=[],forEach2ObjArr(i,function(a){a===null||typeof a>"u"?s.push(a):s.push(isObject$1(a)?JSON.stringify(a):a)}),r=reqStringify(s);else{s={},forEach2ObjArr(i,function(a,l){var c=a;a===null||typeof a>"u"?s[l]=a:isDate(a)?c=a.toISOString():isArray$3(a)?c=a:isObject$1(a)&&(c=JSON.stringify(a)),s[l]=c});var o=reqStringify(s);r=o}return r}function simpleGetMiddleware(i,e){if(!i)return e();var r=i.req;r=r===void 0?{}:r;var s=r.options,o=s===void 0?{}:s,a=o.paramsSerializer,l=o.params,c=i.req;c=c===void 0?{}:c;var u=c.url,d=u===void 0?"":u;o.method=o.method?o.method.toUpperCase():"GET",o.credentials=o.credentials||"same-origin";var g=paramsSerialize(l,a);if(i.req.originUrl=d,g){var m=d.indexOf("?")!==-1?"&":"?";i.req.url="".concat(d).concat(m).concat(g)}return i.req.options=o,e()}var globalMiddlewares=[simplePostMiddleware,simpleGetMiddleware,parseResponseMiddleware],coreMiddlewares=[fetchMiddleware];Onion.globalMiddlewares=globalMiddlewares;Onion.defaultGlobalMiddlewaresLength=globalMiddlewares.length;Onion.coreMiddlewares=coreMiddlewares;Onion.defaultCoreMiddlewaresLength=coreMiddlewares.length;var Core=function(){function i(e){_classCallCheck(this,i),this.onion=new Onion([]),this.fetchIndex=0,this.mapCache=new MapCache$1(e),this.initOptions=e,this.instanceRequestInterceptors=[],this.instanceResponseInterceptors=[]}return _createClass(i,[{key:"use",value:function(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!1,core:!1};return this.onion.use(r,s),this}},{key:"extendOptions",value:function(r){this.initOptions=mergeRequestOptions(this.initOptions,r),this.mapCache.extendOptions(r)}},{key:"dealRequestInterceptors",value:function(r){var s=function(l,c){return l.then(function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return r.req.url=u.url||r.req.url,r.req.options=u.options||r.req.options,c(r.req.url,r.req.options)})},o=[].concat(_toConsumableArray(i.requestInterceptors),_toConsumableArray(this.instanceRequestInterceptors));return o.reduce(s,Promise.resolve()).then(function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return r.req.url=a.url||r.req.url,r.req.options=a.options||r.req.options,Promise.resolve()})}},{key:"request",value:function(r,s){var o=this,a=this.onion,l={req:{url:r,options:_objectSpread2(_objectSpread2({},s),{},{url:r})},res:null,cache:this.mapCache,responseInterceptors:[].concat(_toConsumableArray(i.responseInterceptors),_toConsumableArray(this.instanceResponseInterceptors))};if(typeof r!="string")throw new Error("url MUST be a string");return new Promise(function(c,u){o.dealRequestInterceptors(l).then(function(){return a.execute(l)}).then(function(){c(l.res)}).catch(function(d){var g=l.req.options.errorHandler;if(g)try{var m=g(d);c(m)}catch(y){u(y)}else u(d)})})}}],[{key:"requestUse",value:function(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!0};if(typeof r!="function")throw new TypeError("Interceptor must be function!");s.global?i.requestInterceptors.push(r):this.instanceRequestInterceptors.push(r)}},{key:"responseUse",value:function(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{global:!0};if(typeof r!="function")throw new TypeError("Interceptor must be function!");s.global?i.responseInterceptors.push(r):this.instanceResponseInterceptors.push(r)}}]),i}();Core.requestInterceptors=[addfix];Core.responseInterceptors=[];function Cancel(i){this.message=i}Cancel.prototype.toString=function i(){return this.message?"Cancel: ".concat(this.message):"Cancel"};Cancel.prototype.__CANCEL__=!0;function CancelToken(i){if(typeof i!="function")throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(o){e=o});var r=this;i(function(o){r.reason||(r.reason=new Cancel(o),e(r.reason))})}CancelToken.prototype.throwIfRequested=function i(){if(this.reason)throw this.reason};CancelToken.source=function i(){var e,r=new CancelToken(function(o){e=o});return{token:r,cancel:e}};function isCancel(i){return!!(i&&i.__CANCEL__)}var request$1=function i(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=new Core(e),s=function(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=mergeRequestOptions(r.initOptions,c);return r.request(l,u)};s.use=r.use.bind(r),s.fetchIndex=r.fetchIndex,s.interceptors={request:{use:Core.requestUse.bind(r)},response:{use:Core.responseUse.bind(r)}};var o=["get","post","delete","put","patch","head","options","rpc"];return o.forEach(function(a){s[a]=function(l,c){return s(l,_objectSpread2(_objectSpread2({},c),{},{method:a}))}}),s.Cancel=Cancel,s.CancelToken=CancelToken,s.isCancel=isCancel,s.extendOptions=r.extendOptions.bind(r),s.middlewares={instance:r.onion.middlewares,defaultInstance:r.onion.defaultMiddlewares,global:Onion.globalMiddlewares,core:Onion.coreMiddlewares},s},extend$1=function i(e){return request$1(e)};request$1({parseResponse:!1});var request$1$1=request$1({}),lodash_isemptyExports={},lodash_isempty={get exports(){return lodash_isemptyExports},set exports(i){lodash_isemptyExports=i}};(function(i,e){var r=9007199254740991,s="[object Arguments]",o="[object Function]",a="[object GeneratorFunction]",l="[object Map]",c="[object Object]",u="[object Promise]",d="[object Set]",g="[object WeakMap]",m="[object DataView]",y=/[\\^$.*+?()[\]{}|]/g,b=/^\[object .+?Constructor\]$/,A=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,S=typeof self=="object"&&self&&self.Object===Object&&self,E=A||S||Function("return this")(),x=e&&!e.nodeType&&e,P=x&&!0&&i&&!i.nodeType&&i,C=P&&P.exports===x;function T(ye,Fe){return ye==null?void 0:ye[Fe]}function k(ye){var Fe=!1;if(ye!=null&&typeof ye.toString!="function")try{Fe=!!(ye+"")}catch(Ue){}return Fe}function I(ye,Fe){return function(Ue){return ye(Fe(Ue))}}var M=Function.prototype,R=Object.prototype,B=E["__core-js_shared__"],_=function(){var ye=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||"");return ye?"Symbol(src)_1."+ye:""}(),V=M.toString,D=R.hasOwnProperty,F=R.toString,N=RegExp("^"+V.call(D).replace(y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),K=C?E.Buffer:void 0,G=R.propertyIsEnumerable,q=K?K.isBuffer:void 0,O=I(Object.keys,Object),U=te(E,"DataView"),$=te(E,"Map"),Y=te(E,"Promise"),Q=te(E,"Set"),xe=te(E,"WeakMap"),ue=!G.call({valueOf:1},"valueOf"),W=pe(U),J=pe($),ce=pe(Y),ge=pe(Q),Ee=pe(xe);function Te(ye){return F.call(ye)}function De(ye){if(!Pe(ye)||H(ye))return!1;var Fe=Ie(ye)||k(ye)?N:b;return Fe.test(pe(ye))}function te(ye,Fe){var Ue=T(ye,Fe);return De(Ue)?Ue:void 0}var ae=Te;(U&&ae(new U(new ArrayBuffer(1)))!=m||$&&ae(new $)!=l||Y&&ae(Y.resolve())!=u||Q&&ae(new Q)!=d||xe&&ae(new xe)!=g)&&(ae=function(ye){var Fe=F.call(ye),Ue=Fe==c?ye.constructor:void 0,Ye=Ue?pe(Ue):void 0;if(Ye)switch(Ye){case W:return m;case J:return l;case ce:return u;case ge:return d;case Ee:return g}return Fe});function H(ye){return!!_&&_ in ye}function ve(ye){var Fe=ye&&ye.constructor,Ue=typeof Fe=="function"&&Fe.prototype||R;return ye===Ue}function pe(ye){if(ye!=null){try{return V.call(ye)}catch(Fe){}try{return ye+""}catch(Fe){}}return""}function ee(ye){return Be(ye)&&D.call(ye,"callee")&&(!G.call(ye,"callee")||F.call(ye)==s)}var ne=Array.isArray;function me(ye){return ye!=null&&Re(ye.length)&&!Ie(ye)}function Be(ye){return he(ye)&&me(ye)}var oe=q||Ce;function be(ye){if(me(ye)&&(ne(ye)||typeof ye=="string"||typeof ye.splice=="function"||oe(ye)||ee(ye)))return!ye.length;var Fe=ae(ye);if(Fe==l||Fe==d)return!ye.size;if(ue||ve(ye))return!O(ye).length;for(var Ue in ye)if(D.call(ye,Ue))return!1;return!0}function Ie(ye){var Fe=Pe(ye)?F.call(ye):"";return Fe==o||Fe==a}function Re(ye){return typeof ye=="number"&&ye>-1&&ye%1==0&&ye<=r}function Pe(ye){var Fe=typeof ye;return!!ye&&(Fe=="object"||Fe=="function")}function he(ye){return!!ye&&typeof ye=="object"}function Ce(){return!1}i.exports=be})(lodash_isempty,lodash_isemptyExports);var objectTag$4="[object Object]";function isHostObject(i){var e=!1;if(i!=null&&typeof i.toString!="function")try{e=!!(i+"")}catch(r){}return e}function overArg$1(i,e){return function(r){return i(e(r))}}var funcProto$2=Function.prototype,objectProto$f=Object.prototype,funcToString$2=funcProto$2.toString,hasOwnProperty$c=objectProto$f.hasOwnProperty,objectCtorString=funcToString$2.call(Object),objectToString$1=objectProto$f.toString,getPrototype$2=overArg$1(Object.getPrototypeOf,Object);function isObjectLike$1(i){return!!i&&typeof i=="object"}function isPlainObject$2(i){if(!isObjectLike$1(i)||objectToString$1.call(i)!=objectTag$4||isHostObject(i))return!1;var e=getPrototype$2(i);if(e===null)return!0;var r=hasOwnProperty$c.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&funcToString$2.call(r)==objectCtorString}var lodash_isplainobject=isPlainObject$2,lodash_transformExports={},lodash_transform={get exports(){return lodash_transformExports},set exports(i){lodash_transformExports=i}};(function(i,e){var r=200,s="Expected a function",o="__lodash_hash_undefined__",a=1,l=2,c=1/0,u=9007199254740991,d="[object Arguments]",g="[object Array]",m="[object Boolean]",y="[object Date]",b="[object Error]",A="[object Function]",S="[object GeneratorFunction]",E="[object Map]",x="[object Number]",P="[object Object]",C="[object Promise]",T="[object RegExp]",k="[object Set]",I="[object String]",M="[object Symbol]",R="[object WeakMap]",B="[object ArrayBuffer]",_="[object DataView]",V="[object Float32Array]",D="[object Float64Array]",F="[object Int8Array]",N="[object Int16Array]",K="[object Int32Array]",G="[object Uint8Array]",q="[object Uint8ClampedArray]",O="[object Uint16Array]",U="[object Uint32Array]",$=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/,Q=/^\./,xe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ue=/[\\^$.*+?()[\]{}|]/g,W=/\\(\\)?/g,J=/^\[object .+?Constructor\]$/,ce=/^(?:0|[1-9]\d*)$/,ge={};ge[V]=ge[D]=ge[F]=ge[N]=ge[K]=ge[G]=ge[q]=ge[O]=ge[U]=!0,ge[d]=ge[g]=ge[B]=ge[m]=ge[_]=ge[y]=ge[b]=ge[A]=ge[E]=ge[x]=ge[P]=ge[T]=ge[k]=ge[I]=ge[R]=!1;var Ee=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,Te=typeof self=="object"&&self&&self.Object===Object&&self,De=Ee||Te||Function("return this")(),te=e&&!e.nodeType&&e,ae=te&&!0&&i&&!i.nodeType&&i,H=ae&&ae.exports===te,ve=H&&Ee.process,pe=function(){try{return ve&&ve.binding("util")}catch(se){}}(),ee=pe&&pe.isTypedArray;function ne(se,Ne){for(var ze=-1,Je=se?se.length:0;++ze<Je&&Ne(se[ze],ze,se)!==!1;);return se}function me(se,Ne){for(var ze=-1,Je=se?se.length:0;++ze<Je;)if(Ne(se[ze],ze,se))return!0;return!1}function Be(se){return function(Ne){return Ne==null?void 0:Ne[se]}}function oe(se,Ne){for(var ze=-1,Je=Array(se);++ze<se;)Je[ze]=Ne(ze);return Je}function be(se){return function(Ne){return se(Ne)}}function Ie(se,Ne){return se==null?void 0:se[Ne]}function Re(se){var Ne=!1;if(se!=null&&typeof se.toString!="function")try{Ne=!!(se+"")}catch(ze){}return Ne}function Pe(se){var Ne=-1,ze=Array(se.size);return se.forEach(function(Je,yt){ze[++Ne]=[yt,Je]}),ze}function he(se,Ne){return function(ze){return se(Ne(ze))}}function Ce(se){var Ne=-1,ze=Array(se.size);return se.forEach(function(Je){ze[++Ne]=Je}),ze}var ye=Array.prototype,Fe=Function.prototype,Ue=Object.prototype,Ye=De["__core-js_shared__"],Ge=function(){var se=/[^.]+$/.exec(Ye&&Ye.keys&&Ye.keys.IE_PROTO||"");return se?"Symbol(src)_1."+se:""}(),Ke=Fe.toString,et=Ue.hasOwnProperty,Ze=Ue.toString,st=RegExp("^"+Ke.call(et).replace(ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vt=De.Symbol,lt=De.Uint8Array,dt=he(Object.getPrototypeOf,Object),Tt=Object.create,ut=Ue.propertyIsEnumerable,pt=ye.splice,Ct=he(Object.keys,Object),Vt=pi(De,"DataView"),Xe=pi(De,"Map"),ie=pi(De,"Promise"),de=pi(De,"Set"),ke=pi(De,"WeakMap"),Oe=pi(Object,"create"),We=di(Vt),nt=di(Xe),mt=di(ie),ht=di(de),qe=di(ke),bt=vt?vt.prototype:void 0,Et=bt?bt.valueOf:void 0,It=bt?bt.toString:void 0;function z(se){var Ne=-1,ze=se?se.length:0;for(this.clear();++Ne<ze;){var Je=se[Ne];this.set(Je[0],Je[1])}}function fe(){this.__data__=Oe?Oe(null):{}}function Z(se){return this.has(se)&&delete this.__data__[se]}function re(se){var Ne=this.__data__;if(Oe){var ze=Ne[se];return ze===o?void 0:ze}return et.call(Ne,se)?Ne[se]:void 0}function we(se){var Ne=this.__data__;return Oe?Ne[se]!==void 0:et.call(Ne,se)}function Se(se,Ne){var ze=this.__data__;return ze[se]=Oe&&Ne===void 0?o:Ne,this}z.prototype.clear=fe,z.prototype.delete=Z,z.prototype.get=re,z.prototype.has=we,z.prototype.set=Se;function Me(se){var Ne=-1,ze=se?se.length:0;for(this.clear();++Ne<ze;){var Je=se[Ne];this.set(Je[0],Je[1])}}function Le(){this.__data__=[]}function He(se){var Ne=this.__data__,ze=Kt(Ne,se);if(ze<0)return!1;var Je=Ne.length-1;return ze==Je?Ne.pop():pt.call(Ne,ze,1),!0}function at(se){var Ne=this.__data__,ze=Kt(Ne,se);return ze<0?void 0:Ne[ze][1]}function rt(se){return Kt(this.__data__,se)>-1}function ft(se,Ne){var ze=this.__data__,Je=Kt(ze,se);return Je<0?ze.push([se,Ne]):ze[Je][1]=Ne,this}Me.prototype.clear=Le,Me.prototype.delete=He,Me.prototype.get=at,Me.prototype.has=rt,Me.prototype.set=ft;function je(se){var Ne=-1,ze=se?se.length:0;for(this.clear();++Ne<ze;){var Je=se[Ne];this.set(Je[0],Je[1])}}function St(){this.__data__={hash:new z,map:new(Xe||Me),string:new z}}function wt(se){return gi(this,se).delete(se)}function Dt(se){return gi(this,se).get(se)}function At(se){return gi(this,se).has(se)}function Bt(se,Ne){return gi(this,se).set(se,Ne),this}je.prototype.clear=St,je.prototype.delete=wt,je.prototype.get=Dt,je.prototype.has=At,je.prototype.set=Bt;function _t(se){var Ne=-1,ze=se?se.length:0;for(this.__data__=new je;++Ne<ze;)this.add(se[Ne])}function ot(se){return this.__data__.set(se,o),this}function $e(se){return this.__data__.has(se)}_t.prototype.add=_t.prototype.push=ot,_t.prototype.has=$e;function it(se){this.__data__=new Me(se)}function gt(){this.__data__=new Me}function Rt(se){return this.__data__.delete(se)}function kt(se){return this.__data__.get(se)}function Nt(se){return this.__data__.has(se)}function Ht(se,Ne){var ze=this.__data__;if(ze instanceof Me){var Je=ze.__data__;if(!Xe||Je.length<r-1)return Je.push([se,Ne]),this;ze=this.__data__=new je(Je)}return ze.set(se,Ne),this}it.prototype.clear=gt,it.prototype.delete=Rt,it.prototype.get=kt,it.prototype.has=Nt,it.prototype.set=Ht;function Ft(se,Ne){var ze=si(se)||Li(se)?oe(se.length,String):[],Je=ze.length,yt=!!Je;for(var ct in se)(Ne||et.call(se,ct))&&!(yt&&(ct=="length"||Di(ct,Je)))&&ze.push(ct);return ze}function Kt(se,Ne){for(var ze=se.length;ze--;)if(Ri(se[ze][0],Ne))return ze;return-1}function ni(se){return mi(se)?Tt(se):{}}var ri=jt();function Yt(se,Ne){return se&&ri(se,Ne,Ai)}function hi(se,Ne){Ne=yi(Ne,se)?[Ne]:Ut(Ne);for(var ze=0,Je=Ne.length;se!=null&&ze<Je;)se=se[vi(Ne[ze++])];return ze&&ze==Je?se:void 0}function $t(se){return Ze.call(se)}function Xt(se,Ne){return se!=null&&Ne in Object(se)}function Jt(se,Ne,ze,Je,yt){return se===Ne?!0:se==null||Ne==null||!mi(se)&&!bi(Ne)?se!==se&&Ne!==Ne:wi(se,Ne,Jt,ze,Je,yt)}function wi(se,Ne,ze,Je,yt,ct){var Pt=si(se),Mt=si(Ne),Lt=g,zt=g;Pt||(Lt=li(se),Lt=Lt==d?P:Lt),Mt||(zt=li(Ne),zt=zt==d?P:zt);var Wt=Lt==P&&!Re(se),Qt=zt==P&&!Re(Ne),qt=Lt==zt;if(qt&&!Wt)return ct||(ct=new it),Pt||Oi(se)?Zt(se,Ne,ze,Je,yt,ct):Wi(se,Ne,Lt,ze,Je,yt,ct);if(!(yt&l)){var ei=Wt&&et.call(se,"__wrapped__"),ti=Qt&&et.call(Ne,"__wrapped__");if(ei||ti){var ci=ei?se.value():se,oi=ti?Ne.value():Ne;return ct||(ct=new it),ze(ci,oi,Je,yt,ct)}}return qt?(ct||(ct=new it),Qi(se,Ne,ze,Je,yt,ct)):!1}function Pi(se,Ne,ze,Je){var yt=ze.length,ct=yt,Pt=!Je;if(se==null)return!ct;for(se=Object(se);yt--;){var Mt=ze[yt];if(Pt&&Mt[2]?Mt[1]!==se[Mt[0]]:!(Mt[0]in se))return!1}for(;++yt<ct;){Mt=ze[yt];var Lt=Mt[0],zt=se[Lt],Wt=Mt[1];if(Pt&&Mt[2]){if(zt===void 0&&!(Lt in se))return!1}else{var Qt=new it;if(Je)var qt=Je(zt,Wt,Lt,se,Ne,Qt);if(!(qt===void 0?Jt(Wt,zt,Je,a|l,Qt):qt))return!1}}return!0}function le(se){if(!mi(se)||$i(se))return!1;var Ne=Ti(se)||Re(se)?st:J;return Ne.test(di(se))}function Ae(se){return bi(se)&&ki(se.length)&&!!ge[Ze.call(se)]}function _e(se){return typeof se=="function"?se:se==null?ln:typeof se=="object"?si(se)?tt(se[0],se[1]):Qe(se):cn(se)}function Ve(se){if(!en(se))return Ct(se);var Ne=[];for(var ze in Object(se))et.call(se,ze)&&ze!="constructor"&&Ne.push(ze);return Ne}function Qe(se){var Ne=Xi(se);return Ne.length==1&&Ne[0][2]?_i(Ne[0][0],Ne[0][1]):function(ze){return ze===se||Pi(ze,se,Ne)}}function tt(se,Ne){return yi(se)&&Ni(Ne)?_i(vi(se),Ne):function(ze){var Je=sn(ze,se);return Je===void 0&&Je===Ne?on(ze,se):Jt(Ne,Je,void 0,a|l)}}function xt(se){return function(Ne){return hi(Ne,se)}}function Gt(se){if(typeof se=="string")return se;if(Mi(se))return It?It.call(se):"";var Ne=se+"";return Ne=="0"&&1/se==-c?"-0":Ne}function Ut(se){return si(se)?se:tn(se)}function jt(se){return function(Ne,ze,Je){for(var yt=-1,ct=Object(Ne),Pt=Je(Ne),Mt=Pt.length;Mt--;){var Lt=Pt[se?Mt:++yt];if(ze(ct[Lt],Lt,ct)===!1)break}return Ne}}function Zt(se,Ne,ze,Je,yt,ct){var Pt=yt&l,Mt=se.length,Lt=Ne.length;if(Mt!=Lt&&!(Pt&&Lt>Mt))return!1;var zt=ct.get(se);if(zt&&ct.get(Ne))return zt==Ne;var Wt=-1,Qt=!0,qt=yt&a?new _t:void 0;for(ct.set(se,Ne),ct.set(Ne,se);++Wt<Mt;){var ei=se[Wt],ti=Ne[Wt];if(Je)var ci=Pt?Je(ti,ei,Wt,Ne,se,ct):Je(ei,ti,Wt,se,Ne,ct);if(ci!==void 0){if(ci)continue;Qt=!1;break}if(qt){if(!me(Ne,function(oi,fi){if(!qt.has(fi)&&(ei===oi||ze(ei,oi,Je,yt,ct)))return qt.add(fi)})){Qt=!1;break}}else if(!(ei===ti||ze(ei,ti,Je,yt,ct))){Qt=!1;break}}return ct.delete(se),ct.delete(Ne),Qt}function Wi(se,Ne,ze,Je,yt,ct,Pt){switch(ze){case _:if(se.byteLength!=Ne.byteLength||se.byteOffset!=Ne.byteOffset)return!1;se=se.buffer,Ne=Ne.buffer;case B:return!(se.byteLength!=Ne.byteLength||!Je(new lt(se),new lt(Ne)));case m:case y:case x:return Ri(+se,+Ne);case b:return se.name==Ne.name&&se.message==Ne.message;case T:case I:return se==Ne+"";case E:var Mt=Pe;case k:var Lt=ct&l;if(Mt||(Mt=Ce),se.size!=Ne.size&&!Lt)return!1;var zt=Pt.get(se);if(zt)return zt==Ne;ct|=a,Pt.set(se,Ne);var Wt=Zt(Mt(se),Mt(Ne),Je,yt,ct,Pt);return Pt.delete(se),Wt;case M:if(Et)return Et.call(se)==Et.call(Ne)}return!1}function Qi(se,Ne,ze,Je,yt,ct){var Pt=yt&l,Mt=Ai(se),Lt=Mt.length,zt=Ai(Ne),Wt=zt.length;if(Lt!=Wt&&!Pt)return!1;for(var Qt=Lt;Qt--;){var qt=Mt[Qt];if(!(Pt?qt in Ne:et.call(Ne,qt)))return!1}var ei=ct.get(se);if(ei&&ct.get(Ne))return ei==Ne;var ti=!0;ct.set(se,Ne),ct.set(Ne,se);for(var ci=Pt;++Qt<Lt;){qt=Mt[Qt];var oi=se[qt],fi=Ne[qt];if(Je)var Vi=Pt?Je(fi,oi,qt,Ne,se,ct):Je(oi,fi,qt,se,Ne,ct);if(!(Vi===void 0?oi===fi||ze(oi,fi,Je,yt,ct):Vi)){ti=!1;break}ci||(ci=qt=="constructor")}if(ti&&!ci){var Si=se.constructor,xi=Ne.constructor;Si!=xi&&"constructor"in se&&"constructor"in Ne&&!(typeof Si=="function"&&Si instanceof Si&&typeof xi=="function"&&xi instanceof xi)&&(ti=!1)}return ct.delete(se),ct.delete(Ne),ti}function gi(se,Ne){var ze=se.__data__;return Zi(Ne)?ze[typeof Ne=="string"?"string":"hash"]:ze.map}function Xi(se){for(var Ne=Ai(se),ze=Ne.length;ze--;){var Je=Ne[ze],yt=se[Je];Ne[ze]=[Je,yt,Ni(yt)]}return Ne}function pi(se,Ne){var ze=Ie(se,Ne);return le(ze)?ze:void 0}var li=$t;(Vt&&li(new Vt(new ArrayBuffer(1)))!=_||Xe&&li(new Xe)!=E||ie&&li(ie.resolve())!=C||de&&li(new de)!=k||ke&&li(new ke)!=R)&&(li=function(se){var Ne=Ze.call(se),ze=Ne==P?se.constructor:void 0,Je=ze?di(ze):void 0;if(Je)switch(Je){case We:return _;case nt:return E;case mt:return C;case ht:return k;case qe:return R}return Ne});function Ji(se,Ne,ze){Ne=yi(Ne,se)?[Ne]:Ut(Ne);for(var Je,yt=-1,Pt=Ne.length;++yt<Pt;){var ct=vi(Ne[yt]);if(!(Je=se!=null&&ze(se,ct)))break;se=se[ct]}if(Je)return Je;var Pt=se?se.length:0;return!!Pt&&ki(Pt)&&Di(ct,Pt)&&(si(se)||Li(se))}function Di(se,Ne){return Ne=Ne==null?u:Ne,!!Ne&&(typeof se=="number"||ce.test(se))&&se>-1&&se%1==0&&se<Ne}function yi(se,Ne){if(si(se))return!1;var ze=typeof se;return ze=="number"||ze=="symbol"||ze=="boolean"||se==null||Mi(se)?!0:Y.test(se)||!$.test(se)||Ne!=null&&se in Object(Ne)}function Zi(se){var Ne=typeof se;return Ne=="string"||Ne=="number"||Ne=="symbol"||Ne=="boolean"?se!=="__proto__":se===null}function $i(se){return!!Ge&&Ge in se}function en(se){var Ne=se&&se.constructor,ze=typeof Ne=="function"&&Ne.prototype||Ue;return se===ze}function Ni(se){return se===se&&!mi(se)}function _i(se,Ne){return function(ze){return ze==null?!1:ze[se]===Ne&&(Ne!==void 0||se in Object(ze))}}var tn=Ci(function(se){se=rn(se);var Ne=[];return Q.test(se)&&Ne.push(""),se.replace(xe,function(ze,Je,yt,ct){Ne.push(yt?ct.replace(W,"$1"):Je||ze)}),Ne});function vi(se){if(typeof se=="string"||Mi(se))return se;var Ne=se+"";return Ne=="0"&&1/se==-c?"-0":Ne}function di(se){if(se!=null){try{return Ke.call(se)}catch(Ne){}try{return se+""}catch(Ne){}}return""}function Ci(se,Ne){if(typeof se!="function"||Ne&&typeof Ne!="function")throw new TypeError(s);var ze=function(){var Je=arguments,yt=Ne?Ne.apply(this,Je):Je[0],ct=ze.cache;if(ct.has(yt))return ct.get(yt);var Pt=se.apply(this,Je);return ze.cache=ct.set(yt,Pt),Pt};return ze.cache=new(Ci.Cache||je),ze}Ci.Cache=je;function Ri(se,Ne){return se===Ne||se!==se&&Ne!==Ne}function Li(se){return nn(se)&&et.call(se,"callee")&&(!ut.call(se,"callee")||Ze.call(se)==d)}var si=Array.isArray;function Fi(se){return se!=null&&ki(se.length)&&!Ti(se)}function nn(se){return bi(se)&&Fi(se)}function Ti(se){var Ne=mi(se)?Ze.call(se):"";return Ne==A||Ne==S}function ki(se){return typeof se=="number"&&se>-1&&se%1==0&&se<=u}function mi(se){var Ne=typeof se;return!!se&&(Ne=="object"||Ne=="function")}function bi(se){return!!se&&typeof se=="object"}function Mi(se){return typeof se=="symbol"||bi(se)&&Ze.call(se)==M}var Oi=ee?be(ee):Ae;function rn(se){return se==null?"":Gt(se)}function sn(se,Ne,ze){var Je=se==null?void 0:hi(se,Ne);return Je===void 0?ze:Je}function on(se,Ne){return se!=null&&Ji(se,Ne,Xt)}function Ai(se){return Fi(se)?Ft(se):Ve(se)}function an(se,Ne,ze){var Je=si(se)||Oi(se);if(Ne=_e(Ne),ze==null)if(Je||mi(se)){var yt=se.constructor;Je?ze=si(se)?new yt:[]:ze=Ti(yt)?ni(dt(se)):{}}else ze={};return(Je?ne:Yt)(se,function(ct,Pt,Mt){return Ne(ze,ct,Pt,Mt)}),ze}function ln(se){return se}function cn(se){return yi(se)?Be(vi(se)):xt(se)}i.exports=an})(lodash_transform,lodash_transformExports);const isEmpty$1=lodash_isemptyExports,isPlainObject$1=lodash_isplainobject,transform=lodash_transformExports;var src=function i(e,{cleanKeys:r=[],cleanValues:s=[],emptyArrays:o=!0,emptyObjects:a=!0,emptyStrings:l=!0,NaNValues:c=!1,nullValues:u=!0,undefinedValues:d=!0}={}){return transform(e,(g,m,y)=>{if(!r.includes(y)&&((Array.isArray(m)||isPlainObject$1(m))&&(m=i(m,{NaNValues:c,cleanKeys:r,cleanValues:s,emptyArrays:o,emptyObjects:a,emptyStrings:l,nullValues:u,undefinedValues:d})),!s.includes(m)&&!(a&&isPlainObject$1(m)&&isEmpty$1(m))&&!(o&&Array.isArray(m)&&!m.length)&&!(l&&m==="")&&!(c&&Number.isNaN(m))&&!(u&&m===null)&&!(d&&m===void 0))){if(Array.isArray(g))return g.push(m);g[y]=m}})};const whiteUrl=()=>({"/sysMusicScoreCategories/queryTree":"/eduMusicScore/queryTree","/sysMusicScoreAccompaniment/queryPage":queryString.parse(location.search).platform?"/sysMusicScoreAccompaniment/queryPage":"/eduMusicScore/queryPage","/sysMusicScoreAccompaniment/queryPageLimit":"/eduMusicScore/queryPageLimit","/sysMusicScoreAccompaniment/querySubjectIds":"/eduMusicScore/querySubjectIds"});whiteUrl();browser();getQuery();const request=extend$1({requestType:"form",timeout:1e4});request.interceptors.request.use((i,e)=>{const r=e.isContentCenter?"/cbs-app":storeData.platformApi;storeData.proxy+r,i=matchProductApiUrl()+i;const s=getToken(),o={};return s&&!e.isContentCenter&&!e.noToken&&(o.Authorization=s),{url:i,options:{...e,params:src(e.params),data:src(e.data),headers:{...e.headers,...o}}}},{global:!1});request.interceptors.response.use(async(i,e)=>{if(i.status>299||i.status<200){const s=i.statusText+", 状态码"+i.status;showToast(s)}const r=await i.clone().json();if(r.code===5e3)return r;if(r.code!==200&&r.errCode!==0){const s=r.msg||r.message||"处理失败,请重试";throw r.code===403||r.code,new Error(s)}return r},{global:!1});var dayjs_minExports={},dayjs_min={get exports(){return dayjs_minExports},set exports(i){dayjs_minExports=i}};(function(i,e){(function(r,s){i.exports=s()})(commonjsGlobal,function(){var r=1e3,s=6e4,o=36e5,a="millisecond",l="second",c="minute",u="hour",d="day",g="week",m="month",y="quarter",b="year",A="date",S="Invalid Date",E=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,x=/\[([^\]]+)]|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,P={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("_"),ordinal:function(F){var N=["th","st","nd","rd"],K=F%100;return"["+F+(N[(K-20)%10]||N[K]||N[0])+"]"}},C=function(F,N,K){var G=String(F);return!G||G.length>=N?F:""+Array(N+1-G.length).join(K)+F},T={s:C,z:function(F){var N=-F.utcOffset(),K=Math.abs(N),G=Math.floor(K/60),q=K%60;return(N<=0?"+":"-")+C(G,2,"0")+":"+C(q,2,"0")},m:function F(N,K){if(N.date()<K.date())return-F(K,N);var G=12*(K.year()-N.year())+(K.month()-N.month()),q=N.clone().add(G,m),O=K-q<0,U=N.clone().add(G+(O?-1:1),m);return+(-(G+(K-q)/(O?q-U:U-q))||0)},a:function(F){return F<0?Math.ceil(F)||0:Math.floor(F)},p:function(F){return{M:m,y:b,w:g,d,D:A,h:u,m:c,s:l,ms:a,Q:y}[F]||String(F||"").toLowerCase().replace(/s$/,"")},u:function(F){return F===void 0}},k="en",I={};I[k]=P;var M=function(F){return F instanceof V},R=function F(N,K,G){var q;if(!N)return k;if(typeof N=="string"){var O=N.toLowerCase();I[O]&&(q=O),K&&(I[O]=K,q=O);var U=N.split("-");if(!q&&U.length>1)return F(U[0])}else{var $=N.name;I[$]=N,q=$}return!G&&q&&(k=q),q||!G&&k},B=function(F,N){if(M(F))return F.clone();var K=typeof N=="object"?N:{};return K.date=F,K.args=arguments,new V(K)},_=T;_.l=R,_.i=M,_.w=function(F,N){return B(F,{locale:N.$L,utc:N.$u,x:N.$x,$offset:N.$offset})};var V=function(){function F(K){this.$L=R(K.locale,null,!0),this.parse(K)}var N=F.prototype;return N.parse=function(K){this.$d=function(G){var q=G.date,O=G.utc;if(q===null)return new Date(NaN);if(_.u(q))return new Date;if(q instanceof Date)return new Date(q);if(typeof q=="string"&&!/Z$/i.test(q)){var U=q.match(E);if(U){var $=U[2]-1||0,Y=(U[7]||"0").substring(0,3);return O?new Date(Date.UTC(U[1],$,U[3]||1,U[4]||0,U[5]||0,U[6]||0,Y)):new Date(U[1],$,U[3]||1,U[4]||0,U[5]||0,U[6]||0,Y)}}return new Date(q)}(K),this.$x=K.x||{},this.init()},N.init=function(){var K=this.$d;this.$y=K.getFullYear(),this.$M=K.getMonth(),this.$D=K.getDate(),this.$W=K.getDay(),this.$H=K.getHours(),this.$m=K.getMinutes(),this.$s=K.getSeconds(),this.$ms=K.getMilliseconds()},N.$utils=function(){return _},N.isValid=function(){return this.$d.toString()!==S},N.isSame=function(K,G){var q=B(K);return this.startOf(G)<=q&&q<=this.endOf(G)},N.isAfter=function(K,G){return B(K)<this.startOf(G)},N.isBefore=function(K,G){return this.endOf(G)<B(K)},N.$g=function(K,G,q){return _.u(K)?this[G]:this.set(q,K)},N.unix=function(){return Math.floor(this.valueOf()/1e3)},N.valueOf=function(){return this.$d.getTime()},N.startOf=function(K,G){var q=this,O=!!_.u(G)||G,U=_.p(K),$=function(ge,Ee){var Te=_.w(q.$u?Date.UTC(q.$y,Ee,ge):new Date(q.$y,Ee,ge),q);return O?Te:Te.endOf(d)},Y=function(ge,Ee){return _.w(q.toDate()[ge].apply(q.toDate("s"),(O?[0,0,0,0]:[23,59,59,999]).slice(Ee)),q)},Q=this.$W,xe=this.$M,ue=this.$D,W="set"+(this.$u?"UTC":"");switch(U){case b:return O?$(1,0):$(31,11);case m:return O?$(1,xe):$(0,xe+1);case g:var J=this.$locale().weekStart||0,ce=(Q<J?Q+7:Q)-J;return $(O?ue-ce:ue+(6-ce),xe);case d:case A:return Y(W+"Hours",0);case u:return Y(W+"Minutes",1);case c:return Y(W+"Seconds",2);case l:return Y(W+"Milliseconds",3);default:return this.clone()}},N.endOf=function(K){return this.startOf(K,!1)},N.$set=function(K,G){var q,O=_.p(K),U="set"+(this.$u?"UTC":""),$=(q={},q[d]=U+"Date",q[A]=U+"Date",q[m]=U+"Month",q[b]=U+"FullYear",q[u]=U+"Hours",q[c]=U+"Minutes",q[l]=U+"Seconds",q[a]=U+"Milliseconds",q)[O],Y=O===d?this.$D+(G-this.$W):G;if(O===m||O===b){var Q=this.clone().set(A,1);Q.$d[$](Y),Q.init(),this.$d=Q.set(A,Math.min(this.$D,Q.daysInMonth())).$d}else $&&this.$d[$](Y);return this.init(),this},N.set=function(K,G){return this.clone().$set(K,G)},N.get=function(K){return this[_.p(K)]()},N.add=function(K,G){var q,O=this;K=Number(K);var U=_.p(G),$=function(xe){var ue=B(O);return _.w(ue.date(ue.date()+Math.round(xe*K)),O)};if(U===m)return this.set(m,this.$M+K);if(U===b)return this.set(b,this.$y+K);if(U===d)return $(1);if(U===g)return $(7);var Y=(q={},q[c]=s,q[u]=o,q[l]=r,q)[U]||1,Q=this.$d.getTime()+K*Y;return _.w(Q,this)},N.subtract=function(K,G){return this.add(-1*K,G)},N.format=function(K){var G=this,q=this.$locale();if(!this.isValid())return q.invalidDate||S;var O=K||"YYYY-MM-DDTHH:mm:ssZ",U=_.z(this),$=this.$H,Y=this.$m,Q=this.$M,xe=q.weekdays,ue=q.months,W=function(Ee,Te,De,te){return Ee&&(Ee[Te]||Ee(G,O))||De[Te].slice(0,te)},J=function(Ee){return _.s($%12||12,Ee,"0")},ce=q.meridiem||function(Ee,Te,De){var te=Ee<12?"AM":"PM";return De?te.toLowerCase():te},ge={YY:String(this.$y).slice(-2),YYYY:this.$y,M:Q+1,MM:_.s(Q+1,2,"0"),MMM:W(q.monthsShort,Q,ue,3),MMMM:W(ue,Q),D:this.$D,DD:_.s(this.$D,2,"0"),d:String(this.$W),dd:W(q.weekdaysMin,this.$W,xe,2),ddd:W(q.weekdaysShort,this.$W,xe,3),dddd:xe[this.$W],H:String($),HH:_.s($,2,"0"),h:J(1),hh:J(2),a:ce($,Y,!0),A:ce($,Y,!1),m:String(Y),mm:_.s(Y,2,"0"),s:String(this.$s),ss:_.s(this.$s,2,"0"),SSS:_.s(this.$ms,3,"0"),Z:U};return O.replace(x,function(Ee,Te){return Te||ge[Ee]||U.replace(":","")})},N.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},N.diff=function(K,G,q){var O,U=_.p(G),$=B(K),Y=($.utcOffset()-this.utcOffset())*s,Q=this-$,xe=_.m(this,$);return xe=(O={},O[b]=xe/12,O[m]=xe,O[y]=xe/3,O[g]=(Q-Y)/6048e5,O[d]=(Q-Y)/864e5,O[u]=Q/o,O[c]=Q/s,O[l]=Q/r,O)[U]||Q,q?xe:_.a(xe)},N.daysInMonth=function(){return this.endOf(m).$D},N.$locale=function(){return I[this.$L]},N.locale=function(K,G){if(!K)return this.$L;var q=this.clone(),O=R(K,G,!0);return O&&(q.$L=O),q},N.clone=function(){return _.w(this.$d,this)},N.toDate=function(){return new Date(this.valueOf())},N.toJSON=function(){return this.isValid()?this.toISOString():null},N.toISOString=function(){return this.$d.toISOString()},N.toString=function(){return this.$d.toUTCString()},F}(),D=V.prototype;return B.prototype=D,[["$ms",a],["$s",l],["$m",c],["$H",u],["$W",d],["$M",m],["$y",b],["$D",A]].forEach(function(F){D[F[1]]=function(N){return this.$g(N,F[0],F[1])}}),B.extend=function(F,N){return F.$i||(F(N,V,B),F.$i=!0),B},B.locale=R,B.isDayjs=M,B.unix=function(F){return B(1e3*F)},B.en=I[k],B.Ls=I,B.p={},B})})(dayjs_min);const dayjs=dayjs_minExports;var durationExports={},duration$1={get exports(){return durationExports},set exports(i){durationExports=i}};(function(i,e){(function(r,s){i.exports=s()})(commonjsGlobal,function(){var r,s,o=1e3,a=6e4,l=36e5,c=864e5,u=/\[([^\]]+)]|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,d=31536e6,g=2592e6,m=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,y={years:d,months:g,days:c,hours:l,minutes:a,seconds:o,milliseconds:1,weeks:6048e5},b=function(k){return k instanceof T},A=function(k,I,M){return new T(k,M,I.$l)},S=function(k){return s.p(k)+"s"},E=function(k){return k<0},x=function(k){return E(k)?Math.ceil(k):Math.floor(k)},P=function(k){return Math.abs(k)},C=function(k,I){return k?E(k)?{negative:!0,format:""+P(k)+I}:{negative:!1,format:""+k+I}:{negative:!1,format:""}},T=function(){function k(M,R,B){var _=this;if(this.$d={},this.$l=B,M===void 0&&(this.$ms=0,this.parseFromMilliseconds()),R)return A(M*y[S(R)],this);if(typeof M=="number")return this.$ms=M,this.parseFromMilliseconds(),this;if(typeof M=="object")return Object.keys(M).forEach(function(F){_.$d[S(F)]=M[F]}),this.calMilliseconds(),this;if(typeof M=="string"){var V=M.match(m);if(V){var D=V.slice(2).map(function(F){return F!=null?Number(F):0});return this.$d.years=D[0],this.$d.months=D[1],this.$d.weeks=D[2],this.$d.days=D[3],this.$d.hours=D[4],this.$d.minutes=D[5],this.$d.seconds=D[6],this.calMilliseconds(),this}}return this}var I=k.prototype;return I.calMilliseconds=function(){var M=this;this.$ms=Object.keys(this.$d).reduce(function(R,B){return R+(M.$d[B]||0)*y[B]},0)},I.parseFromMilliseconds=function(){var M=this.$ms;this.$d.years=x(M/d),M%=d,this.$d.months=x(M/g),M%=g,this.$d.days=x(M/c),M%=c,this.$d.hours=x(M/l),M%=l,this.$d.minutes=x(M/a),M%=a,this.$d.seconds=x(M/o),M%=o,this.$d.milliseconds=M},I.toISOString=function(){var M=C(this.$d.years,"Y"),R=C(this.$d.months,"M"),B=+this.$d.days||0;this.$d.weeks&&(B+=7*this.$d.weeks);var _=C(B,"D"),V=C(this.$d.hours,"H"),D=C(this.$d.minutes,"M"),F=this.$d.seconds||0;this.$d.milliseconds&&(F+=this.$d.milliseconds/1e3);var N=C(F,"S"),K=M.negative||R.negative||_.negative||V.negative||D.negative||N.negative,G=V.format||D.format||N.format?"T":"",q=(K?"-":"")+"P"+M.format+R.format+_.format+G+V.format+D.format+N.format;return q==="P"||q==="-P"?"P0D":q},I.toJSON=function(){return this.toISOString()},I.format=function(M){var R=M||"YYYY-MM-DDTHH:mm:ss",B={Y:this.$d.years,YY:s.s(this.$d.years,2,"0"),YYYY:s.s(this.$d.years,4,"0"),M:this.$d.months,MM:s.s(this.$d.months,2,"0"),D:this.$d.days,DD:s.s(this.$d.days,2,"0"),H:this.$d.hours,HH:s.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:s.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:s.s(this.$d.seconds,2,"0"),SSS:s.s(this.$d.milliseconds,3,"0")};return R.replace(u,function(_,V){return V||String(B[_])})},I.as=function(M){return this.$ms/y[S(M)]},I.get=function(M){var R=this.$ms,B=S(M);return B==="milliseconds"?R%=1e3:R=B==="weeks"?x(R/y[B]):this.$d[B],R===0?0:R},I.add=function(M,R,B){var _;return _=R?M*y[S(R)]:b(M)?M.$ms:A(M,this).$ms,A(this.$ms+_*(B?-1:1),this)},I.subtract=function(M,R){return this.add(M,R,!0)},I.locale=function(M){var R=this.clone();return R.$l=M,R},I.clone=function(){return A(this.$ms,this)},I.humanize=function(M){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!M)},I.milliseconds=function(){return this.get("milliseconds")},I.asMilliseconds=function(){return this.as("milliseconds")},I.seconds=function(){return this.get("seconds")},I.asSeconds=function(){return this.as("seconds")},I.minutes=function(){return this.get("minutes")},I.asMinutes=function(){return this.as("minutes")},I.hours=function(){return this.get("hours")},I.asHours=function(){return this.as("hours")},I.days=function(){return this.get("days")},I.asDays=function(){return this.as("days")},I.weeks=function(){return this.get("weeks")},I.asWeeks=function(){return this.as("weeks")},I.months=function(){return this.get("months")},I.asMonths=function(){return this.as("months")},I.years=function(){return this.get("years")},I.asYears=function(){return this.as("years")},k}();return function(k,I,M){r=M,s=M().$utils(),M.duration=function(_,V){var D=M.locale();return A(_,{$l:D},V)},M.isDuration=b;var R=I.prototype.add,B=I.prototype.subtract;I.prototype.add=function(_,V){return b(_)&&(_=_.asMilliseconds()),R.bind(this)(_,V)},I.prototype.subtract=function(_,V){return b(_)&&(_=_.asMilliseconds()),B.bind(this)(_,V)}}})})(duration$1);const duration=durationExports;var howler={};/*!
  19. * howler.js v2.2.3
  20. * howlerjs.com
  21. *
  22. * (c) 2013-2020, James Simpson of GoldFire Studios
  23. * goldfirestudios.com
  24. *
  25. * MIT License
  26. */(function(i){(function(){var e=function(){this.init()};e.prototype={init:function(){var m=this||r;return m._counter=1e3,m._html5AudioPool=[],m.html5PoolSize=10,m._codecs={},m._howls=[],m._muted=!1,m._volume=1,m._canPlayEvent="canplaythrough",m._navigator=typeof window<"u"&&window.navigator?window.navigator:null,m.masterGain=null,m.noAudio=!1,m.usingWebAudio=!0,m.autoSuspend=!0,m.ctx=null,m.autoUnlock=!0,m._setup(),m},volume:function(m){var y=this||r;if(m=parseFloat(m),y.ctx||g(),typeof m<"u"&&m>=0&&m<=1){if(y._volume=m,y._muted)return y;y.usingWebAudio&&y.masterGain.gain.setValueAtTime(m,r.ctx.currentTime);for(var b=0;b<y._howls.length;b++)if(!y._howls[b]._webAudio)for(var A=y._howls[b]._getSoundIds(),S=0;S<A.length;S++){var E=y._howls[b]._soundById(A[S]);E&&E._node&&(E._node.volume=E._volume*m)}return y}return y._volume},mute:function(m){var y=this||r;y.ctx||g(),y._muted=m,y.usingWebAudio&&y.masterGain.gain.setValueAtTime(m?0:y._volume,r.ctx.currentTime);for(var b=0;b<y._howls.length;b++)if(!y._howls[b]._webAudio)for(var A=y._howls[b]._getSoundIds(),S=0;S<A.length;S++){var E=y._howls[b]._soundById(A[S]);E&&E._node&&(E._node.muted=m?!0:E._muted)}return y},stop:function(){for(var m=this||r,y=0;y<m._howls.length;y++)m._howls[y].stop();return m},unload:function(){for(var m=this||r,y=m._howls.length-1;y>=0;y--)m._howls[y].unload();return m.usingWebAudio&&m.ctx&&typeof m.ctx.close<"u"&&(m.ctx.close(),m.ctx=null,g()),m},codecs:function(m){return(this||r)._codecs[m.replace(/^x-/,"")]},_setup:function(){var m=this||r;if(m.state=m.ctx&&m.ctx.state||"suspended",m._autoSuspend(),!m.usingWebAudio)if(typeof Audio<"u")try{var y=new Audio;typeof y.oncanplaythrough>"u"&&(m._canPlayEvent="canplay")}catch(b){m.noAudio=!0}else m.noAudio=!0;try{var y=new Audio;y.muted&&(m.noAudio=!0)}catch(b){}return m.noAudio||m._setupCodecs(),m},_setupCodecs:function(){var m=this||r,y=null;try{y=typeof Audio<"u"?new Audio:null}catch(T){return m}if(!y||typeof y.canPlayType!="function")return m;var b=y.canPlayType("audio/mpeg;").replace(/^no$/,""),A=m._navigator?m._navigator.userAgent:"",S=A.match(/OPR\/([0-6].)/g),E=S&&parseInt(S[0].split("/")[1],10)<33,x=A.indexOf("Safari")!==-1&&A.indexOf("Chrome")===-1,P=A.match(/Version\/(.*?) /),C=x&&P&&parseInt(P[1],10)<15;return m._codecs={mp3:!!(!E&&(b||y.canPlayType("audio/mp3;").replace(/^no$/,""))),mpeg:!!b,opus:!!y.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!y.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!y.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(y.canPlayType('audio/wav; codecs="1"')||y.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!y.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!y.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(y.canPlayType("audio/x-m4a;")||y.canPlayType("audio/m4a;")||y.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(y.canPlayType("audio/x-m4b;")||y.canPlayType("audio/m4b;")||y.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(y.canPlayType("audio/x-mp4;")||y.canPlayType("audio/mp4;")||y.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!!(!C&&y.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!!(!C&&y.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!y.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(y.canPlayType("audio/x-flac;")||y.canPlayType("audio/flac;")).replace(/^no$/,"")},m},_unlockAudio:function(){var m=this||r;if(!(m._audioUnlocked||!m.ctx)){m._audioUnlocked=!1,m.autoUnlock=!1,!m._mobileUnloaded&&m.ctx.sampleRate!==44100&&(m._mobileUnloaded=!0,m.unload()),m._scratchBuffer=m.ctx.createBuffer(1,1,22050);var y=function(b){for(;m._html5AudioPool.length<m.html5PoolSize;)try{var A=new Audio;A._unlocked=!0,m._releaseHtml5Audio(A)}catch(T){m.noAudio=!0;break}for(var S=0;S<m._howls.length;S++)if(!m._howls[S]._webAudio)for(var E=m._howls[S]._getSoundIds(),x=0;x<E.length;x++){var P=m._howls[S]._soundById(E[x]);P&&P._node&&!P._node._unlocked&&(P._node._unlocked=!0,P._node.load())}m._autoResume();var C=m.ctx.createBufferSource();C.buffer=m._scratchBuffer,C.connect(m.ctx.destination),typeof C.start>"u"?C.noteOn(0):C.start(0),typeof m.ctx.resume=="function"&&m.ctx.resume(),C.onended=function(){C.disconnect(0),m._audioUnlocked=!0,document.removeEventListener("touchstart",y,!0),document.removeEventListener("touchend",y,!0),document.removeEventListener("click",y,!0),document.removeEventListener("keydown",y,!0);for(var T=0;T<m._howls.length;T++)m._howls[T]._emit("unlock")}};return document.addEventListener("touchstart",y,!0),document.addEventListener("touchend",y,!0),document.addEventListener("click",y,!0),document.addEventListener("keydown",y,!0),m}},_obtainHtml5Audio:function(){var m=this||r;if(m._html5AudioPool.length)return m._html5AudioPool.pop();var y=new Audio().play();return y&&typeof Promise<"u"&&(y instanceof Promise||typeof y.then=="function")&&y.catch(function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")}),new Audio},_releaseHtml5Audio:function(m){var y=this||r;return m._unlocked&&y._html5AudioPool.push(m),y},_autoSuspend:function(){var m=this;if(!(!m.autoSuspend||!m.ctx||typeof m.ctx.suspend>"u"||!r.usingWebAudio)){for(var y=0;y<m._howls.length;y++)if(m._howls[y]._webAudio){for(var b=0;b<m._howls[y]._sounds.length;b++)if(!m._howls[y]._sounds[b]._paused)return m}return m._suspendTimer&&clearTimeout(m._suspendTimer),m._suspendTimer=setTimeout(function(){if(m.autoSuspend){m._suspendTimer=null,m.state="suspending";var A=function(){m.state="suspended",m._resumeAfterSuspend&&(delete m._resumeAfterSuspend,m._autoResume())};m.ctx.suspend().then(A,A)}},3e4),m}},_autoResume:function(){var m=this;if(!(!m.ctx||typeof m.ctx.resume>"u"||!r.usingWebAudio))return m.state==="running"&&m.ctx.state!=="interrupted"&&m._suspendTimer?(clearTimeout(m._suspendTimer),m._suspendTimer=null):m.state==="suspended"||m.state==="running"&&m.ctx.state==="interrupted"?(m.ctx.resume().then(function(){m.state="running";for(var y=0;y<m._howls.length;y++)m._howls[y]._emit("resume")}),m._suspendTimer&&(clearTimeout(m._suspendTimer),m._suspendTimer=null)):m.state==="suspending"&&(m._resumeAfterSuspend=!0),m}};var r=new e,s=function(m){var y=this;if(!m.src||m.src.length===0){console.error("An array of source files must be passed with any new Howl.");return}y.init(m)};s.prototype={init:function(m){var y=this;return r.ctx||g(),y._autoplay=m.autoplay||!1,y._format=typeof m.format!="string"?m.format:[m.format],y._html5=m.html5||!1,y._muted=m.mute||!1,y._loop=m.loop||!1,y._pool=m.pool||5,y._preload=typeof m.preload=="boolean"||m.preload==="metadata"?m.preload:!0,y._rate=m.rate||1,y._sprite=m.sprite||{},y._src=typeof m.src!="string"?m.src:[m.src],y._volume=m.volume!==void 0?m.volume:1,y._xhr={method:m.xhr&&m.xhr.method?m.xhr.method:"GET",headers:m.xhr&&m.xhr.headers?m.xhr.headers:null,withCredentials:m.xhr&&m.xhr.withCredentials?m.xhr.withCredentials:!1},y._duration=0,y._state="unloaded",y._sounds=[],y._endTimers={},y._queue=[],y._playLock=!1,y._onend=m.onend?[{fn:m.onend}]:[],y._onfade=m.onfade?[{fn:m.onfade}]:[],y._onload=m.onload?[{fn:m.onload}]:[],y._onloaderror=m.onloaderror?[{fn:m.onloaderror}]:[],y._onplayerror=m.onplayerror?[{fn:m.onplayerror}]:[],y._onpause=m.onpause?[{fn:m.onpause}]:[],y._onplay=m.onplay?[{fn:m.onplay}]:[],y._onstop=m.onstop?[{fn:m.onstop}]:[],y._onmute=m.onmute?[{fn:m.onmute}]:[],y._onvolume=m.onvolume?[{fn:m.onvolume}]:[],y._onrate=m.onrate?[{fn:m.onrate}]:[],y._onseek=m.onseek?[{fn:m.onseek}]:[],y._onunlock=m.onunlock?[{fn:m.onunlock}]:[],y._onresume=[],y._webAudio=r.usingWebAudio&&!y._html5,typeof r.ctx<"u"&&r.ctx&&r.autoUnlock&&r._unlockAudio(),r._howls.push(y),y._autoplay&&y._queue.push({event:"play",action:function(){y.play()}}),y._preload&&y._preload!=="none"&&y.load(),y},load:function(){var m=this,y=null;if(r.noAudio){m._emit("loaderror",null,"No audio support.");return}typeof m._src=="string"&&(m._src=[m._src]);for(var b=0;b<m._src.length;b++){var A,S;if(m._format&&m._format[b])A=m._format[b];else{if(S=m._src[b],typeof S!="string"){m._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}A=/^data:audio\/([^;,]+);/i.exec(S),A||(A=/\.([^.]+)$/.exec(S.split("?",1)[0])),A&&(A=A[1].toLowerCase())}if(A||console.warn('No file extension was found. Consider using the "format" property or specify an extension.'),A&&r.codecs(A)){y=m._src[b];break}}if(!y){m._emit("loaderror",null,"No codec support for selected audio sources.");return}return m._src=y,m._state="loading",window.location.protocol==="https:"&&y.slice(0,5)==="http:"&&(m._html5=!0,m._webAudio=!1),new o(m),m._webAudio&&l(m),m},play:function(m,y){var b=this,A=null;if(typeof m=="number")A=m,m=null;else{if(typeof m=="string"&&b._state==="loaded"&&!b._sprite[m])return null;if(typeof m>"u"&&(m="__default",!b._playLock)){for(var S=0,E=0;E<b._sounds.length;E++)b._sounds[E]._paused&&!b._sounds[E]._ended&&(S++,A=b._sounds[E]._id);S===1?m=null:A=null}}var x=A?b._soundById(A):b._inactiveSound();if(!x)return null;if(A&&!m&&(m=x._sprite||"__default"),b._state!=="loaded"){x._sprite=m,x._ended=!1;var P=x._id;return b._queue.push({event:"play",action:function(){b.play(P)}}),P}if(A&&!x._paused)return y||b._loadQueue("play"),x._id;b._webAudio&&r._autoResume();var C=Math.max(0,x._seek>0?x._seek:b._sprite[m][0]/1e3),T=Math.max(0,(b._sprite[m][0]+b._sprite[m][1])/1e3-C),k=T*1e3/Math.abs(x._rate),I=b._sprite[m][0]/1e3,M=(b._sprite[m][0]+b._sprite[m][1])/1e3;x._sprite=m,x._ended=!1;var R=function(){x._paused=!1,x._seek=C,x._start=I,x._stop=M,x._loop=!!(x._loop||b._sprite[m][2])};if(C>=M){b._ended(x);return}var B=x._node;if(b._webAudio){var _=function(){b._playLock=!1,R(),b._refreshBuffer(x);var N=x._muted||b._muted?0:x._volume;B.gain.setValueAtTime(N,r.ctx.currentTime),x._playStart=r.ctx.currentTime,typeof B.bufferSource.start>"u"?x._loop?B.bufferSource.noteGrainOn(0,C,86400):B.bufferSource.noteGrainOn(0,C,T):x._loop?B.bufferSource.start(0,C,86400):B.bufferSource.start(0,C,T),k!==1/0&&(b._endTimers[x._id]=setTimeout(b._ended.bind(b,x),k)),y||setTimeout(function(){b._emit("play",x._id),b._loadQueue()},0)};r.state==="running"&&r.ctx.state!=="interrupted"?_():(b._playLock=!0,b.once("resume",_),b._clearTimer(x._id))}else{var V=function(){B.currentTime=C,B.muted=x._muted||b._muted||r._muted||B.muted,B.volume=x._volume*r.volume(),B.playbackRate=x._rate;try{var N=B.play();if(N&&typeof Promise<"u"&&(N instanceof Promise||typeof N.then=="function")?(b._playLock=!0,R(),N.then(function(){b._playLock=!1,B._unlocked=!0,y?b._loadQueue():b._emit("play",x._id)}).catch(function(){b._playLock=!1,b._emit("playerror",x._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."),x._ended=!0,x._paused=!0})):y||(b._playLock=!1,R(),b._emit("play",x._id)),B.playbackRate=x._rate,B.paused){b._emit("playerror",x._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}m!=="__default"||x._loop?b._endTimers[x._id]=setTimeout(b._ended.bind(b,x),k):(b._endTimers[x._id]=function(){b._ended(x),B.removeEventListener("ended",b._endTimers[x._id],!1)},B.addEventListener("ended",b._endTimers[x._id],!1))}catch(K){b._emit("playerror",x._id,K)}};B.src==="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"&&(B.src=b._src,B.load());var D=window&&window.ejecta||!B.readyState&&r._navigator.isCocoonJS;if(B.readyState>=3||D)V();else{b._playLock=!0,b._state="loading";var F=function(){b._state="loaded",V(),B.removeEventListener(r._canPlayEvent,F,!1)};B.addEventListener(r._canPlayEvent,F,!1),b._clearTimer(x._id)}}return x._id},pause:function(m){var y=this;if(y._state!=="loaded"||y._playLock)return y._queue.push({event:"pause",action:function(){y.pause(m)}}),y;for(var b=y._getSoundIds(m),A=0;A<b.length;A++){y._clearTimer(b[A]);var S=y._soundById(b[A]);if(S&&!S._paused&&(S._seek=y.seek(b[A]),S._rateSeek=0,S._paused=!0,y._stopFade(b[A]),S._node))if(y._webAudio){if(!S._node.bufferSource)continue;typeof S._node.bufferSource.stop>"u"?S._node.bufferSource.noteOff(0):S._node.bufferSource.stop(0),y._cleanBuffer(S._node)}else(!isNaN(S._node.duration)||S._node.duration===1/0)&&S._node.pause();arguments[1]||y._emit("pause",S?S._id:null)}return y},stop:function(m,y){var b=this;if(b._state!=="loaded"||b._playLock)return b._queue.push({event:"stop",action:function(){b.stop(m)}}),b;for(var A=b._getSoundIds(m),S=0;S<A.length;S++){b._clearTimer(A[S]);var E=b._soundById(A[S]);E&&(E._seek=E._start||0,E._rateSeek=0,E._paused=!0,E._ended=!0,b._stopFade(A[S]),E._node&&(b._webAudio?E._node.bufferSource&&(typeof E._node.bufferSource.stop>"u"?E._node.bufferSource.noteOff(0):E._node.bufferSource.stop(0),b._cleanBuffer(E._node)):(!isNaN(E._node.duration)||E._node.duration===1/0)&&(E._node.currentTime=E._start||0,E._node.pause(),E._node.duration===1/0&&b._clearSound(E._node))),y||b._emit("stop",E._id))}return b},mute:function(m,y){var b=this;if(b._state!=="loaded"||b._playLock)return b._queue.push({event:"mute",action:function(){b.mute(m,y)}}),b;if(typeof y>"u")if(typeof m=="boolean")b._muted=m;else return b._muted;for(var A=b._getSoundIds(y),S=0;S<A.length;S++){var E=b._soundById(A[S]);E&&(E._muted=m,E._interval&&b._stopFade(E._id),b._webAudio&&E._node?E._node.gain.setValueAtTime(m?0:E._volume,r.ctx.currentTime):E._node&&(E._node.muted=r._muted?!0:m),b._emit("mute",E._id))}return b},volume:function(){var m=this,y=arguments,b,A;if(y.length===0)return m._volume;if(y.length===1||y.length===2&&typeof y[1]>"u"){var S=m._getSoundIds(),E=S.indexOf(y[0]);E>=0?A=parseInt(y[0],10):b=parseFloat(y[0])}else y.length>=2&&(b=parseFloat(y[0]),A=parseInt(y[1],10));var x;if(typeof b<"u"&&b>=0&&b<=1){if(m._state!=="loaded"||m._playLock)return m._queue.push({event:"volume",action:function(){m.volume.apply(m,y)}}),m;typeof A>"u"&&(m._volume=b),A=m._getSoundIds(A);for(var P=0;P<A.length;P++)x=m._soundById(A[P]),x&&(x._volume=b,y[2]||m._stopFade(A[P]),m._webAudio&&x._node&&!x._muted?x._node.gain.setValueAtTime(b,r.ctx.currentTime):x._node&&!x._muted&&(x._node.volume=b*r.volume()),m._emit("volume",x._id))}else return x=A?m._soundById(A):m._sounds[0],x?x._volume:0;return m},fade:function(m,y,b,A){var S=this;if(S._state!=="loaded"||S._playLock)return S._queue.push({event:"fade",action:function(){S.fade(m,y,b,A)}}),S;m=Math.min(Math.max(0,parseFloat(m)),1),y=Math.min(Math.max(0,parseFloat(y)),1),b=parseFloat(b),S.volume(m,A);for(var E=S._getSoundIds(A),x=0;x<E.length;x++){var P=S._soundById(E[x]);if(P){if(A||S._stopFade(E[x]),S._webAudio&&!P._muted){var C=r.ctx.currentTime,T=C+b/1e3;P._volume=m,P._node.gain.setValueAtTime(m,C),P._node.gain.linearRampToValueAtTime(y,T)}S._startFadeInterval(P,m,y,b,E[x],typeof A>"u")}}return S},_startFadeInterval:function(m,y,b,A,S,E){var x=this,P=y,C=b-y,T=Math.abs(C/.01),k=Math.max(4,T>0?A/T:A),I=Date.now();m._fadeTo=b,m._interval=setInterval(function(){var M=(Date.now()-I)/A;I=Date.now(),P+=C*M,P=Math.round(P*100)/100,C<0?P=Math.max(b,P):P=Math.min(b,P),x._webAudio?m._volume=P:x.volume(P,m._id,!0),E&&(x._volume=P),(b<y&&P<=b||b>y&&P>=b)&&(clearInterval(m._interval),m._interval=null,m._fadeTo=null,x.volume(b,m._id),x._emit("fade",m._id))},k)},_stopFade:function(m){var y=this,b=y._soundById(m);return b&&b._interval&&(y._webAudio&&b._node.gain.cancelScheduledValues(r.ctx.currentTime),clearInterval(b._interval),b._interval=null,y.volume(b._fadeTo,m),b._fadeTo=null,y._emit("fade",m)),y},loop:function(){var m=this,y=arguments,b,A,S;if(y.length===0)return m._loop;if(y.length===1)if(typeof y[0]=="boolean")b=y[0],m._loop=b;else return S=m._soundById(parseInt(y[0],10)),S?S._loop:!1;else y.length===2&&(b=y[0],A=parseInt(y[1],10));for(var E=m._getSoundIds(A),x=0;x<E.length;x++)S=m._soundById(E[x]),S&&(S._loop=b,m._webAudio&&S._node&&S._node.bufferSource&&(S._node.bufferSource.loop=b,b&&(S._node.bufferSource.loopStart=S._start||0,S._node.bufferSource.loopEnd=S._stop,m.playing(E[x])&&(m.pause(E[x],!0),m.play(E[x],!0)))));return m},rate:function(){var m=this,y=arguments,b,A;if(y.length===0)A=m._sounds[0]._id;else if(y.length===1){var S=m._getSoundIds(),E=S.indexOf(y[0]);E>=0?A=parseInt(y[0],10):b=parseFloat(y[0])}else y.length===2&&(b=parseFloat(y[0]),A=parseInt(y[1],10));var x;if(typeof b=="number"){if(m._state!=="loaded"||m._playLock)return m._queue.push({event:"rate",action:function(){m.rate.apply(m,y)}}),m;typeof A>"u"&&(m._rate=b),A=m._getSoundIds(A);for(var P=0;P<A.length;P++)if(x=m._soundById(A[P]),x){m.playing(A[P])&&(x._rateSeek=m.seek(A[P]),x._playStart=m._webAudio?r.ctx.currentTime:x._playStart),x._rate=b,m._webAudio&&x._node&&x._node.bufferSource?x._node.bufferSource.playbackRate.setValueAtTime(b,r.ctx.currentTime):x._node&&(x._node.playbackRate=b);var C=m.seek(A[P]),T=(m._sprite[x._sprite][0]+m._sprite[x._sprite][1])/1e3-C,k=T*1e3/Math.abs(x._rate);(m._endTimers[A[P]]||!x._paused)&&(m._clearTimer(A[P]),m._endTimers[A[P]]=setTimeout(m._ended.bind(m,x),k)),m._emit("rate",x._id)}}else return x=m._soundById(A),x?x._rate:m._rate;return m},seek:function(){var m=this,y=arguments,b,A;if(y.length===0)m._sounds.length&&(A=m._sounds[0]._id);else if(y.length===1){var S=m._getSoundIds(),E=S.indexOf(y[0]);E>=0?A=parseInt(y[0],10):m._sounds.length&&(A=m._sounds[0]._id,b=parseFloat(y[0]))}else y.length===2&&(b=parseFloat(y[0]),A=parseInt(y[1],10));if(typeof A>"u")return 0;if(typeof b=="number"&&(m._state!=="loaded"||m._playLock))return m._queue.push({event:"seek",action:function(){m.seek.apply(m,y)}}),m;var x=m._soundById(A);if(x)if(typeof b=="number"&&b>=0){var P=m.playing(A);P&&m.pause(A,!0),x._seek=b,x._ended=!1,m._clearTimer(A),!m._webAudio&&x._node&&!isNaN(x._node.duration)&&(x._node.currentTime=b);var C=function(){P&&m.play(A,!0),m._emit("seek",A)};if(P&&!m._webAudio){var T=function(){m._playLock?setTimeout(T,0):C()};setTimeout(T,0)}else C()}else if(m._webAudio){var k=m.playing(A)?r.ctx.currentTime-x._playStart:0,I=x._rateSeek?x._rateSeek-x._seek:0;return x._seek+(I+k*Math.abs(x._rate))}else return x._node.currentTime;return m},playing:function(m){var y=this;if(typeof m=="number"){var b=y._soundById(m);return b?!b._paused:!1}for(var A=0;A<y._sounds.length;A++)if(!y._sounds[A]._paused)return!0;return!1},duration:function(m){var y=this,b=y._duration,A=y._soundById(m);return A&&(b=y._sprite[A._sprite][1]/1e3),b},state:function(){return this._state},unload:function(){for(var m=this,y=m._sounds,b=0;b<y.length;b++)y[b]._paused||m.stop(y[b]._id),m._webAudio||(m._clearSound(y[b]._node),y[b]._node.removeEventListener("error",y[b]._errorFn,!1),y[b]._node.removeEventListener(r._canPlayEvent,y[b]._loadFn,!1),y[b]._node.removeEventListener("ended",y[b]._endFn,!1),r._releaseHtml5Audio(y[b]._node)),delete y[b]._node,m._clearTimer(y[b]._id);var A=r._howls.indexOf(m);A>=0&&r._howls.splice(A,1);var S=!0;for(b=0;b<r._howls.length;b++)if(r._howls[b]._src===m._src||m._src.indexOf(r._howls[b]._src)>=0){S=!1;break}return a&&S&&delete a[m._src],r.noAudio=!1,m._state="unloaded",m._sounds=[],m=null,null},on:function(m,y,b,A){var S=this,E=S["_on"+m];return typeof y=="function"&&E.push(A?{id:b,fn:y,once:A}:{id:b,fn:y}),S},off:function(m,y,b){var A=this,S=A["_on"+m],E=0;if(typeof y=="number"&&(b=y,y=null),y||b)for(E=0;E<S.length;E++){var x=b===S[E].id;if(y===S[E].fn&&x||!y&&x){S.splice(E,1);break}}else if(m)A["_on"+m]=[];else{var P=Object.keys(A);for(E=0;E<P.length;E++)P[E].indexOf("_on")===0&&Array.isArray(A[P[E]])&&(A[P[E]]=[])}return A},once:function(m,y,b){var A=this;return A.on(m,y,b,1),A},_emit:function(m,y,b){for(var A=this,S=A["_on"+m],E=S.length-1;E>=0;E--)(!S[E].id||S[E].id===y||m==="load")&&(setTimeout(function(x){x.call(this,y,b)}.bind(A,S[E].fn),0),S[E].once&&A.off(m,S[E].fn,S[E].id));return A._loadQueue(m),A},_loadQueue:function(m){var y=this;if(y._queue.length>0){var b=y._queue[0];b.event===m&&(y._queue.shift(),y._loadQueue()),m||b.action()}return y},_ended:function(m){var y=this,b=m._sprite;if(!y._webAudio&&m._node&&!m._node.paused&&!m._node.ended&&m._node.currentTime<m._stop)return setTimeout(y._ended.bind(y,m),100),y;var A=!!(m._loop||y._sprite[b][2]);if(y._emit("end",m._id),!y._webAudio&&A&&y.stop(m._id,!0).play(m._id),y._webAudio&&A){y._emit("play",m._id),m._seek=m._start||0,m._rateSeek=0,m._playStart=r.ctx.currentTime;var S=(m._stop-m._start)*1e3/Math.abs(m._rate);y._endTimers[m._id]=setTimeout(y._ended.bind(y,m),S)}return y._webAudio&&!A&&(m._paused=!0,m._ended=!0,m._seek=m._start||0,m._rateSeek=0,y._clearTimer(m._id),y._cleanBuffer(m._node),r._autoSuspend()),!y._webAudio&&!A&&y.stop(m._id,!0),y},_clearTimer:function(m){var y=this;if(y._endTimers[m]){if(typeof y._endTimers[m]!="function")clearTimeout(y._endTimers[m]);else{var b=y._soundById(m);b&&b._node&&b._node.removeEventListener("ended",y._endTimers[m],!1)}delete y._endTimers[m]}return y},_soundById:function(m){for(var y=this,b=0;b<y._sounds.length;b++)if(m===y._sounds[b]._id)return y._sounds[b];return null},_inactiveSound:function(){var m=this;m._drain();for(var y=0;y<m._sounds.length;y++)if(m._sounds[y]._ended)return m._sounds[y].reset();return new o(m)},_drain:function(){var m=this,y=m._pool,b=0,A=0;if(!(m._sounds.length<y)){for(A=0;A<m._sounds.length;A++)m._sounds[A]._ended&&b++;for(A=m._sounds.length-1;A>=0;A--){if(b<=y)return;m._sounds[A]._ended&&(m._webAudio&&m._sounds[A]._node&&m._sounds[A]._node.disconnect(0),m._sounds.splice(A,1),b--)}}},_getSoundIds:function(m){var y=this;if(typeof m>"u"){for(var b=[],A=0;A<y._sounds.length;A++)b.push(y._sounds[A]._id);return b}else return[m]},_refreshBuffer:function(m){var y=this;return m._node.bufferSource=r.ctx.createBufferSource(),m._node.bufferSource.buffer=a[y._src],m._panner?m._node.bufferSource.connect(m._panner):m._node.bufferSource.connect(m._node),m._node.bufferSource.loop=m._loop,m._loop&&(m._node.bufferSource.loopStart=m._start||0,m._node.bufferSource.loopEnd=m._stop||0),m._node.bufferSource.playbackRate.setValueAtTime(m._rate,r.ctx.currentTime),y},_cleanBuffer:function(m){var y=this,b=r._navigator&&r._navigator.vendor.indexOf("Apple")>=0;if(r._scratchBuffer&&m.bufferSource&&(m.bufferSource.onended=null,m.bufferSource.disconnect(0),b))try{m.bufferSource.buffer=r._scratchBuffer}catch(A){}return m.bufferSource=null,y},_clearSound:function(m){var y=/MSIE |Trident\//.test(r._navigator&&r._navigator.userAgent);y||(m.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var o=function(m){this._parent=m,this.init()};o.prototype={init:function(){var m=this,y=m._parent;return m._muted=y._muted,m._loop=y._loop,m._volume=y._volume,m._rate=y._rate,m._seek=0,m._paused=!0,m._ended=!0,m._sprite="__default",m._id=++r._counter,y._sounds.push(m),m.create(),m},create:function(){var m=this,y=m._parent,b=r._muted||m._muted||m._parent._muted?0:m._volume;return y._webAudio?(m._node=typeof r.ctx.createGain>"u"?r.ctx.createGainNode():r.ctx.createGain(),m._node.gain.setValueAtTime(b,r.ctx.currentTime),m._node.paused=!0,m._node.connect(r.masterGain)):r.noAudio||(m._node=r._obtainHtml5Audio(),m._errorFn=m._errorListener.bind(m),m._node.addEventListener("error",m._errorFn,!1),m._loadFn=m._loadListener.bind(m),m._node.addEventListener(r._canPlayEvent,m._loadFn,!1),m._endFn=m._endListener.bind(m),m._node.addEventListener("ended",m._endFn,!1),m._node.src=y._src,m._node.preload=y._preload===!0?"auto":y._preload,m._node.volume=b*r.volume(),m._node.load()),m},reset:function(){var m=this,y=m._parent;return m._muted=y._muted,m._loop=y._loop,m._volume=y._volume,m._rate=y._rate,m._seek=0,m._rateSeek=0,m._paused=!0,m._ended=!0,m._sprite="__default",m._id=++r._counter,m},_errorListener:function(){var m=this;m._parent._emit("loaderror",m._id,m._node.error?m._node.error.code:0),m._node.removeEventListener("error",m._errorFn,!1)},_loadListener:function(){var m=this,y=m._parent;y._duration=Math.ceil(m._node.duration*10)/10,Object.keys(y._sprite).length===0&&(y._sprite={__default:[0,y._duration*1e3]}),y._state!=="loaded"&&(y._state="loaded",y._emit("load"),y._loadQueue()),m._node.removeEventListener(r._canPlayEvent,m._loadFn,!1)},_endListener:function(){var m=this,y=m._parent;y._duration===1/0&&(y._duration=Math.ceil(m._node.duration*10)/10,y._sprite.__default[1]===1/0&&(y._sprite.__default[1]=y._duration*1e3),y._ended(m)),m._node.removeEventListener("ended",m._endFn,!1)}};var a={},l=function(m){var y=m._src;if(a[y]){m._duration=a[y].duration,d(m);return}if(/^data:[^;]+;base64,/.test(y)){for(var b=atob(y.split(",")[1]),A=new Uint8Array(b.length),S=0;S<b.length;++S)A[S]=b.charCodeAt(S);u(A.buffer,m)}else{var E=new XMLHttpRequest;E.open(m._xhr.method,y,!0),E.withCredentials=m._xhr.withCredentials,E.responseType="arraybuffer",m._xhr.headers&&Object.keys(m._xhr.headers).forEach(function(x){E.setRequestHeader(x,m._xhr.headers[x])}),E.onload=function(){var x=(E.status+"")[0];if(x!=="0"&&x!=="2"&&x!=="3"){m._emit("loaderror",null,"Failed loading audio file with status: "+E.status+".");return}u(E.response,m)},E.onerror=function(){m._webAudio&&(m._html5=!0,m._webAudio=!1,m._sounds=[],delete a[y],m.load())},c(E)}},c=function(m){try{m.send()}catch(y){m.onerror()}},u=function(m,y){var b=function(){y._emit("loaderror",null,"Decoding audio data failed.")},A=function(S){S&&y._sounds.length>0?(a[y._src]=S,d(y,S)):b()};typeof Promise<"u"&&r.ctx.decodeAudioData.length===1?r.ctx.decodeAudioData(m).then(A).catch(b):r.ctx.decodeAudioData(m,A,b)},d=function(m,y){y&&!m._duration&&(m._duration=y.duration),Object.keys(m._sprite).length===0&&(m._sprite={__default:[0,m._duration*1e3]}),m._state!=="loaded"&&(m._state="loaded",m._emit("load"),m._loadQueue())},g=function(){if(r.usingWebAudio){try{typeof AudioContext<"u"?r.ctx=new AudioContext:typeof webkitAudioContext<"u"?r.ctx=new webkitAudioContext:r.usingWebAudio=!1}catch(S){r.usingWebAudio=!1}r.ctx||(r.usingWebAudio=!1);var m=/iP(hone|od|ad)/.test(r._navigator&&r._navigator.platform),y=r._navigator&&r._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),b=y?parseInt(y[1],10):null;if(m&&b&&b<9){var A=/safari/.test(r._navigator&&r._navigator.userAgent.toLowerCase());r._navigator&&!A&&(r.usingWebAudio=!1)}r.usingWebAudio&&(r.masterGain=typeof r.ctx.createGain>"u"?r.ctx.createGainNode():r.ctx.createGain(),r.masterGain.gain.setValueAtTime(r._muted?0:r._volume,r.ctx.currentTime),r.masterGain.connect(r.ctx.destination)),r._setup()}};i.Howler=r,i.Howl=s,typeof commonjsGlobal<"u"?(commonjsGlobal.HowlerGlobal=e,commonjsGlobal.Howler=r,commonjsGlobal.Howl=s,commonjsGlobal.Sound=o):typeof window<"u"&&(window.HowlerGlobal=e,window.Howler=r,window.Howl=s,window.Sound=o)})();/*!
  27. * Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported.
  28. *
  29. * howler.js v2.2.3
  30. * howlerjs.com
  31. *
  32. * (c) 2013-2020, James Simpson of GoldFire Studios
  33. * goldfirestudios.com
  34. *
  35. * MIT License
  36. */(function(){HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(r){var s=this;if(!s.ctx||!s.ctx.listener)return s;for(var o=s._howls.length-1;o>=0;o--)s._howls[o].stereo(r);return s},HowlerGlobal.prototype.pos=function(r,s,o){var a=this;if(!a.ctx||!a.ctx.listener)return a;if(s=typeof s!="number"?a._pos[1]:s,o=typeof o!="number"?a._pos[2]:o,typeof r=="number")a._pos=[r,s,o],typeof a.ctx.listener.positionX<"u"?(a.ctx.listener.positionX.setTargetAtTime(a._pos[0],Howler.ctx.currentTime,.1),a.ctx.listener.positionY.setTargetAtTime(a._pos[1],Howler.ctx.currentTime,.1),a.ctx.listener.positionZ.setTargetAtTime(a._pos[2],Howler.ctx.currentTime,.1)):a.ctx.listener.setPosition(a._pos[0],a._pos[1],a._pos[2]);else return a._pos;return a},HowlerGlobal.prototype.orientation=function(r,s,o,a,l,c){var u=this;if(!u.ctx||!u.ctx.listener)return u;var d=u._orientation;if(s=typeof s!="number"?d[1]:s,o=typeof o!="number"?d[2]:o,a=typeof a!="number"?d[3]:a,l=typeof l!="number"?d[4]:l,c=typeof c!="number"?d[5]:c,typeof r=="number")u._orientation=[r,s,o,a,l,c],typeof u.ctx.listener.forwardX<"u"?(u.ctx.listener.forwardX.setTargetAtTime(r,Howler.ctx.currentTime,.1),u.ctx.listener.forwardY.setTargetAtTime(s,Howler.ctx.currentTime,.1),u.ctx.listener.forwardZ.setTargetAtTime(o,Howler.ctx.currentTime,.1),u.ctx.listener.upX.setTargetAtTime(a,Howler.ctx.currentTime,.1),u.ctx.listener.upY.setTargetAtTime(l,Howler.ctx.currentTime,.1),u.ctx.listener.upZ.setTargetAtTime(c,Howler.ctx.currentTime,.1)):u.ctx.listener.setOrientation(r,s,o,a,l,c);else return d;return u},Howl.prototype.init=function(r){return function(s){var o=this;return o._orientation=s.orientation||[1,0,0],o._stereo=s.stereo||null,o._pos=s.pos||null,o._pannerAttr={coneInnerAngle:typeof s.coneInnerAngle<"u"?s.coneInnerAngle:360,coneOuterAngle:typeof s.coneOuterAngle<"u"?s.coneOuterAngle:360,coneOuterGain:typeof s.coneOuterGain<"u"?s.coneOuterGain:0,distanceModel:typeof s.distanceModel<"u"?s.distanceModel:"inverse",maxDistance:typeof s.maxDistance<"u"?s.maxDistance:1e4,panningModel:typeof s.panningModel<"u"?s.panningModel:"HRTF",refDistance:typeof s.refDistance<"u"?s.refDistance:1,rolloffFactor:typeof s.rolloffFactor<"u"?s.rolloffFactor:1},o._onstereo=s.onstereo?[{fn:s.onstereo}]:[],o._onpos=s.onpos?[{fn:s.onpos}]:[],o._onorientation=s.onorientation?[{fn:s.onorientation}]:[],r.call(this,s)}}(Howl.prototype.init),Howl.prototype.stereo=function(r,s){var o=this;if(!o._webAudio)return o;if(o._state!=="loaded")return o._queue.push({event:"stereo",action:function(){o.stereo(r,s)}}),o;var a=typeof Howler.ctx.createStereoPanner>"u"?"spatial":"stereo";if(typeof s>"u")if(typeof r=="number")o._stereo=r,o._pos=[r,0,0];else return o._stereo;for(var l=o._getSoundIds(s),c=0;c<l.length;c++){var u=o._soundById(l[c]);if(u)if(typeof r=="number")u._stereo=r,u._pos=[r,0,0],u._node&&(u._pannerAttr.panningModel="equalpower",(!u._panner||!u._panner.pan)&&e(u,a),a==="spatial"?typeof u._panner.positionX<"u"?(u._panner.positionX.setValueAtTime(r,Howler.ctx.currentTime),u._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),u._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):u._panner.setPosition(r,0,0):u._panner.pan.setValueAtTime(r,Howler.ctx.currentTime)),o._emit("stereo",u._id);else return u._stereo}return o},Howl.prototype.pos=function(r,s,o,a){var l=this;if(!l._webAudio)return l;if(l._state!=="loaded")return l._queue.push({event:"pos",action:function(){l.pos(r,s,o,a)}}),l;if(s=typeof s!="number"?0:s,o=typeof o!="number"?-.5:o,typeof a>"u")if(typeof r=="number")l._pos=[r,s,o];else return l._pos;for(var c=l._getSoundIds(a),u=0;u<c.length;u++){var d=l._soundById(c[u]);if(d)if(typeof r=="number")d._pos=[r,s,o],d._node&&((!d._panner||d._panner.pan)&&e(d,"spatial"),typeof d._panner.positionX<"u"?(d._panner.positionX.setValueAtTime(r,Howler.ctx.currentTime),d._panner.positionY.setValueAtTime(s,Howler.ctx.currentTime),d._panner.positionZ.setValueAtTime(o,Howler.ctx.currentTime)):d._panner.setPosition(r,s,o)),l._emit("pos",d._id);else return d._pos}return l},Howl.prototype.orientation=function(r,s,o,a){var l=this;if(!l._webAudio)return l;if(l._state!=="loaded")return l._queue.push({event:"orientation",action:function(){l.orientation(r,s,o,a)}}),l;if(s=typeof s!="number"?l._orientation[1]:s,o=typeof o!="number"?l._orientation[2]:o,typeof a>"u")if(typeof r=="number")l._orientation=[r,s,o];else return l._orientation;for(var c=l._getSoundIds(a),u=0;u<c.length;u++){var d=l._soundById(c[u]);if(d)if(typeof r=="number")d._orientation=[r,s,o],d._node&&(d._panner||(d._pos||(d._pos=l._pos||[0,0,-.5]),e(d,"spatial")),typeof d._panner.orientationX<"u"?(d._panner.orientationX.setValueAtTime(r,Howler.ctx.currentTime),d._panner.orientationY.setValueAtTime(s,Howler.ctx.currentTime),d._panner.orientationZ.setValueAtTime(o,Howler.ctx.currentTime)):d._panner.setOrientation(r,s,o)),l._emit("orientation",d._id);else return d._orientation}return l},Howl.prototype.pannerAttr=function(){var r=this,s=arguments,o,a,l;if(!r._webAudio)return r;if(s.length===0)return r._pannerAttr;if(s.length===1)if(typeof s[0]=="object")o=s[0],typeof a>"u"&&(o.pannerAttr||(o.pannerAttr={coneInnerAngle:o.coneInnerAngle,coneOuterAngle:o.coneOuterAngle,coneOuterGain:o.coneOuterGain,distanceModel:o.distanceModel,maxDistance:o.maxDistance,refDistance:o.refDistance,rolloffFactor:o.rolloffFactor,panningModel:o.panningModel}),r._pannerAttr={coneInnerAngle:typeof o.pannerAttr.coneInnerAngle<"u"?o.pannerAttr.coneInnerAngle:r._coneInnerAngle,coneOuterAngle:typeof o.pannerAttr.coneOuterAngle<"u"?o.pannerAttr.coneOuterAngle:r._coneOuterAngle,coneOuterGain:typeof o.pannerAttr.coneOuterGain<"u"?o.pannerAttr.coneOuterGain:r._coneOuterGain,distanceModel:typeof o.pannerAttr.distanceModel<"u"?o.pannerAttr.distanceModel:r._distanceModel,maxDistance:typeof o.pannerAttr.maxDistance<"u"?o.pannerAttr.maxDistance:r._maxDistance,refDistance:typeof o.pannerAttr.refDistance<"u"?o.pannerAttr.refDistance:r._refDistance,rolloffFactor:typeof o.pannerAttr.rolloffFactor<"u"?o.pannerAttr.rolloffFactor:r._rolloffFactor,panningModel:typeof o.pannerAttr.panningModel<"u"?o.pannerAttr.panningModel:r._panningModel});else return l=r._soundById(parseInt(s[0],10)),l?l._pannerAttr:r._pannerAttr;else s.length===2&&(o=s[0],a=parseInt(s[1],10));for(var c=r._getSoundIds(a),u=0;u<c.length;u++)if(l=r._soundById(c[u]),l){var d=l._pannerAttr;d={coneInnerAngle:typeof o.coneInnerAngle<"u"?o.coneInnerAngle:d.coneInnerAngle,coneOuterAngle:typeof o.coneOuterAngle<"u"?o.coneOuterAngle:d.coneOuterAngle,coneOuterGain:typeof o.coneOuterGain<"u"?o.coneOuterGain:d.coneOuterGain,distanceModel:typeof o.distanceModel<"u"?o.distanceModel:d.distanceModel,maxDistance:typeof o.maxDistance<"u"?o.maxDistance:d.maxDistance,refDistance:typeof o.refDistance<"u"?o.refDistance:d.refDistance,rolloffFactor:typeof o.rolloffFactor<"u"?o.rolloffFactor:d.rolloffFactor,panningModel:typeof o.panningModel<"u"?o.panningModel:d.panningModel};var g=l._panner;g?(g.coneInnerAngle=d.coneInnerAngle,g.coneOuterAngle=d.coneOuterAngle,g.coneOuterGain=d.coneOuterGain,g.distanceModel=d.distanceModel,g.maxDistance=d.maxDistance,g.refDistance=d.refDistance,g.rolloffFactor=d.rolloffFactor,g.panningModel=d.panningModel):(l._pos||(l._pos=r._pos||[0,0,-.5]),e(l,"spatial"))}return r},Sound.prototype.init=function(r){return function(){var s=this,o=s._parent;s._orientation=o._orientation,s._stereo=o._stereo,s._pos=o._pos,s._pannerAttr=o._pannerAttr,r.call(this),s._stereo?o.stereo(s._stereo):s._pos&&o.pos(s._pos[0],s._pos[1],s._pos[2],s._id)}}(Sound.prototype.init),Sound.prototype.reset=function(r){return function(){var s=this,o=s._parent;return s._orientation=o._orientation,s._stereo=o._stereo,s._pos=o._pos,s._pannerAttr=o._pannerAttr,s._stereo?o.stereo(s._stereo):s._pos?o.pos(s._pos[0],s._pos[1],s._pos[2],s._id):s._panner&&(s._panner.disconnect(0),s._panner=void 0,o._refreshBuffer(s)),r.call(this)}}(Sound.prototype.reset);var e=function(r,s){s=s||"spatial",s==="spatial"?(r._panner=Howler.ctx.createPanner(),r._panner.coneInnerAngle=r._pannerAttr.coneInnerAngle,r._panner.coneOuterAngle=r._pannerAttr.coneOuterAngle,r._panner.coneOuterGain=r._pannerAttr.coneOuterGain,r._panner.distanceModel=r._pannerAttr.distanceModel,r._panner.maxDistance=r._pannerAttr.maxDistance,r._panner.refDistance=r._pannerAttr.refDistance,r._panner.rolloffFactor=r._pannerAttr.rolloffFactor,r._panner.panningModel=r._pannerAttr.panningModel,typeof r._panner.positionX<"u"?(r._panner.positionX.setValueAtTime(r._pos[0],Howler.ctx.currentTime),r._panner.positionY.setValueAtTime(r._pos[1],Howler.ctx.currentTime),r._panner.positionZ.setValueAtTime(r._pos[2],Howler.ctx.currentTime)):r._panner.setPosition(r._pos[0],r._pos[1],r._pos[2]),typeof r._panner.orientationX<"u"?(r._panner.orientationX.setValueAtTime(r._orientation[0],Howler.ctx.currentTime),r._panner.orientationY.setValueAtTime(r._orientation[1],Howler.ctx.currentTime),r._panner.orientationZ.setValueAtTime(r._orientation[2],Howler.ctx.currentTime)):r._panner.setOrientation(r._orientation[0],r._orientation[1],r._orientation[2])):(r._panner=Howler.ctx.createStereoPanner(),r._panner.pan.setValueAtTime(r._stereo,Howler.ctx.currentTime)),r._panner.connect(r._node),r._paused||r._parent.pause(r._id,!0).play(r._id,!0)}})()})(howler);const tick="data:audio/mpeg;base64,UklGRtRSAABXQVZFZm10IBAAAAABAAIARKwAABCxAgAEABAAZGF0YbBSAAAZABkADAAMAAUABgAXABUANgA3AN3/3v/n/+T/AwAIACIAHQAhACQAHwAdABMAEwBZAFsAGAAXACgAJwAQABIAQAA+AAsADAACAAMAEQAOAPn//P/d/9z/2//b//L/8f/u//D/DAAJAO//8v/T/9H/DgAPAPT/8/9AAEIAdwB0AGAAYgBJAEg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FEAUAA7AD0AKQAnABEAEQD4//r/5P/h/8r/zf+6/7j/qf+q/57/nv+X/5b/l/+Z/5v/l/+i/6b/s/+w/8D/wv/Y/9j/7v/s/wQABQAcABwAMgAxAEMARgBVAFIAYABhAGYAZQBoAGkAZABlAFsAWgBRAFEAPAA7ACoALAAVABIA+v///+r/4//N/9T/wP+6/63/sf+j/6D/mv+d/5v/mf+b/5v/p/+o/6//rf/C/8b/1v/R/+j/7v8GAP7/EgAbADEAKQA9AEQAUgBMAFkAXgBkAGAAZABmAGIAYQBbAF0ATgBLAD8AQgArACkAFgAXAAAAAgDs/+f/0v/Y/8b/wP+v/7T/qP+m/6H/n/8=",tock="data:audio/mpeg;base64,UklGRtRSAABXQVZFZm10IBAAAAABAAIARKwAABCxAgAEABAAZGF0YbBSAAD5//n/9v/2//L/8v/2//X/7P/u//T/8f/m/+r/9v/z/wAAAAD3//r/AgD8/wUACwAYABYADAAKAA8AFAAaABIAJAArAB0AGgAWABcAGwAbAB0AHAAWABYAFQAWAAcABwARABEAEQAQAAsADgAHAAEA9f/9//f/8P8EAAkACwAIAPn/+v8FAAUADAANAAUAAwDy//T/8//y/+z/7f/8//n/8P/0/w4ACgD2//r/CwAIAP3//v8CAAIA6v/r//b/9P/n/+j/9v/2//H/8v/6//j///8DAAMA/f/y//j/7//r/wMABAAHAAkA6//n/wIABwABAPz/7P/w//T/8v8FAAUA8//0//f/9f/4//r/AAAAAP7//P/9////+P/1/+//8//s/+j/7P/w/97/2f/5//3/7P/q/+r/6v/t/+7/8P/v//v/+/8BAAEA/v///wMAAQAAAAMAAwD//+j/7P/8//j/+P/8//b/9P/w//D/CQAJADUANQCdDp0O4BzhHH8qfiojNyM3ekJ6QlhMWUyGVIZUrlqtWt9e4F78YPtgzGDOYIpeiF4pWipawFPAU4BLgEulQaRBNTY2NpQpkynuG+8b1g3VDV7/Xv8N8Q3x9eL24n7VfdUByQDJpL2ovdWzz7Omq62rVKVNpQahDKHUntCerJ6vntSg0KDspPCkDq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6Ojo6Ojo6Ojo6YmJiYmJiYmJiYmJiYmJiYmKJiYmJiYmJiYmJiYmJiYmJsbGxsbGxsbGxsbGxsbGxsbHY2NjY2NjY2NjY2NjY2NjY2P////////////////////8AAAAATGF2YzU4LjU0AAAAAAAAAAAAAAAAJAQUAAAAAAAACpsJoXZ7AAAAAAAAAAAAAAAAAAAAAP/7kGQAAALmINEVPeAAOA1nwKAUAFJpV1I5moAAxMIiwwAgAAAJdWKyJljOc0zrZ9UpVjOc0ydibhICwL5OzLXhuEsSYKQMBGN7PInFA1lsOiJDj4ePJU4yavfFKXVjzWb+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/a3UYivlU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VhUUQa6iRRrChlDwrFFDwkOFwoTKKEfr/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/////////79v9F0GWupdNNadM2SZSe7TWdQOJUETFkEzdRmgYWTc6by8q9lsaGi2UZLWihMzVdaJ916OiZFBiSYpmJwiDHFxdJB0zp4vmRgiS8fmR0UWXJpqRROx6l00HsO4Lr///+PY6MUMf///5ONCIOekEgAFo2Hw+Gw1EYYCAHPFMMT2N4KpAjHDGwyfhUkKHP/+5JkEAAEs0PYbkMkhDDs+DDAHAAAAAGkHAAAIAAANIOAAARJeX/IDTYPBUSlUNQD/+eBQG8NtczGGFOFF6L//zBYBCY0cDrhKStLnRiNT///LXqrpGMbRVUuksRopVlS////p8LMTDUAXkvl1pqtnzWVX////5dRRunlFeU005/7///9f/////3reGruVrlsHP/iUgZCDTTzlv//////zf/+qt//+x1HNHnGv//6OOqz0Op////ORzh4qUHiTiMM/////kABRAf/+qpMQU1FMy4xMDCqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",audioList="_audioList_15q3z_1",loading$1="_loading_15q3z_8",loadingWrap$1="_loadingWrap_15q3z_20",loadingIcon$2="_loadingIcon_15q3z_27",loadingTip$2="_loadingTip_15q3z_34",loadingPop$1="_loadingPop_15q3z_60",styles$w={audioList,loading:loading$1,loadingWrap:loadingWrap$1,loadingIcon:loadingIcon$2,loadingTip:loadingTip$2,loadingPop:loadingPop$1};let timer=null;const midiData=reactive({iframeRef:null,playing:!1,index:0,rate:1}),playNote=()=>{var r,s;if(!midiData.playing)return;const i=state$1.times[midiData.index];if(!i)return;midiData.index++;const e=i.endtime-i.time;(s=(r=midiData.iframeRef)==null?void 0:r.contentWindow)==null||s.playNote(i.realKey,e),timer=setTimeout(()=>{playNote()},e/midiData.rate*1e3)},hanldeInitMidiData=i=>{midiData.iframeRef=i},hanldeSetMidiPlaybackRate=i=>{midiData.rate=i},setMidiCurrentTime=i=>{clearTimeout(timer),midiData.index=i,playNote()},scoreMode="_scoreMode_6lpfe_1",tipBox="_tipBox_6lpfe_5",tipContent$1="_tipContent_6lpfe_15",tipBtn="_tipBtn_6lpfe_18",hiddenPop="_hiddenPop_6lpfe_28",styles$v={scoreMode,tipBox,tipContent:tipContent$1,tipBtn,hiddenPop};var context={locks:{},zIndex:2e3,enableRipple:!0};reactive(context);const Context=reactive(context),isString=i=>typeof i=="string",isBoolean=i=>typeof i=="boolean",isNumber=i=>typeof i=="number",isPlainObject=i=>Object.prototype.toString.call(i)==="[object Object]",isFunction$2=i=>typeof i=="function",isArray$2=i=>Array.isArray(i),isURL=i=>i?/^(http)|(\.*\/)/.test(i):!1,toNumber=i=>i==null?0:isString(i)?(i=parseFloat(i),i=Number.isNaN(i)?0:i,i):isBoolean(i)?Number(i):i,removeItem=(i,e)=>{if(i.length){const r=i.indexOf(e);if(r>-1)return i.splice(r,1)}},inBrowser=()=>typeof window<"u",camelize=i=>i.replace(/-(\w)/g,(e,r)=>r.toUpperCase());function getViewportSize(){var{innerWidth:i,innerHeight:e}=window;return i>e?{vMin:e,vMax:i}:{vMin:i,vMax:e}}var isRem=i=>isString(i)&&i.endsWith("rem"),isPx=i=>isString(i)&&i.endsWith("px")||isNumber(i),isPercent=i=>isString(i)&&i.endsWith("%"),isVw=i=>isString(i)&&i.endsWith("vw"),isVh=i=>isString(i)&&i.endsWith("vh"),isVMin=i=>isString(i)&&i.endsWith("vmin"),isVMax=i=>isString(i)&&i.endsWith("vmax"),isCalc=i=>isString(i)&&i.startsWith("calc("),isVar=i=>isString(i)&&i.startsWith("var("),toPxNum=i=>{if(isNumber(i))return i;if(isPx(i))return+i.replace("px","");if(isVw(i))return+i.replace("vw","")*window.innerWidth/100;if(isVh(i))return+i.replace("vh","")*window.innerHeight/100;if(isRem(i)){var e=+i.replace("rem",""),r=window.getComputedStyle(document.documentElement).fontSize;return e*parseFloat(r)}return isVMin(i)?getViewportSize().vMin:isVMax(i)?getViewportSize().vMax:isString(i)?toNumber(i):0},toSizeUnit=i=>{if(i!=null)return isPercent(i)||isVw(i)||isVh(i)||isRem(i)||isCalc(i)||isVar(i)||isVMin(i)||isVMax(i)?i:toPxNum(i)+"px"},multiplySizeUnit=function(i,e){if(e===void 0&&(e=1),i!=null){var r=toSizeUnit(i),s=r.match(/(vh|%|rem|px|vw)$/)[0];return""+parseFloat(r)*e+s}};function supportTouch(){var i=typeof window<"u";return i&&"ontouchstart"in window}function useMounted(i){let e=!1;onMounted(()=>{i(),nextTick(()=>{e=!0})}),onActivated(()=>{e&&i()})}function useEventListener(i,e,r,s={}){if(!inBrowser())return;const{passive:o=!1,capture:a=!1}=s;let l=!1,c=!1;const u=y=>{if(l||c)return;const b=unref(y);b&&(b.addEventListener(e,r,{passive:o,capture:a}),l=!0)},d=y=>{if(!l||c)return;const b=unref(y);b&&(b.removeEventListener(e,r,{capture:a}),l=!1)};let g;isRef(i)&&(g=watch(()=>i.value,(y,b)=>{d(b),u(y)}));const m=()=>{g==null||g(),d(i),c=!0};return useMounted(()=>{u(i)}),onBeforeUnmount(()=>{d(i)}),onDeactivated(()=>{d(i)}),m}var __rest=globalThis&&globalThis.__rest||function(i,e){var r={};for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&e.indexOf(s)<0&&(r[s]=i[s]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,s=Object.getOwnPropertySymbols(i);o<s.length;o++)e.indexOf(s[o])<0&&Object.prototype.propertyIsEnumerable.call(i,s[o])&&(r[s[o]]=i[s[o]]);return r};function keyInProvides(i){const e=getCurrentInstance();return i in e.provides}function useParent(i){if(!keyInProvides(i))return{index:null,parentProvider:null,bindParent:null};const e=inject(i),{childInstances:r,collect:s,clear:o}=e,a=__rest(e,["childInstances","collect","clear"]),l=getCurrentInstance();return{index:computed(()=>r.indexOf(l)),parentProvider:a,bindParent:d=>{onMounted(()=>{nextTick().then(()=>{s(l,d)})}),onBeforeUnmount(()=>{nextTick().then(()=>{o(l,d)})})}}}function flatVNodes(i){const e=[],r=s=>{if(s!=null&&s.component){r(s==null?void 0:s.component.subTree);return}Array.isArray(s==null?void 0:s.children)&&s.children.forEach(o=>{isVNode(o)&&(e.push(o),r(o))})};return r(i),e}function useChildren(i){const e=getCurrentInstance(),r=reactive([]),s=[],o=computed(()=>r.length),a=()=>{const d=flatVNodes(e.subTree);r.sort((g,m)=>d.indexOf(g.vnode)-d.indexOf(m.vnode))},l=(d,g)=>{r.push(d),s.push(g),a()},c=(d,g)=>{removeItem(r,d),removeItem(s,g)};return{length:o,childProviders:s,bindChildren:d=>{provide(i,Object.assign({childInstances:r,collect:l,clear:c},d))}}}function asyncGeneratorStep$1(i,e,r,s,o,a,l){try{var c=i[a](l),u=c.value}catch(d){r(d);return}c.done?e(u):Promise.resolve(u).then(s,o)}function _asyncToGenerator$1(i){return function(){var e=this,r=arguments;return new Promise(function(s,o){var a=i.apply(e,r);function l(u){asyncGeneratorStep$1(a,s,o,l,c,"next",u)}function c(u){asyncGeneratorStep$1(a,s,o,l,c,"throw",u)}l(void 0)})}}function _extends$5(){return _extends$5=Object.assign?Object.assign.bind():function(i){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(i[s]=r[s])}return i},_extends$5.apply(this,arguments)}function pickProps(i,e){return Array.isArray(e)?e.reduce((r,s)=>(r[s]=i[s],r),{}):i[e]}function mount(i){var e=createApp(i),r=document.createElement("div");return document.body.appendChild(r),{instance:e.mount(r),unmount(){e.unmount(),document.body.removeChild(r)}}}function mountInstance(i,e,r){e===void 0&&(e={}),r===void 0&&(r={});var s={setup(){return()=>h$1(i,_extends$5({},e,r))}},{unmount:o}=mount(s);return{unmountInstance:o}}function useValidation(){var i=ref(""),e=function(){var o=_asyncToGenerator$1(function*(a,l,c){if(!isArray$2(a)||!a.length)return!0;var u=yield Promise.all(a.map(d=>d(l,c)));return!u.some(d=>d!==!0?(i.value=String(d),!0):!1)});return function(l,c,u){return o.apply(this,arguments)}}(),r=()=>{i.value=""},s=function(){var o=_asyncToGenerator$1(function*(a,l,c,u,d){a.includes(l)&&(yield e(c,u,d))&&(i.value="")});return function(l,c,u,d,g){return o.apply(this,arguments)}}();return{errorMessage:i,validate:e,resetValidation:r,validateWithTrigger:s}}function useRouteListener(i){inBrowser()&&(useEventListener(window,"hashchange",i),useEventListener(window,"popstate",i))}function useTeleport(){var i=ref(!1);return onActivated(()=>{i.value=!1}),onDeactivated(()=>{i.value=!0}),{disabled:i}}function createNamespace(i){var e="var",r=e+"-"+i,s=a=>a?a[0]==="$"?a.replace("$",e):a.startsWith("--")?""+r+a:r+"__"+a:r,o=function(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];return l.map(u=>{if(isArray$2(u)){var[d,g,m=null]=u;return d?g:m}return u})};return{n:s,classes:o}}function call(i){for(var e=arguments.length,r=new Array(e>1?e-1:0),s=1;s<e;s++)r[s-1]=arguments[s];if(isArray$2(i))return i.map(o=>o(...r));if(i)return i(...r)}function defineListenerProp(i){return{type:[Function,Array],default:i}}function formatElevation(i,e){return i===!1?null:(i===!0&&e&&(i=e),"var-elevation--"+i)}function _extends$4(){return _extends$4=Object.assign?Object.assign.bind():function(i){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(i[s]=r[s])}return i},_extends$4.apply(this,arguments)}var{n:n$9}=createNamespace("ripple"),ANIMATION_DURATION=250;function setStyles(i){var{zIndex:e,position:r}=window.getComputedStyle(i);i.style.overflow="hidden",i.style.overflowX="hidden",i.style.overflowY="hidden",r==="static"&&(i.style.position="relative"),e==="auto"&&(i.style.zIndex="1")}function computeRippleStyles(i,e){var{top:r,left:s}=i.getBoundingClientRect(),{clientWidth:o,clientHeight:a}=i,l=Math.sqrt(Math.pow(o,2)+Math.pow(a,2))/2,c=l*2,u=e.touches[0].clientX-s,d=e.touches[0].clientY-r,g=(o-l*2)/2,m=(a-l*2)/2,y=u-l,b=d-l;return{x:y,y:b,centerX:g,centerY:m,size:c}}function createRipple(i){var e=this._ripple;if(e.removeRipple(),!(e.disabled||e.tasker||!Context.enableRipple)){var r=()=>{e.tasker=null;var{x:s,y:o,centerX:a,centerY:l,size:c}=computeRippleStyles(this,i),u=document.createElement("div");u.classList.add(n$9()),u.style.opacity="0",u.style.transform="translate("+s+"px, "+o+"px) scale3d(.3, .3, .3)",u.style.width=c+"px",u.style.height=c+"px",e.color&&(u.style.backgroundColor=e.color),u.dataset.createdAt=String(performance.now()),setStyles(this),this.appendChild(u),window.setTimeout(()=>{u.style.transform="translate("+a+"px, "+l+"px) scale3d(1, 1, 1)",u.style.opacity=".25"},20)};e.tasker=window.setTimeout(r,30)}}function removeRipple(){var i=this._ripple,e=()=>{var r=this.querySelectorAll("."+n$9());if(r.length){var s=r[r.length-1],o=ANIMATION_DURATION-performance.now()+Number(s.dataset.createdAt);window.setTimeout(()=>{s.style.opacity="0",window.setTimeout(()=>{var a;return(a=s.parentNode)==null?void 0:a.removeChild(s)},ANIMATION_DURATION)},o)}};i.tasker?window.setTimeout(e,30):e()}function forbidRippleTask(){if(!(!supportTouch()||!Context.enableRipple)){var i=this._ripple;i.tasker&&window.clearTimeout(i.tasker),i.tasker=null}}function mounted$1(i,e){var r;i._ripple=_extends$4({tasker:null},(r=e.value)!=null?r:{},{removeRipple:removeRipple.bind(i)}),i.addEventListener("touchstart",createRipple,{passive:!0}),i.addEventListener("touchmove",forbidRippleTask,{passive:!0}),i.addEventListener("dragstart",removeRipple,{passive:!0}),document.addEventListener("touchend",i._ripple.removeRipple,{passive:!0}),document.addEventListener("touchcancel",i._ripple.removeRipple,{passive:!0})}function unmounted$1(i){i.removeEventListener("touchstart",createRipple),i.removeEventListener("touchmove",forbidRippleTask),i.removeEventListener("dragstart",removeRipple),document.removeEventListener("touchend",i._ripple.removeRipple),document.removeEventListener("touchcancel",i._ripple.removeRipple)}function updated$1(i,e){var r,s,o,a,l={color:(r=e.value)==null?void 0:r.color,disabled:(s=e.value)==null?void 0:s.disabled},c=l.color!==((o=i._ripple)==null?void 0:o.color)||l.disabled!==((a=i._ripple)==null?void 0:a.disabled);if(c){var u,d;i._ripple=_extends$4({tasker:l.disabled?null:(u=i._ripple)==null?void 0:u.tasker,removeRipple:(d=i._ripple)==null?void 0:d.removeRipple},l)}}var Ripple={mounted:mounted$1,unmounted:unmounted$1,updated:updated$1,install(i){i.directive("ripple",this)}};const Ripple$1=Ripple;function resolveLock(){var i=Object.keys(Context.locks).length;i<=0?document.body.classList.remove("var--lock"):document.body.classList.add("var--lock")}function addLock(i){Context.locks[i]=1,resolveLock()}function releaseLock(i){delete Context.locks[i],resolveLock()}function useLock(i,e){var{uid:r}=getCurrentInstance();e&&watch(e,s=>{s===!1?releaseLock(r):s===!0&&i()===!0&&addLock(r)}),watch(i,s=>{e&&e()===!1||(s===!0?addLock(r):releaseLock(r))}),onBeforeMount(()=>{e&&e()===!1||i()===!0&&addLock(r)}),onUnmounted(()=>{e&&e()===!1||i()===!0&&releaseLock(r)}),onActivated(()=>{e&&e()===!1||i()===!0&&addLock(r)}),onDeactivated(()=>{e&&e()===!1||i()===!0&&releaseLock(r)})}function useZIndex(i,e){var r=ref(Context.zIndex);return watch(i,s=>{s&&(Context.zIndex+=e,r.value=Context.zIndex)},{immediate:!0}),{zIndex:r}}var props$8={name:{type:String},size:{type:[Number,String]},color:{type:String},namespace:{type:String,default:"var-icon"},transition:{type:[Number,String],default:0},animationClass:{type:String},onClick:defineListenerProp()};function asyncGeneratorStep(i,e,r,s,o,a,l){try{var c=i[a](l),u=c.value}catch(d){r(d);return}c.done?e(u):Promise.resolve(u).then(s,o)}function _asyncToGenerator(i){return function(){var e=this,r=arguments;return new Promise(function(s,o){var a=i.apply(e,r);function l(u){asyncGeneratorStep(a,s,o,l,c,"next",u)}function c(u){asyncGeneratorStep(a,s,o,l,c,"throw",u)}l(void 0)})}}var{n:n$8,classes:classes$6}=createNamespace("icon");function __render__$8(i,e){return openBlock(),createBlock(resolveDynamicComponent(i.isURL(i.name)?"img":"i"),{class:normalizeClass(i.classes(i.n(),[i.namespace!==i.n(),i.namespace],i.namespace+"--set",[i.isURL(i.name),i.n("image"),i.namespace+"-"+i.nextName],[i.animateInProgress,i.animationClass==null?i.n("--shrinking"):i.animationClass])),style:normalizeStyle({color:i.color,"transition-duration":i.toNumber(i.transition)+"ms",width:i.isURL(i.name)?i.toSizeUnit(i.size):null,height:i.isURL(i.name)?i.toSizeUnit(i.size):null,fontSize:i.toSizeUnit(i.size)}),src:i.isURL(i.name)?i.nextName:null,onClick:i.onClick},null,8,["class","style","src","onClick"])}var __sfc__$8=defineComponent({name:"VarIcon",props:props$8,setup(i){var e=ref(""),r=ref(!1),s=function(){var o=_asyncToGenerator(function*(a,l){var{transition:c}=i;if(l==null||toNumber(c)===0){e.value=a;return}r.value=!0,yield nextTick(),setTimeout(()=>{l!=null&&(e.value=a),r.value=!1},toNumber(c))});return function(l,c){return o.apply(this,arguments)}}();return watch(()=>i.name,s,{immediate:!0}),{n:n$8,classes:classes$6,nextName:e,animateInProgress:r,isURL,toNumber,toSizeUnit}}});__sfc__$8.render=__render__$8;const Icon=__sfc__$8;Icon.install=function(i){i.component(Icon.name,Icon)};function typeValidator$3(i){return["circle","wave","cube","rect","disappear"].includes(i)}function sizeValidator$2(i){return["normal","mini","small","large"].includes(i)}var props$7={type:{type:String,default:"circle",validator:typeValidator$3},radius:{type:[String,Number]},size:{type:String,default:"normal",validator:sizeValidator$2},color:{type:String},description:{type:String},loading:{type:Boolean,default:!1}},{n:n$7,classes:classes$5}=createNamespace("loading"),_withScopeId=i=>(pushScopeId(""),i=i(),popScopeId(),i),_hoisted_1$3=_withScopeId(()=>createBaseVNode("svg",{viewBox:"25 25 50 50"},[createBaseVNode("circle",{cx:"50",cy:"50",r:"20",fill:"none"})],-1)),_hoisted_2$1=[_hoisted_1$3];function __render__$7(i,e){return openBlock(),createElementBlock("div",{class:normalizeClass(i.n())},[i.$slots.default?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(i.classes(i.n("content"),[i.loading,i.n("content--active")]))},[renderSlot(i.$slots,"default"),i.loading?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(i.n("content-mask"))},null,2)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),i.isShow?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(i.classes(i.n("$--box"),i.n("body"),[i.$slots.default,i.n("inside")]))},[i.type==="circle"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(i.n("circle"))},[createBaseVNode("span",{class:normalizeClass(i.classes(i.n("circle-block"),i.n("circle-block--"+i.size))),style:normalizeStyle({width:i.multiplySizeUnit(i.radius,2),height:i.multiplySizeUnit(i.radius,2),color:i.color})},_hoisted_2$1,6)],2)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(i.loadingTypeDict,(r,s)=>(openBlock(),createElementBlock(Fragment,{key:s},[i.type===s?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(i.classes(i.n(s),i.n(s+"--"+i.size)))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(r,o=>(openBlock(),createElementBlock("div",{key:o+s,style:normalizeStyle({backgroundColor:i.color}),class:normalizeClass(i.classes(i.n(s+"-item"),i.n(s+"-item--"+i.size)))},null,6))),128))],2)):createCommentVNode("v-if",!0)],64))),128)),i.$slots.description||i.description?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(i.classes(i.n("description"),i.n("description--"+i.size))),style:normalizeStyle({color:i.color})},[renderSlot(i.$slots,"description",{},()=>[createTextVNode(toDisplayString(i.description),1)])],6)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],2)}var __sfc__$7=defineComponent({name:"VarLoading",props:props$7,setup(i,e){var{slots:r}=e,s={wave:5,cube:4,rect:8,disappear:3},o=computed(()=>call(r.default)?i.loading:!0);return{n:n$7,classes:classes$5,multiplySizeUnit,loadingTypeDict:s,isShow:o}}});__sfc__$7.render=__render__$7;const Loading$1=__sfc__$7;Loading$1.install=function(i){i.component(Loading$1.name,Loading$1)};var props$6={hovering:{type:Boolean,default:!0}},{n:n$6,classes:classes$4}=createNamespace("hover-overlay");function __render__$6(i,e){return openBlock(),createElementBlock("div",{class:normalizeClass(i.classes(i.n(),[i.hovering,i.n("--hovering")]))},null,2)}var __sfc__$6=defineComponent({name:"VarHoverOverlay",props:props$6,setup(){return{n:n$6,classes:classes$4}}});__sfc__$6.render=__render__$6;const HoverOverlay=__sfc__$6;HoverOverlay.install=function(i){i.component(HoverOverlay.name,HoverOverlay)};function useHoverOverlay(){var i=ref(!1),e=r=>{i.value=r};return{hovering:i,handleHovering:e}}function shouldDisabled(i){if(!i)return!1;var e=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);return!!(i==="desktop"&&e||i==="mobile"&&!e)}function getStyle(i){var e=i.getAttribute("style");return e?e.split(";").filter(Boolean).reduce((r,s)=>{var[o,a]=s.split(":").map(l=>l.trim());return r[camelize(o)]=a,r},{}):{}}function updateRawStyle(i){var{value:e}=i._hover,r=getStyle(i);Object.keys(e).forEach(s=>{var o=camelize(s),a=e[o];a!=null&&r[o]&&(i._hover.rawStyle[o]=r[o])})}function updateStyle(i,e){Object.keys(e).forEach(r=>{var s=e[r];s!=null&&(i.style[r]=s)})}function clearStyle(i){Object.keys(i._hover.value).forEach(e=>{var r=i._hover.value[e];r!=null&&(i.style[e]="")})}function restoreStyle(i){clearStyle(i),updateStyle(i,i._hover.rawStyle)}function createHover(){var{value:i}=this._hover;if(this._hover.hovering=!0,isFunction$2(i)){i(this._hover.hovering);return}updateStyle(this,i)}function removeHover(){if(this._hover.hovering=!1,isFunction$2(this._hover.value)){this._hover.value(this._hover.hovering);return}restoreStyle(this)}function mounted(i,e){var r,s,{arg:o,value:a}=e;shouldDisabled(o)||(i._hover={value:a,hovering:(r=(s=i._hover)==null?void 0:s.hovering)!=null?r:!1,rawStyle:{}},updateRawStyle(i),i.addEventListener("mouseenter",createHover),i.addEventListener("mouseleave",removeHover))}function unmounted(i,e){shouldDisabled(e.arg)||(restoreStyle(i),i.removeEventListener("mouseenter",createHover),i.removeEventListener("mouseleave",removeHover))}function beforeUpdate(i,e){i._hover&&unmounted(i,e)}function shouldUpdateStyle(i,e){return!isFunction$2(e.value)&&i._hover.hovering}function updated(i,e){mounted(i,e),shouldUpdateStyle(i,e)&&updateStyle(i,e.value)}var Hover={mounted,unmounted,beforeUpdate,updated,install(i){i.directive("hover",this)}};const Hover$1=Hover;function _extends$3(){return _extends$3=Object.assign?Object.assign.bind():function(i){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(i[s]=r[s])}return i},_extends$3.apply(this,arguments)}function typeValidator$2(i){return["default","primary","info","success","warning","danger"].includes(i)}function sizeValidator$1(i){return["normal","mini","small","large"].includes(i)}function nativeTypeValidator(i){return["button","reset","submit"].includes(i)}var props$5={type:{type:String,validator:typeValidator$2},nativeType:{type:String,default:"button",validator:nativeTypeValidator},size:{type:String,validator:sizeValidator$1},loading:{type:Boolean,default:!1},round:{type:Boolean,default:!1},block:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},ripple:{type:Boolean,default:!0},color:{type:String},textColor:{type:String},elevation:{type:[Boolean,Number,String],default:!0},autoLoading:{type:Boolean,default:!1},loadingRadius:{type:[Number,String]},loadingType:pickProps(props$7,"type"),loadingSize:pickProps(props$7,"size"),loadingColor:_extends$3({},pickProps(props$7,"color"),{default:"currentColor"}),onClick:defineListenerProp(),onTouchstart:defineListenerProp()},BUTTON_GROUP_BIND_BUTTON_KEY=Symbol("BUTTON_GROUP_BIND_BUTTON_KEY");function useButtons(){var{bindChildren:i,childProviders:e,length:r}=useChildren(BUTTON_GROUP_BIND_BUTTON_KEY);return{length:r,buttons:e,bindButtons:i}}function useButtonGroup(){var{bindParent:i,parentProvider:e,index:r}=useParent(BUTTON_GROUP_BIND_BUTTON_KEY);return{index:r,buttonGroup:e,bindButtonGroup:i}}var{n:n$5,classes:classes$3}=createNamespace("button"),_hoisted_1$2=["type","disabled"];function __render__$5(i,e){var r=resolveComponent("var-loading"),s=resolveComponent("var-hover-overlay"),o=resolveDirective("ripple"),a=resolveDirective("hover");return withDirectives((openBlock(),createElementBlock("button",{class:normalizeClass(i.classes(i.n(),i.n("$--box"),i.n("--"+i.states.size),[i.block,i.n("$--flex")+" "+i.n("--block"),i.n("$--inline-flex")],[i.disabled,i.n("--disabled")],[i.states.text,i.n("--text-"+i.states.type)+" "+i.n("--text"),i.n("--"+i.states.type)+" "+i.states.elevation],[i.states.text&&i.disabled,i.n("--text-disabled")],[i.round,i.n("--round")],[i.states.outline,i.n("--outline")])),style:normalizeStyle({color:i.states.textColor,background:i.states.color}),type:i.nativeType,disabled:i.disabled,onClick:e[0]||(e[0]=function(){return i.handleClick&&i.handleClick(...arguments)}),onTouchstart:e[1]||(e[1]=function(){return i.handleTouchstart&&i.handleTouchstart(...arguments)})},[i.loading||i.pending?(openBlock(),createBlock(r,{key:0,class:normalizeClass(i.n("loading")),"var-button-cover":"",color:i.loadingColor,type:i.loadingType,size:i.loadingSize,radius:i.loadingRadius},null,8,["class","color","type","size","radius"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(i.classes(i.n("content"),[i.loading||i.pending,i.n("--hidden")]))},[renderSlot(i.$slots,"default")],2),createVNode(s,{hovering:i.hovering},null,8,["hovering"])],46,_hoisted_1$2)),[[o,{disabled:i.disabled||!i.ripple}],[a,i.handleHovering,"desktop"]])}var __sfc__$5=defineComponent({name:"VarButton",components:{VarLoading:Loading$1,VarHoverOverlay:HoverOverlay},directives:{Ripple:Ripple$1,Hover:Hover$1},props:props$5,setup(i){var e=ref(!1),{buttonGroup:r}=useButtonGroup(),{hovering:s,handleHovering:o}=useHoverOverlay(),a=computed(()=>{if(!r)return{elevation:formatElevation(i.elevation,2),type:i.type!=null?i.type:"default",size:i.size!=null?i.size:"normal",color:i.color,text:i.text,textColor:i.textColor,outline:i.outline};var{type:d,size:g,color:m,textColor:y,mode:b}=r;return{elevation:"",type:i.type!=null?i.type:d.value,size:i.size!=null?i.size:g.value,color:i.color!=null?i.color:m.value,textColor:i.textColor!=null?i.textColor:y.value,text:b.value!=="normal",outline:b.value==="outline"}}),l=d=>{i.autoLoading&&(e.value=!0,d=isArray$2(d)?d:[d],Promise.all(d).then(()=>{e.value=!1}).catch(()=>{e.value=!1}))},c=d=>{var{loading:g,disabled:m,onClick:y}=i;!y||g||m||e.value||l(call(y,d))},u=d=>{var{loading:g,disabled:m,onTouchstart:y}=i;!y||g||m||e.value||l(call(y,d))};return{n:n$5,classes:classes$3,pending:e,states:a,hovering:s,handleHovering:o,handleClick:c,handleTouchstart:u}}});__sfc__$5.render=__render__$5;const Button=__sfc__$5;Button.install=function(i){i.component(Button.name,Button)};function typeValidator$1(i){return["default","primary","info","success","warning","danger"].includes(i)}function sizeValidator(i){return["normal","mini","small","large"].includes(i)}function modeValidator(i){return["normal","text","outline"].includes(i)}var props$4={type:{type:String,default:"default",validator:typeValidator$1},size:{type:String,default:"normal",validator:sizeValidator},color:{type:String},textColor:{type:String},mode:{type:String,default:"normal",validator:modeValidator},elevation:{type:[Boolean,Number,String],default:!0},vertical:{type:Boolean,default:!1}},{n:n$4,classes:classes$2}=createNamespace("button-group");function __render__$4(i,e){return openBlock(),createElementBlock("div",{class:normalizeClass(i.classes(i.n(),i.n("$--box"),[i.mode,""+i.n("--mode-"+i.mode)],[i.vertical,i.n("--vertical"),i.n("--horizontal")],[i.mode==="normal",i.formatElevation(i.elevation,2)]))},[renderSlot(i.$slots,"default")],2)}var __sfc__$4=defineComponent({name:"VarButtonGroup",props:props$4,setup(i){var{bindButtons:e}=useButtons(),r={elevation:computed(()=>i.elevation),type:computed(()=>i.type),size:computed(()=>i.size),color:computed(()=>i.color),textColor:computed(()=>i.textColor),mode:computed(()=>i.mode)};return e(r),{n:n$4,classes:classes$2,formatElevation}}});__sfc__$4.render=__render__$4;const ButtonGroup=__sfc__$4;ButtonGroup.install=function(i){i.component(ButtonGroup.name,ButtonGroup)};var props$3={errorMessage:{type:String,default:""},extraMessage:{type:String,default:""}},{n:n$3}=createNamespace("form-details"),_hoisted_1$1={key:0},_hoisted_2={key:0};function __render__$3(i,e){return openBlock(),createBlock(Transition,{name:i.n()},{default:withCtx(()=>[i.errorMessage||i.extraMessage?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(i.n())},[createBaseVNode("div",{class:normalizeClass(i.n("error-message"))},[createVNode(Transition,{name:i.n("message")},{default:withCtx(()=>[i.errorMessage?(openBlock(),createElementBlock("div",_hoisted_1$1,toDisplayString(i.errorMessage),1)):createCommentVNode("v-if",!0)]),_:1},8,["name"])],2),createBaseVNode("div",{class:normalizeClass(i.n("extra-message"))},[createVNode(Transition,{name:i.n("message")},{default:withCtx(()=>[i.extraMessage?(openBlock(),createElementBlock("div",_hoisted_2,toDisplayString(i.extraMessage),1)):createCommentVNode("v-if",!0)]),_:1},8,["name"])],2)],2)):createCommentVNode("v-if",!0)]),_:1},8,["name"])}var __sfc__$3=defineComponent({name:"VarFormDetails",props:props$3,setup:()=>({n:n$3})});__sfc__$3.render=__render__$3;const FormDetails=__sfc__$3;FormDetails.install=function(i){i.component(FormDetails.name,FormDetails)};function _extends$2(){return _extends$2=Object.assign?Object.assign.bind():function(i){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(i[s]=r[s])}return i},_extends$2.apply(this,arguments)}var FORM_BIND_FORM_ITEM_KEY=Symbol("FORM_BIND_FORM_ITEM_KEY");function useForm(){var{parentProvider:i,index:e,bindParent:r}=useParent(FORM_BIND_FORM_ITEM_KEY),s=getCurrentInstance(),o=r?a=>{r(_extends$2({},a,{instance:s}))}:null;return{index:e,form:i,bindForm:o}}function _extends$1(){return _extends$1=Object.assign?Object.assign.bind():function(i){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(i[s]=r[s])}return i},_extends$1.apply(this,arguments)}function positionValidator(i){var e=["top","center","bottom"];return e.includes(i)}function typeValidator(i){return SNACKBAR_TYPE.includes(i)}var props$2={type:{type:String,validator:typeValidator},position:{type:String,default:"top",validator:positionValidator},content:{type:String},contentClass:{type:String},duration:{type:Number,default:3e3},vertical:{type:Boolean,default:!1},loadingType:pickProps(props$7,"type"),loadingSize:pickProps(props$7,"size"),loadingRadius:pickProps(props$7,"radius"),loadingColor:_extends$1({},pickProps(props$7,"color"),{default:"currentColor"}),lockScroll:{type:Boolean,default:!1},show:{type:Boolean,default:!1},teleport:{type:String,default:"body"},forbidClick:{type:Boolean,default:!1},onOpen:defineListenerProp(),onOpened:defineListenerProp(),onClose:defineListenerProp(),onClosed:defineListenerProp(),"onUpdate:show":defineListenerProp(),_update:{type:String}},{n:n$2,classes:classes$1}=createNamespace("snackbar"),ICON_TYPE_DICT={success:"checkbox-marked-circle",warning:"warning",info:"information",error:"error",loading:""};function __render__$2(i,e){var r=resolveComponent("var-icon"),s=resolveComponent("var-loading");return withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(i.n()),style:normalizeStyle({pointerEvents:i.isForbidClick?"auto":"none",zIndex:i.zIndex})},[createBaseVNode("div",{class:normalizeClass(i.classes(i.n("wrapper"),i.n("wrapper-"+i.position),i.n("$-elevation--4"),[i.vertical,i.n("vertical")],[i.type&&i.SNACKBAR_TYPE.includes(i.type),i.n("wrapper-"+i.type)])),style:normalizeStyle({zIndex:i.zIndex})},[createBaseVNode("div",{class:normalizeClass([i.n("content"),i.contentClass])},[renderSlot(i.$slots,"default",{},()=>[createTextVNode(toDisplayString(i.content),1)])],2),createBaseVNode("div",{class:normalizeClass(i.n("action"))},[i.iconName?(openBlock(),createBlock(r,{key:0,name:i.iconName},null,8,["name"])):createCommentVNode("v-if",!0),i.type==="loading"?(openBlock(),createBlock(s,{key:1,type:i.loadingType,size:i.loadingSize,color:i.loadingColor,radius:i.loadingRadius},null,8,["type","size","color","radius"])):createCommentVNode("v-if",!0),renderSlot(i.$slots,"action")],2)],6)],6)),[[vShow,i.show]])}var __sfc__$2=defineComponent({name:"VarSnackbarCore",components:{VarLoading:Loading$1,VarIcon:Icon},props:props$2,setup(i){var e=ref(null),{zIndex:r}=useZIndex(()=>i.show,1);useLock(()=>i.show,()=>i.lockScroll);var s=computed(()=>i.type==="loading"||i.forbidClick),o=computed(()=>i.type?ICON_TYPE_DICT[i.type]:""),a=()=>{e.value=setTimeout(()=>{i.type!=="loading"&&call(i["onUpdate:show"],!1)},i.duration)};return watch(()=>i.show,l=>{l?(call(i.onOpen),a()):l===!1&&(clearTimeout(e.value),call(i.onClose))}),watch(()=>i._update,()=>{clearTimeout(e.value),a()}),useMounted(()=>{i.show&&(call(i.onOpen),a())}),{SNACKBAR_TYPE,n:n$2,classes:classes$1,zIndex:r,iconName:o,isForbidClick:s}}});__sfc__$2.render=__render__$2;const VarSnackbarCore=__sfc__$2;var{n:n$1}=createNamespace("snackbar");function __render__$1(i,e){var r=resolveComponent("var-snackbar-core");return openBlock(),createBlock(Teleport,{to:i.teleport,disabled:i.disabled},[createVNode(Transition,{name:i.n()+"-fade",onAfterEnter:i.onOpened,onAfterLeave:i.onClosed},{default:withCtx(()=>[createVNode(r,mergeProps(i.$props,{class:i.n("transition")}),{action:withCtx(()=>[renderSlot(i.$slots,"action")]),default:withCtx(()=>[renderSlot(i.$slots,"default",{},()=>[createTextVNode(toDisplayString(i.content),1)])]),_:3},16,["class"])]),_:3},8,["name","onAfterEnter","onAfterLeave"])],8,["to","disabled"])}var __sfc__$1=defineComponent({name:"VarSnackbar",components:{VarSnackbarCore},props:props$2,setup(){var{disabled:i}=useTeleport();return{n:n$1,disabled:i}}});__sfc__$1.render=__render__$1;const VarSnackbar=__sfc__$1;function _extends(){return _extends=Object.assign?Object.assign.bind():function(i){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(i[s]=r[s])}return i},_extends.apply(this,arguments)}function _isSlot$1(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!isVNode(i)}var SNACKBAR_TYPE=["loading","success","warning","info","error"],sid=0,isMount=!1,unmount,isAllowMultiple=!1,defaultOptionsValue={type:void 0,content:"",position:"top",duration:3e3,vertical:!1,contentClass:void 0,loadingType:"circle",loadingSize:"normal",lockScroll:!1,teleport:"body",forbidClick:!1,onOpen:()=>{},onOpened:()=>{},onClose:()=>{},onClosed:()=>{}},uniqSnackbarOptions=reactive([]),defaultOptions=defaultOptionsValue,transitionGroupProps={name:"var-snackbar-fade",tag:"div",class:"var-transition-group"},TransitionGroupHost={setup(){return()=>{var i=uniqSnackbarOptions.map(e=>{var{id:r,reactiveSnackOptions:s,_update:o}=e,a=document.querySelector(".var-transition-group");s.forbidClick||s.type==="loading"?a.classList.add("var-pointer-auto"):a.classList.remove("var-pointer-auto"),isAllowMultiple&&(s.position="top");var l=isAllowMultiple?"relative":"absolute",c=_extends({position:l},getTop(s.position));return createVNode(VarSnackbarCore,mergeProps(s,{key:r,style:c,"data-id":r,_update:o,show:s.show,"onUpdate:show":u=>s.show=u}),null)});return createVNode(TransitionGroup,mergeProps(transitionGroupProps,{style:{zIndex:Context.zIndex},onAfterEnter:opened,onAfterLeave:removeUniqOption}),_isSlot$1(i)?i:{default:()=>[i]})}}},Snackbar=function(i){var e=normalizeOptions(i),r=reactive(_extends({},defaultOptions,e));r.show=!0,isMount||(isMount=!0,unmount=mountInstance(TransitionGroupHost).unmountInstance);var{length:s}=uniqSnackbarOptions,o={id:sid++,reactiveSnackOptions:r};if(s===0||isAllowMultiple)addUniqOption(o);else{var a="update-"+sid;updateUniqOption(r,a)}return{clear(){!isAllowMultiple&&uniqSnackbarOptions.length?uniqSnackbarOptions[0].reactiveSnackOptions.show=!1:r.show=!1}}};SNACKBAR_TYPE.forEach(i=>{Snackbar[i]=e=>(isPlainObject(e)?e.type=i:e={content:e,type:i},Snackbar(e))});Snackbar.install=function(i){i.component(VarSnackbar.name,VarSnackbar)};Snackbar.allowMultiple=function(i){i===void 0&&(i=!1),i!==isAllowMultiple&&(uniqSnackbarOptions.forEach(e=>{e.reactiveSnackOptions.show=!1}),isAllowMultiple=i)};Snackbar.clear=function(){uniqSnackbarOptions.forEach(i=>{i.reactiveSnackOptions.show=!1})};Snackbar.setDefaultOptions=function(i){defaultOptions=i};Snackbar.resetDefaultOptions=function(){defaultOptions=defaultOptionsValue};Snackbar.Component=VarSnackbar;function opened(i){var e=i.getAttribute("data-id"),r=uniqSnackbarOptions.find(s=>s.id===toNumber(e));r&&call(r.reactiveSnackOptions.onOpened)}function removeUniqOption(i){i.parentElement&&i.parentElement.classList.remove("var-pointer-auto");var e=i.getAttribute("data-id"),r=uniqSnackbarOptions.find(o=>o.id===toNumber(e));r&&(r.animationEnd=!0,call(r.reactiveSnackOptions.onClosed));var s=uniqSnackbarOptions.every(o=>o.animationEnd);s&&(call(unmount),uniqSnackbarOptions=reactive([]),isMount=!1)}function addUniqOption(i){uniqSnackbarOptions.push(i)}function normalizeOptions(i){return i===void 0&&(i={}),isString(i)?{content:i}:i}function updateUniqOption(i,e){var[r]=uniqSnackbarOptions;r.reactiveSnackOptions=_extends({},r.reactiveSnackOptions,i),r._update=e}function getTop(i){return i===void 0&&(i="top"),i==="bottom"?{[i]:"5%"}:{top:i==="top"?"5%":"45%"}}VarSnackbar.install=function(i){i.component(VarSnackbar.name,VarSnackbar)};const Snackbar$1=Snackbar;var props$1={modelValue:{default:!1},activeValue:{default:!0},inactiveValue:{default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},color:{type:String},loadingColor:{type:String},closeColor:{type:String},size:{type:[String,Number]},rules:{type:Array},ripple:{type:Boolean,default:!0},onClick:defineListenerProp(),onChange:defineListenerProp(),"onUpdate:modelValue":defineListenerProp()},{n,classes}=createNamespace("switch");function __render__(i,e){var r=resolveComponent("var-loading"),s=resolveComponent("var-hover-overlay"),o=resolveComponent("var-form-details"),a=resolveDirective("ripple"),l=resolveDirective("hover");return withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(i.n())},[createBaseVNode("div",{class:normalizeClass(i.classes(i.n("block"),[i.disabled||i.formDisabled,i.n("--disabled")])),onClick:e[0]||(e[0]=function(){return i.switchActive&&i.switchActive(...arguments)}),style:normalizeStyle(i.styleComputed.switch)},[createBaseVNode("div",{style:normalizeStyle(i.styleComputed.track),class:normalizeClass(i.classes(i.n("track"),[i.modelValue===i.activeValue,i.n("track--active")],[i.errorMessage,i.n("track--error")]))},null,6),withDirectives((openBlock(),createElementBlock("div",{class:normalizeClass(i.classes(i.n("ripple"),[i.modelValue===i.activeValue,i.n("ripple--active")])),style:normalizeStyle(i.styleComputed.ripple)},[createBaseVNode("div",{style:normalizeStyle(i.styleComputed.handle),class:normalizeClass(i.classes(i.n("handle"),i.n("$-elevation--2"),[i.modelValue===i.activeValue,i.n("handle--active")],[i.errorMessage,i.n("handle--error")]))},[i.loading?(openBlock(),createBlock(r,{key:0,radius:i.radius,color:"currentColor"},null,8,["radius"])):createCommentVNode("v-if",!0)],6),createVNode(s,{hovering:i.hovering},null,8,["hovering"])],6)),[[a,{disabled:!i.ripple||i.disabled||i.loading||i.formDisabled}]])],6),createVNode(o,{"error-message":i.errorMessage},null,8,["error-message"])],2)),[[l,i.hover,"desktop"]])}var __sfc__=defineComponent({name:"VarSwitch",components:{VarLoading:Loading$1,VarFormDetails:FormDetails,VarHoverOverlay:HoverOverlay},directives:{Ripple:Ripple$1,Hover:Hover$1},props:props$1,setup(i){var{bindForm:e,form:r}=useForm(),{errorMessage:s,validateWithTrigger:o,validate:a,resetValidation:l}=useValidation(),{hovering:c,handleHovering:u}=useHoverOverlay(),d=()=>a(i.rules,i.modelValue),g=()=>nextTick(()=>o(["onChange"],"onChange",i.rules,i.modelValue)),m=computed(()=>{var{size:x,modelValue:P,color:C,closeColor:T,loadingColor:k,activeValue:I}=i;return{handle:{width:multiplySizeUnit(x),height:multiplySizeUnit(x),backgroundColor:P===I?C:T,color:k},ripple:{left:P===I?multiplySizeUnit(x,.5):"-"+multiplySizeUnit(x,.5),color:P===I?C:T||"#999",width:multiplySizeUnit(x,2),height:multiplySizeUnit(x,2)},track:{height:multiplySizeUnit(x,.72),width:multiplySizeUnit(x,1.9),borderRadius:multiplySizeUnit(x,2/3),filter:P===I||s!=null&&s.value?void 0:"brightness(.6)",backgroundColor:P===I?C:T},switch:{height:multiplySizeUnit(x,1.2),width:multiplySizeUnit(x,2)}}}),y=computed(()=>{var{size:x="5.333vw"}=i;return multiplySizeUnit(x,.4)}),b=x=>{var{onClick:P,onChange:C,disabled:T,loading:k,readonly:I,modelValue:M,activeValue:R,inactiveValue:B,"onUpdate:modelValue":_}=i;if(call(P,x),!(T||k||I||r!=null&&r.disabled.value||r!=null&&r.readonly.value)){var V=M===R?B:R;call(C,V),call(_,V),g()}},A=x=>{i.disabled||r!=null&&r.disabled.value||u(x)},S=()=>{call(i["onUpdate:modelValue"],i.inactiveValue),l()},E={reset:S,validate:d,resetValidation:l};return call(e,E),{n,classes,switchActive:b,hovering:c,hover:A,radius:y,styleComputed:m,errorMessage:s,formDisabled:r==null?void 0:r.disabled,formReadonly:r==null?void 0:r.readonly}}});__sfc__.render=__render__;const Switch=__sfc__;Switch.install=function(i){i.component(Switch.name,Switch)};const Image1=""+new URL("../png/5-d8bfbf51.png",import.meta.url).href,Image2=""+new URL("../png/4-cfa387c7.png",import.meta.url).href,Image3=""+new URL("../png/3-d02c685a.png",import.meta.url).href,Image4=""+new URL("../png/2-5c4c2ef5.png",import.meta.url).href,Image5=""+new URL("../png/1-a0d5037d.png",import.meta.url).href,clx1=""+new URL("../svg/clx5-b3331931.svg",import.meta.url).href,clx2=""+new URL("../svg/clx4-7a8a1657.svg",import.meta.url).href,clx3=""+new URL("../svg/clx3-82262a8a.svg",import.meta.url).href,clx4=""+new URL("../svg/clx2-99f2ced3.svg",import.meta.url).href,clx5=""+new URL("../svg/clx1-3d063166.svg",import.meta.url).href,good="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAACQCAMAAABOB0IDAAADAFBMVEUAAAADBBoCBhMBChQACBYABhUABhUACBYACBYDDhgABxUCCRcABxYACBYACBYABxUACBYACBYACBcABxbc4ODk5uUABxYACBbT2drKzc4ABxYACBXm6Ofo6ejR1tbP0tTn6OiiqKvN09SIkpcjOUW6wsWLmp/j5eUVIjDQ1dZ9h424vLzj5eUHHCm/x8lodn5NW2Q7TVctQEtTZm9FWGJjbnY7TVeaqqyJkJZugIYAGino6ej/nHUAGiUABxD/mXT/08b/WXMADhcAEx0AR2wBdJX/lnIBHir/jG4BFyEAAgb/oHf/zsUDT3EBsx3/iWsBJDABLj4AKTcBP13/kG8Ed5j/k3EtkqsBrBn/pXoBNEP/fmj/Z2ALe5v/q3wAAjshiqUABkX/jXz/cHD/hWgojqgBbZECoxT/eHP/gmwBFGoBaIv/tor/gHUAFQAYhaQXjbD/bWIyla7/sYMADlwBY4cBXYQARGb/pIH/hnn/cmQTgJ4BOlYACk8BmA8begD/eGb/qIX/nX3/aG4bZHsCWX3/xbb/uJH/lXgAAC8oRkwGPUv/rosBUXqi2KsMtSkAGXcIb40PKTMHjQZbaXPFy8wRggEJf6EUTlv/vaT/k4P/emqssbIAAiMSaoQlvj8+mK82TVkTdJOxzdRNWGMdfpsyboRIZnQKyi6WpKffaXQVWmxHT1YbPEKh0KcBME4wRDcYujNQoLS3v8H/nY4qYG//i3YCGjxnqbuYTmgaKiadankVmANtTz2GtsMvgpouWGQ6vUvnWXECJIp3SGkkNDJse4C0eGF+jJAGKXQBDzIBvyKmfYSVwMsCKGCxUmuFl5wodovMWmz83dRKd4ueq65nxW5xXk5KRTdTw16hbFUNVyO7ZHvp5+Y0jaT/qaNuhpTOfmqFX05cTkKU1J/1poXxf24UYwF8aYjwnHviiHdAI1UHKBQJQAbGjnUgHFUnrD0cji5Qh5x8y4dPPngpLHXdm3ksdTum2q5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ywa2wI33zcXjG0DEGJ6VemoRswGCr4gM6hF7EbPk8y5RPl518wvXewscCFEx1Q7aqU8oRY/RiueYc4FlhQH3ixWZU6XeeY/jl+YKMR6wVhOEtUtKE2iQDk33w1Gq+h2oX3dlASkExmKOnwIRO/Cu75nWOJJE850C2++A2Oq7LgBuCO96wZFTwrK0LyGm+9Rz2kxSHsSKO0RmPMuMKr5Zc+xnKQJZ9JWXmn0sUE8ysIZUcHd950YeGNQUuMt9QLV9xgr1rdSwbi7IwNvFBJKnIBd7S8aryEFbHcH3ri0BxaP/gKdEB7KYrDIcgAAAABJRU5ErkJggg==",scoreIcon={good,bad,perfect,great},leveByScoreMeasureIcons=[{icon:scoreIcon.bad,text:"bad",color:"#EE4C6A"},{icon:scoreIcon.good,text:"good",color:"#FF958B"},{icon:scoreIcon.great,text:"great",color:"#FF8E5A"},{icon:scoreIcon.perfect,text:"perfect",color:"#516AFF"}],icons$4=[{img:Image1,tips:"你的演奏不太好,再练一练吧~",mome:"敢于尝试",clxImg:clx1,clxtip:"你的演奏不太好,音准和完整性还需加强,再练一练吧~",clxmome:"敢于尝试"},{img:Image2,tips:"你的演奏还不熟练,加紧训练才能有好成绩哦~",mome:"还要加油哦~",clxImg:clx2,clxtip:"你的演奏还不熟练,音准和完整性还需加强,加紧训练才能有好成绩哦~",clxmome:"还要加油哦~"},{img:Image3,tips:"你的演奏还不流畅,科学的练习才能更完美哦~",mome:"突破自我",clxImg:clx3,clxtip:"你的演奏还不流畅,音准和节奏还需加强,科学的练习才能更完美哦~",clxmome:"突破自我"},{img:Image4,tips:"你的演奏还不错,继续加油吧,离完美就差一步啦~",mome:"崭露头角",clxImg:clx4,clxtip:"你的演奏还不错,继续加油吧,加强音准,离完美就差一步啦~",clxmome:"崭露头角"},{img:Image5,tips:"你的演奏完美无缺,继续努力吧~",mome:"你很棒",clxImg:clx5,clxtip:"你的演奏非常不错,音准的把握和节奏稍有瑕疵,完整性把握的很好~",clxmome:"你很棒"}],getLeveByScore=i=>{if(!i&&typeof i!="number")return{};let e=0;return i>20&&i<=40?e=1:i>40&&i<=60?e=2:i>60&&i<=80?e=3:i>80&&(e=4),{...icons$4[e],leve:e}},getLeveByScoreMeasure=i=>{if(!i&&typeof i!="number")return{};let e=0;return i>=40&&i<70?e=1:i>=70&&i<90?e=2:i>=90&&(e=3),e},dots="_dots_1fmhy_1",dot$2="_dot_1fmhy_1",hide="_hide_1fmhy_22",styles$u={dots,dot:dot$2,hide},tickData=reactive({len:0,reduceLen:0,tickEnd:!1,beatLengthInMilliseconds:0,index:0,show:!1}),isUseSystemBeat=computed(()=>state$1.playType==="play"&&!state$1.isOpenMetronome||state$1.playType==="sing"&&!state$1.isSingOpenMetronome),useLen=computed(()=>isUseSystemBeat.value?tickData.reduceLen:tickData.len);let _time;function closeTick(){tickData.show&&(_time&&clearTimeout(_time),tickData.tickEnd=!0,tickData.show=!1)}const handlePlay=(i,e)=>new Promise(r=>{_time=setTimeout(()=>{if(tickData.tickEnd){r(i);return}if(tickData.index++,e&&isUseSystemBeat.value){const s=state$1.setting.beatVolume/100;e.volume=s,e.volume<=0?e.muted=!0:e.muted=!1,e.play()}r(i)},tickData.beatLengthInMilliseconds)}),audioData$2=reactive({tick:null,tock:null}),createAudio=i=>new Promise(e=>{const r=new Audio(i);r.load(),r.onloadedmetadata=()=>{e(r)},r.onerror=()=>{e(null)}}),handleInitTick=i=>{for(tickData.len=i;i>4&&i%2===0;)i=i/2;tickData.reduceLen=i},handleStartTick=async()=>{tickData.show=!0,tickData.tickEnd=!1,tickData.index=0,tickData.beatLengthInMilliseconds=60/state$1.speed*1e3;for(let i=0;i<=useLen.value;i++){if(tickData.tickEnd)return!1;const e=i===0?audioData$2.tick:i===useLen.value?null:audioData$2.tock;await handlePlay(i,e)}return tickData.show=!1,!0},Tick=defineComponent({name:"metronome",setup(){const i={top:"0px",left:"0px"};e();function e(){const r=document.querySelector("#musicAndSelection"),s=r==null?void 0:r.querySelector("#osmdSvgPage1"),o=s==null?void 0:s.querySelector(".staffline"),a=r==null?void 0:r.getBoundingClientRect(),l=s==null?void 0:s.getBoundingClientRect(),c=o==null?void 0:o.getBoundingClientRect();Object.assign(i,{top:((l==null?void 0:l.top)||0)-((a==null?void 0:a.top)||0)-18+"px",left:((c==null?void 0:c.left)||0)-((l==null?void 0:l.left)||0)+"px"})}return onMounted(()=>{Promise.all([createAudio(tickWav),createAudio(tockWav)]).then(([r,s])=>{r&&(audioData$2.tick=r),s&&(audioData$2.tock=s)})}),()=>tickData.show&&createVNode("div",{class:styles$u.dots,style:i},[Array.from({length:useLen.value}).map((r,s)=>createVNode("div",{class:[styles$u.dot,useLen.value-tickData.index<=s&&styles$u.hide]},null))])}}),fraction$3="_fraction_1ul1y_1",close$2="_close_1ul1y_12",bg$1="_bg_1ul1y_19",content$8="_content_1ul1y_22",title$8="_title_1ul1y_22",desc="_desc_1ul1y_29",btn$9="_btn_1ul1y_37",loadColumn="_loadColumn_1ul1y_41",loadIcon="_loadIcon_1ul1y_56",successIcon="_successIcon_1ul1y_60",loadingPop="_loadingPop_1ul1y_70",loadingIcon$1="_loadingIcon_1ul1y_76",loadingTip$1="_loadingTip_1ul1y_79",loadingClose="_loadingClose_1ul1y_84",styles$t={fraction:fraction$3,close:close$2,bg:bg$1,content:content$8,title:title$8,desc,btn:btn$9,loadColumn,loadIcon,successIcon,loadingPop,loadingIcon:loadingIcon$1,loadingTip:loadingTip$1,loadingClose};var lottieExports={},lottie={get exports(){return lottieExports},set exports(i){lottieExports=i}};(function(module,exports){typeof navigator<"u"&&function(i,e){module.exports=e()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(i){return document.createElement(i)}function extendPrototype(i,e){var r,s=i.length,o;for(r=0;r<s;r+=1){o=i[r].prototype;for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e.prototype[a]=o[a])}}function getDescriptor(i,e){return Object.getOwnPropertyDescriptor(i,e)}function createProxyFunction(i){function e(){}return e.prototype=i,e}var audioControllerFactory=function(){function i(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return i.prototype={addAudio:function(r){this.audios.push(r)},pause:function(){var r,s=this.audios.length;for(r=0;r<s;r+=1)this.audios[r].pause()},resume:function(){var r,s=this.audios.length;for(r=0;r<s;r+=1)this.audios[r].resume()},setRate:function(r){var s,o=this.audios.length;for(s=0;s<o;s+=1)this.audios[s].setRate(r)},createAudio:function(r){return this.audioFactory?this.audioFactory(r):window.Howl?new window.Howl({src:[r]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(r){this.audioFactory=r},setVolume:function(r){this._volume=r,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var r,s=this.audios.length;for(r=0;r<s;r+=1)this.audios[r].volume(this._volume*(this._isMuted?0:1))}},function(){return new i}}(),createTypedArray=function(){function i(r,s){var o=0,a=[],l;switch(r){case"int16":case"uint8c":l=1;break;default:l=1.1;break}for(o=0;o<s;o+=1)a.push(l);return a}function e(r,s){return r==="float32"?new Float32Array(s):r==="int16"?new Int16Array(s):r==="uint8c"?new Uint8ClampedArray(s):i(r,s)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?e:i}();function createSizedArray(i){return Array.apply(null,{length:i})}function _typeof$6(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(r){return typeof r}:_typeof$6=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$6(i)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var i=["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"],e,r=i.length;for(e=0;e<r;e+=1)BMMath[i[e]]=Math[i[e]]})(),BMMath.random=Math.random,BMMath.abs=function(i){var e=_typeof$6(i);if(e==="object"&&i.length){var r=createSizedArray(i.length),s,o=i.length;for(s=0;s<o;s+=1)r[s]=Math.abs(i[s]);return r}return Math.abs(i)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(i){i.style.position="absolute",i.style.top=0,i.style.left=0,i.style.display="block",i.style.transformOrigin="0 0",i.style.webkitTransformOrigin="0 0",i.style.backfaceVisibility="visible",i.style.webkitBackfaceVisibility="visible",i.style.transformStyle="preserve-3d",i.style.webkitTransformStyle="preserve-3d",i.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(i,e,r,s){this.type=i,this.currentTime=e,this.totalTime=r,this.direction=s<0?-1:1}function BMCompleteEvent(i,e){this.type=i,this.direction=e<0?-1:1}function BMCompleteLoopEvent(i,e,r,s){this.type=i,this.currentLoop=r,this.totalLoops=e,this.direction=s<0?-1:1}function BMSegmentStartEvent(i,e,r){this.type=i,this.firstFrame=e,this.totalFrames=r}function BMDestroyEvent(i,e){this.type=i,this.target=e}function BMRenderFrameErrorEvent(i,e){this.type="renderFrameError",this.nativeError=i,this.currentTime=e}function BMConfigErrorEvent(i){this.type="configError",this.nativeError=i}var createElementID=function(){var i=0;return function(){return i+=1,idPrefix$1+"__lottie_element_"+i}}();function HSVtoRGB(i,e,r){var s,o,a,l,c,u,d,g;switch(l=Math.floor(i*6),c=i*6-l,u=r*(1-e),d=r*(1-c*e),g=r*(1-(1-c)*e),l%6){case 0:s=r,o=g,a=u;break;case 1:s=d,o=r,a=u;break;case 2:s=u,o=r,a=g;break;case 3:s=u,o=d,a=r;break;case 4:s=g,o=u,a=r;break;case 5:s=r,o=u,a=d;break}return[s,o,a]}function RGBtoHSV(i,e,r){var s=Math.max(i,e,r),o=Math.min(i,e,r),a=s-o,l,c=s===0?0:a/s,u=s/255;switch(s){case o:l=0;break;case i:l=e-r+a*(e<r?6:0),l/=6*a;break;case e:l=r-i+a*2,l/=6*a;break;case r:l=i-e+a*4,l/=6*a;break}return[l,c,u]}function addSaturationToRGB(i,e){var r=RGBtoHSV(i[0]*255,i[1]*255,i[2]*255);return r[1]+=e,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(i,e){var r=RGBtoHSV(i[0]*255,i[1]*255,i[2]*255);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(i,e){var r=RGBtoHSV(i[0]*255,i[1]*255,i[2]*255);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var i=[],e,r;for(e=0;e<256;e+=1)r=e.toString(16),i[e]=r.length===1?"0"+r:r;return function(s,o,a){return s<0&&(s=0),o<0&&(o=0),a<0&&(a=0),"#"+i[s]+i[o]+i[a]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e};function createNS(i){return document.createElementNS(svgNS,i)}function _typeof$5(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(r){return typeof r}:_typeof$5=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$5(i)}var dataManager=function(){var i=1,e=[],r,s,o={onmessage:function(){},postMessage:function(b){r({data:b})}},a={postMessage:function(b){o.onmessage({data:b})}};function l(y){if(window.Worker&&window.Blob&&getWebWorker()){var b=new Blob(["var _workerSelf = self; self.onmessage = ",y.toString()],{type:"text/javascript"}),A=URL.createObjectURL(b);return new Worker(A)}return r=y,o}function c(){s||(s=l(function(b){function A(){function E(K,G){var q,O,U=K.length,$,Y,Q,xe;for(O=0;O<U;O+=1)if(q=K[O],"ks"in q&&!q.completed){if(q.completed=!0,q.hasMask){var ue=q.masksProperties;for(Y=ue.length,$=0;$<Y;$+=1)if(ue[$].pt.k.i)k(ue[$].pt.k);else for(xe=ue[$].pt.k.length,Q=0;Q<xe;Q+=1)ue[$].pt.k[Q].s&&k(ue[$].pt.k[Q].s[0]),ue[$].pt.k[Q].e&&k(ue[$].pt.k[Q].e[0])}q.ty===0?(q.layers=C(q.refId,G),E(q.layers,G)):q.ty===4?T(q.shapes):q.ty===5&&F(q)}}function x(K,G){if(K){var q=0,O=K.length;for(q=0;q<O;q+=1)K[q].t===1&&(K[q].data.layers=C(K[q].data.refId,G),E(K[q].data.layers,G))}}function P(K,G){for(var q=0,O=G.length;q<O;){if(G[q].id===K)return G[q];q+=1}return null}function C(K,G){var q=P(K,G);return q?q.layers.__used?JSON.parse(JSON.stringify(q.layers)):(q.layers.__used=!0,q.layers):null}function T(K){var G,q=K.length,O,U;for(G=q-1;G>=0;G-=1)if(K[G].ty==="sh")if(K[G].ks.k.i)k(K[G].ks.k);else for(U=K[G].ks.k.length,O=0;O<U;O+=1)K[G].ks.k[O].s&&k(K[G].ks.k[O].s[0]),K[G].ks.k[O].e&&k(K[G].ks.k[O].e[0]);else K[G].ty==="gr"&&T(K[G].it)}function k(K){var G,q=K.i.length;for(G=0;G<q;G+=1)K.i[G][0]+=K.v[G][0],K.i[G][1]+=K.v[G][1],K.o[G][0]+=K.v[G][0],K.o[G][1]+=K.v[G][1]}function I(K,G){var q=G?G.split("."):[100,100,100];return K[0]>q[0]?!0:q[0]>K[0]?!1:K[1]>q[1]?!0:q[1]>K[1]?!1:K[2]>q[2]?!0:q[2]>K[2]?!1:null}var M=function(){var K=[4,4,14];function G(O){var U=O.t.d;O.t.d={k:[{s:U,t:0}]}}function q(O){var U,$=O.length;for(U=0;U<$;U+=1)O[U].ty===5&&G(O[U])}return function(O){if(I(K,O.v)&&(q(O.layers),O.assets)){var U,$=O.assets.length;for(U=0;U<$;U+=1)O.assets[U].layers&&q(O.assets[U].layers)}}}(),R=function(){var K=[4,7,99];return function(G){if(G.chars&&!I(K,G.v)){var q,O=G.chars.length;for(q=0;q<O;q+=1){var U=G.chars[q];U.data&&U.data.shapes&&(T(U.data.shapes),U.data.ip=0,U.data.op=99999,U.data.st=0,U.data.sr=1,U.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}},G.chars[q].t||(U.data.shapes.push({ty:"no"}),U.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"})))}}}}(),B=function(){var K=[5,7,15];function G(O){var U=O.t.p;typeof U.a=="number"&&(U.a={a:0,k:U.a}),typeof U.p=="number"&&(U.p={a:0,k:U.p}),typeof U.r=="number"&&(U.r={a:0,k:U.r})}function q(O){var U,$=O.length;for(U=0;U<$;U+=1)O[U].ty===5&&G(O[U])}return function(O){if(I(K,O.v)&&(q(O.layers),O.assets)){var U,$=O.assets.length;for(U=0;U<$;U+=1)O.assets[U].layers&&q(O.assets[U].layers)}}}(),_=function(){var K=[4,1,9];function G(O){var U,$=O.length,Y,Q;for(U=0;U<$;U+=1)if(O[U].ty==="gr")G(O[U].it);else if(O[U].ty==="fl"||O[U].ty==="st")if(O[U].c.k&&O[U].c.k[0].i)for(Q=O[U].c.k.length,Y=0;Y<Q;Y+=1)O[U].c.k[Y].s&&(O[U].c.k[Y].s[0]/=255,O[U].c.k[Y].s[1]/=255,O[U].c.k[Y].s[2]/=255,O[U].c.k[Y].s[3]/=255),O[U].c.k[Y].e&&(O[U].c.k[Y].e[0]/=255,O[U].c.k[Y].e[1]/=255,O[U].c.k[Y].e[2]/=255,O[U].c.k[Y].e[3]/=255);else O[U].c.k[0]/=255,O[U].c.k[1]/=255,O[U].c.k[2]/=255,O[U].c.k[3]/=255}function q(O){var U,$=O.length;for(U=0;U<$;U+=1)O[U].ty===4&&G(O[U].shapes)}return function(O){if(I(K,O.v)&&(q(O.layers),O.assets)){var U,$=O.assets.length;for(U=0;U<$;U+=1)O.assets[U].layers&&q(O.assets[U].layers)}}}(),V=function(){var K=[4,4,18];function G(O){var U,$=O.length,Y,Q;for(U=$-1;U>=0;U-=1)if(O[U].ty==="sh")if(O[U].ks.k.i)O[U].ks.k.c=O[U].closed;else for(Q=O[U].ks.k.length,Y=0;Y<Q;Y+=1)O[U].ks.k[Y].s&&(O[U].ks.k[Y].s[0].c=O[U].closed),O[U].ks.k[Y].e&&(O[U].ks.k[Y].e[0].c=O[U].closed);else O[U].ty==="gr"&&G(O[U].it)}function q(O){var U,$,Y=O.length,Q,xe,ue,W;for($=0;$<Y;$+=1){if(U=O[$],U.hasMask){var J=U.masksProperties;for(xe=J.length,Q=0;Q<xe;Q+=1)if(J[Q].pt.k.i)J[Q].pt.k.c=J[Q].cl;else for(W=J[Q].pt.k.length,ue=0;ue<W;ue+=1)J[Q].pt.k[ue].s&&(J[Q].pt.k[ue].s[0].c=J[Q].cl),J[Q].pt.k[ue].e&&(J[Q].pt.k[ue].e[0].c=J[Q].cl)}U.ty===4&&G(U.shapes)}}return function(O){if(I(K,O.v)&&(q(O.layers),O.assets)){var U,$=O.assets.length;for(U=0;U<$;U+=1)O.assets[U].layers&&q(O.assets[U].layers)}}}();function D(K){K.__complete||(_(K),M(K),R(K),B(K),V(K),E(K.layers,K.assets),x(K.chars,K.assets),K.__complete=!0)}function F(K){K.t.a.length===0&&"m"in K.t.p}var N={};return N.completeData=D,N.checkColors=_,N.checkChars=R,N.checkPathProperties=B,N.checkShapes=V,N.completeLayers=E,N}if(a.dataManager||(a.dataManager=A()),a.assetLoader||(a.assetLoader=function(){function E(P){var C=P.getResponseHeader("content-type");return C&&P.responseType==="json"&&C.indexOf("json")!==-1||P.response&&_typeof$5(P.response)==="object"?P.response:P.response&&typeof P.response=="string"?JSON.parse(P.response):P.responseText?JSON.parse(P.responseText):null}function x(P,C,T,k){var I,M=new XMLHttpRequest;try{M.responseType="json"}catch(R){}M.onreadystatechange=function(){if(M.readyState===4)if(M.status===200)I=E(M),T(I);else try{I=E(M),T(I)}catch(R){k&&k(R)}};try{M.open(["G","E","T"].join(""),P,!0)}catch(R){M.open(["G","E","T"].join(""),C+"/"+P,!0)}M.send()}return{load:x}}()),b.data.type==="loadAnimation")a.assetLoader.load(b.data.path,b.data.fullPath,function(E){a.dataManager.completeData(E),a.postMessage({id:b.data.id,payload:E,status:"success"})},function(){a.postMessage({id:b.data.id,status:"error"})});else if(b.data.type==="complete"){var S=b.data.animation;a.dataManager.completeData(S),a.postMessage({id:b.data.id,payload:S,status:"success"})}else b.data.type==="loadData"&&a.assetLoader.load(b.data.path,b.data.fullPath,function(E){a.postMessage({id:b.data.id,payload:E,status:"success"})},function(){a.postMessage({id:b.data.id,status:"error"})})}),s.onmessage=function(y){var b=y.data,A=b.id,S=e[A];e[A]=null,b.status==="success"?S.onComplete(b.payload):S.onError&&S.onError()})}function u(y,b){i+=1;var A="processId_"+i;return e[A]={onComplete:y,onError:b},A}function d(y,b,A){c();var S=u(b,A);s.postMessage({type:"loadAnimation",path:y,fullPath:window.location.origin+window.location.pathname,id:S})}function g(y,b,A){c();var S=u(b,A);s.postMessage({type:"loadData",path:y,fullPath:window.location.origin+window.location.pathname,id:S})}function m(y,b,A){c();var S=u(b,A);s.postMessage({type:"complete",animation:y,id:S})}return{loadAnimation:d,loadData:g,completeAnimation:m}}(),ImagePreloader=function(){var i=function(){var x=createTag("canvas");x.width=1,x.height=1;var P=x.getContext("2d");return P.fillStyle="rgba(0,0,0,0)",P.fillRect(0,0,1,1),x}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function s(x,P,C){var T="";if(x.e)T=x.p;else if(P){var k=x.p;k.indexOf("images/")!==-1&&(k=k.split("/")[1]),T=P+k}else T=C,T+=x.u?x.u:"",T+=x.p;return T}function o(x){var P=0,C=setInterval(function(){var T=x.getBBox();(T.width||P>500)&&(this._imageLoaded(),clearInterval(C)),P+=1}.bind(this),50)}function a(x){var P=s(x,this.assetsPath,this.path),C=createNS("image");isSafari?this.testImageLoaded(C):C.addEventListener("load",this._imageLoaded,!1),C.addEventListener("error",function(){T.img=i,this._imageLoaded()}.bind(this),!1),C.setAttributeNS("http://www.w3.org/1999/xlink","href",P),this._elementHelper.append?this._elementHelper.append(C):this._elementHelper.appendChild(C);var T={img:C,assetData:x};return T}function l(x){var P=s(x,this.assetsPath,this.path),C=createTag("img");C.crossOrigin="anonymous",C.addEventListener("load",this._imageLoaded,!1),C.addEventListener("error",function(){T.img=i,this._imageLoaded()}.bind(this),!1),C.src=P;var T={img:C,assetData:x};return T}function c(x){var P={assetData:x},C=s(x,this.assetsPath,this.path);return dataManager.loadData(C,function(T){P.img=T,this._footageLoaded()}.bind(this),function(){P.img={},this._footageLoaded()}.bind(this)),P}function u(x,P){this.imagesLoadedCb=P;var C,T=x.length;for(C=0;C<T;C+=1)x[C].layers||(!x[C].t||x[C].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(x[C]))):x[C].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(x[C]))))}function d(x){this.path=x||""}function g(x){this.assetsPath=x||""}function m(x){for(var P=0,C=this.images.length;P<C;){if(this.images[P].assetData===x)return this.images[P].img;P+=1}return null}function y(){this.imagesLoadedCb=null,this.images.length=0}function b(){return this.totalImages===this.loadedAssets}function A(){return this.totalFootages===this.loadedFootagesCount}function S(x,P){x==="svg"?(this._elementHelper=P,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function E(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=o.bind(this),this.createFootageData=c.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return E.prototype={loadAssets:u,setAssetsPath:g,setPath:d,loadedImages:b,loadedFootages:A,destroy:y,getAsset:m,createImgData:l,createImageData:a,imageLoaded:e,footageLoaded:r,setCacheType:S},E}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,r){if(this._cbs[e])for(var s=this._cbs[e],o=0;o<s.length;o+=1)s[o](r)},addEventListener:function(e,r){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(r),function(){this.removeEventListener(e,r)}.bind(this)},removeEventListener:function(e,r){if(!r)this._cbs[e]=null;else if(this._cbs[e]){for(var s=0,o=this._cbs[e].length;s<o;)this._cbs[e][s]===r&&(this._cbs[e].splice(s,1),s-=1,o-=1),s+=1;this._cbs[e].length||(this._cbs[e]=null)}}};var markerParser=function(){function i(e){for(var r=e.split(`\r
  37. `),s={},o,a=0,l=0;l<r.length;l+=1)o=r[l].split(":"),o.length===2&&(s[o[0]]=o[1].trim(),a+=1);if(a===0)throw new Error;return s}return function(e){for(var r=[],s=0;s<e.length;s+=1){var o=e[s],a={time:o.tm,duration:o.dr};try{a.payload=JSON.parse(e[s].cm)}catch(l){try{a.payload=i(e[s].cm)}catch(c){a.payload={name:e[s].cm}}}r.push(a)}return r}}(),ProjectInterface=function(){function i(e){this.compositions.push(e)}return function(){function e(r){for(var s=0,o=this.compositions.length;s<o;){if(this.compositions[s].data&&this.compositions[s].data.nm===r)return this.compositions[s].prepareFrame&&this.compositions[s].data.xt&&this.compositions[s].prepareFrame(this.currentFrame),this.compositions[s].compInterface;s+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=i,e}}(),renderers={},registerRenderer=function(e,r){renderers[e]=r};function getRenderer(i){return renderers[i]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var i in renderers)if(renderers[i])return i;return""}function _typeof$4(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(r){return typeof r}:_typeof$4=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$4(i)}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),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(i){(i.wrapper||i.container)&&(this.wrapper=i.wrapper||i.container);var e="svg";i.animType?e=i.animType:i.renderer&&(e=i.renderer);var r=getRenderer(e);this.renderer=new r(this,i.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,i.loop===""||i.loop===null||i.loop===void 0||i.loop===!0?this.loop=!0:i.loop===!1?this.loop=!1:this.loop=parseInt(i.loop,10),this.autoplay="autoplay"in i?i.autoplay:!0,this.name=i.name?i.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(i,"autoloadSegments")?i.autoloadSegments:!0,this.assetsPath=i.assetsPath,this.initialSegment=i.initialSegment,i.audioFactory&&this.audioController.setAudioFactory(i.audioFactory),i.animationData?this.setupAnimation(i.animationData):i.path&&(i.path.lastIndexOf("\\")!==-1?this.path=i.path.substr(0,i.path.lastIndexOf("\\")+1):this.path=i.path.substr(0,i.path.lastIndexOf("/")+1),this.fileName=i.path.substr(i.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(i.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(i){dataManager.completeAnimation(i,this.configAnimation)},AnimationItem.prototype.setData=function(i,e){e&&_typeof$4(e)!=="object"&&(e=JSON.parse(e));var r={wrapper:i,animationData:e},s=i.attributes;r.path=s.getNamedItem("data-animation-path")?s.getNamedItem("data-animation-path").value:s.getNamedItem("data-bm-path")?s.getNamedItem("data-bm-path").value:s.getNamedItem("bm-path")?s.getNamedItem("bm-path").value:"",r.animType=s.getNamedItem("data-anim-type")?s.getNamedItem("data-anim-type").value:s.getNamedItem("data-bm-type")?s.getNamedItem("data-bm-type").value:s.getNamedItem("bm-type")?s.getNamedItem("bm-type").value:s.getNamedItem("data-bm-renderer")?s.getNamedItem("data-bm-renderer").value:s.getNamedItem("bm-renderer")?s.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var o=s.getNamedItem("data-anim-loop")?s.getNamedItem("data-anim-loop").value:s.getNamedItem("data-bm-loop")?s.getNamedItem("data-bm-loop").value:s.getNamedItem("bm-loop")?s.getNamedItem("bm-loop").value:"";o==="false"?r.loop=!1:o==="true"?r.loop=!0:o!==""&&(r.loop=parseInt(o,10));var a=s.getNamedItem("data-anim-autoplay")?s.getNamedItem("data-anim-autoplay").value:s.getNamedItem("data-bm-autoplay")?s.getNamedItem("data-bm-autoplay").value:s.getNamedItem("bm-autoplay")?s.getNamedItem("bm-autoplay").value:!0;r.autoplay=a!=="false",r.name=s.getNamedItem("data-name")?s.getNamedItem("data-name").value:s.getNamedItem("data-bm-name")?s.getNamedItem("data-bm-name").value:s.getNamedItem("bm-name")?s.getNamedItem("bm-name").value:"";var l=s.getNamedItem("data-anim-prerender")?s.getNamedItem("data-anim-prerender").value:s.getNamedItem("data-bm-prerender")?s.getNamedItem("data-bm-prerender").value:s.getNamedItem("bm-prerender")?s.getNamedItem("bm-prerender").value:"";l==="false"&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(i){i.op>this.animationData.op&&(this.animationData.op=i.op,this.totalFrames=Math.floor(i.op-this.animationData.ip));var e=this.animationData.layers,r,s=e.length,o=i.layers,a,l=o.length;for(a=0;a<l;a+=1)for(r=0;r<s;){if(e[r].id===o[a].id){e[r]=o[a];break}r+=1}if((i.chars||i.fonts)&&(this.renderer.globalData.fontManager.addChars(i.chars),this.renderer.globalData.fontManager.addFonts(i.fonts,this.renderer.globalData.defs)),i.assets)for(s=i.assets.length,r=0;r<s;r+=1)this.animationData.assets.push(i.assets[r]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(i){this.animationData=i;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var i=this.animationData.segments;if(!i||i.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var e=i.shift();this.timeCompleted=e.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){var i=this.animationData.segments;i||(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(i){if(this.renderer)try{this.animationData=i,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(i),i.assets||(i.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(i.assets),this.markers=markerParser(i.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},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 i=getExpressionsPlugin();i&&i.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(i,e){var r=typeof i=="number"?i:void 0,s=typeof e=="number"?e:void 0;this.renderer.updateContainerSize(r,s)},AnimationItem.prototype.setSubframe=function(i){this.isSubframeEnabled=!!i},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.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(i){this.triggerRenderFrameError(i)}},AnimationItem.prototype.play=function(i){i&&this.name!==i||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(i){i&&this.name!==i||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(i){i&&this.name!==i||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(i){i&&this.name!==i||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(i){for(var e,r=0;r<this.markers.length;r+=1)if(e=this.markers[r],e.payload&&e.payload.name===i)return e;return null},AnimationItem.prototype.goToAndStop=function(i,e,r){if(!(r&&this.name!==r)){var s=Number(i);if(isNaN(s)){var o=this.getMarkerData(i);o&&this.goToAndStop(o.time,!0)}else e?this.setCurrentRawFrameValue(i):this.setCurrentRawFrameValue(i*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(i,e,r){if(!(r&&this.name!==r)){var s=Number(i);if(isNaN(s)){var o=this.getMarkerData(i);o&&(o.duration?this.playSegments([o.time,o.time+o.duration],!0):this.goToAndStop(o.time,!0))}else this.goToAndStop(s,e,r);this.play()}},AnimationItem.prototype.advanceTime=function(i){if(!(this.isPaused===!0||this.isLoaded===!1)){var e=this.currentRawFrame+i*this.frameModifier,r=!1;e>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):e<0?this.checkSegments(e%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,e=0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(i,e){this.playCount=0,i[1]<i[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=i[0]-i[1],this.timeCompleted=this.totalFrames,this.firstFrame=i[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):i[1]>i[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=i[1]-i[0],this.timeCompleted=this.totalFrames,this.firstFrame=i[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(i,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<i?r=i:this.currentRawFrame+this.firstFrame>e&&(r=e-i)),this.firstFrame=i,this.totalFrames=e-i,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(i,e){if(e&&(this.segments.length=0),_typeof$4(i[0])==="object"){var r,s=i.length;for(r=0;r<s;r+=1)this.segments.push(i[r])}else this.segments.push(i);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(i){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),i&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(i){return this.segments.length?(this.adjustSegment(this.segments.shift(),i),!0):!1},AnimationItem.prototype.destroy=function(i){i&&this.name!==i||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(i){this.currentRawFrame=i,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(i){this.playSpeed=i,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(i){this.playDirection=i<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(i){this.loop=i},AnimationItem.prototype.setVolume=function(i,e){e&&this.name!==e||this.audioController.setVolume(i)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(i){i&&this.name!==i||this.audioController.mute()},AnimationItem.prototype.unmute=function(i){i&&this.name!==i||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(i){var e="";if(i.e)e=i.p;else if(this.assetsPath){var r=i.p;r.indexOf("images/")!==-1&&(r=r.split("/")[1]),e=this.assetsPath+r}else e=this.path,e+=i.u?i.u:"",e+=i.p;return e},AnimationItem.prototype.getAssetData=function(i){for(var e=0,r=this.assets.length;e<r;){if(i===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(i){return i?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(i,e,r){try{var s=this.renderer.getElementByPath(i);s.updateDocumentData(e,r)}catch(o){}},AnimationItem.prototype.trigger=function(i){if(this._cbs&&this._cbs[i])switch(i){case"enterFrame":this.triggerEvent(i,new BMEnterFrameEvent(i,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(i,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(i,new BMCompleteLoopEvent(i,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(i,new BMCompleteEvent(i,this.frameMult));break;case"segmentStart":this.triggerEvent(i,new BMSegmentStartEvent(i,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(i,new BMDestroyEvent(i,this));break;default:this.triggerEvent(i)}i==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(i,this.currentFrame,this.totalFrames,this.frameMult)),i==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(i,this.loop,this.playCount,this.frameMult)),i==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(i,this.frameMult)),i==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(i,this.firstFrame,this.totalFrames)),i==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(i,this))},AnimationItem.prototype.triggerRenderFrameError=function(i){var e=new BMRenderFrameErrorEvent(i,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(i){var e=new BMConfigErrorEvent(i,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var i={},e=[],r=0,s=0,o=0,a=!0,l=!1;function c(G){for(var q=0,O=G.target;q<s;)e[q].animation===O&&(e.splice(q,1),q-=1,s-=1,O.isPaused||m()),q+=1}function u(G,q){if(!G)return null;for(var O=0;O<s;){if(e[O].elem===G&&e[O].elem!==null)return e[O].animation;O+=1}var U=new AnimationItem;return y(U,G),U.setData(G,q),U}function d(){var G,q=e.length,O=[];for(G=0;G<q;G+=1)O.push(e[G].animation);return O}function g(){o+=1,_()}function m(){o-=1}function y(G,q){G.addEventListener("destroy",c),G.addEventListener("_active",g),G.addEventListener("_idle",m),e.push({elem:q,animation:G}),s+=1}function b(G){var q=new AnimationItem;return y(q,null),q.setParams(G),q}function A(G,q){var O;for(O=0;O<s;O+=1)e[O].animation.setSpeed(G,q)}function S(G,q){var O;for(O=0;O<s;O+=1)e[O].animation.setDirection(G,q)}function E(G){var q;for(q=0;q<s;q+=1)e[q].animation.play(G)}function x(G){var q=G-r,O;for(O=0;O<s;O+=1)e[O].animation.advanceTime(q);r=G,o&&!l?window.requestAnimationFrame(x):a=!0}function P(G){r=G,window.requestAnimationFrame(x)}function C(G){var q;for(q=0;q<s;q+=1)e[q].animation.pause(G)}function T(G,q,O){var U;for(U=0;U<s;U+=1)e[U].animation.goToAndStop(G,q,O)}function k(G){var q;for(q=0;q<s;q+=1)e[q].animation.stop(G)}function I(G){var q;for(q=0;q<s;q+=1)e[q].animation.togglePause(G)}function M(G){var q;for(q=s-1;q>=0;q-=1)e[q].animation.destroy(G)}function R(G,q,O){var U=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),$,Y=U.length;for($=0;$<Y;$+=1)O&&U[$].setAttribute("data-bm-type",O),u(U[$],G);if(q&&Y===0){O||(O="svg");var Q=document.getElementsByTagName("body")[0];Q.innerText="";var xe=createTag("div");xe.style.width="100%",xe.style.height="100%",xe.setAttribute("data-bm-type",O),Q.appendChild(xe),u(xe,G)}}function B(){var G;for(G=0;G<s;G+=1)e[G].animation.resize()}function _(){!l&&o&&a&&(window.requestAnimationFrame(P),a=!1)}function V(){l=!0}function D(){l=!1,_()}function F(G,q){var O;for(O=0;O<s;O+=1)e[O].animation.setVolume(G,q)}function N(G){var q;for(q=0;q<s;q+=1)e[q].animation.mute(G)}function K(G){var q;for(q=0;q<s;q+=1)e[q].animation.unmute(G)}return i.registerAnimation=u,i.loadAnimation=b,i.setSpeed=A,i.setDirection=S,i.play=E,i.pause=C,i.stop=k,i.togglePause=I,i.searchAnimations=R,i.resize=B,i.goToAndStop=T,i.destroy=M,i.freeze=V,i.unfreeze=D,i.setVolume=F,i.mute=N,i.unmute=K,i.getRegisteredAnimations=d,i}(),BezierFactory=function(){var i={};i.getBezierEasing=r;var e={};function r(P,C,T,k,I){var M=I||("bez_"+P+"_"+C+"_"+T+"_"+k).replace(/\./g,"p");if(e[M])return e[M];var R=new x([P,C,T,k]);return e[M]=R,R}var s=4,o=.001,a=1e-7,l=10,c=11,u=1/(c-1),d=typeof Float32Array=="function";function g(P,C){return 1-3*C+3*P}function m(P,C){return 3*C-6*P}function y(P){return 3*P}function b(P,C,T){return((g(C,T)*P+m(C,T))*P+y(C))*P}function A(P,C,T){return 3*g(C,T)*P*P+2*m(C,T)*P+y(C)}function S(P,C,T,k,I){var M,R,B=0;do R=C+(T-C)/2,M=b(R,k,I)-P,M>0?T=R:C=R;while(Math.abs(M)>a&&++B<l);return R}function E(P,C,T,k){for(var I=0;I<s;++I){var M=A(C,T,k);if(M===0)return C;var R=b(C,T,k)-P;C-=R/M}return C}function x(P){this._p=P,this._mSampleValues=d?new Float32Array(c):new Array(c),this._precomputed=!1,this.get=this.get.bind(this)}return x.prototype={get:function(C){var T=this._p[0],k=this._p[1],I=this._p[2],M=this._p[3];return this._precomputed||this._precompute(),T===k&&I===M?C:C===0?0:C===1?1:b(this._getTForX(C),k,M)},_precompute:function(){var C=this._p[0],T=this._p[1],k=this._p[2],I=this._p[3];this._precomputed=!0,(C!==T||k!==I)&&this._calcSampleValues()},_calcSampleValues:function(){for(var C=this._p[0],T=this._p[2],k=0;k<c;++k)this._mSampleValues[k]=b(k*u,C,T)},_getTForX:function(C){for(var T=this._p[0],k=this._p[2],I=this._mSampleValues,M=0,R=1,B=c-1;R!==B&&I[R]<=C;++R)M+=u;--R;var _=(C-I[R])/(I[R+1]-I[R]),V=M+_*u,D=A(V,T,k);return D>=o?E(C,V,T,k):D===0?V:S(C,M,M+u,T,k)}},i}(),pooling=function(){function i(e){return e.concat(createSizedArray(e.length))}return{double:i}}(),poolFactory=function(){return function(i,e,r){var s=0,o=i,a=createSizedArray(o),l={newElement:c,release:u};function c(){var d;return s?(s-=1,d=a[s]):d=e(),d}function u(d){s===o&&(a=pooling.double(a),o*=2),r&&r(d),a[s]=d,s+=1}return l}}(),bezierLengthPool=function(){function i(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,i)}(),segmentsLengthPool=function(){function i(){return{lengths:[],totalLength:0}}function e(r){var s,o=r.lengths.length;for(s=0;s<o;s+=1)bezierLengthPool.release(r.lengths[s]);r.lengths.length=0}return poolFactory(8,i,e)}();function bezFunction(){var i=Math;function e(y,b,A,S,E,x){var P=y*S+b*E+A*x-E*S-x*y-A*b;return P>-.001&&P<.001}function r(y,b,A,S,E,x,P,C,T){if(A===0&&x===0&&T===0)return e(y,b,S,E,P,C);var k=i.sqrt(i.pow(S-y,2)+i.pow(E-b,2)+i.pow(x-A,2)),I=i.sqrt(i.pow(P-y,2)+i.pow(C-b,2)+i.pow(T-A,2)),M=i.sqrt(i.pow(P-S,2)+i.pow(C-E,2)+i.pow(T-x,2)),R;return k>I?k>M?R=k-I-M:R=M-I-k:M>I?R=M-I-k:R=I-k-M,R>-1e-4&&R<1e-4}var s=function(){return function(y,b,A,S){var E=getDefaultCurveSegments(),x,P,C,T,k,I=0,M,R=[],B=[],_=bezierLengthPool.newElement();for(C=A.length,x=0;x<E;x+=1){for(k=x/(E-1),M=0,P=0;P<C;P+=1)T=bmPow(1-k,3)*y[P]+3*bmPow(1-k,2)*k*A[P]+3*(1-k)*bmPow(k,2)*S[P]+bmPow(k,3)*b[P],R[P]=T,B[P]!==null&&(M+=bmPow(R[P]-B[P],2)),B[P]=R[P];M&&(M=bmSqrt(M),I+=M),_.percents[x]=k,_.lengths[x]=I}return _.addedLength=I,_}}();function o(y){var b=segmentsLengthPool.newElement(),A=y.c,S=y.v,E=y.o,x=y.i,P,C=y._length,T=b.lengths,k=0;for(P=0;P<C-1;P+=1)T[P]=s(S[P],S[P+1],E[P],x[P+1]),k+=T[P].addedLength;return A&&C&&(T[P]=s(S[P],S[0],E[P],x[0]),k+=T[P].addedLength),b.totalLength=k,b}function a(y){this.segmentLength=0,this.points=new Array(y)}function l(y,b){this.partialLength=y,this.point=b}var c=function(){var y={};return function(b,A,S,E){var x=(b[0]+"_"+b[1]+"_"+A[0]+"_"+A[1]+"_"+S[0]+"_"+S[1]+"_"+E[0]+"_"+E[1]).replace(/\./g,"p");if(!y[x]){var P=getDefaultCurveSegments(),C,T,k,I,M,R=0,B,_,V=null;b.length===2&&(b[0]!==A[0]||b[1]!==A[1])&&e(b[0],b[1],A[0],A[1],b[0]+S[0],b[1]+S[1])&&e(b[0],b[1],A[0],A[1],A[0]+E[0],A[1]+E[1])&&(P=2);var D=new a(P);for(k=S.length,C=0;C<P;C+=1){for(_=createSizedArray(k),M=C/(P-1),B=0,T=0;T<k;T+=1)I=bmPow(1-M,3)*b[T]+3*bmPow(1-M,2)*M*(b[T]+S[T])+3*(1-M)*bmPow(M,2)*(A[T]+E[T])+bmPow(M,3)*A[T],_[T]=I,V!==null&&(B+=bmPow(_[T]-V[T],2));B=bmSqrt(B),R+=B,D.points[C]=new l(B,_),V=_}D.segmentLength=R,y[x]=D}return y[x]}}();function u(y,b){var A=b.percents,S=b.lengths,E=A.length,x=bmFloor((E-1)*y),P=y*b.addedLength,C=0;if(x===E-1||x===0||P===S[x])return A[x];for(var T=S[x]>P?-1:1,k=!0;k;)if(S[x]<=P&&S[x+1]>P?(C=(P-S[x])/(S[x+1]-S[x]),k=!1):x+=T,x<0||x>=E-1){if(x===E-1)return A[x];k=!1}return A[x]+(A[x+1]-A[x])*C}function d(y,b,A,S,E,x){var P=u(E,x),C=1-P,T=i.round((C*C*C*y[0]+(P*C*C+C*P*C+C*C*P)*A[0]+(P*P*C+C*P*P+P*C*P)*S[0]+P*P*P*b[0])*1e3)/1e3,k=i.round((C*C*C*y[1]+(P*C*C+C*P*C+C*C*P)*A[1]+(P*P*C+C*P*P+P*C*P)*S[1]+P*P*P*b[1])*1e3)/1e3;return[T,k]}var g=createTypedArray("float32",8);function m(y,b,A,S,E,x,P){E<0?E=0:E>1&&(E=1);var C=u(E,P);x=x>1?1:x;var T=u(x,P),k,I=y.length,M=1-C,R=1-T,B=M*M*M,_=C*M*M*3,V=C*C*M*3,D=C*C*C,F=M*M*R,N=C*M*R+M*C*R+M*M*T,K=C*C*R+M*C*T+C*M*T,G=C*C*T,q=M*R*R,O=C*R*R+M*T*R+M*R*T,U=C*T*R+M*T*T+C*R*T,$=C*T*T,Y=R*R*R,Q=T*R*R+R*T*R+R*R*T,xe=T*T*R+R*T*T+T*R*T,ue=T*T*T;for(k=0;k<I;k+=1)g[k*4]=i.round((B*y[k]+_*A[k]+V*S[k]+D*b[k])*1e3)/1e3,g[k*4+1]=i.round((F*y[k]+N*A[k]+K*S[k]+G*b[k])*1e3)/1e3,g[k*4+2]=i.round((q*y[k]+O*A[k]+U*S[k]+$*b[k])*1e3)/1e3,g[k*4+3]=i.round((Y*y[k]+Q*A[k]+xe*S[k]+ue*b[k])*1e3)/1e3;return g}return{getSegmentsLength:o,getNewSegment:m,getPointInSegment:d,buildBezierData:c,pointOnLine2D:e,pointOnLine3D:r}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(i,e){var r=this.offsetTime,s;this.propType==="multidimensional"&&(s=createTypedArray("float32",this.pv.length));for(var o=e.lastIndex,a=o,l=this.keyframes.length-1,c=!0,u,d,g;c;){if(u=this.keyframes[a],d=this.keyframes[a+1],a===l-1&&i>=d.t-r){u.h&&(u=d),o=0;break}if(d.t-r>i){o=a;break}a<l-1?a+=1:(o=0,c=!1)}g=this.keyframesMetadata[a]||{};var m,y,b,A,S,E,x=d.t-r,P=u.t-r,C;if(u.to){g.bezierData||(g.bezierData=bez.buildBezierData(u.s,d.s||u.e,u.to,u.ti));var T=g.bezierData;if(i>=x||i<P){var k=i>=x?T.points.length-1:0;for(y=T.points[k].point.length,m=0;m<y;m+=1)s[m]=T.points[k].point[m]}else{g.__fnct?E=g.__fnct:(E=BezierFactory.getBezierEasing(u.o.x,u.o.y,u.i.x,u.i.y,u.n).get,g.__fnct=E),b=E((i-P)/(x-P));var I=T.segmentLength*b,M,R=e.lastFrame<i&&e._lastKeyframeIndex===a?e._lastAddedLength:0;for(S=e.lastFrame<i&&e._lastKeyframeIndex===a?e._lastPoint:0,c=!0,A=T.points.length;c;){if(R+=T.points[S].partialLength,I===0||b===0||S===T.points.length-1){for(y=T.points[S].point.length,m=0;m<y;m+=1)s[m]=T.points[S].point[m];break}else if(I>=R&&I<R+T.points[S+1].partialLength){for(M=(I-R)/T.points[S+1].partialLength,y=T.points[S].point.length,m=0;m<y;m+=1)s[m]=T.points[S].point[m]+(T.points[S+1].point[m]-T.points[S].point[m])*M;break}S<A-1?S+=1:c=!1}e._lastPoint=S,e._lastAddedLength=R-T.points[S].partialLength,e._lastKeyframeIndex=a}}else{var B,_,V,D,F;if(l=u.s.length,C=d.s||u.e,this.sh&&u.h!==1)if(i>=x)s[0]=C[0],s[1]=C[1],s[2]=C[2];else if(i<=P)s[0]=u.s[0],s[1]=u.s[1],s[2]=u.s[2];else{var N=createQuaternion(u.s),K=createQuaternion(C),G=(i-P)/(x-P);quaternionToEuler(s,slerp(N,K,G))}else for(a=0;a<l;a+=1)u.h!==1&&(i>=x?b=1:i<P?b=0:(u.o.x.constructor===Array?(g.__fnct||(g.__fnct=[]),g.__fnct[a]?E=g.__fnct[a]:(B=u.o.x[a]===void 0?u.o.x[0]:u.o.x[a],_=u.o.y[a]===void 0?u.o.y[0]:u.o.y[a],V=u.i.x[a]===void 0?u.i.x[0]:u.i.x[a],D=u.i.y[a]===void 0?u.i.y[0]:u.i.y[a],E=BezierFactory.getBezierEasing(B,_,V,D).get,g.__fnct[a]=E)):g.__fnct?E=g.__fnct:(B=u.o.x,_=u.o.y,V=u.i.x,D=u.i.y,E=BezierFactory.getBezierEasing(B,_,V,D).get,u.keyframeMetadata=E),b=E((i-P)/(x-P)))),C=d.s||u.e,F=u.h===1?u.s[a]:u.s[a]+(C[a]-u.s[a])*b,this.propType==="multidimensional"?s[a]=F:s=F}return e.lastIndex=o,s}function slerp(i,e,r){var s=[],o=i[0],a=i[1],l=i[2],c=i[3],u=e[0],d=e[1],g=e[2],m=e[3],y,b,A,S,E;return b=o*u+a*d+l*g+c*m,b<0&&(b=-b,u=-u,d=-d,g=-g,m=-m),1-b>1e-6?(y=Math.acos(b),A=Math.sin(y),S=Math.sin((1-r)*y)/A,E=Math.sin(r*y)/A):(S=1-r,E=r),s[0]=S*o+E*u,s[1]=S*a+E*d,s[2]=S*l+E*g,s[3]=S*c+E*m,s}function quaternionToEuler(i,e){var r=e[0],s=e[1],o=e[2],a=e[3],l=Math.atan2(2*s*a-2*r*o,1-2*s*s-2*o*o),c=Math.asin(2*r*s+2*o*a),u=Math.atan2(2*r*a-2*s*o,1-2*r*r-2*o*o);i[0]=l/degToRads,i[1]=c/degToRads,i[2]=u/degToRads}function createQuaternion(i){var e=i[0]*degToRads,r=i[1]*degToRads,s=i[2]*degToRads,o=Math.cos(e/2),a=Math.cos(r/2),l=Math.cos(s/2),c=Math.sin(e/2),u=Math.sin(r/2),d=Math.sin(s/2),g=o*a*l-c*u*d,m=c*u*l+o*a*d,y=c*a*l+o*u*d,b=o*u*l-c*a*d;return[m,y,b,g]}function getValueAtCurrentTime(){var i=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(i===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&i>=r||this._caching.lastFrame<e&&i<e))){this._caching.lastFrame>=i&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var s=this.interpolateValue(i,this._caching);this.pv=s}return this._caching.lastFrame=i,this.pv}function setVValue(i){var e;if(this.propType==="unidimensional")e=i*this.mult,mathAbs(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var r=0,s=this.v.length;r<s;)e=i[r]*this.mult,mathAbs(this.v[r]-e)>1e-5&&(this.v[r]=e,this._mdf=!0),r+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var i,e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(i=0;i<e;i+=1)r=this.effectsSequence[i](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(i){this.effectsSequence.push(i),this.container.addDynamicProperty(this)}function ValueProperty(i,e,r,s){this.propType="unidimensional",this.mult=r||1,this.data=e,this.v=r?e.k*r:e.k,this.pv=e.k,this._mdf=!1,this.elem=i,this.container=s,this.comp=i.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(i,e,r,s){this.propType="multidimensional",this.mult=r||1,this.data=e,this._mdf=!1,this.elem=i,this.container=s,this.comp=i.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o,a=e.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),o=0;o<a;o+=1)this.v[o]=e.k[o]*this.mult,this.pv[o]=e.k[o];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(i,e,r,s){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=i.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=r||1,this.elem=i,this.container=s,this.comp=i.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(i,e,r,s){this.propType="multidimensional";var o,a=e.k.length,l,c,u,d;for(o=0;o<a-1;o+=1)e.k[o].to&&e.k[o].s&&e.k[o+1]&&e.k[o+1].s&&(l=e.k[o].s,c=e.k[o+1].s,u=e.k[o].to,d=e.k[o].ti,(l.length===2&&!(l[0]===c[0]&&l[1]===c[1])&&bez.pointOnLine2D(l[0],l[1],c[0],c[1],l[0]+u[0],l[1]+u[1])&&bez.pointOnLine2D(l[0],l[1],c[0],c[1],c[0]+d[0],c[1]+d[1])||l.length===3&&!(l[0]===c[0]&&l[1]===c[1]&&l[2]===c[2])&&bez.pointOnLine3D(l[0],l[1],l[2],c[0],c[1],c[2],l[0]+u[0],l[1]+u[1],l[2]+u[2])&&bez.pointOnLine3D(l[0],l[1],l[2],c[0],c[1],c[2],c[0]+d[0],c[1]+d[1],c[2]+d[2]))&&(e.k[o].to=null,e.k[o].ti=null),l[0]===c[0]&&l[1]===c[1]&&u[0]===0&&u[1]===0&&d[0]===0&&d[1]===0&&(l.length===2||l[2]===c[2]&&u[2]===0&&d[2]===0)&&(e.k[o].to=null,e.k[o].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=e,this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=i.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=i,this.container=s,this.comp=i.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var g=e.k[0].s.length;for(this.v=createTypedArray("float32",g),this.pv=createTypedArray("float32",g),o=0;o<g;o+=1)this.v[o]=initFrame,this.pv[o]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",g)},this.addEffect=addEffect}var PropertyFactory=function(){function i(r,s,o,a,l){s.sid&&(s=r.globalData.slotManager.getProp(s));var c;if(!s.k.length)c=new ValueProperty(r,s,a,l);else if(typeof s.k[0]=="number")c=new MultiDimensionalProperty(r,s,a,l);else switch(o){case 0:c=new KeyframedValueProperty(r,s,a,l);break;case 1:c=new KeyframedMultidimensionalProperty(r,s,a,l);break}return c.effectsSequence.length&&l.addDynamicProperty(c),c}var e={getProp:i};return e}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){this.dynamicProperties.indexOf(e)===-1&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var e,r=this.dynamicProperties.length;for(e=0;e<r;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function i(){return createTypedArray("float32",2)}return poolFactory(8,i)}();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(i,e){this.c=i,this.setLength(e);for(var r=0;r<e;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(i){for(;this._maxLength<i;)this.doubleArrayLength();this._length=i},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(i,e,r,s,o){var a;switch(this._length=Math.max(this._length,s+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[s]||a[s]&&!o)&&(a[s]=pointPool.newElement()),a[s][0]=i,a[s][1]=e},ShapePath.prototype.setTripleAt=function(i,e,r,s,o,a,l,c){this.setXYAt(i,e,"v",l,c),this.setXYAt(r,s,"o",l,c),this.setXYAt(o,a,"i",l,c)},ShapePath.prototype.reverse=function(){var i=new ShapePath;i.setPathData(this.c,this._length);var e=this.v,r=this.o,s=this.i,o=0;this.c&&(i.setTripleAt(e[0][0],e[0][1],s[0][0],s[0][1],r[0][0],r[0][1],0,!1),o=1);var a=this._length-1,l=this._length,c;for(c=o;c<l;c+=1)i.setTripleAt(e[a][0],e[a][1],s[a][0],s[a][1],r[a][0],r[a][1],c,!1),a-=1;return i},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function i(){return new ShapePath}function e(o){var a=o._length,l;for(l=0;l<a;l+=1)pointPool.release(o.v[l]),pointPool.release(o.i[l]),pointPool.release(o.o[l]),o.v[l]=null,o.i[l]=null,o.o[l]=null;o._length=0,o.c=!1}function r(o){var a=s.newElement(),l,c=o._length===void 0?o.v.length:o._length;for(a.setLength(c),a.c=o.c,l=0;l<c;l+=1)a.setTripleAt(o.v[l][0],o.v[l][1],o.o[l][0],o.o[l][1],o.i[l][0],o.i[l][1],l);return a}var s=poolFactory(4,i,e);return s.clone=r,s}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(i){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=i,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var i;for(i=0;i<this._length;i+=1)shapePool.release(this.shapes[i]);this._length=0};var shapeCollectionPool=function(){var i={newShapeCollection:o,release:a},e=0,r=4,s=createSizedArray(r);function o(){var l;return e?(e-=1,l=s[e]):l=new ShapeCollection,l}function a(l){var c,u=l._length;for(c=0;c<u;c+=1)shapePool.release(l.shapes[c]);l._length=0,e===r&&(s=pooling.double(s),r*=2),s[e]=l,e+=1}return i}(),ShapePropertyFactory=function(){var i=-999999;function e(x,P,C){var T=C.lastIndex,k,I,M,R,B,_,V,D,F,N=this.keyframes;if(x<N[0].t-this.offsetTime)k=N[0].s[0],M=!0,T=0;else if(x>=N[N.length-1].t-this.offsetTime)k=N[N.length-1].s?N[N.length-1].s[0]:N[N.length-2].e[0],M=!0;else{for(var K=T,G=N.length-1,q=!0,O,U,$;q&&(O=N[K],U=N[K+1],!(U.t-this.offsetTime>x));)K<G-1?K+=1:q=!1;if($=this.keyframesMetadata[K]||{},M=O.h===1,T=K,!M){if(x>=U.t-this.offsetTime)D=1;else if(x<O.t-this.offsetTime)D=0;else{var Y;$.__fnct?Y=$.__fnct:(Y=BezierFactory.getBezierEasing(O.o.x,O.o.y,O.i.x,O.i.y).get,$.__fnct=Y),D=Y((x-(O.t-this.offsetTime))/(U.t-this.offsetTime-(O.t-this.offsetTime)))}I=U.s?U.s[0]:O.e[0]}k=O.s[0]}for(_=P._length,V=k.i[0].length,C.lastIndex=T,R=0;R<_;R+=1)for(B=0;B<V;B+=1)F=M?k.i[R][B]:k.i[R][B]+(I.i[R][B]-k.i[R][B])*D,P.i[R][B]=F,F=M?k.o[R][B]:k.o[R][B]+(I.o[R][B]-k.o[R][B])*D,P.o[R][B]=F,F=M?k.v[R][B]:k.v[R][B]+(I.v[R][B]-k.v[R][B])*D,P.v[R][B]=F}function r(){var x=this.comp.renderedFrame-this.offsetTime,P=this.keyframes[0].t-this.offsetTime,C=this.keyframes[this.keyframes.length-1].t-this.offsetTime,T=this._caching.lastFrame;return T!==i&&(T<P&&x<P||T>C&&x>C)||(this._caching.lastIndex=T<x?this._caching.lastIndex:0,this.interpolateShape(x,this.pv,this._caching)),this._caching.lastFrame=x,this.pv}function s(){this.paths=this.localShapeCollection}function o(x,P){if(x._length!==P._length||x.c!==P.c)return!1;var C,T=x._length;for(C=0;C<T;C+=1)if(x.v[C][0]!==P.v[C][0]||x.v[C][1]!==P.v[C][1]||x.o[C][0]!==P.o[C][0]||x.o[C][1]!==P.o[C][1]||x.i[C][0]!==P.i[C][0]||x.i[C][1]!==P.i[C][1])return!1;return!0}function a(x){o(this.v,x)||(this.v=shapePool.clone(x),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function l(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var x;this.kf?x=this.pv:this.data.ks?x=this.data.ks.k:x=this.data.pt.k;var P,C=this.effectsSequence.length;for(P=0;P<C;P+=1)x=this.effectsSequence[P](x);this.setVValue(x),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function c(x,P,C){this.propType="shape",this.comp=x.comp,this.container=x,this.elem=x,this.data=P,this.k=!1,this.kf=!1,this._mdf=!1;var T=C===3?P.pt.k:P.ks.k;this.v=shapePool.clone(T),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=s,this.effectsSequence=[]}function u(x){this.effectsSequence.push(x),this.container.addDynamicProperty(this)}c.prototype.interpolateShape=e,c.prototype.getValue=l,c.prototype.setVValue=a,c.prototype.addEffect=u;function d(x,P,C){this.propType="shape",this.comp=x.comp,this.elem=x,this.container=x,this.offsetTime=x.data.st,this.keyframes=C===3?P.pt.k:P.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var T=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,T),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=i,this.reset=s,this._caching={lastFrame:i,lastIndex:0},this.effectsSequence=[r.bind(this)]}d.prototype.getValue=l,d.prototype.interpolateShape=e,d.prototype.setVValue=a,d.prototype.addEffect=u;var g=function(){var x=roundCorner;function P(C,T){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=T.d,this.elem=C,this.comp=C.comp,this.frameId=-1,this.initDynamicPropertyContainer(C),this.p=PropertyFactory.getProp(C,T.p,1,0,this),this.s=PropertyFactory.getProp(C,T.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return P.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var T=this.p.v[0],k=this.p.v[1],I=this.s.v[0]/2,M=this.s.v[1]/2,R=this.d!==3,B=this.v;B.v[0][0]=T,B.v[0][1]=k-M,B.v[1][0]=R?T+I:T-I,B.v[1][1]=k,B.v[2][0]=T,B.v[2][1]=k+M,B.v[3][0]=R?T-I:T+I,B.v[3][1]=k,B.i[0][0]=R?T-I*x:T+I*x,B.i[0][1]=k-M,B.i[1][0]=R?T+I:T-I,B.i[1][1]=k-M*x,B.i[2][0]=R?T+I*x:T-I*x,B.i[2][1]=k+M,B.i[3][0]=R?T-I:T+I,B.i[3][1]=k+M*x,B.o[0][0]=R?T+I*x:T-I*x,B.o[0][1]=k-M,B.o[1][0]=R?T+I:T-I,B.o[1][1]=k+M*x,B.o[2][0]=R?T-I*x:T+I*x,B.o[2][1]=k+M,B.o[3][0]=R?T-I:T+I,B.o[3][1]=k-M*x}},extendPrototype([DynamicPropertyContainer],P),P}(),m=function(){function x(P,C){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=P,this.comp=P.comp,this.data=C,this.frameId=-1,this.d=C.d,this.initDynamicPropertyContainer(P),C.sy===1?(this.ir=PropertyFactory.getProp(P,C.ir,0,0,this),this.is=PropertyFactory.getProp(P,C.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(P,C.pt,0,0,this),this.p=PropertyFactory.getProp(P,C.p,1,0,this),this.r=PropertyFactory.getProp(P,C.r,0,degToRads,this),this.or=PropertyFactory.getProp(P,C.or,0,0,this),this.os=PropertyFactory.getProp(P,C.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 x.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var C=Math.floor(this.pt.v)*2,T=Math.PI*2/C,k=!0,I=this.or.v,M=this.ir.v,R=this.os.v,B=this.is.v,_=2*Math.PI*I/(C*2),V=2*Math.PI*M/(C*2),D,F,N,K,G=-Math.PI/2;G+=this.r.v;var q=this.data.d===3?-1:1;for(this.v._length=0,D=0;D<C;D+=1){F=k?I:M,N=k?R:B,K=k?_:V;var O=F*Math.cos(G),U=F*Math.sin(G),$=O===0&&U===0?0:U/Math.sqrt(O*O+U*U),Y=O===0&&U===0?0:-O/Math.sqrt(O*O+U*U);O+=+this.p.v[0],U+=+this.p.v[1],this.v.setTripleAt(O,U,O-$*K*N*q,U-Y*K*N*q,O+$*K*N*q,U+Y*K*N*q,D,!0),k=!k,G+=T*q}},convertPolygonToPath:function(){var C=Math.floor(this.pt.v),T=Math.PI*2/C,k=this.or.v,I=this.os.v,M=2*Math.PI*k/(C*4),R,B=-Math.PI*.5,_=this.data.d===3?-1:1;for(B+=this.r.v,this.v._length=0,R=0;R<C;R+=1){var V=k*Math.cos(B),D=k*Math.sin(B),F=V===0&&D===0?0:D/Math.sqrt(V*V+D*D),N=V===0&&D===0?0:-V/Math.sqrt(V*V+D*D);V+=+this.p.v[0],D+=+this.p.v[1],this.v.setTripleAt(V,D,V-F*M*I*_,D-N*M*I*_,V+F*M*I*_,D+N*M*I*_,R,!0),B+=T*_}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],x),x}(),y=function(){function x(P,C){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=P,this.comp=P.comp,this.frameId=-1,this.d=C.d,this.initDynamicPropertyContainer(P),this.p=PropertyFactory.getProp(P,C.p,1,0,this),this.s=PropertyFactory.getProp(P,C.s,1,0,this),this.r=PropertyFactory.getProp(P,C.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return x.prototype={convertRectToPath:function(){var C=this.p.v[0],T=this.p.v[1],k=this.s.v[0]/2,I=this.s.v[1]/2,M=bmMin(k,I,this.r.v),R=M*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(C+k,T-I+M,C+k,T-I+M,C+k,T-I+R,0,!0),this.v.setTripleAt(C+k,T+I-M,C+k,T+I-R,C+k,T+I-M,1,!0),M!==0?(this.v.setTripleAt(C+k-M,T+I,C+k-M,T+I,C+k-R,T+I,2,!0),this.v.setTripleAt(C-k+M,T+I,C-k+R,T+I,C-k+M,T+I,3,!0),this.v.setTripleAt(C-k,T+I-M,C-k,T+I-M,C-k,T+I-R,4,!0),this.v.setTripleAt(C-k,T-I+M,C-k,T-I+R,C-k,T-I+M,5,!0),this.v.setTripleAt(C-k+M,T-I,C-k+M,T-I,C-k+R,T-I,6,!0),this.v.setTripleAt(C+k-M,T-I,C+k-R,T-I,C+k-M,T-I,7,!0)):(this.v.setTripleAt(C-k,T+I,C-k+R,T+I,C-k,T+I,2),this.v.setTripleAt(C-k,T-I,C-k,T-I+R,C-k,T-I,3))):(this.v.setTripleAt(C+k,T-I+M,C+k,T-I+R,C+k,T-I+M,0,!0),M!==0?(this.v.setTripleAt(C+k-M,T-I,C+k-M,T-I,C+k-R,T-I,1,!0),this.v.setTripleAt(C-k+M,T-I,C-k+R,T-I,C-k+M,T-I,2,!0),this.v.setTripleAt(C-k,T-I+M,C-k,T-I+M,C-k,T-I+R,3,!0),this.v.setTripleAt(C-k,T+I-M,C-k,T+I-R,C-k,T+I-M,4,!0),this.v.setTripleAt(C-k+M,T+I,C-k+M,T+I,C-k+R,T+I,5,!0),this.v.setTripleAt(C+k-M,T+I,C+k-R,T+I,C+k-M,T+I,6,!0),this.v.setTripleAt(C+k,T+I-M,C+k,T+I-M,C+k,T+I-R,7,!0)):(this.v.setTripleAt(C-k,T-I,C-k+R,T-I,C-k,T-I,1,!0),this.v.setTripleAt(C-k,T+I,C-k,T+I-R,C-k,T+I,2,!0),this.v.setTripleAt(C+k,T+I,C+k-R,T+I,C+k,T+I,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:s},extendPrototype([DynamicPropertyContainer],x),x}();function b(x,P,C){var T;if(C===3||C===4){var k=C===3?P.pt:P.ks,I=k.k;I.length?T=new d(x,P,C):T=new c(x,P,C)}else C===5?T=new y(x,P):C===6?T=new g(x,P):C===7&&(T=new m(x,P));return T.k&&x.addDynamicProperty(T),T}function A(){return c}function S(){return d}var E={};return E.getShapeProp=b,E.getConstructorFunction=A,E.getKeyframedConstructorFunction=S,E}();/*!
  38. Transformation Matrix v2.0
  39. (c) Epistemex 2014-2015
  40. www.epistemex.com
  41. By Ken Fyrstenberg
  42. Contributions by leeoniya.
  43. License: MIT, header required.
  44. */var Matrix=function(){var i=Math.cos,e=Math.sin,r=Math.tan,s=Math.round;function o(){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 a(O){if(O===0)return this;var U=i(O),$=e(O);return this._t(U,-$,0,0,$,U,0,0,0,0,1,0,0,0,0,1)}function l(O){if(O===0)return this;var U=i(O),$=e(O);return this._t(1,0,0,0,0,U,-$,0,0,$,U,0,0,0,0,1)}function c(O){if(O===0)return this;var U=i(O),$=e(O);return this._t(U,0,$,0,0,1,0,0,-$,0,U,0,0,0,0,1)}function u(O){if(O===0)return this;var U=i(O),$=e(O);return this._t(U,-$,0,0,$,U,0,0,0,0,1,0,0,0,0,1)}function d(O,U){return this._t(1,U,O,1,0,0)}function g(O,U){return this.shear(r(O),r(U))}function m(O,U){var $=i(U),Y=e(U);return this._t($,Y,0,0,-Y,$,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(O),1,0,0,0,0,1,0,0,0,0,1)._t($,-Y,0,0,Y,$,0,0,0,0,1,0,0,0,0,1)}function y(O,U,$){return!$&&$!==0&&($=1),O===1&&U===1&&$===1?this:this._t(O,0,0,0,0,U,0,0,0,0,$,0,0,0,0,1)}function b(O,U,$,Y,Q,xe,ue,W,J,ce,ge,Ee,Te,De,te,ae){return this.props[0]=O,this.props[1]=U,this.props[2]=$,this.props[3]=Y,this.props[4]=Q,this.props[5]=xe,this.props[6]=ue,this.props[7]=W,this.props[8]=J,this.props[9]=ce,this.props[10]=ge,this.props[11]=Ee,this.props[12]=Te,this.props[13]=De,this.props[14]=te,this.props[15]=ae,this}function A(O,U,$){return $=$||0,O!==0||U!==0||$!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,O,U,$,1):this}function S(O,U,$,Y,Q,xe,ue,W,J,ce,ge,Ee,Te,De,te,ae){var H=this.props;if(O===1&&U===0&&$===0&&Y===0&&Q===0&&xe===1&&ue===0&&W===0&&J===0&&ce===0&&ge===1&&Ee===0)return H[12]=H[12]*O+H[15]*Te,H[13]=H[13]*xe+H[15]*De,H[14]=H[14]*ge+H[15]*te,H[15]*=ae,this._identityCalculated=!1,this;var ve=H[0],pe=H[1],ee=H[2],ne=H[3],me=H[4],Be=H[5],oe=H[6],be=H[7],Ie=H[8],Re=H[9],Pe=H[10],he=H[11],Ce=H[12],ye=H[13],Fe=H[14],Ue=H[15];return H[0]=ve*O+pe*Q+ee*J+ne*Te,H[1]=ve*U+pe*xe+ee*ce+ne*De,H[2]=ve*$+pe*ue+ee*ge+ne*te,H[3]=ve*Y+pe*W+ee*Ee+ne*ae,H[4]=me*O+Be*Q+oe*J+be*Te,H[5]=me*U+Be*xe+oe*ce+be*De,H[6]=me*$+Be*ue+oe*ge+be*te,H[7]=me*Y+Be*W+oe*Ee+be*ae,H[8]=Ie*O+Re*Q+Pe*J+he*Te,H[9]=Ie*U+Re*xe+Pe*ce+he*De,H[10]=Ie*$+Re*ue+Pe*ge+he*te,H[11]=Ie*Y+Re*W+Pe*Ee+he*ae,H[12]=Ce*O+ye*Q+Fe*J+Ue*Te,H[13]=Ce*U+ye*xe+Fe*ce+Ue*De,H[14]=Ce*$+ye*ue+Fe*ge+Ue*te,H[15]=Ce*Y+ye*W+Fe*Ee+Ue*ae,this._identityCalculated=!1,this}function E(O){var U=O.props;return this.transform(U[0],U[1],U[2],U[3],U[4],U[5],U[6],U[7],U[8],U[9],U[10],U[11],U[12],U[13],U[14],U[15])}function x(){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 P(O){for(var U=0;U<16;){if(O.props[U]!==this.props[U])return!1;U+=1}return!0}function C(O){var U;for(U=0;U<16;U+=1)O.props[U]=this.props[U];return O}function T(O){var U;for(U=0;U<16;U+=1)this.props[U]=O[U]}function k(O,U,$){return{x:O*this.props[0]+U*this.props[4]+$*this.props[8]+this.props[12],y:O*this.props[1]+U*this.props[5]+$*this.props[9]+this.props[13],z:O*this.props[2]+U*this.props[6]+$*this.props[10]+this.props[14]}}function I(O,U,$){return O*this.props[0]+U*this.props[4]+$*this.props[8]+this.props[12]}function M(O,U,$){return O*this.props[1]+U*this.props[5]+$*this.props[9]+this.props[13]}function R(O,U,$){return O*this.props[2]+U*this.props[6]+$*this.props[10]+this.props[14]}function B(){var O=this.props[0]*this.props[5]-this.props[1]*this.props[4],U=this.props[5]/O,$=-this.props[1]/O,Y=-this.props[4]/O,Q=this.props[0]/O,xe=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/O,ue=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/O,W=new Matrix;return W.props[0]=U,W.props[1]=$,W.props[4]=Y,W.props[5]=Q,W.props[12]=xe,W.props[13]=ue,W}function _(O){var U=this.getInverseMatrix();return U.applyToPointArray(O[0],O[1],O[2]||0)}function V(O){var U,$=O.length,Y=[];for(U=0;U<$;U+=1)Y[U]=_(O[U]);return Y}function D(O,U,$){var Y=createTypedArray("float32",6);if(this.isIdentity())Y[0]=O[0],Y[1]=O[1],Y[2]=U[0],Y[3]=U[1],Y[4]=$[0],Y[5]=$[1];else{var Q=this.props[0],xe=this.props[1],ue=this.props[4],W=this.props[5],J=this.props[12],ce=this.props[13];Y[0]=O[0]*Q+O[1]*ue+J,Y[1]=O[0]*xe+O[1]*W+ce,Y[2]=U[0]*Q+U[1]*ue+J,Y[3]=U[0]*xe+U[1]*W+ce,Y[4]=$[0]*Q+$[1]*ue+J,Y[5]=$[0]*xe+$[1]*W+ce}return Y}function F(O,U,$){var Y;return this.isIdentity()?Y=[O,U,$]:Y=[O*this.props[0]+U*this.props[4]+$*this.props[8]+this.props[12],O*this.props[1]+U*this.props[5]+$*this.props[9]+this.props[13],O*this.props[2]+U*this.props[6]+$*this.props[10]+this.props[14]],Y}function N(O,U){if(this.isIdentity())return O+","+U;var $=this.props;return Math.round((O*$[0]+U*$[4]+$[12])*100)/100+","+Math.round((O*$[1]+U*$[5]+$[13])*100)/100}function K(){for(var O=0,U=this.props,$="matrix3d(",Y=1e4;O<16;)$+=s(U[O]*Y)/Y,$+=O===15?")":",",O+=1;return $}function G(O){var U=1e4;return O<1e-6&&O>0||O>-1e-6&&O<0?s(O*U)/U:O}function q(){var O=this.props,U=G(O[0]),$=G(O[1]),Y=G(O[4]),Q=G(O[5]),xe=G(O[12]),ue=G(O[13]);return"matrix("+U+","+$+","+Y+","+Q+","+xe+","+ue+")"}return function(){this.reset=o,this.rotate=a,this.rotateX=l,this.rotateY=c,this.rotateZ=u,this.skew=g,this.skewFromAxis=m,this.shear=d,this.scale=y,this.setTransform=b,this.translate=A,this.transform=S,this.multiply=E,this.applyToPoint=k,this.applyToX=I,this.applyToY=M,this.applyToZ=R,this.applyToPointArray=F,this.applyToTriplePoints=D,this.applyToPointStringified=N,this.toCSS=K,this.to2dCSS=q,this.clone=C,this.cloneFromProps=T,this.equals=P,this.inversePoints=V,this.inversePoint=_,this.getInverseMatrix=B,this._t=this.transform,this.isIdentity=x,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(r){return typeof r}:_typeof$3=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$3(i)}var lottie={};function setLocation(i){setLocationHref(i)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(i){setSubframeEnabled(i)}function setPrefix(i){setIdPrefix(i)}function loadAnimation(i){return animationManager.loadAnimation(i)}function setQuality(i){if(typeof i=="string")switch(i){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(i)&&i>1&&setDefaultCurveSegments(i)}function inBrowser(){return typeof navigator<"u"}function installPlugin(i,e){i==="expressions"&&setExpressionsPlugin(e)}function getFactory(i){switch(i){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(i){for(var e=queryString.split("&"),r=0;r<e.length;r+=1){var s=e[r].split("=");if(decodeURIComponent(s[0])==i)return decodeURIComponent(s[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(i){}var ShapeModifiers=function(){var i={},e={};i.registerModifier=r,i.getModifier=s;function r(o,a){e[o]||(e[o]=a)}function s(o,a,l){return new e[o](a,l)}return i}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(i){if(!this.closed){i.sh.container.addDynamicProperty(i.sh);var e={shape:i.sh,data:i,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&i.setAsAnimated()}},ShapeModifier.prototype.init=function(i,e){this.shapes=[],this.elem=i,this.initDynamicPropertyContainer(i),this.initModifierProperties(i,e),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);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(i,e){this.s=PropertyFactory.getProp(i,e.s,0,.01,this),this.e=PropertyFactory.getProp(i,e.e,0,.01,this),this.o=PropertyFactory.getProp(i,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(i){i.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(i,e,r,s,o){var a=[];e<=1?a.push({s:i,e}):i>=1?a.push({s:i-1,e:e-1}):(a.push({s:i,e:1}),a.push({s:0,e:e-1}));var l=[],c,u=a.length,d;for(c=0;c<u;c+=1)if(d=a[c],!(d.e*o<s||d.s*o>s+r)){var g,m;d.s*o<=s?g=0:g=(d.s*o-s)/r,d.e*o>=s+r?m=1:m=(d.e*o-s)/r,l.push([g,m])}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(i){var e,r=i.length;for(e=0;e<r;e+=1)segmentsLengthPool.release(i[e]);return i.length=0,i},TrimModifier.prototype.processShapes=function(i){var e,r;if(this._mdf||i){var s=this.o.v%360/360;if(s<0&&(s+=1),this.s.v>1?e=1+s:this.s.v<0?e=0+s:e=this.s.v+s,this.e.v>1?r=1+s:this.e.v<0?r=0+s:r=this.e.v+s,e>r){var o=e;e=r,r=o}e=Math.round(e*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var a,l,c=this.shapes.length,u,d,g,m,y,b=0;if(r===e)for(l=0;l<c;l+=1)this.shapes[l].localShapeCollection.releaseShapes(),this.shapes[l].shape._mdf=!0,this.shapes[l].shape.paths=this.shapes[l].localShapeCollection,this._mdf&&(this.shapes[l].pathsData.length=0);else if(r===1&&e===0||r===0&&e===1){if(this._mdf)for(l=0;l<c;l+=1)this.shapes[l].pathsData.length=0,this.shapes[l].shape._mdf=!0}else{var A=[],S,E;for(l=0;l<c;l+=1)if(S=this.shapes[l],!S.shape._mdf&&!this._mdf&&!i&&this.m!==2)S.shape.paths=S.localShapeCollection;else{if(a=S.shape.paths,d=a._length,y=0,!S.shape._mdf&&S.pathsData.length)y=S.totalShapeLength;else{for(g=this.releasePathsData(S.pathsData),u=0;u<d;u+=1)m=bez.getSegmentsLength(a.shapes[u]),g.push(m),y+=m.totalLength;S.totalShapeLength=y,S.pathsData=g}b+=y,S.shape._mdf=!0}var x=e,P=r,C=0,T;for(l=c-1;l>=0;l-=1)if(S=this.shapes[l],S.shape._mdf){for(E=S.localShapeCollection,E.releaseShapes(),this.m===2&&c>1?(T=this.calculateShapeEdges(e,r,S.totalShapeLength,C,b),C+=S.totalShapeLength):T=[[x,P]],d=T.length,u=0;u<d;u+=1){x=T[u][0],P=T[u][1],A.length=0,P<=1?A.push({s:S.totalShapeLength*x,e:S.totalShapeLength*P}):x>=1?A.push({s:S.totalShapeLength*(x-1),e:S.totalShapeLength*(P-1)}):(A.push({s:S.totalShapeLength*x,e:S.totalShapeLength}),A.push({s:0,e:S.totalShapeLength*(P-1)}));var k=this.addShapes(S,A[0]);if(A[0].s!==A[0].e){if(A.length>1){var I=S.shape.paths.shapes[S.shape.paths._length-1];if(I.c){var M=k.pop();this.addPaths(k,E),k=this.addShapes(S,A[1],M)}else this.addPaths(k,E),k=this.addShapes(S,A[1])}this.addPaths(k,E)}}S.shape.paths=E}}},TrimModifier.prototype.addPaths=function(i,e){var r,s=i.length;for(r=0;r<s;r+=1)e.addShape(i[r])},TrimModifier.prototype.addSegment=function(i,e,r,s,o,a,l){o.setXYAt(e[0],e[1],"o",a),o.setXYAt(r[0],r[1],"i",a+1),l&&o.setXYAt(i[0],i[1],"v",a),o.setXYAt(s[0],s[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(i,e,r,s){e.setXYAt(i[1],i[5],"o",r),e.setXYAt(i[2],i[6],"i",r+1),s&&e.setXYAt(i[0],i[4],"v",r),e.setXYAt(i[3],i[7],"v",r+1)},TrimModifier.prototype.addShapes=function(i,e,r){var s=i.pathsData,o=i.shape.paths.shapes,a,l=i.shape.paths._length,c,u,d=0,g,m,y,b,A=[],S,E=!0;for(r?(m=r._length,S=r._length):(r=shapePool.newElement(),m=0,S=0),A.push(r),a=0;a<l;a+=1){for(y=s[a].lengths,r.c=o[a].c,u=o[a].c?y.length:y.length+1,c=1;c<u;c+=1)if(g=y[c-1],d+g.addedLength<e.s)d+=g.addedLength,r.c=!1;else if(d>e.e){r.c=!1;break}else e.s<=d&&e.e>=d+g.addedLength?(this.addSegment(o[a].v[c-1],o[a].o[c-1],o[a].i[c],o[a].v[c],r,m,E),E=!1):(b=bez.getNewSegment(o[a].v[c-1],o[a].v[c],o[a].o[c-1],o[a].i[c],(e.s-d)/g.addedLength,(e.e-d)/g.addedLength,y[c-1]),this.addSegmentFromArray(b,r,m,E),E=!1,r.c=!1),d+=g.addedLength,m+=1;if(o[a].c&&y.length){if(g=y[c-1],d<=e.e){var x=y[c-1].addedLength;e.s<=d&&e.e>=d+x?(this.addSegment(o[a].v[c-1],o[a].o[c-1],o[a].i[0],o[a].v[0],r,m,E),E=!1):(b=bez.getNewSegment(o[a].v[c-1],o[a].v[0],o[a].o[c-1],o[a].i[0],(e.s-d)/x,(e.e-d)/x,y[c-1]),this.addSegmentFromArray(b,r,m,E),E=!1,r.c=!1)}else r.c=!1;d+=g.addedLength,m+=1}if(r._length&&(r.setXYAt(r.v[S][0],r.v[S][1],"i",S),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),d>e.e)break;a<l-1&&(r=shapePool.newElement(),E=!0,A.push(r),m=0)}return A};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(i,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(i,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(i,e){var r=e/100,s=[0,0],o=i._length,a=0;for(a=0;a<o;a+=1)s[0]+=i.v[a][0],s[1]+=i.v[a][1];s[0]/=o,s[1]/=o;var l=shapePool.newElement();l.c=i.c;var c,u,d,g,m,y;for(a=0;a<o;a+=1)c=i.v[a][0]+(s[0]-i.v[a][0])*r,u=i.v[a][1]+(s[1]-i.v[a][1])*r,d=i.o[a][0]+(s[0]-i.o[a][0])*-r,g=i.o[a][1]+(s[1]-i.o[a][1])*-r,m=i.i[a][0]+(s[0]-i.i[a][0])*-r,y=i.i[a][1]+(s[1]-i.i[a][1])*-r,l.setTripleAt(c,u,d,g,m,y,a);return l},PuckerAndBloatModifier.prototype.processShapes=function(i){var e,r,s=this.shapes.length,o,a,l=this.amount.v;if(l!==0){var c,u;for(r=0;r<s;r+=1){if(c=this.shapes[r],u=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!i))for(u.releaseShapes(),c.shape._mdf=!0,e=c.shape.paths.shapes,a=c.shape.paths._length,o=0;o<a;o+=1)u.addShape(this.processPath(e[o],l));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var i=[0,0];function e(u){var d=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||d,this.a&&u.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&u.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&u.skewFromAxis(-this.sk.v,this.sa.v),this.r?u.rotate(-this.r.v):u.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?u.translate(this.px.v,this.py.v,-this.pz.v):u.translate(this.px.v,this.py.v,0):u.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function r(u){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||u){var d;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 g,m;if(d=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(g=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/d,0),m=this.p.getValueAtTime(this.p.keyframes[0].t/d,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(g=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/d,0),m=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/d,0)):(g=this.p.pv,m=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/d,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){g=[],m=[];var y=this.px,b=this.py;y._caching.lastFrame+y.offsetTime<=y.keyframes[0].t?(g[0]=y.getValueAtTime((y.keyframes[0].t+.01)/d,0),g[1]=b.getValueAtTime((b.keyframes[0].t+.01)/d,0),m[0]=y.getValueAtTime(y.keyframes[0].t/d,0),m[1]=b.getValueAtTime(b.keyframes[0].t/d,0)):y._caching.lastFrame+y.offsetTime>=y.keyframes[y.keyframes.length-1].t?(g[0]=y.getValueAtTime(y.keyframes[y.keyframes.length-1].t/d,0),g[1]=b.getValueAtTime(b.keyframes[b.keyframes.length-1].t/d,0),m[0]=y.getValueAtTime((y.keyframes[y.keyframes.length-1].t-.01)/d,0),m[1]=b.getValueAtTime((b.keyframes[b.keyframes.length-1].t-.01)/d,0)):(g=[y.pv,b.pv],m[0]=y.getValueAtTime((y._caching.lastFrame+y.offsetTime-.01)/d,y.offsetTime),m[1]=b.getValueAtTime((b._caching.lastFrame+b.offsetTime-.01)/d,b.offsetTime))}else m=i,g=m;this.v.rotate(-Math.atan2(g[1]-m[1],g[0]-m[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function s(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function o(){}function a(u){this._addDynamicProperty(u),this.elem.addDynamicProperty(u),this._isDirty=!0}function l(u,d,g){if(this.elem=u,this.frameId=-1,this.propType="transform",this.data=d,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(g||u),d.p&&d.p.s?(this.px=PropertyFactory.getProp(u,d.p.x,0,0,this),this.py=PropertyFactory.getProp(u,d.p.y,0,0,this),d.p.z&&(this.pz=PropertyFactory.getProp(u,d.p.z,0,0,this))):this.p=PropertyFactory.getProp(u,d.p||{k:[0,0,0]},1,0,this),d.rx){if(this.rx=PropertyFactory.getProp(u,d.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(u,d.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(u,d.rz,0,degToRads,this),d.or.k[0].ti){var m,y=d.or.k.length;for(m=0;m<y;m+=1)d.or.k[m].to=null,d.or.k[m].ti=null}this.or=PropertyFactory.getProp(u,d.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(u,d.r||{k:0},0,degToRads,this);d.sk&&(this.sk=PropertyFactory.getProp(u,d.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(u,d.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(u,d.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(u,d.s||{k:[100,100,100]},1,.01,this),d.o?this.o=PropertyFactory.getProp(u,d.o,0,.01,u):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}l.prototype={applyToMatrix:e,getValue:r,precalculateMatrix:s,autoOrient:o},extendPrototype([DynamicPropertyContainer],l),l.prototype.addDynamicProperty=a,l.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function c(u,d,g){return new l(u,d,g)}return{getTransformProperty:c}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(i,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(i,e.c,0,null,this),this.o=PropertyFactory.getProp(i,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(i,e.tr,this),this.so=PropertyFactory.getProp(i,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(i,e.tr.eo,0,.01,this),this.data=e,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(i,e,r,s,o,a){var l=a?-1:1,c=s.s.v[0]+(1-s.s.v[0])*(1-o),u=s.s.v[1]+(1-s.s.v[1])*(1-o);i.translate(s.p.v[0]*l*o,s.p.v[1]*l*o,s.p.v[2]),e.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),e.rotate(-s.r.v*l*o),e.translate(s.a.v[0],s.a.v[1],s.a.v[2]),r.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),r.scale(a?1/c:c,a?1/u:u),r.translate(s.a.v[0],s.a.v[1],s.a.v[2])},RepeaterModifier.prototype.init=function(i,e,r,s){for(this.elem=i,this.arr=e,this.pos=r,this.elemsData=s,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(i),this.initModifierProperties(i,e[r]);r>0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(i){var e,r=i.length;for(e=0;e<r;e+=1)i[e]._processed=!1,i[e].ty==="gr"&&this.resetElements(i[e].it)},RepeaterModifier.prototype.cloneElements=function(i){var e=JSON.parse(JSON.stringify(i));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(i,e){var r,s=i.length;for(r=0;r<s;r+=1)i[r]._render=e,i[r].ty==="gr"&&this.changeGroupRender(i[r].it,e)},RepeaterModifier.prototype.processShapes=function(i){var e,r,s,o,a,l=!1;if(this._mdf||i){var c=Math.ceil(this.c.v);if(this._groups.length<c){for(;this._groups.length<c;){var u={it:this.cloneElements(this._elements),ty:"gr"};u.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,u),this._groups.splice(0,0,u),this._currentCopies+=1}this.elem.reloadShapes(),l=!0}a=0;var d;for(s=0;s<=this._groups.length-1;s+=1){if(d=a<c,this._groups[s]._render=d,this.changeGroupRender(this._groups[s].it,d),!d){var g=this.elemsData[s].it,m=g[g.length-1];m.transform.op.v!==0?(m.transform.op._mdf=!0,m.transform.op.v=0):m.transform.op._mdf=!1}a+=1}this._currentCopies=c;var y=this.o.v,b=y%1,A=y>0?Math.floor(y):Math.ceil(y),S=this.pMatrix.props,E=this.rMatrix.props,x=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var P=0;if(y>0){for(;P<A;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),P+=1;b&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,b,!1),P+=b)}else if(y<0){for(;P>A;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),P-=1;b&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-b,!0),P-=b)}s=this.data.m===1?0:this._currentCopies-1,o=this.data.m===1?1:-1,a=this._currentCopies;for(var C,T;a;){if(e=this.elemsData[s].it,r=e[e.length-1].transform.mProps.v.props,T=r.length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(s/(this._currentCopies-1)),P!==0){for((s!==0&&o===1||s!==this._currentCopies-1&&o===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],E[9],E[10],E[11],E[12],E[13],E[14],E[15]),this.matrix.transform(x[0],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15]),this.matrix.transform(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],S[8],S[9],S[10],S[11],S[12],S[13],S[14],S[15]),C=0;C<T;C+=1)r[C]=this.matrix.props[C];this.matrix.reset()}else for(this.matrix.reset(),C=0;C<T;C+=1)r[C]=this.matrix.props[C];P+=1,a-=1,s+=o}}else for(a=this._currentCopies,s=0,o=1;a;)e=this.elemsData[s].it,r=e[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,a-=1,s+=o;return l},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(i,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(i,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(i,e){var r=shapePool.newElement();r.c=i.c;var s,o=i._length,a,l,c,u,d,g,m=0,y,b,A,S,E,x;for(s=0;s<o;s+=1)a=i.v[s],c=i.o[s],l=i.i[s],a[0]===c[0]&&a[1]===c[1]&&a[0]===l[0]&&a[1]===l[1]?(s===0||s===o-1)&&!i.c?(r.setTripleAt(a[0],a[1],c[0],c[1],l[0],l[1],m),m+=1):(s===0?u=i.v[o-1]:u=i.v[s-1],d=Math.sqrt(Math.pow(a[0]-u[0],2)+Math.pow(a[1]-u[1],2)),g=d?Math.min(d/2,e)/d:0,E=a[0]+(u[0]-a[0])*g,y=E,x=a[1]-(a[1]-u[1])*g,b=x,A=y-(y-a[0])*roundCorner,S=b-(b-a[1])*roundCorner,r.setTripleAt(y,b,A,S,E,x,m),m+=1,s===o-1?u=i.v[0]:u=i.v[s+1],d=Math.sqrt(Math.pow(a[0]-u[0],2)+Math.pow(a[1]-u[1],2)),g=d?Math.min(d/2,e)/d:0,A=a[0]+(u[0]-a[0])*g,y=A,S=a[1]+(u[1]-a[1])*g,b=S,E=y-(y-a[0])*roundCorner,x=b-(b-a[1])*roundCorner,r.setTripleAt(y,b,A,S,E,x,m),m+=1):(r.setTripleAt(i.v[s][0],i.v[s][1],i.o[s][0],i.o[s][1],i.i[s][0],i.i[s][1],m),m+=1);return r},RoundCornersModifier.prototype.processShapes=function(i){var e,r,s=this.shapes.length,o,a,l=this.rd.v;if(l!==0){var c,u;for(r=0;r<s;r+=1){if(c=this.shapes[r],u=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!i))for(u.releaseShapes(),c.shape._mdf=!0,e=c.shape.paths.shapes,a=c.shape.paths._length,o=0;o<a;o+=1)u.addShape(this.processPath(e[o],l));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(i,e){return Math.abs(i-e)*1e5<=Math.min(Math.abs(i),Math.abs(e))}function floatZero(i){return Math.abs(i)<=1e-5}function lerp(i,e,r){return i*(1-r)+e*r}function lerpPoint(i,e,r){return[lerp(i[0],e[0],r),lerp(i[1],e[1],r)]}function quadRoots(i,e,r){if(i===0)return[];var s=e*e-4*i*r;if(s<0)return[];var o=-e/(2*i);if(s===0)return[o];var a=Math.sqrt(s)/(2*i);return[o-a,o+a]}function polynomialCoefficients(i,e,r,s){return[-i+3*e-3*r+s,3*i-6*e+3*r,-3*i+3*e,i]}function singlePoint(i){return new PolynomialBezier(i,i,i,i,!1)}function PolynomialBezier(i,e,r,s,o){o&&pointEqual(i,e)&&(e=lerpPoint(i,s,1/3)),o&&pointEqual(r,s)&&(r=lerpPoint(i,s,2/3));var a=polynomialCoefficients(i[0],e[0],r[0],s[0]),l=polynomialCoefficients(i[1],e[1],r[1],s[1]);this.a=[a[0],l[0]],this.b=[a[1],l[1]],this.c=[a[2],l[2]],this.d=[a[3],l[3]],this.points=[i,e,r,s]}PolynomialBezier.prototype.point=function(i){return[((this.a[0]*i+this.b[0])*i+this.c[0])*i+this.d[0],((this.a[1]*i+this.b[1])*i+this.c[1])*i+this.d[1]]},PolynomialBezier.prototype.derivative=function(i){return[(3*i*this.a[0]+2*this.b[0])*i+this.c[0],(3*i*this.a[1]+2*this.b[1])*i+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(i){var e=this.derivative(i);return Math.atan2(e[1],e[0])},PolynomialBezier.prototype.normalAngle=function(i){var e=this.derivative(i);return Math.atan2(e[0],e[1])},PolynomialBezier.prototype.inflectionPoints=function(){var i=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(i))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/i,r=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/i;if(r<0)return[];var s=Math.sqrt(r);return floatZero(s)?s>0&&s<1?[e]:[]:[e-s,e+s].filter(function(o){return o>0&&o<1})},PolynomialBezier.prototype.split=function(i){if(i<=0)return[singlePoint(this.points[0]),this];if(i>=1)return[this,singlePoint(this.points[this.points.length-1])];var e=lerpPoint(this.points[0],this.points[1],i),r=lerpPoint(this.points[1],this.points[2],i),s=lerpPoint(this.points[2],this.points[3],i),o=lerpPoint(e,r,i),a=lerpPoint(r,s,i),l=lerpPoint(o,a,i);return[new PolynomialBezier(this.points[0],e,o,l,!0),new PolynomialBezier(l,a,s,this.points[3],!0)]};function extrema(i,e){var r=i.points[0][e],s=i.points[i.points.length-1][e];if(r>s){var o=s;s=r,r=o}for(var a=quadRoots(3*i.a[e],2*i.b[e],i.c[e]),l=0;l<a.length;l+=1)if(a[l]>0&&a[l]<1){var c=i.point(a[l])[e];c<r?r=c:c>s&&(s=c)}return{min:r,max:s}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var i=this.bounds();return{left:i.x.min,right:i.x.max,top:i.y.min,bottom:i.y.max,width:i.x.max-i.x.min,height:i.y.max-i.y.min,cx:(i.x.max+i.x.min)/2,cy:(i.y.max+i.y.min)/2}};function intersectData(i,e,r){var s=i.boundingBox();return{cx:s.cx,cy:s.cy,width:s.width,height:s.height,bez:i,t:(e+r)/2,t1:e,t2:r}}function splitData(i){var e=i.bez.split(.5);return[intersectData(e[0],i.t1,i.t),intersectData(e[1],i.t,i.t2)]}function boxIntersect(i,e){return Math.abs(i.cx-e.cx)*2<i.width+e.width&&Math.abs(i.cy-e.cy)*2<i.height+e.height}function intersectsImpl(i,e,r,s,o,a){if(boxIntersect(i,e)){if(r>=a||i.width<=s&&i.height<=s&&e.width<=s&&e.height<=s){o.push([i.t,e.t]);return}var l=splitData(i),c=splitData(e);intersectsImpl(l[0],c[0],r+1,s,o,a),intersectsImpl(l[0],c[1],r+1,s,o,a),intersectsImpl(l[1],c[0],r+1,s,o,a),intersectsImpl(l[1],c[1],r+1,s,o,a)}}PolynomialBezier.prototype.intersections=function(i,e,r){e===void 0&&(e=2),r===void 0&&(r=7);var s=[];return intersectsImpl(intersectData(this,0,1),intersectData(i,0,1),0,e,s,r),s},PolynomialBezier.shapeSegment=function(i,e){var r=(e+1)%i.length();return new PolynomialBezier(i.v[e],i.o[e],i.i[r],i.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(i,e){var r=(e+1)%i.length();return new PolynomialBezier(i.v[r],i.i[r],i.o[e],i.v[e],!0)};function crossProduct(i,e){return[i[1]*e[2]-i[2]*e[1],i[2]*e[0]-i[0]*e[2],i[0]*e[1]-i[1]*e[0]]}function lineIntersection(i,e,r,s){var o=[i[0],i[1],1],a=[e[0],e[1],1],l=[r[0],r[1],1],c=[s[0],s[1],1],u=crossProduct(crossProduct(o,a),crossProduct(l,c));return floatZero(u[2])?null:[u[0]/u[2],u[1]/u[2]]}function polarOffset(i,e,r){return[i[0]+Math.cos(e)*r,i[1]-Math.sin(e)*r]}function pointDistance(i,e){return Math.hypot(i[0]-e[0],i[1]-e[1])}function pointEqual(i,e){return floatEqual(i[0],e[0])&&floatEqual(i[1],e[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(i,e){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(i,e.s,0,null,this),this.frequency=PropertyFactory.getProp(i,e.r,0,null,this),this.pointsType=PropertyFactory.getProp(i,e.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(i,e,r,s,o,a,l){var c=r-Math.PI/2,u=r+Math.PI/2,d=e[0]+Math.cos(r)*s*o,g=e[1]-Math.sin(r)*s*o;i.setTripleAt(d,g,d+Math.cos(c)*a,g-Math.sin(c)*a,d+Math.cos(u)*l,g-Math.sin(u)*l,i.length())}function getPerpendicularVector(i,e){var r=[e[0]-i[0],e[1]-i[1]],s=-Math.PI*.5,o=[Math.cos(s)*r[0]-Math.sin(s)*r[1],Math.sin(s)*r[0]+Math.cos(s)*r[1]];return o}function getProjectingAngle(i,e){var r=e===0?i.length()-1:e-1,s=(e+1)%i.length(),o=i.v[r],a=i.v[s],l=getPerpendicularVector(o,a);return Math.atan2(0,1)-Math.atan2(l[1],l[0])}function zigZagCorner(i,e,r,s,o,a,l){var c=getProjectingAngle(e,r),u=e.v[r%e._length],d=e.v[r===0?e._length-1:r-1],g=e.v[(r+1)%e._length],m=a===2?Math.sqrt(Math.pow(u[0]-d[0],2)+Math.pow(u[1]-d[1],2)):0,y=a===2?Math.sqrt(Math.pow(u[0]-g[0],2)+Math.pow(u[1]-g[1],2)):0;setPoint(i,e.v[r%e._length],c,l,s,y/((o+1)*2),m/((o+1)*2))}function zigZagSegment(i,e,r,s,o,a){for(var l=0;l<s;l+=1){var c=(l+1)/(s+1),u=o===2?Math.sqrt(Math.pow(e.points[3][0]-e.points[0][0],2)+Math.pow(e.points[3][1]-e.points[0][1],2)):0,d=e.normalAngle(c),g=e.point(c);setPoint(i,g,d,a,r,u/((s+1)*2),u/((s+1)*2)),a=-a}return a}ZigZagModifier.prototype.processPath=function(i,e,r,s){var o=i._length,a=shapePool.newElement();if(a.c=i.c,i.c||(o-=1),o===0)return a;var l=-1,c=PolynomialBezier.shapeSegment(i,0);zigZagCorner(a,i,0,e,r,s,l);for(var u=0;u<o;u+=1)l=zigZagSegment(a,c,e,r,s,-l),u===o-1&&!i.c?c=null:c=PolynomialBezier.shapeSegment(i,(u+1)%o),zigZagCorner(a,i,u+1,e,r,s,l);return a},ZigZagModifier.prototype.processShapes=function(i){var e,r,s=this.shapes.length,o,a,l=this.amplitude.v,c=Math.max(0,Math.round(this.frequency.v)),u=this.pointsType.v;if(l!==0){var d,g;for(r=0;r<s;r+=1){if(d=this.shapes[r],g=d.localShapeCollection,!(!d.shape._mdf&&!this._mdf&&!i))for(g.releaseShapes(),d.shape._mdf=!0,e=d.shape.paths.shapes,a=d.shape.paths._length,o=0;o<a;o+=1)g.addShape(this.processPath(e[o],l,c,u));d.shape.paths=d.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(i,e,r){var s=Math.atan2(e[0]-i[0],e[1]-i[1]);return[polarOffset(i,s,r),polarOffset(e,s,r)]}function offsetSegment(i,e){var r,s,o,a,l,c,u;u=linearOffset(i.points[0],i.points[1],e),r=u[0],s=u[1],u=linearOffset(i.points[1],i.points[2],e),o=u[0],a=u[1],u=linearOffset(i.points[2],i.points[3],e),l=u[0],c=u[1];var d=lineIntersection(r,s,o,a);d===null&&(d=s);var g=lineIntersection(l,c,o,a);return g===null&&(g=l),new PolynomialBezier(r,d,g,c)}function joinLines(i,e,r,s,o){var a=e.points[3],l=r.points[0];if(s===3||pointEqual(a,l))return a;if(s===2){var c=-e.tangentAngle(1),u=-r.tangentAngle(0)+Math.PI,d=lineIntersection(a,polarOffset(a,c+Math.PI/2,100),l,polarOffset(l,c+Math.PI/2,100)),g=d?pointDistance(d,a):pointDistance(a,l)/2,m=polarOffset(a,c,2*g*roundCorner);return i.setXYAt(m[0],m[1],"o",i.length()-1),m=polarOffset(l,u,2*g*roundCorner),i.setTripleAt(l[0],l[1],l[0],l[1],m[0],m[1],i.length()),l}var y=pointEqual(a,e.points[2])?e.points[0]:e.points[2],b=pointEqual(l,r.points[1])?r.points[3]:r.points[1],A=lineIntersection(y,a,l,b);return A&&pointDistance(A,a)<o?(i.setTripleAt(A[0],A[1],A[0],A[1],A[0],A[1],i.length()),A):a}function getIntersection(i,e){var r=i.intersections(e);return r.length&&floatEqual(r[0][0],1)&&r.shift(),r.length?r[0]:null}function pruneSegmentIntersection(i,e){var r=i.slice(),s=e.slice(),o=getIntersection(i[i.length-1],e[0]);return o&&(r[i.length-1]=i[i.length-1].split(o[0])[0],s[0]=e[0].split(o[1])[1]),i.length>1&&e.length>1&&(o=getIntersection(i[0],e[e.length-1]),o)?[[i[0].split(o[0])[0]],[e[e.length-1].split(o[1])[1]]]:[r,s]}function pruneIntersections(i){for(var e,r=1;r<i.length;r+=1)e=pruneSegmentIntersection(i[r-1],i[r]),i[r-1]=e[0],i[r]=e[1];return i.length>1&&(e=pruneSegmentIntersection(i[i.length-1],i[0]),i[i.length-1]=e[0],i[0]=e[1]),i}function offsetSegmentSplit(i,e){var r=i.inflectionPoints(),s,o,a,l;if(r.length===0)return[offsetSegment(i,e)];if(r.length===1||floatEqual(r[1],1))return a=i.split(r[0]),s=a[0],o=a[1],[offsetSegment(s,e),offsetSegment(o,e)];a=i.split(r[0]),s=a[0];var c=(r[1]-r[0])/(1-r[0]);return a=a[1].split(c),l=a[0],o=a[1],[offsetSegment(s,e),offsetSegment(l,e),offsetSegment(o,e)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(i,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(i,e.a,0,null,this),this.miterLimit=PropertyFactory.getProp(i,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(i,e,r,s){var o=shapePool.newElement();o.c=i.c;var a=i.length();i.c||(a-=1);var l,c,u,d=[];for(l=0;l<a;l+=1)u=PolynomialBezier.shapeSegment(i,l),d.push(offsetSegmentSplit(u,e));if(!i.c)for(l=a-1;l>=0;l-=1)u=PolynomialBezier.shapeSegmentInverted(i,l),d.push(offsetSegmentSplit(u,e));d=pruneIntersections(d);var g=null,m=null;for(l=0;l<d.length;l+=1){var y=d[l];for(m&&(g=joinLines(o,m,y[0],r,s)),m=y[y.length-1],c=0;c<y.length;c+=1)u=y[c],g&&pointEqual(u.points[0],g)?o.setXYAt(u.points[1][0],u.points[1][1],"o",o.length()-1):o.setTripleAt(u.points[0][0],u.points[0][1],u.points[1][0],u.points[1][1],u.points[0][0],u.points[0][1],o.length()),o.setTripleAt(u.points[3][0],u.points[3][1],u.points[3][0],u.points[3][1],u.points[2][0],u.points[2][1],o.length()),g=u.points[3]}return d.length&&joinLines(o,m,d[0][0],r,s),o},OffsetPathModifier.prototype.processShapes=function(i){var e,r,s=this.shapes.length,o,a,l=this.amount.v,c=this.miterLimit.v,u=this.lineJoin;if(l!==0){var d,g;for(r=0;r<s;r+=1){if(d=this.shapes[r],g=d.localShapeCollection,!(!d.shape._mdf&&!this._mdf&&!i))for(g.releaseShapes(),d.shape._mdf=!0,e=d.shape.paths.shapes,a=d.shape.paths._length,o=0;o<a;o+=1)g.addShape(this.processPath(e[o],l,u,c));d.shape.paths=d.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(i){for(var e=i.fStyle?i.fStyle.split(" "):[],r="normal",s="normal",o=e.length,a,l=0;l<o;l+=1)switch(a=e[l].toLowerCase(),a){case"italic":s="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200";break}return{style:s,weight:i.fWeight||r}}var FontManager=function(){var i=5e3,e={w:0,size:0,shapes:[],data:{shapes:[]}},r=[];r=r.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 s=127988,o=917631,a=917601,l=917626,c=65039,u=8205,d=127462,g=127487,m=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function y(G){var q=G.split(","),O,U=q.length,$=[];for(O=0;O<U;O+=1)q[O]!=="sans-serif"&&q[O]!=="monospace"&&$.push(q[O]);return $.join(",")}function b(G,q){var O=createTag("span");O.setAttribute("aria-hidden",!0),O.style.fontFamily=q;var U=createTag("span");U.innerText="giItT1WQy@!-/#",O.style.position="absolute",O.style.left="-10000px",O.style.top="-10000px",O.style.fontSize="300px",O.style.fontVariant="normal",O.style.fontStyle="normal",O.style.fontWeight="normal",O.style.letterSpacing="0",O.appendChild(U),document.body.appendChild(O);var $=U.offsetWidth;return U.style.fontFamily=y(G)+", "+q,{node:U,w:$,parent:O}}function A(){var G,q=this.fonts.length,O,U,$=q;for(G=0;G<q;G+=1)this.fonts[G].loaded?$-=1:this.fonts[G].fOrigin==="n"||this.fonts[G].origin===0?this.fonts[G].loaded=!0:(O=this.fonts[G].monoCase.node,U=this.fonts[G].monoCase.w,O.offsetWidth!==U?($-=1,this.fonts[G].loaded=!0):(O=this.fonts[G].sansCase.node,U=this.fonts[G].sansCase.w,O.offsetWidth!==U&&($-=1,this.fonts[G].loaded=!0)),this.fonts[G].loaded&&(this.fonts[G].sansCase.parent.parentNode.removeChild(this.fonts[G].sansCase.parent),this.fonts[G].monoCase.parent.parentNode.removeChild(this.fonts[G].monoCase.parent)));$!==0&&Date.now()-this.initTime<i?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function S(G,q){var O=document.body&&q?"svg":"canvas",U,$=getFontProperties(G);if(O==="svg"){var Y=createNS("text");Y.style.fontSize="100px",Y.setAttribute("font-family",G.fFamily),Y.setAttribute("font-style",$.style),Y.setAttribute("font-weight",$.weight),Y.textContent="1",G.fClass?(Y.style.fontFamily="inherit",Y.setAttribute("class",G.fClass)):Y.style.fontFamily=G.fFamily,q.appendChild(Y),U=Y}else{var Q=new OffscreenCanvas(500,500).getContext("2d");Q.font=$.style+" "+$.weight+" 100px "+G.fFamily,U=Q}function xe(ue){return O==="svg"?(U.textContent=ue,U.getComputedTextLength()):U.measureText(ue).width}return{measureText:xe}}function E(G,q){if(!G){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=G.list;return}if(!document.body){this.isLoaded=!0,G.list.forEach(function(ge){ge.helper=S(ge),ge.cache={}}),this.fonts=G.list;return}var O=G.list,U,$=O.length,Y=$;for(U=0;U<$;U+=1){var Q=!0,xe,ue;if(O[U].loaded=!1,O[U].monoCase=b(O[U].fFamily,"monospace"),O[U].sansCase=b(O[U].fFamily,"sans-serif"),!O[U].fPath)O[U].loaded=!0,Y-=1;else if(O[U].fOrigin==="p"||O[U].origin===3){if(xe=document.querySelectorAll('style[f-forigin="p"][f-family="'+O[U].fFamily+'"], style[f-origin="3"][f-family="'+O[U].fFamily+'"]'),xe.length>0&&(Q=!1),Q){var W=createTag("style");W.setAttribute("f-forigin",O[U].fOrigin),W.setAttribute("f-origin",O[U].origin),W.setAttribute("f-family",O[U].fFamily),W.type="text/css",W.innerText="@font-face {font-family: "+O[U].fFamily+"; font-style: normal; src: url('"+O[U].fPath+"');}",q.appendChild(W)}}else if(O[U].fOrigin==="g"||O[U].origin===1){for(xe=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),ue=0;ue<xe.length;ue+=1)xe[ue].href.indexOf(O[U].fPath)!==-1&&(Q=!1);if(Q){var J=createTag("link");J.setAttribute("f-forigin",O[U].fOrigin),J.setAttribute("f-origin",O[U].origin),J.type="text/css",J.rel="stylesheet",J.href=O[U].fPath,document.body.appendChild(J)}}else if(O[U].fOrigin==="t"||O[U].origin===2){for(xe=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),ue=0;ue<xe.length;ue+=1)O[U].fPath===xe[ue].src&&(Q=!1);if(Q){var ce=createTag("link");ce.setAttribute("f-forigin",O[U].fOrigin),ce.setAttribute("f-origin",O[U].origin),ce.setAttribute("rel","stylesheet"),ce.setAttribute("href",O[U].fPath),q.appendChild(ce)}}O[U].helper=S(O[U],q),O[U].cache={},this.fonts.push(O[U])}Y===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function x(G){if(G){this.chars||(this.chars=[]);var q,O=G.length,U,$=this.chars.length,Y;for(q=0;q<O;q+=1){for(U=0,Y=!1;U<$;)this.chars[U].style===G[q].style&&this.chars[U].fFamily===G[q].fFamily&&this.chars[U].ch===G[q].ch&&(Y=!0),U+=1;Y||(this.chars.push(G[q]),$+=1)}}}function P(G,q,O){for(var U=0,$=this.chars.length;U<$;){if(this.chars[U].ch===G&&this.chars[U].style===q&&this.chars[U].fFamily===O)return this.chars[U];U+=1}return(typeof G=="string"&&G.charCodeAt(0)!==13||!G)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",G,q,O)),e}function C(G,q,O){var U=this.getFontByName(q),$=G;if(!U.cache[$]){var Y=U.helper;if(G===" "){var Q=Y.measureText("|"+G+"|"),xe=Y.measureText("||");U.cache[$]=(Q-xe)/100}else U.cache[$]=Y.measureText(G)/100}return U.cache[$]*O}function T(G){for(var q=0,O=this.fonts.length;q<O;){if(this.fonts[q].fName===G)return this.fonts[q];q+=1}return this.fonts[0]}function k(G){var q=0,O=G.charCodeAt(0);if(O>=55296&&O<=56319){var U=G.charCodeAt(1);U>=56320&&U<=57343&&(q=(O-55296)*1024+U-56320+65536)}return q}function I(G,q){var O=G.toString(16)+q.toString(16);return m.indexOf(O)!==-1}function M(G){return G===u}function R(G){return G===c}function B(G){var q=k(G);return q>=d&&q<=g}function _(G){return B(G.substr(0,2))&&B(G.substr(2,2))}function V(G){return r.indexOf(G)!==-1}function D(G,q){var O=k(G.substr(q,2));if(O!==s)return!1;var U=0;for(q+=2;U<5;){if(O=k(G.substr(q,2)),O<a||O>l)return!1;U+=1,q+=2}return k(G.substr(q,2))===o}function F(){this.isLoaded=!0}var N=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)};N.isModifier=I,N.isZeroWidthJoiner=M,N.isFlagEmoji=_,N.isRegionalCode=B,N.isCombinedCharacter=V,N.isRegionalFlag=D,N.isVariationSelector=R,N.BLACK_FLAG_CODE_POINT=s;var K={addChars:x,addFonts:E,getCharData:P,getFontByName:T,measureText:C,checkLoadedFonts:A,setIsLoaded:F};return N.prototype=K,N}();function SlotManager(i){this.animationData=i}SlotManager.prototype.getProp=function(i){return this.animationData.slots&&this.animationData.slots[i.sid]?Object.assign(i,this.animationData.slots[i.sid].p):i};function slotFactory(i){return new SlotManager(i)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){this.renderableComponents.indexOf(e)===-1&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){this.renderableComponents.indexOf(e)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},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(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?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 e,r=this.renderableComponents.length;for(e=0;e<r;e+=1)this.renderableComponents[e].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 getBlendMode=function(){var i={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(e){return i[e]||""}}();function SliderEffect(i,e,r){this.p=PropertyFactory.getProp(e,i.v,0,0,r)}function AngleEffect(i,e,r){this.p=PropertyFactory.getProp(e,i.v,0,0,r)}function ColorEffect(i,e,r){this.p=PropertyFactory.getProp(e,i.v,1,0,r)}function PointEffect(i,e,r){this.p=PropertyFactory.getProp(e,i.v,1,0,r)}function LayerIndexEffect(i,e,r){this.p=PropertyFactory.getProp(e,i.v,0,0,r)}function MaskIndexEffect(i,e,r){this.p=PropertyFactory.getProp(e,i.v,0,0,r)}function CheckboxEffect(i,e,r){this.p=PropertyFactory.getProp(e,i.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(i,e){var r=i.ef||[];this.effectElements=[];var s,o=r.length,a;for(s=0;s<o;s+=1)a=new GroupEffect(r[s],e),this.effectElements.push(a)}function GroupEffect(i,e){this.init(i,e)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(i,e){this.data=i,this.effectElements=[],this.initDynamicPropertyContainer(e);var r,s=this.data.ef.length,o,a=this.data.ef;for(r=0;r<s;r+=1){switch(o=null,a[r].ty){case 0:o=new SliderEffect(a[r],e,this);break;case 1:o=new AngleEffect(a[r],e,this);break;case 2:o=new ColorEffect(a[r],e,this);break;case 3:o=new PointEffect(a[r],e,this);break;case 4:case 7:o=new CheckboxEffect(a[r],e,this);break;case 10:o=new LayerIndexEffect(a[r],e,this);break;case 11:o=new MaskIndexEffect(a[r],e,this);break;case 5:o=new EffectsManager(a[r],e);break;default:o=new NoValueEffect(a[r]);break}o&&this.effectElements.push(o)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,r=this.data.masksProperties.length;e<r;){if(this.data.masksProperties[e].mode!=="n"&&this.data.masksProperties[e].cl!==!1)return!0;e+=1}return!1},initExpressions:function(){var e=getExpressionInterfaces();if(e){var r=e("layer"),s=e("effects"),o=e("shape"),a=e("text"),l=e("comp");this.layerInterface=r(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var c=s.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(c),this.data.ty===0||this.data.xt?this.compInterface=l(this):this.data.ty===4?(this.layerInterface.shapeInterface=o(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=a(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var e=getBlendMode(this.data.bm),r=this.baseElement||this.layerElement;r.style["mix-blend-mode"]=e},initBaseData:function(e,r,s){this.globalData=r,this.comp=s,this.data=e,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(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,r){var s,o=this.dynamicProperties.length;for(s=0;s<o;s+=1)(r||this._isParent&&this.dynamicProperties[s].propType==="transform")&&(this.dynamicProperties[s].getValue(),this.dynamicProperties[s]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){this.dynamicProperties.indexOf(e)===-1&&this.dynamicProperties.push(e)}};function FootageElement(i,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(i.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(i,e,r)}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(){var i=getExpressionInterfaces();if(i){var e=i("footage");this.layerInterface=e(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(i,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(i.refId),this.initBaseData(i,e,r),this._isPlaying=!1,this._canPlay=!1;var s=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(s),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=i.tm?PropertyFactory.getProp(this,i.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,i.au&&i.au.lv?i.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(i){if(this.prepareRenderableFrame(i,!0),this.prepareProperties(i,!0),this.tm._placeholder)this._currentTime=i/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},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(i){this.audio.rate(i)},AudioElement.prototype.volume=function(i){this._volumeMultiplier=i,this._previousVolume=i*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(i){var e,r=this.layers.length,s;for(this.completeLayers=!0,e=r-1;e>=0;e-=1)this.elements[e]||(s=this.layers[e],s.ip-s.st<=i-this.layers[e].st&&s.op-s.st>i-this.layers[e].st&&this.buildItem(e)),this.completeLayers=this.elements[e]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(i){switch(i.ty){case 2:return this.createImage(i);case 0:return this.createComp(i);case 1:return this.createSolid(i);case 3:return this.createNull(i);case 4:return this.createShape(i);case 5:return this.createText(i);case 6:return this.createAudio(i);case 13:return this.createCamera(i);case 15:return this.createFootage(i);default:return this.createNull(i)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(i){return new AudioElement(i,this.globalData,this)},BaseRenderer.prototype.createFootage=function(i){return new FootageElement(i,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var i,e=this.layers.length;for(i=0;i<e;i+=1)this.buildItem(i);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(i){this.completeLayers=!1;var e,r=i.length,s,o=this.layers.length;for(e=0;e<r;e+=1)for(s=0;s<o;){if(this.layers[s].id===i[e].id){this.layers[s]=i[e];break}s+=1}},BaseRenderer.prototype.setProjectInterface=function(i){this.globalData.projectInterface=i},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(i,e,r){for(var s=this.elements,o=this.layers,a=0,l=o.length;a<l;)o[a].ind==e&&(!s[a]||s[a]===!0?(this.buildItem(a),this.addPendingElement(i)):(r.push(s[a]),s[a].setAsParent(),o[a].parent!==void 0?this.buildElementParenting(i,o[a].parent,r):i.setHierarchy(r))),a+=1},BaseRenderer.prototype.addPendingElement=function(i){this.pendingElements.push(i)},BaseRenderer.prototype.searchExtraCompositions=function(i){var e,r=i.length;for(e=0;e<r;e+=1)if(i[e].xt){var s=this.createComp(i[e]);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}},BaseRenderer.prototype.getElementById=function(i){var e,r=this.elements.length;for(e=0;e<r;e+=1)if(this.elements[e].data.ind===i)return this.elements[e];return null},BaseRenderer.prototype.getElementByPath=function(i){var e=i.shift(),r;if(typeof e=="number")r=this.elements[e];else{var s,o=this.elements.length;for(s=0;s<o;s+=1)if(this.elements[s].data.nm===e){r=this.elements[s];break}}return i.length===0?r:r.getElementByPath(i)},BaseRenderer.prototype.setupGlobalData=function(i,e){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(i),this.globalData.fontManager.addChars(i.chars),this.globalData.fontManager.addFonts(i.fonts,e),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=i.fr,this.globalData.nm=i.nm,this.globalData.compSize={w:i.w,h:i.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var e=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:e,localMat:e,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var e,r=this.finalTransform.mat,s=0,o=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;s<o;){if(this.hierarchy[s].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}s+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,r.cloneFromProps(e),s=0;s<o;s+=1)r.multiply(this.hierarchy[s].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var e=0,r=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;e<r;)this.localTransforms[e]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[e]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),e+=1;if(this.finalTransform._localMatMdf){var s=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(s),e=1;e<r;e+=1){var o=this.localTransforms[e].matrix;s.multiply(o)}s.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var a=this.finalTransform.localOpacity;for(e=0;e<r;e+=1)a*=this.localTransforms[e].opacity*.01;this.finalTransform.localOpacity=a}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var e=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(e.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var r=0,s=e.length;for(r=0;r<s;r+=1)this.localTransforms.push(e[r])}}},globalToLocal:function(e){var r=[];r.push(this.finalTransform);for(var s=!0,o=this.comp;s;)o.finalTransform?(o.data.hasMask&&r.splice(0,0,o.finalTransform),o=o.comp):s=!1;var a,l=r.length,c;for(a=0;a<l;a+=1)c=r[a].mat.applyToPointArray(0,0,0),e=[e[0]-c[0],e[1]-c[1],0];return e},mHelper:new Matrix};function MaskElement(i,e,r){this.data=i,this.element=e,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var s=this.globalData.defs,o,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var l,c=this.masksProperties,u=0,d=[],g,m,y=createElementID(),b,A,S,E,x="clipPath",P="clip-path";for(o=0;o<a;o+=1)if((c[o].mode!=="a"&&c[o].mode!=="n"||c[o].inv||c[o].o.k!==100||c[o].o.x)&&(x="mask",P="mask"),(c[o].mode==="s"||c[o].mode==="i")&&u===0?(b=createNS("rect"),b.setAttribute("fill","#ffffff"),b.setAttribute("width",this.element.comp.data.w||0),b.setAttribute("height",this.element.comp.data.h||0),d.push(b)):b=null,l=createNS("path"),c[o].mode==="n")this.viewData[o]={op:PropertyFactory.getProp(this.element,c[o].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,c[o],3),elem:l,lastPath:""},s.appendChild(l);else{u+=1,l.setAttribute("fill",c[o].mode==="s"?"#000000":"#ffffff"),l.setAttribute("clip-rule","nonzero");var C;if(c[o].x.k!==0?(x="mask",P="mask",E=PropertyFactory.getProp(this.element,c[o].x,0,null,this.element),C=createElementID(),A=createNS("filter"),A.setAttribute("id",C),S=createNS("feMorphology"),S.setAttribute("operator","erode"),S.setAttribute("in","SourceGraphic"),S.setAttribute("radius","0"),A.appendChild(S),s.appendChild(A),l.setAttribute("stroke",c[o].mode==="s"?"#000000":"#ffffff")):(S=null,E=null),this.storedData[o]={elem:l,x:E,expan:S,lastPath:"",lastOperator:"",filterId:C,lastRadius:0},c[o].mode==="i"){m=d.length;var T=createNS("g");for(g=0;g<m;g+=1)T.appendChild(d[g]);var k=createNS("mask");k.setAttribute("mask-type","alpha"),k.setAttribute("id",y+"_"+u),k.appendChild(l),s.appendChild(k),T.setAttribute("mask","url("+getLocationHref()+"#"+y+"_"+u+")"),d.length=0,d.push(T)}else d.push(l);c[o].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[o]={elem:l,lastPath:"",op:PropertyFactory.getProp(this.element,c[o].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,c[o],3),invRect:b},this.viewData[o].prop.k||this.drawPath(c[o],this.viewData[o].prop.v,this.viewData[o])}for(this.maskElement=createNS(x),a=d.length,o=0;o<a;o+=1)this.maskElement.appendChild(d[o]);u>0&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(P,"url("+getLocationHref()+"#"+y+")"),s.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(i){return this.viewData[i].prop},MaskElement.prototype.renderFrame=function(i){var e=this.element.finalTransform.mat,r,s=this.masksProperties.length;for(r=0;r<s;r+=1)if((this.viewData[r].prop._mdf||i)&&this.drawPath(this.masksProperties[r],this.viewData[r].prop.v,this.viewData[r]),(this.viewData[r].op._mdf||i)&&this.viewData[r].elem.setAttribute("fill-opacity",this.viewData[r].op.v),this.masksProperties[r].mode!=="n"&&(this.viewData[r].invRect&&(this.element.finalTransform.mProp._mdf||i)&&this.viewData[r].invRect.setAttribute("transform",e.getInverseMatrix().to2dCSS()),this.storedData[r].x&&(this.storedData[r].x._mdf||i))){var o=this.storedData[r].expan;this.storedData[r].x.v<0?(this.storedData[r].lastOperator!=="erode"&&(this.storedData[r].lastOperator="erode",this.storedData[r].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[r].filterId+")")),o.setAttribute("radius",-this.storedData[r].x.v)):(this.storedData[r].lastOperator!=="dilate"&&(this.storedData[r].lastOperator="dilate",this.storedData[r].elem.setAttribute("filter",null)),this.storedData[r].elem.setAttribute("stroke-width",this.storedData[r].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var i="M0,0 ";return i+=" h"+this.globalData.compSize.w,i+=" v"+this.globalData.compSize.h,i+=" h-"+this.globalData.compSize.w,i+=" v-"+this.globalData.compSize.h+" ",i},MaskElement.prototype.drawPath=function(i,e,r){var s=" M"+e.v[0][0]+","+e.v[0][1],o,a;for(a=e._length,o=1;o<a;o+=1)s+=" C"+e.o[o-1][0]+","+e.o[o-1][1]+" "+e.i[o][0]+","+e.i[o][1]+" "+e.v[o][0]+","+e.v[o][1];if(e.c&&a>1&&(s+=" C"+e.o[o-1][0]+","+e.o[o-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==s){var l="";r.elem&&(e.c&&(l=i.inv?this.solidPath+s:s),r.elem.setAttribute("d",l)),r.lastPath=s}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var i={};i.createFilter=e,i.createAlphaToLuminanceFilter=r;function e(s,o){var a=createNS("filter");return a.setAttribute("id",s),o!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}function r(){var s=createNS("feColorMatrix");return s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),s}return i}(),featureSupport=function(){var i={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(i.maskType=!1),/firefox/i.test(navigator.userAgent)&&(i.svgLumaHidden=!1),i}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(i){var e,r="SourceGraphic",s=i.data.ef?i.data.ef.length:0,o=createElementID(),a=filtersFactory.createFilter(o,!0),l=0;this.filters=[];var c;for(e=0;e<s;e+=1){c=null;var u=i.data.ef[e].ty;if(registeredEffects$1[u]){var d=registeredEffects$1[u].effect;c=new d(a,i.effectsManager.effectElements[e],i,idPrefix+l,r),r=idPrefix+l,registeredEffects$1[u].countsAsEffect&&(l+=1)}c&&this.filters.push(c)}l&&(i.globalData.defs.appendChild(a),i.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&i.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(i){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(i)},SVGEffects.prototype.getEffects=function(i){var e,r=this.filters.length,s=[];for(e=0;e<r;e+=1)this.filters[e].type===i&&s.push(this.filters[e]);return s};function registerEffect$1(i,e,r){registeredEffects$1[i]={effect:e,countsAsEffect:r}}function SVGBaseElement(){}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 e=null;if(this.data.td){this.matteMasks={};var r=createNS("g");r.setAttribute("id",this.layerId),r.appendChild(this.layerElement),e=r,this.globalData.defs.appendChild(r)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),e=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 s=createNS("clipPath"),o=createNS("path");o.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var a=createElementID();if(s.setAttribute("id",a),s.appendChild(o),this.globalData.defs.appendChild(s),this.checkMasks()){var l=createNS("g");l.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")"),l.appendChild(this.layerElement),this.transformedElement=l,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(e){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[e]){var r=this.layerId+"_"+e,s,o,a,l;if(e===1||e===3){var c=createNS("mask");c.setAttribute("id",r),c.setAttribute("mask-type",e===3?"luminance":"alpha"),a=createNS("use"),a.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),c.appendChild(a),this.globalData.defs.appendChild(c),!featureSupport.maskType&&e===1&&(c.setAttribute("mask-type","luminance"),s=createElementID(),o=filtersFactory.createFilter(s),this.globalData.defs.appendChild(o),o.appendChild(filtersFactory.createAlphaToLuminanceFilter()),l=createNS("g"),l.appendChild(a),c.appendChild(l),l.setAttribute("filter","url("+getLocationHref()+"#"+s+")"))}else if(e===2){var u=createNS("mask");u.setAttribute("id",r),u.setAttribute("mask-type","alpha");var d=createNS("g");u.appendChild(d),s=createElementID(),o=filtersFactory.createFilter(s);var g=createNS("feComponentTransfer");g.setAttribute("in","SourceGraphic"),o.appendChild(g);var m=createNS("feFuncA");m.setAttribute("type","table"),m.setAttribute("tableValues","1.0 0.0"),g.appendChild(m),this.globalData.defs.appendChild(o);var y=createNS("rect");y.setAttribute("width",this.comp.data.w),y.setAttribute("height",this.comp.data.h),y.setAttribute("x","0"),y.setAttribute("y","0"),y.setAttribute("fill","#ffffff"),y.setAttribute("opacity","0"),d.setAttribute("filter","url("+getLocationHref()+"#"+s+")"),d.appendChild(y),a=createNS("use"),a.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),d.appendChild(a),featureSupport.maskType||(u.setAttribute("mask-type","luminance"),o.appendChild(filtersFactory.createAlphaToLuminanceFilter()),l=createNS("g"),d.appendChild(y),l.appendChild(this.layerElement),d.appendChild(l)),this.globalData.defs.appendChild(u)}this.matteMasks[e]=r}return this.matteMasks[e]},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var i={initElement:function(r,s,o){this.initFrame(),this.initBaseData(r,s,o),this.initTransform(r,s,o),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var r=this.baseElement||this.layerElement;r.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var r=this.baseElement||this.layerElement;r.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(r){this._mdf=!1,this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(i)],RenderableDOMElement)})();function IImageElement(i,e,r){this.assetData=e.getAssetData(i.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(i,e,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var i=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",i),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(i,e){this.elem=i,this.pos=e}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(e){var r,s=this.shapeModifiers.length;for(r=0;r<s;r+=1)this.shapeModifiers[r].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var r=0,s=this.shapeModifiers.length;r<s;)if(this.shapeModifiers[r].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,r=this.shapes.length;for(e=0;e<r;e+=1)this.shapes[e].sh.reset();r=this.shapeModifiers.length;var s;for(e=r-1;e>=0&&(s=this.shapeModifiers[e].processShapes(this._isFirstFrame),!s);e-=1);}},searchProcessedElement:function(e){for(var r=this.processedElements,s=0,o=r.length;s<o;){if(r[s].elem===e)return r[s].pos;s+=1}return 0},addProcessedElement:function(e,r){for(var s=this.processedElements,o=s.length;o;)if(o-=1,s[o].elem===e){s[o].pos=r;return}s.push(new ProcessedElement(e,r))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(i,e,r){this.caches=[],this.styles=[],this.transformers=i,this.lStr="",this.sh=r,this.lvl=e,this._isAnimated=!!r.k;for(var s=0,o=i.length;s<o;){if(i[s].mProps.dynamicProperties.length){this._isAnimated=!0;break}s+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(i,e){this.data=i,this.type=i.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=i.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(i,e,r,s){this.elem=i,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(s);var o,a=e.length||0,l;for(o=0;o<a;o+=1)l=PropertyFactory.getProp(i,e[o].v,0,0,this),this.k=l.k||this.k,this.dataProps[o]={n:e[o].n,p:l};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(i){if(!(this.elem.globalData.frameId===this.frameId&&!i)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||i,this._mdf)){var e=0,r=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),e=0;e<r;e+=1)this.dataProps[e].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(i,e,r){this.initDynamicPropertyContainer(i),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(i,e.o,0,.01,this),this.w=PropertyFactory.getProp(i,e.w,0,null,this),this.d=new DashProperty(i,e.d||{},"svg",this),this.c=PropertyFactory.getProp(i,e.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(i,e,r){this.initDynamicPropertyContainer(i),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(i,e.o,0,.01,this),this.c=PropertyFactory.getProp(i,e.c,1,255,this),this.style=r}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(i,e,r){this.initDynamicPropertyContainer(i),this.getValue=this.iterateDynamicProperties,this.style=r}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(i,e,r){this.data=e,this.c=createTypedArray("uint8c",e.p*4);var s=e.k.k[0].s?e.k.k[0].s.length-e.p*4:e.k.k.length-e.p*4;this.o=createTypedArray("float32",s),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=s,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(i,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(i,e){for(var r=0,s=this.o.length/2,o;r<s;){if(o=Math.abs(i[r*4]-i[e*4+r*2]),o>.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var i=0,e=this.data.k.k.length;i<e;){if(!this.comparePoints(this.data.k.k[i].s,this.data.p))return!1;i+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(i){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||i){var e,r=this.data.p*4,s,o;for(e=0;e<r;e+=1)s=e%4===0?100:255,o=Math.round(this.prop.v[e]*s),this.c[e]!==o&&(this.c[e]=o,this._cmdf=!i);if(this.o.length)for(r=this.prop.v.length,e=this.data.p*4;e<r;e+=1)s=e%2===0?100:1,o=e%2===0?Math.round(this.prop.v[e]*100):this.prop.v[e],this.o[e-this.data.p*4]!==o&&(this.o[e-this.data.p*4]=o,this._omdf=!i);this._mdf=!i}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(i,e,r){this.initDynamicPropertyContainer(i),this.getValue=this.iterateDynamicProperties,this.initGradientData(i,e,r)}SVGGradientFillStyleData.prototype.initGradientData=function(i,e,r){this.o=PropertyFactory.getProp(i,e.o,0,.01,this),this.s=PropertyFactory.getProp(i,e.s,1,null,this),this.e=PropertyFactory.getProp(i,e.e,1,null,this),this.h=PropertyFactory.getProp(i,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(i,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(i,e.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,e),this.setGradientOpacity(e,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(i,e){var r=createElementID(),s=createNS(e.t===1?"linearGradient":"radialGradient");s.setAttribute("id",r),s.setAttribute("spreadMethod","pad"),s.setAttribute("gradientUnits","userSpaceOnUse");var o=[],a,l,c;for(c=e.g.p*4,l=0;l<c;l+=4)a=createNS("stop"),s.appendChild(a),o.push(a);i.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=s,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(i,e){if(this.g._hasOpacity&&!this.g._collapsable){var r,s,o,a=createNS("mask"),l=createNS("path");a.appendChild(l);var c=createElementID(),u=createElementID();a.setAttribute("id",u);var d=createNS(i.t===1?"linearGradient":"radialGradient");d.setAttribute("id",c),d.setAttribute("spreadMethod","pad"),d.setAttribute("gradientUnits","userSpaceOnUse"),o=i.g.k.k[0].s?i.g.k.k[0].s.length:i.g.k.k.length;var g=this.stops;for(s=i.g.p*4;s<o;s+=2)r=createNS("stop"),r.setAttribute("stop-color","rgb(255,255,255)"),d.appendChild(r),g.push(r);l.setAttribute(i.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+c+")"),i.ty==="gs"&&(l.setAttribute("stroke-linecap",lineCapEnum[i.lc||2]),l.setAttribute("stroke-linejoin",lineJoinEnum[i.lj||2]),i.lj===1&&l.setAttribute("stroke-miterlimit",i.ml)),this.of=d,this.ms=a,this.ost=g,this.maskId=u,e.msElem=l}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(i,e,r){this.initDynamicPropertyContainer(i),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(i,e.w,0,null,this),this.d=new DashProperty(i,e.d||{},"svg",this),this.initGradientData(i,e,r),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(i,e,r){this.transform={mProps:i,op:e,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(e,r,s,o){if(r===0)return"";var a=e.o,l=e.i,c=e.v,u,d=" M"+o.applyToPointStringified(c[0][0],c[0][1]);for(u=1;u<r;u+=1)d+=" C"+o.applyToPointStringified(a[u-1][0],a[u-1][1])+" "+o.applyToPointStringified(l[u][0],l[u][1])+" "+o.applyToPointStringified(c[u][0],c[u][1]);return s&&r&&(d+=" C"+o.applyToPointStringified(a[u-1][0],a[u-1][1])+" "+o.applyToPointStringified(l[0][0],l[0][1])+" "+o.applyToPointStringified(c[0][0],c[0][1]),d+="z"),d},SVGElementsRenderer=function(){var i=new Matrix,e=new Matrix,r={createRenderFunction:s};function s(m){switch(m.ty){case"fl":return c;case"gf":return d;case"gs":return u;case"st":return g;case"sh":case"el":case"rc":case"sr":return l;case"tr":return o;case"no":return a;default:return null}}function o(m,y,b){(b||y.transform.op._mdf)&&y.transform.container.setAttribute("opacity",y.transform.op.v),(b||y.transform.mProps._mdf)&&y.transform.container.setAttribute("transform",y.transform.mProps.v.to2dCSS())}function a(){}function l(m,y,b){var A,S,E,x,P,C,T=y.styles.length,k=y.lvl,I,M,R,B;for(C=0;C<T;C+=1){if(x=y.sh._mdf||b,y.styles[C].lvl<k){for(M=e.reset(),R=k-y.styles[C].lvl,B=y.transformers.length-1;!x&&R>0;)x=y.transformers[B].mProps._mdf||x,R-=1,B-=1;if(x)for(R=k-y.styles[C].lvl,B=y.transformers.length-1;R>0;)M.multiply(y.transformers[B].mProps.v),R-=1,B-=1}else M=i;if(I=y.sh.paths,S=I._length,x){for(E="",A=0;A<S;A+=1)P=I.shapes[A],P&&P._length&&(E+=buildShapeString(P,P._length,P.c,M));y.caches[C]=E}else E=y.caches[C];y.styles[C].d+=m.hd===!0?"":E,y.styles[C]._mdf=x||y.styles[C]._mdf}}function c(m,y,b){var A=y.style;(y.c._mdf||b)&&A.pElem.setAttribute("fill","rgb("+bmFloor(y.c.v[0])+","+bmFloor(y.c.v[1])+","+bmFloor(y.c.v[2])+")"),(y.o._mdf||b)&&A.pElem.setAttribute("fill-opacity",y.o.v)}function u(m,y,b){d(m,y,b),g(m,y,b)}function d(m,y,b){var A=y.gf,S=y.g._hasOpacity,E=y.s.v,x=y.e.v;if(y.o._mdf||b){var P=m.ty==="gf"?"fill-opacity":"stroke-opacity";y.style.pElem.setAttribute(P,y.o.v)}if(y.s._mdf||b){var C=m.t===1?"x1":"cx",T=C==="x1"?"y1":"cy";A.setAttribute(C,E[0]),A.setAttribute(T,E[1]),S&&!y.g._collapsable&&(y.of.setAttribute(C,E[0]),y.of.setAttribute(T,E[1]))}var k,I,M,R;if(y.g._cmdf||b){k=y.cst;var B=y.g.c;for(M=k.length,I=0;I<M;I+=1)R=k[I],R.setAttribute("offset",B[I*4]+"%"),R.setAttribute("stop-color","rgb("+B[I*4+1]+","+B[I*4+2]+","+B[I*4+3]+")")}if(S&&(y.g._omdf||b)){var _=y.g.o;for(y.g._collapsable?k=y.cst:k=y.ost,M=k.length,I=0;I<M;I+=1)R=k[I],y.g._collapsable||R.setAttribute("offset",_[I*2]+"%"),R.setAttribute("stop-opacity",_[I*2+1])}if(m.t===1)(y.e._mdf||b)&&(A.setAttribute("x2",x[0]),A.setAttribute("y2",x[1]),S&&!y.g._collapsable&&(y.of.setAttribute("x2",x[0]),y.of.setAttribute("y2",x[1])));else{var V;if((y.s._mdf||y.e._mdf||b)&&(V=Math.sqrt(Math.pow(E[0]-x[0],2)+Math.pow(E[1]-x[1],2)),A.setAttribute("r",V),S&&!y.g._collapsable&&y.of.setAttribute("r",V)),y.e._mdf||y.h._mdf||y.a._mdf||b){V||(V=Math.sqrt(Math.pow(E[0]-x[0],2)+Math.pow(E[1]-x[1],2)));var D=Math.atan2(x[1]-E[1],x[0]-E[0]),F=y.h.v;F>=1?F=.99:F<=-1&&(F=-.99);var N=V*F,K=Math.cos(D+y.a.v)*N+E[0],G=Math.sin(D+y.a.v)*N+E[1];A.setAttribute("fx",K),A.setAttribute("fy",G),S&&!y.g._collapsable&&(y.of.setAttribute("fx",K),y.of.setAttribute("fy",G))}}}function g(m,y,b){var A=y.style,S=y.d;S&&(S._mdf||b)&&S.dashStr&&(A.pElem.setAttribute("stroke-dasharray",S.dashStr),A.pElem.setAttribute("stroke-dashoffset",S.dashoffset[0])),y.c&&(y.c._mdf||b)&&A.pElem.setAttribute("stroke","rgb("+bmFloor(y.c.v[0])+","+bmFloor(y.c.v[1])+","+bmFloor(y.c.v[2])+")"),(y.o._mdf||b)&&A.pElem.setAttribute("stroke-opacity",y.o.v),(y.w._mdf||b)&&(A.pElem.setAttribute("stroke-width",y.w.v),A.msElem&&A.msElem.setAttribute("stroke-width",y.w.v))}return r}();function SVGShapeElement(i,e,r){this.shapes=[],this.shapesData=i.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(i,e,r),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var i,e=this.shapes.length,r,s,o=this.stylesList.length,a,l=[],c=!1;for(s=0;s<o;s+=1){for(a=this.stylesList[s],c=!1,l.length=0,i=0;i<e;i+=1)r=this.shapes[i],r.styles.indexOf(a)!==-1&&(l.push(r),c=r._isAnimated||c);l.length>1&&c&&this.setShapesAsAnimated(l)}},SVGShapeElement.prototype.setShapesAsAnimated=function(i){var e,r=i.length;for(e=0;e<r;e+=1)i[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(i,e){var r,s=new SVGStyleData(i,e),o=s.pElem;if(i.ty==="st")r=new SVGStrokeStyleData(this,i,s);else if(i.ty==="fl")r=new SVGFillStyleData(this,i,s);else if(i.ty==="gf"||i.ty==="gs"){var a=i.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;r=new a(this,i,s),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),o.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))}else i.ty==="no"&&(r=new SVGNoStyleData(this,i,s));return(i.ty==="st"||i.ty==="gs")&&(o.setAttribute("stroke-linecap",lineCapEnum[i.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[i.lj||2]),o.setAttribute("fill-opacity","0"),i.lj===1&&o.setAttribute("stroke-miterlimit",i.ml)),i.r===2&&o.setAttribute("fill-rule","evenodd"),i.ln&&o.setAttribute("id",i.ln),i.cl&&o.setAttribute("class",i.cl),i.bm&&(o.style["mix-blend-mode"]=getBlendMode(i.bm)),this.stylesList.push(s),this.addToAnimatedContents(i,r),r},SVGShapeElement.prototype.createGroupElement=function(i){var e=new ShapeGroupData;return i.ln&&e.gr.setAttribute("id",i.ln),i.cl&&e.gr.setAttribute("class",i.cl),i.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(i.bm)),e},SVGShapeElement.prototype.createTransformElement=function(i,e){var r=TransformPropertyFactory.getTransformProperty(this,i,this),s=new SVGTransformData(r,r.o,e);return this.addToAnimatedContents(i,s),s},SVGShapeElement.prototype.createShapeElement=function(i,e,r){var s=4;i.ty==="rc"?s=5:i.ty==="el"?s=6:i.ty==="sr"&&(s=7);var o=ShapePropertyFactory.getShapeProp(this,i,s,this),a=new SVGShapeData(e,r,o);return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(i,a),a},SVGShapeElement.prototype.addToAnimatedContents=function(i,e){for(var r=0,s=this.animatedContents.length;r<s;){if(this.animatedContents[r].element===e)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(i),element:e,data:i})},SVGShapeElement.prototype.setElementStyles=function(i){var e=i.styles,r,s=this.stylesList.length;for(r=0;r<s;r+=1)this.stylesList[r].closed||e.push(this.stylesList[r])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var i,e=this.itemsData.length;for(i=0;i<e;i+=1)this.prevViewData[i]=this.itemsData[i];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,i=0;i<e;i+=1)this.dynamicProperties[i].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(i,e,r,s,o,a,l){var c=[].concat(a),u,d=i.length-1,g,m,y=[],b=[],A,S,E;for(u=d;u>=0;u-=1){if(E=this.searchProcessedElement(i[u]),E?e[u]=r[E-1]:i[u]._render=l,i[u].ty==="fl"||i[u].ty==="st"||i[u].ty==="gf"||i[u].ty==="gs"||i[u].ty==="no")E?e[u].style.closed=!1:e[u]=this.createStyleElement(i[u],o),i[u]._render&&e[u].style.pElem.parentNode!==s&&s.appendChild(e[u].style.pElem),y.push(e[u].style);else if(i[u].ty==="gr"){if(!E)e[u]=this.createGroupElement(i[u]);else for(m=e[u].it.length,g=0;g<m;g+=1)e[u].prevViewData[g]=e[u].it[g];this.searchShapes(i[u].it,e[u].it,e[u].prevViewData,e[u].gr,o+1,c,l),i[u]._render&&e[u].gr.parentNode!==s&&s.appendChild(e[u].gr)}else i[u].ty==="tr"?(E||(e[u]=this.createTransformElement(i[u],s)),A=e[u].transform,c.push(A)):i[u].ty==="sh"||i[u].ty==="rc"||i[u].ty==="el"||i[u].ty==="sr"?(E||(e[u]=this.createShapeElement(i[u],c,o)),this.setElementStyles(e[u])):i[u].ty==="tm"||i[u].ty==="rd"||i[u].ty==="ms"||i[u].ty==="pb"||i[u].ty==="zz"||i[u].ty==="op"?(E?(S=e[u],S.closed=!1):(S=ShapeModifiers.getModifier(i[u].ty),S.init(this,i[u]),e[u]=S,this.shapeModifiers.push(S)),b.push(S)):i[u].ty==="rp"&&(E?(S=e[u],S.closed=!0):(S=ShapeModifiers.getModifier(i[u].ty),e[u]=S,S.init(this,i,u,e),this.shapeModifiers.push(S),l=!1),b.push(S));this.addProcessedElement(i[u],u+1)}for(d=y.length,u=0;u<d;u+=1)y[u].closed=!0;for(d=b.length,u=0;u<d;u+=1)b[u].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var i,e=this.stylesList.length;for(i=0;i<e;i+=1)this.stylesList[i].reset();for(this.renderShape(),i=0;i<e;i+=1)(this.stylesList[i]._mdf||this._isFirstFrame)&&(this.stylesList[i].msElem&&(this.stylesList[i].msElem.setAttribute("d",this.stylesList[i].d),this.stylesList[i].d="M0 0"+this.stylesList[i].d),this.stylesList[i].pElem.setAttribute("d",this.stylesList[i].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var i,e=this.animatedContents.length,r;for(i=0;i<e;i+=1)r=this.animatedContents[i],(this._isFirstFrame||r.element._isAnimated)&&r.data!==!0&&r.fn(r.data,r.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(i,e,r,s,o,a){this.o=i,this.sw=e,this.sc=r,this.fc=s,this.m=o,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!s,m:!0,p:!0}}LetterProps.prototype.update=function(i,e,r,s,o,a){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 l=!1;return this.o!==i&&(this.o=i,this._mdf.o=!0,l=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,l=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,l=!0),this.fc!==s&&(this.fc=s,this._mdf.fc=!0,l=!0),this.m!==o&&(this.m=o,this._mdf.m=!0,l=!0),a.length&&(this.p[0]!==a[0]||this.p[1]!==a[1]||this.p[4]!==a[4]||this.p[5]!==a[5]||this.p[12]!==a[12]||this.p[13]!==a[13])&&(this.p=a,this._mdf.p=!0,l=!0),l};function TextProperty(i,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,e.d&&e.d.sid&&(e.d=i.globalData.slotManager.getProp(e.d)),this.data=e,this.elem=i,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)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(i,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[r]=e[r]);return i},TextProperty.prototype.setCurrentData=function(i){i.__complete||this.completeTextData(i),this.currentData=i,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(i){this.effectsSequence.push(i),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(i){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!i)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,r=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var s,o=this.effectsSequence.length,a=i||this.data.d.k[this.keysIndex].s;for(s=0;s<o;s+=1)r!==this.keysIndex?a=this.effectsSequence[s](a,a.t):a=this.effectsSequence[s](this.currentData,a.t);e!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var i=this.data.d.k,e=this.elem.comp.renderedFrame,r=0,s=i.length;r<=s-1&&!(r===s-1||i[r+1].t>e);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(i){for(var e=[],r=0,s=i.length,o,a,l=!1,c=!1,u="";r<s;)l=c,c=!1,o=i.charCodeAt(r),u=i.charAt(r),FontManager.isCombinedCharacter(o)?l=!0:o>=55296&&o<=56319?FontManager.isRegionalFlag(i,r)?u=i.substr(r,14):(a=i.charCodeAt(r+1),a>=56320&&a<=57343&&(FontManager.isModifier(o,a)?(u=i.substr(r,2),l=!0):FontManager.isFlagEmoji(i.substr(r,4))?u=i.substr(r,4):u=i.substr(r,2))):o>56319?(a=i.charCodeAt(r+1),FontManager.isVariationSelector(o)&&(l=!0)):FontManager.isZeroWidthJoiner(o)&&(l=!0,c=!0),l?(e[e.length-1]+=u,l=!1):e.push(u),r+=u.length;return e},TextProperty.prototype.completeTextData=function(i){i.__complete=!0;var e=this.elem.globalData.fontManager,r=this.data,s=[],o,a,l,c=0,u,d=r.m.g,g=0,m=0,y=0,b=[],A=0,S=0,E,x,P=e.getFontByName(i.f),C,T=0,k=getFontProperties(P);i.fWeight=k.weight,i.fStyle=k.style,i.finalSize=i.s,i.finalText=this.buildFinalText(i.t),a=i.finalText.length,i.finalLineHeight=i.lh;var I=i.tr/1e3*i.finalSize,M;if(i.sz)for(var R=!0,B=i.sz[0],_=i.sz[1],V,D;R;){D=this.buildFinalText(i.t),V=0,A=0,a=D.length,I=i.tr/1e3*i.finalSize;var F=-1;for(o=0;o<a;o+=1)M=D[o].charCodeAt(0),l=!1,D[o]===" "?F=o:(M===13||M===3)&&(A=0,l=!0,V+=i.finalLineHeight||i.finalSize*1.2),e.chars?(C=e.getCharData(D[o],P.fStyle,P.fFamily),T=l?0:C.w*i.finalSize/100):T=e.measureText(D[o],i.f,i.finalSize),A+T>B&&D[o]!==" "?(F===-1?a+=1:o=F,V+=i.finalLineHeight||i.finalSize*1.2,D.splice(o,F===o?1:0,"\r"),F=-1,A=0):(A+=T,A+=I);V+=P.ascent*i.finalSize/100,this.canResize&&i.finalSize>this.minimumFontSize&&_<V?(i.finalSize-=1,i.finalLineHeight=i.finalSize*i.lh/i.s):(i.finalText=D,a=i.finalText.length,R=!1)}A=-I,T=0;var N=0,K;for(o=0;o<a;o+=1)if(l=!1,K=i.finalText[o],M=K.charCodeAt(0),M===13||M===3?(N=0,b.push(A),S=A>S?A:S,A=-2*I,u="",l=!0,y+=1):u=K,e.chars?(C=e.getCharData(K,P.fStyle,e.getFontByName(i.f).fFamily),T=l?0:C.w*i.finalSize/100):T=e.measureText(u,i.f,i.finalSize),K===" "?N+=T+I:(A+=T+I+N,N=0),s.push({l:T,an:T,add:g,n:l,anIndexes:[],val:u,line:y,animatorJustifyOffset:0}),d==2){if(g+=T,u===""||u===" "||o===a-1){for((u===""||u===" ")&&(g-=T);m<=o;)s[m].an=g,s[m].ind=c,s[m].extra=T,m+=1;c+=1,g=0}}else if(d==3){if(g+=T,u===""||o===a-1){for(u===""&&(g-=T);m<=o;)s[m].an=g,s[m].ind=c,s[m].extra=T,m+=1;g=0,c+=1}}else s[c].ind=c,s[c].extra=0,c+=1;if(i.l=s,S=A>S?A:S,b.push(A),i.sz)i.boxWidth=i.sz[0],i.justifyOffset=0;else switch(i.boxWidth=S,i.j){case 1:i.justifyOffset=-i.boxWidth;break;case 2:i.justifyOffset=-i.boxWidth/2;break;default:i.justifyOffset=0}i.lineWidths=b;var G=r.a,q,O;x=G.length;var U,$,Y=[];for(E=0;E<x;E+=1){for(q=G[E],q.a.sc&&(i.strokeColorAnim=!0),q.a.sw&&(i.strokeWidthAnim=!0),(q.a.fc||q.a.fh||q.a.fs||q.a.fb)&&(i.fillColorAnim=!0),$=0,U=q.s.b,o=0;o<a;o+=1)O=s[o],O.anIndexes[E]=$,(U==1&&O.val!==""||U==2&&O.val!==""&&O.val!==" "||U==3&&(O.n||O.val==" "||o==a-1)||U==4&&(O.n||o==a-1))&&(q.s.rn===1&&Y.push($),$+=1);r.a[E].s.totalChars=$;var Q=-1,xe;if(q.s.rn===1)for(o=0;o<a;o+=1)O=s[o],Q!=O.anIndexes[E]&&(Q=O.anIndexes[E],xe=Y.splice(Math.floor(Math.random()*Y.length),1)[0]),O.anIndexes[E]=xe}i.yOffset=i.finalLineHeight||i.finalSize*1.2,i.ls=i.ls||0,i.ascent=P.ascent*i.finalSize/100},TextProperty.prototype.updateDocumentData=function(i,e){e=e===void 0?this.keysIndex:e;var r=this.copyData({},this.data.d.k[e].s);r=this.copyData(r,i),this.data.d.k[e].s=r,this.recalculate(e),this.setCurrentData(r),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(i){var e=this.data.d.k[i].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(i){this.canResize=i,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(i){this.minimumFontSize=Math.floor(i)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var i=Math.max,e=Math.min,r=Math.floor;function s(a,l){this._currentTextLength=-1,this.k=!1,this.data=l,this.elem=a,this.comp=a.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(a),this.s=PropertyFactory.getProp(a,l.s||{k:0},0,0,this),"e"in l?this.e=PropertyFactory.getProp(a,l.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(a,l.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(a,l.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(a,l.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(a,l.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(a,l.a,0,.01,this),this.dynamicProperties.length||this.getValue()}s.prototype={getMult:function(l){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var c=0,u=0,d=1,g=1;this.ne.v>0?c=this.ne.v/100:u=-this.ne.v/100,this.xe.v>0?d=1-this.xe.v/100:g=1+this.xe.v/100;var m=BezierFactory.getBezierEasing(c,u,d,g).get,y=0,b=this.finalS,A=this.finalE,S=this.data.sh;if(S===2)A===b?y=l>=A?1:0:y=i(0,e(.5/(A-b)+(l-b)/(A-b),1)),y=m(y);else if(S===3)A===b?y=l>=A?0:1:y=1-i(0,e(.5/(A-b)+(l-b)/(A-b),1)),y=m(y);else if(S===4)A===b?y=0:(y=i(0,e(.5/(A-b)+(l-b)/(A-b),1)),y<.5?y*=2:y=1-2*(y-.5)),y=m(y);else if(S===5){if(A===b)y=0;else{var E=A-b;l=e(i(0,l+.5-b),A-b);var x=-E/2+l,P=E/2;y=Math.sqrt(1-x*x/(P*P))}y=m(y)}else S===6?(A===b?y=0:(l=e(i(0,l+.5-b),A-b),y=(1+Math.cos(Math.PI+Math.PI*2*l/(A-b)))/2),y=m(y)):(l>=r(b)&&(l-b<0?y=i(0,e(e(A,1)-(b-l),1)):y=i(0,e(A-l,1))),y=m(y));if(this.sm.v!==100){var C=this.sm.v*.01;C===0&&(C=1e-8);var T=.5-C*.5;y<T?y=0:(y=(y-T)/C,y>1&&(y=1))}return y*this.a.v},getValue:function(l){this.iterateDynamicProperties(),this._mdf=l||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,l&&this.data.r===2&&(this.e.v=this._currentTextLength);var c=this.data.r===2?1:100/this.data.totalChars,u=this.o.v/c,d=this.s.v/c+u,g=this.e.v/c+u;if(d>g){var m=d;d=g,g=m}this.finalS=d,this.finalE=g}},extendPrototype([DynamicPropertyContainer],s);function o(a,l,c){return new s(a,l)}return{getTextSelectorProp:o}}();function TextAnimatorDataProperty(i,e,r){var s={propType:!1},o=PropertyFactory.getProp,a=e.a;this.a={r:a.r?o(i,a.r,0,degToRads,r):s,rx:a.rx?o(i,a.rx,0,degToRads,r):s,ry:a.ry?o(i,a.ry,0,degToRads,r):s,sk:a.sk?o(i,a.sk,0,degToRads,r):s,sa:a.sa?o(i,a.sa,0,degToRads,r):s,s:a.s?o(i,a.s,1,.01,r):s,a:a.a?o(i,a.a,1,0,r):s,o:a.o?o(i,a.o,0,.01,r):s,p:a.p?o(i,a.p,1,0,r):s,sw:a.sw?o(i,a.sw,0,0,r):s,sc:a.sc?o(i,a.sc,1,0,r):s,fc:a.fc?o(i,a.fc,1,0,r):s,fh:a.fh?o(i,a.fh,0,0,r):s,fs:a.fs?o(i,a.fs,0,.01,r):s,fb:a.fb?o(i,a.fb,0,.01,r):s,t:a.t?o(i,a.t,0,0,r):s},this.s=TextSelectorProp.getTextSelectorProp(i,e.s,r),this.s.t=e.s.t}function TextAnimatorProperty(i,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=i,this._renderType=e,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}TextAnimatorProperty.prototype.searchProperties=function(){var i,e=this._textData.a.length,r,s=PropertyFactory.getProp;for(i=0;i<e;i+=1)r=this._textData.a[i],this._animatorsData[i]=new TextAnimatorDataProperty(this._elem,r,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:s(this._elem,this._textData.p.a,0,0,this),f:s(this._elem,this._textData.p.f,0,0,this),l:s(this._elem,this._textData.p.l,0,0,this),r:s(this._elem,this._textData.p.r,0,0,this),p:s(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=s(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(i,e){if(this.lettersChangedFlag=e,!(!this._mdf&&!this._isFirstFrame&&!e&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var r=this._moreOptions.alignment.v,s=this._animatorsData,o=this._textData,a=this.mHelper,l=this._renderType,c=this.renderedLetters.length,u,d,g,m,y=i.l,b,A,S,E,x,P,C,T,k,I,M,R,B,_,V;if(this._hasMaskedPath){if(V=this._pathData.m,!this._pathData.n||this._pathData._mdf){var D=V.v;this._pathData.r.v&&(D=D.reverse()),b={tLength:0,segments:[]},m=D._length-1;var F;for(R=0,g=0;g<m;g+=1)F=bez.buildBezierData(D.v[g],D.v[g+1],[D.o[g][0]-D.v[g][0],D.o[g][1]-D.v[g][1]],[D.i[g+1][0]-D.v[g+1][0],D.i[g+1][1]-D.v[g+1][1]]),b.tLength+=F.segmentLength,b.segments.push(F),R+=F.segmentLength;g=m,V.v.c&&(F=bez.buildBezierData(D.v[g],D.v[0],[D.o[g][0]-D.v[g][0],D.o[g][1]-D.v[g][1]],[D.i[0][0]-D.v[0][0],D.i[0][1]-D.v[0][1]]),b.tLength+=F.segmentLength,b.segments.push(F),R+=F.segmentLength),this._pathData.pi=b}if(b=this._pathData.pi,A=this._pathData.f.v,C=0,P=1,E=0,x=!0,I=b.segments,A<0&&V.v.c)for(b.tLength<Math.abs(A)&&(A=-Math.abs(A)%b.tLength),C=I.length-1,k=I[C].points,P=k.length-1;A<0;)A+=k[P].partialLength,P-=1,P<0&&(C-=1,k=I[C].points,P=k.length-1);k=I[C].points,T=k[P-1],S=k[P],M=S.partialLength}m=y.length,u=0,d=0;var N=i.finalSize*1.2*.714,K=!0,G,q,O,U,$;U=s.length;var Y,Q=-1,xe,ue,W,J=A,ce=C,ge=P,Ee=-1,Te,De,te,ae,H,ve,pe,ee,ne="",me=this.defaultPropsArray,Be;if(i.j===2||i.j===1){var oe=0,be=0,Ie=i.j===2?-.5:-1,Re=0,Pe=!0;for(g=0;g<m;g+=1)if(y[g].n){for(oe&&(oe+=be);Re<g;)y[Re].animatorJustifyOffset=oe,Re+=1;oe=0,Pe=!0}else{for(O=0;O<U;O+=1)G=s[O].a,G.t.propType&&(Pe&&i.j===2&&(be+=G.t.v*Ie),q=s[O].s,Y=q.getMult(y[g].anIndexes[O],o.a[O].s.totalChars),Y.length?oe+=G.t.v*Y[0]*Ie:oe+=G.t.v*Y*Ie);Pe=!1}for(oe&&(oe+=be);Re<g;)y[Re].animatorJustifyOffset=oe,Re+=1}for(g=0;g<m;g+=1){if(a.reset(),Te=1,y[g].n)u=0,d+=i.yOffset,d+=K?1:0,A=J,K=!1,this._hasMaskedPath&&(C=ce,P=ge,k=I[C].points,T=k[P-1],S=k[P],M=S.partialLength,E=0),ne="",ee="",ve="",Be="",me=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Ee!==y[g].line){switch(i.j){case 1:A+=R-i.lineWidths[y[g].line];break;case 2:A+=(R-i.lineWidths[y[g].line])/2;break}Ee=y[g].line}Q!==y[g].ind&&(y[Q]&&(A+=y[Q].extra),A+=y[g].an/2,Q=y[g].ind),A+=r[0]*y[g].an*.005;var he=0;for(O=0;O<U;O+=1)G=s[O].a,G.p.propType&&(q=s[O].s,Y=q.getMult(y[g].anIndexes[O],o.a[O].s.totalChars),Y.length?he+=G.p.v[0]*Y[0]:he+=G.p.v[0]*Y),G.a.propType&&(q=s[O].s,Y=q.getMult(y[g].anIndexes[O],o.a[O].s.totalChars),Y.length?he+=G.a.v[0]*Y[0]:he+=G.a.v[0]*Y);for(x=!0,this._pathData.a.v&&(A=y[0].an*.5+(R-this._pathData.f.v-y[0].an*.5-y[y.length-1].an*.5)*Q/(m-1),A+=this._pathData.f.v);x;)E+M>=A+he||!k?(B=(A+he-E)/S.partialLength,ue=T.point[0]+(S.point[0]-T.point[0])*B,W=T.point[1]+(S.point[1]-T.point[1])*B,a.translate(-r[0]*y[g].an*.005,-(r[1]*N)*.01),x=!1):k&&(E+=S.partialLength,P+=1,P>=k.length&&(P=0,C+=1,I[C]?k=I[C].points:V.v.c?(P=0,C=0,k=I[C].points):(E-=S.partialLength,k=null)),k&&(T=S,S=k[P],M=S.partialLength));xe=y[g].an/2-y[g].add,a.translate(-xe,0,0)}else xe=y[g].an/2-y[g].add,a.translate(-xe,0,0),a.translate(-r[0]*y[g].an*.005,-r[1]*N*.01,0);for(O=0;O<U;O+=1)G=s[O].a,G.t.propType&&(q=s[O].s,Y=q.getMult(y[g].anIndexes[O],o.a[O].s.totalChars),(u!==0||i.j!==0)&&(this._hasMaskedPath?Y.length?A+=G.t.v*Y[0]:A+=G.t.v*Y:Y.length?u+=G.t.v*Y[0]:u+=G.t.v*Y));for(i.strokeWidthAnim&&(te=i.sw||0),i.strokeColorAnim&&(i.sc?De=[i.sc[0],i.sc[1],i.sc[2]]:De=[0,0,0]),i.fillColorAnim&&i.fc&&(ae=[i.fc[0],i.fc[1],i.fc[2]]),O=0;O<U;O+=1)G=s[O].a,G.a.propType&&(q=s[O].s,Y=q.getMult(y[g].anIndexes[O],o.a[O].s.totalChars),Y.length?a.translate(-G.a.v[0]*Y[0],-G.a.v[1]*Y[1],G.a.v[2]*Y[2]):a.translate(-G.a.v[0]*Y,-G.a.v[1]*Y,G.a.v[2]*Y));for(O=0;O<U;O+=1)G=s[O].a,G.s.propType&&(q=s[O].s,Y=q.getMult(y[g].anIndexes[O],o.a[O].s.totalChars),Y.length?a.scale(1+(G.s.v[0]-1)*Y[0],1+(G.s.v[1]-1)*Y[1],1):a.scale(1+(G.s.v[0]-1)*Y,1+(G.s.v[1]-1)*Y,1));for(O=0;O<U;O+=1){if(G=s[O].a,q=s[O].s,Y=q.getMult(y[g].anIndexes[O],o.a[O].s.totalChars),G.sk.propType&&(Y.length?a.skewFromAxis(-G.sk.v*Y[0],G.sa.v*Y[1]):a.skewFromAxis(-G.sk.v*Y,G.sa.v*Y)),G.r.propType&&(Y.length?a.rotateZ(-G.r.v*Y[2]):a.rotateZ(-G.r.v*Y)),G.ry.propType&&(Y.length?a.rotateY(G.ry.v*Y[1]):a.rotateY(G.ry.v*Y)),G.rx.propType&&(Y.length?a.rotateX(G.rx.v*Y[0]):a.rotateX(G.rx.v*Y)),G.o.propType&&(Y.length?Te+=(G.o.v*Y[0]-Te)*Y[0]:Te+=(G.o.v*Y-Te)*Y),i.strokeWidthAnim&&G.sw.propType&&(Y.length?te+=G.sw.v*Y[0]:te+=G.sw.v*Y),i.strokeColorAnim&&G.sc.propType)for(H=0;H<3;H+=1)Y.length?De[H]+=(G.sc.v[H]-De[H])*Y[0]:De[H]+=(G.sc.v[H]-De[H])*Y;if(i.fillColorAnim&&i.fc){if(G.fc.propType)for(H=0;H<3;H+=1)Y.length?ae[H]+=(G.fc.v[H]-ae[H])*Y[0]:ae[H]+=(G.fc.v[H]-ae[H])*Y;G.fh.propType&&(Y.length?ae=addHueToRGB(ae,G.fh.v*Y[0]):ae=addHueToRGB(ae,G.fh.v*Y)),G.fs.propType&&(Y.length?ae=addSaturationToRGB(ae,G.fs.v*Y[0]):ae=addSaturationToRGB(ae,G.fs.v*Y)),G.fb.propType&&(Y.length?ae=addBrightnessToRGB(ae,G.fb.v*Y[0]):ae=addBrightnessToRGB(ae,G.fb.v*Y))}}for(O=0;O<U;O+=1)G=s[O].a,G.p.propType&&(q=s[O].s,Y=q.getMult(y[g].anIndexes[O],o.a[O].s.totalChars),this._hasMaskedPath?Y.length?a.translate(0,G.p.v[1]*Y[0],-G.p.v[2]*Y[1]):a.translate(0,G.p.v[1]*Y,-G.p.v[2]*Y):Y.length?a.translate(G.p.v[0]*Y[0],G.p.v[1]*Y[1],-G.p.v[2]*Y[2]):a.translate(G.p.v[0]*Y,G.p.v[1]*Y,-G.p.v[2]*Y));if(i.strokeWidthAnim&&(ve=te<0?0:te),i.strokeColorAnim&&(pe="rgb("+Math.round(De[0]*255)+","+Math.round(De[1]*255)+","+Math.round(De[2]*255)+")"),i.fillColorAnim&&i.fc&&(ee="rgb("+Math.round(ae[0]*255)+","+Math.round(ae[1]*255)+","+Math.round(ae[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-i.ls),a.translate(0,r[1]*N*.01+d,0),this._pathData.p.v){_=(S.point[1]-T.point[1])/(S.point[0]-T.point[0]);var Ce=Math.atan(_)*180/Math.PI;S.point[0]<T.point[0]&&(Ce+=180),a.rotate(-Ce*Math.PI/180)}a.translate(ue,W,0),A-=r[0]*y[g].an*.005,y[g+1]&&Q!==y[g+1].ind&&(A+=y[g].an/2,A+=i.tr*.001*i.finalSize)}else{switch(a.translate(u,d,0),i.ps&&a.translate(i.ps[0],i.ps[1]+i.ascent,0),i.j){case 1:a.translate(y[g].animatorJustifyOffset+i.justifyOffset+(i.boxWidth-i.lineWidths[y[g].line]),0,0);break;case 2:a.translate(y[g].animatorJustifyOffset+i.justifyOffset+(i.boxWidth-i.lineWidths[y[g].line])/2,0,0);break}a.translate(0,-i.ls),a.translate(xe,0,0),a.translate(r[0]*y[g].an*.005,r[1]*N*.01,0),u+=y[g].l+i.tr*.001*i.finalSize}l==="html"?ne=a.toCSS():l==="svg"?ne=a.to2dCSS():me=[a.props[0],a.props[1],a.props[2],a.props[3],a.props[4],a.props[5],a.props[6],a.props[7],a.props[8],a.props[9],a.props[10],a.props[11],a.props[12],a.props[13],a.props[14],a.props[15]],Be=Te}c<=g?($=new LetterProps(Be,ve,pe,ee,ne,me),this.renderedLetters.push($),c+=1,this.lettersChangedFlag=!0):($=this.renderedLetters[g],this.lettersChangedFlag=$.update(Be,ve,pe,ee,ne,me)||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);function ITextElement(){}ITextElement.prototype.initElement=function(i,e,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(i,e,r),this.textProperty=new TextProperty(this,i.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(i.t,this.renderType,this),this.initTransform(i,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(i){this._mdf=!1,this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange)},ITextElement.prototype.createPathShape=function(i,e){var r,s=e.length,o,a="";for(r=0;r<s;r+=1)e[r].ty==="sh"&&(o=e[r].ks.k,a+=buildShapeString(o,o.i.length,!0,i));return a},ITextElement.prototype.updateDocumentData=function(i,e){this.textProperty.updateDocumentData(i,e)},ITextElement.prototype.canResizeFont=function(i){this.textProperty.canResizeFont(i)},ITextElement.prototype.setMinimumFontSize=function(i){this.textProperty.setMinimumFontSize(i)},ITextElement.prototype.applyTextPropertiesToMatrix=function(i,e,r,s,o){switch(i.ps&&e.translate(i.ps[0],i.ps[1]+i.ascent,0),e.translate(0,-i.ls,0),i.j){case 1:e.translate(i.justifyOffset+(i.boxWidth-i.lineWidths[r]),0,0);break;case 2:e.translate(i.justifyOffset+(i.boxWidth-i.lineWidths[r])/2,0,0);break}e.translate(s,o,0)},ITextElement.prototype.buildColor=function(i){return"rgb("+Math.round(i[0]*255)+","+Math.round(i[1]*255)+","+Math.round(i[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(i,e,r){this.textSpans=[],this.renderType="svg",this.initElement(i,e,r)}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(i){for(var e=0,r=i.length,s=[],o="";e<r;)i[e]===String.fromCharCode(13)||i[e]===String.fromCharCode(3)?(s.push(o),o=""):o+=i[e],e+=1;return s.push(o),s},SVGTextLottieElement.prototype.buildShapeData=function(i,e){if(i.shapes&&i.shapes.length){var r=i.shapes[0];if(r.it){var s=r.it[r.it.length-1];s.s&&(s.s.k[0]=e,s.s.k[1]=e)}}return i},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var i,e,r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var s=this.globalData.fontManager.getFontByName(r.f);if(s.fClass)this.layerElement.setAttribute("class",s.fClass);else{this.layerElement.setAttribute("font-family",s.fFamily);var o=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",o)}this.layerElement.setAttribute("aria-label",r.t);var l=r.l||[],c=!!this.globalData.fontManager.chars;e=l.length;var u,d=this.mHelper,g="",m=this.data.singleShape,y=0,b=0,A=!0,S=r.tr*.001*r.finalSize;if(m&&!c&&!r.sz){var E=this.textContainer,x="start";switch(r.j){case 1:x="end";break;case 2:x="middle";break;default:x="start";break}E.setAttribute("text-anchor",x),E.setAttribute("letter-spacing",S);var P=this.buildTextContents(r.finalText);for(e=P.length,b=r.ps?r.ps[1]+r.ascent:0,i=0;i<e;i+=1)u=this.textSpans[i].span||createNS("tspan"),u.textContent=P[i],u.setAttribute("x",0),u.setAttribute("y",b),u.style.display="inherit",E.appendChild(u),this.textSpans[i]||(this.textSpans[i]={span:null,glyph:null}),this.textSpans[i].span=u,b+=r.finalLineHeight;this.layerElement.appendChild(E)}else{var C=this.textSpans.length,T;for(i=0;i<e;i+=1){if(this.textSpans[i]||(this.textSpans[i]={span:null,childSpan:null,glyph:null}),!c||!m||i===0){if(u=C>i?this.textSpans[i].span:createNS(c?"g":"text"),C<=i){if(u.setAttribute("stroke-linecap","butt"),u.setAttribute("stroke-linejoin","round"),u.setAttribute("stroke-miterlimit","4"),this.textSpans[i].span=u,c){var k=createNS("g");u.appendChild(k),this.textSpans[i].childSpan=k}this.textSpans[i].span=u,this.layerElement.appendChild(u)}u.style.display="inherit"}if(d.reset(),m&&(l[i].n&&(y=-S,b+=r.yOffset,b+=A?1:0,A=!1),this.applyTextPropertiesToMatrix(r,d,l[i].line,y,b),y+=l[i].l||0,y+=S),c){T=this.globalData.fontManager.getCharData(r.finalText[i],s.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var I;if(T.t===1)I=new SVGCompElement(T.data,this.globalData,this);else{var M=emptyShapeData;T.data&&T.data.shapes&&(M=this.buildShapeData(T.data,r.finalSize)),I=new SVGShapeElement(M,this.globalData,this)}if(this.textSpans[i].glyph){var R=this.textSpans[i].glyph;this.textSpans[i].childSpan.removeChild(R.layerElement),R.destroy()}this.textSpans[i].glyph=I,I._debug=!0,I.prepareFrame(0),I.renderFrame(),this.textSpans[i].childSpan.appendChild(I.layerElement),T.t===1&&this.textSpans[i].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else m&&u.setAttribute("transform","translate("+d.props[12]+","+d.props[13]+")"),u.textContent=l[i].val,u.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}m&&u&&u.setAttribute("d",g)}for(;i<this.textSpans.length;)this.textSpans[i].span.style.display="none",i+=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 i=this.layerElement.getBBox();this.bbox={top:i.y,left:i.x,width:i.width,height:i.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var i,e=this.textSpans.length,r;for(this.renderedFrame=this.comp.renderedFrame,i=0;i<e;i+=1)r=this.textSpans[i].glyph,r&&(r.prepareFrame(this.comp.renderedFrame-this.data.st),r._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var i,e,r=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;e=s.length;var o,a,l;for(i=0;i<e;i+=1)s[i].n||(o=r[i],a=this.textSpans[i].span,l=this.textSpans[i].glyph,l&&l.renderFrame(),o._mdf.m&&a.setAttribute("transform",o.m),o._mdf.o&&a.setAttribute("opacity",o.o),o._mdf.sw&&a.setAttribute("stroke-width",o.sw),o._mdf.sc&&a.setAttribute("stroke",o.sc),o._mdf.fc&&a.setAttribute("fill",o.fc))}};function ISolidElement(i,e,r){this.initElement(i,e,r)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var i=createNS("rect");i.setAttribute("width",this.data.sw),i.setAttribute("height",this.data.sh),i.setAttribute("fill",this.data.sc),this.layerElement.appendChild(i)};function NullElement(i,e,r){this.initFrame(),this.initBaseData(i,e,r),this.initFrame(),this.initTransform(i,e,r),this.initHierarchy()}NullElement.prototype.prepareFrame=function(i){this.prepareProperties(i,!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);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(i){return new NullElement(i,this.globalData,this)},SVGRendererBase.prototype.createShape=function(i){return new SVGShapeElement(i,this.globalData,this)},SVGRendererBase.prototype.createText=function(i){return new SVGTextLottieElement(i,this.globalData,this)},SVGRendererBase.prototype.createImage=function(i){return new IImageElement(i,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(i){return new ISolidElement(i,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(i){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+i.w+" "+i.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",i.w),this.svgElement.setAttribute("height",i.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(i,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=i;var r=createNS("clipPath"),s=createNS("rect");s.setAttribute("width",i.w),s.setAttribute("height",i.h),s.setAttribute("x",0),s.setAttribute("y",0);var o=createElementID();r.setAttribute("id",o),r.appendChild(s),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")"),e.appendChild(r),this.layers=i.layers,this.elements=createSizedArray(i.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var i,e=this.layers?this.layers.length:0;for(i=0;i<e;i+=1)this.elements[i]&&this.elements[i].destroy&&this.elements[i].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(i){var e=0,r=this.layers.length;for(e=0;e<r;e+=1)if(this.layers[e].ind===i)return e;return-1},SVGRendererBase.prototype.buildItem=function(i){var e=this.elements;if(!(e[i]||this.layers[i].ty===99)){e[i]=!0;var r=this.createItem(this.layers[i]);if(e[i]=r,getExpressionsPlugin()&&(this.layers[i].ty===0&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,i),this.layers[i].tt){var s="tp"in this.layers[i]?this.findIndexByInd(this.layers[i].tp):i-1;if(s===-1)return;if(!this.elements[s]||this.elements[s]===!0)this.buildItem(s),this.addPendingElement(r);else{var o=e[s],a=o.getMatte(this.layers[i].tt);r.setMatte(a)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var i=this.pendingElements.pop();if(i.checkParenting(),i.data.tt)for(var e=0,r=this.elements.length;e<r;){if(this.elements[e]===i){var s="tp"in i.data?this.findIndexByInd(i.data.tp):e-1,o=this.elements[s],a=o.getMatte(this.layers[e].tt);i.setMatte(a);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(i){if(!(this.renderedFrame===i||this.destroyed)){i===null?i=this.renderedFrame:this.renderedFrame=i,this.globalData.frameNum=i,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=i,this.globalData._mdf=!1;var e,r=this.layers.length;for(this.completeLayers||this.checkLayers(i),e=r-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(i-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(i,e){var r=i.getBaseElement();if(r){for(var s=0,o;s<e;)this.elements[s]&&this.elements[s]!==!0&&this.elements[s].getBaseElement()&&(o=this.elements[s].getBaseElement()),s+=1;o?this.layerElement.insertBefore(r,o):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(i,e,r){this.initFrame(),this.initBaseData(i,e,r),this.initTransform(i,e,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!e.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(i){if(this._mdf=!1,this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=i/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var r,s=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=s-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var i,e=this.layers.length;for(i=0;i<e;i+=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame()},ICompElement.prototype.setElements=function(i){this.elements=i},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var i,e=this.layers.length;for(i=0;i<e;i+=1)this.elements[i]&&this.elements[i].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(i,e,r){this.layers=i.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(i,e,r),this.tm=i.tm?PropertyFactory.getProp(this,i.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(i){return new SVGCompElement(i,this.globalData,this)};function SVGRenderer(i,e){this.animationItem=i,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(e&&e.title){var s=createNS("title"),o=createElementID();s.setAttribute("id",o),s.textContent=e.title,this.svgElement.appendChild(s),r+=o}if(e&&e.description){var a=createNS("desc"),l=createElementID();a.setAttribute("id",l),a.textContent=e.description,this.svgElement.appendChild(a),r+=" "+l}r&&this.svgElement.setAttribute("aria-labelledby",r);var c=createNS("defs");this.svgElement.appendChild(c);var u=createNS("g");this.svgElement.appendChild(u),this.layerElement=u,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&e.hideOnTransparent===!1),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height,runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:c,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(i){return new SVGCompElement(i,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(e){var r,s=e.length,o="_";for(r=0;r<s;r+=1)o+=e[r].transform.key+"_";var a=this.sequences[o];return a||(a={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[o]=a,this.sequenceList.push(a)),a},processSequence:function(e,r){for(var s=0,o=e.transforms.length,a=r;s<o&&!r;){if(e.transforms[s].transform.mProps._mdf){a=!0;break}s+=1}if(a)for(e.finalTransform.reset(),s=o-1;s>=0;s-=1)e.finalTransform.multiply(e.transforms[s].transform.mProps.v);e._mdf=a},processSequences:function(e){var r,s=this.sequenceList.length;for(r=0;r<s;r+=1)this.processSequence(this.sequenceList[r],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var e="__lottie_element_luma_buffer",r=null,s=null,o=null;function a(){var u=createNS("svg"),d=createNS("filter"),g=createNS("feColorMatrix");return d.setAttribute("id",e),g.setAttribute("type","matrix"),g.setAttribute("color-interpolation-filters","sRGB"),g.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),d.appendChild(g),u.appendChild(d),u.setAttribute("id",e+"_svg"),featureSupport.svgLumaHidden&&(u.style.display="none"),u}function l(){r||(o=a(),document.body.appendChild(o),r=createTag("canvas"),s=r.getContext("2d"),s.filter="url(#"+e+")",s.fillStyle="rgba(0,0,0,0)",s.fillRect(0,0,1,1))}function c(u){return r||l(),r.width=u.width,r.height=u.height,s.filter="url(#"+e+")",r}return{load:l,get:c}};function createCanvas(i,e){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(i,e);var r=createTag("canvas");return r.width=i,r.height=e,r}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(i){var e,r=i.data.ef?i.data.ef.length:0;this.filters=[];var s;for(e=0;e<r;e+=1){s=null;var o=i.data.ef[e].ty;if(registeredEffects[o]){var a=registeredEffects[o].effect;s=new a(i.effectsManager.effectElements[e],i)}s&&this.filters.push(s)}this.filters.length&&i.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(i){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(i)},CVEffects.prototype.getEffects=function(i){var e,r=this.filters.length,s=[];for(e=0;e<r;e+=1)this.filters[e].type===i&&s.push(this.filters[e]);return s};function registerEffect(i,e){registeredEffects[i]={effect:e}}function CVMaskElement(i,e){this.data=i,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r,s=this.masksProperties.length,o=!1;for(r=0;r<s;r+=1)this.masksProperties[r].mode!=="n"&&(o=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=o,o&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var i=this.element.finalTransform.mat,e=this.element.canvasContext,r,s=this.masksProperties.length,o,a,l;for(e.beginPath(),r=0;r<s;r+=1)if(this.masksProperties[r].mode!=="n"){this.masksProperties[r].inv&&(e.moveTo(0,0),e.lineTo(this.element.globalData.compSize.w,0),e.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),e.lineTo(0,this.element.globalData.compSize.h),e.lineTo(0,0)),l=this.viewData[r].v,o=i.applyToPointArray(l.v[0][0],l.v[0][1],0),e.moveTo(o[0],o[1]);var c,u=l._length;for(c=1;c<u;c+=1)a=i.applyToTriplePoints(l.o[c-1],l.i[c],l.v[c]),e.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);a=i.applyToTriplePoints(l.o[c-1],l.i[0],l.v[0]),e.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5])}this.element.globalData.renderer.save(!0),e.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var e=this.globalData.canvasContext,r=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(r);var s=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(s),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var r=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=r}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(e){e.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var e=this.buffers[0],r=e.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var e=this.buffers[1],r=e.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var s=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(s.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var o=assetLoader.getLumaCanvas(this.canvasContext.canvas),a=o.getContext("2d");a.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(o,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(e,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(e){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!e)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var r=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(r),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(r),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(i,e,r,s){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var o=4;e.ty==="rc"?o=5:e.ty==="el"?o=6:e.ty==="sr"&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(i,e,o,i);var a,l=r.length,c;for(a=0;a<l;a+=1)r[a].closed||(c={transforms:s.addTransformSequence(r[a].transforms),trNodes:[]},this.styledShapes.push(c),r[a].elements.push(c))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(i,e,r){this.shapes=[],this.shapesData=i.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(i,e,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(i,e){var r={data:i,type:i.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:i.hd===!0},s={};if(i.ty==="fl"||i.ty==="st"?(s.c=PropertyFactory.getProp(this,i.c,1,255,this),s.c.k||(r.co="rgb("+bmFloor(s.c.v[0])+","+bmFloor(s.c.v[1])+","+bmFloor(s.c.v[2])+")")):(i.ty==="gf"||i.ty==="gs")&&(s.s=PropertyFactory.getProp(this,i.s,1,null,this),s.e=PropertyFactory.getProp(this,i.e,1,null,this),s.h=PropertyFactory.getProp(this,i.h||{k:0},0,.01,this),s.a=PropertyFactory.getProp(this,i.a||{k:0},0,degToRads,this),s.g=new GradientProperty(this,i.g,this)),s.o=PropertyFactory.getProp(this,i.o,0,.01,this),i.ty==="st"||i.ty==="gs"){if(r.lc=lineCapEnum[i.lc||2],r.lj=lineJoinEnum[i.lj||2],i.lj==1&&(r.ml=i.ml),s.w=PropertyFactory.getProp(this,i.w,0,null,this),s.w.k||(r.wi=s.w.v),i.d){var o=new DashProperty(this,i.d,"canvas",this);s.d=o,s.d.k||(r.da=s.d.dashArray,r.do=s.d.dashoffset[0])}}else r.r=i.r===2?"evenodd":"nonzero";return this.stylesList.push(r),s.style=r,s},CVShapeElement.prototype.createGroupElement=function(){var i={it:[],prevViewData:[]};return i},CVShapeElement.prototype.createTransformElement=function(i){var e={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,i.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,i,this)}};return e},CVShapeElement.prototype.createShapeElement=function(i){var e=new CVShapeData(this,i,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var i,e=this.itemsData.length;for(i=0;i<e;i+=1)this.prevViewData[i]=this.itemsData[i];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,i=0;i<e;i+=1)this.dynamicProperties[i].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(i){var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(i)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var i,e=this.stylesList.length;for(i=0;i<e;i+=1)this.stylesList[i].closed||this.stylesList[i].transforms.pop()},CVShapeElement.prototype.closeStyles=function(i){var e,r=i.length;for(e=0;e<r;e+=1)i[e].closed=!0},CVShapeElement.prototype.searchShapes=function(i,e,r,s,o){var a,l=i.length-1,c,u,d=[],g=[],m,y,b,A=[].concat(o);for(a=l;a>=0;a-=1){if(m=this.searchProcessedElement(i[a]),m?e[a]=r[m-1]:i[a]._shouldRender=s,i[a].ty==="fl"||i[a].ty==="st"||i[a].ty==="gf"||i[a].ty==="gs")m?e[a].style.closed=!1:e[a]=this.createStyleElement(i[a],A),d.push(e[a].style);else if(i[a].ty==="gr"){if(!m)e[a]=this.createGroupElement(i[a]);else for(u=e[a].it.length,c=0;c<u;c+=1)e[a].prevViewData[c]=e[a].it[c];this.searchShapes(i[a].it,e[a].it,e[a].prevViewData,s,A)}else i[a].ty==="tr"?(m||(b=this.createTransformElement(i[a]),e[a]=b),A.push(e[a]),this.addTransformToStyleList(e[a])):i[a].ty==="sh"||i[a].ty==="rc"||i[a].ty==="el"||i[a].ty==="sr"?m||(e[a]=this.createShapeElement(i[a])):i[a].ty==="tm"||i[a].ty==="rd"||i[a].ty==="pb"||i[a].ty==="zz"||i[a].ty==="op"?(m?(y=e[a],y.closed=!1):(y=ShapeModifiers.getModifier(i[a].ty),y.init(this,i[a]),e[a]=y,this.shapeModifiers.push(y)),g.push(y)):i[a].ty==="rp"&&(m?(y=e[a],y.closed=!0):(y=ShapeModifiers.getModifier(i[a].ty),e[a]=y,y.init(this,i,a,e),this.shapeModifiers.push(y),s=!1),g.push(y));this.addProcessedElement(i[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(d),l=g.length,a=0;a<l;a+=1)g[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(i,e){(i._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=i.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var i,e=this.stylesList.length,r,s,o,a,l,c,u=this.globalData.renderer,d=this.globalData.canvasContext,g,m;for(i=0;i<e;i+=1)if(m=this.stylesList[i],g=m.type,!((g==="st"||g==="gs")&&m.wi===0||!m.data._shouldRender||m.coOp===0||this.globalData.currentGlobalAlpha===0)){for(u.save(),l=m.elements,g==="st"||g==="gs"?(u.ctxStrokeStyle(g==="st"?m.co:m.grd),u.ctxLineWidth(m.wi),u.ctxLineCap(m.lc),u.ctxLineJoin(m.lj),u.ctxMiterLimit(m.ml||0)):u.ctxFillStyle(g==="fl"?m.co:m.grd),u.ctxOpacity(m.coOp),g!=="st"&&g!=="gs"&&d.beginPath(),u.ctxTransform(m.preTransforms.finalTransform.props),s=l.length,r=0;r<s;r+=1){for((g==="st"||g==="gs")&&(d.beginPath(),m.da&&(d.setLineDash(m.da),d.lineDashOffset=m.do)),c=l[r].trNodes,a=c.length,o=0;o<a;o+=1)c[o].t==="m"?d.moveTo(c[o].p[0],c[o].p[1]):c[o].t==="c"?d.bezierCurveTo(c[o].pts[0],c[o].pts[1],c[o].pts[2],c[o].pts[3],c[o].pts[4],c[o].pts[5]):d.closePath();(g==="st"||g==="gs")&&(u.ctxStroke(),m.da&&d.setLineDash(this.dashResetter))}g!=="st"&&g!=="gs"&&this.globalData.renderer.ctxFill(m.r),u.restore()}},CVShapeElement.prototype.renderShape=function(i,e,r,s){var o,a=e.length-1,l;for(l=i,o=a;o>=0;o-=1)e[o].ty==="tr"?(l=r[o].transform,this.renderShapeTransform(i,l)):e[o].ty==="sh"||e[o].ty==="el"||e[o].ty==="rc"||e[o].ty==="sr"?this.renderPath(e[o],r[o]):e[o].ty==="fl"?this.renderFill(e[o],r[o],l):e[o].ty==="st"?this.renderStroke(e[o],r[o],l):e[o].ty==="gf"||e[o].ty==="gs"?this.renderGradientFill(e[o],r[o],l):e[o].ty==="gr"?this.renderShape(l,e[o].it,r[o].it):e[o].ty;s&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(i,e){if(this._isFirstFrame||e._mdf||i.transforms._mdf){var r=i.trNodes,s=e.paths,o,a,l,c=s._length;r.length=0;var u=i.transforms.finalTransform;for(l=0;l<c;l+=1){var d=s.shapes[l];if(d&&d.v){for(a=d._length,o=1;o<a;o+=1)o===1&&r.push({t:"m",p:u.applyToPointArray(d.v[0][0],d.v[0][1],0)}),r.push({t:"c",pts:u.applyToTriplePoints(d.o[o-1],d.i[o],d.v[o])});a===1&&r.push({t:"m",p:u.applyToPointArray(d.v[0][0],d.v[0][1],0)}),d.c&&a&&(r.push({t:"c",pts:u.applyToTriplePoints(d.o[o-1],d.i[0],d.v[0])}),r.push({t:"z"}))}}i.trNodes=r}},CVShapeElement.prototype.renderPath=function(i,e){if(i.hd!==!0&&i._shouldRender){var r,s=e.styledShapes.length;for(r=0;r<s;r+=1)this.renderStyledShape(e.styledShapes[r],e.sh)}},CVShapeElement.prototype.renderFill=function(i,e,r){var s=e.style;(e.c._mdf||this._isFirstFrame)&&(s.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(s.coOp=e.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(i,e,r){var s=e.style,o;if(!s.grd||e.g._mdf||e.s._mdf||e.e._mdf||i.t!==1&&(e.h._mdf||e.a._mdf)){var a=this.globalData.canvasContext,l=e.s.v,c=e.e.v;if(i.t===1)o=a.createLinearGradient(l[0],l[1],c[0],c[1]);else{var u=Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)),d=Math.atan2(c[1]-l[1],c[0]-l[0]),g=e.h.v;g>=1?g=.99:g<=-1&&(g=-.99);var m=u*g,y=Math.cos(d+e.a.v)*m+l[0],b=Math.sin(d+e.a.v)*m+l[1];o=a.createRadialGradient(y,b,0,l[0],l[1],u)}var A,S=i.g.p,E=e.g.c,x=1;for(A=0;A<S;A+=1)e.g._hasOpacity&&e.g._collapsable&&(x=e.g.o[A*2+1]),o.addColorStop(E[A*4]/100,"rgba("+E[A*4+1]+","+E[A*4+2]+","+E[A*4+3]+","+x+")");s.grd=o}s.coOp=e.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(i,e,r){var s=e.style,o=e.d;o&&(o._mdf||this._isFirstFrame)&&(s.da=o.dashArray,s.do=o.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(s.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(s.coOp=e.o.v*r.opacity),(e.w._mdf||this._isFirstFrame)&&(s.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(i,e,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(i,e,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i.l?i.l.length:0);var e=!1;i.fc?(e=!0,this.values.fill=this.buildColor(i.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var r=!1;i.sc&&(r=!0,this.values.stroke=this.buildColor(i.sc),this.values.sWidth=i.sw);var s=this.globalData.fontManager.getFontByName(i.f),o,a,l=i.l,c=this.mHelper;this.stroke=r,this.values.fValue=i.finalSize+"px "+this.globalData.fontManager.getFontByName(i.f).fFamily,a=i.finalText.length;var u,d,g,m,y,b,A,S,E,x,P=this.data.singleShape,C=i.tr*.001*i.finalSize,T=0,k=0,I=!0,M=0;for(o=0;o<a;o+=1){u=this.globalData.fontManager.getCharData(i.finalText[o],s.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily),d=u&&u.data||{},c.reset(),P&&l[o].n&&(T=-C,k+=i.yOffset,k+=I?1:0,I=!1),y=d.shapes?d.shapes[0].it:[],A=y.length,c.scale(i.finalSize/100,i.finalSize/100),P&&this.applyTextPropertiesToMatrix(i,c,l[o].line,T,k),E=createSizedArray(A-1);var R=0;for(b=0;b<A;b+=1)if(y[b].ty==="sh"){for(m=y[b].ks.k.i.length,S=y[b].ks.k,x=[],g=1;g<m;g+=1)g===1&&x.push(c.applyToX(S.v[0][0],S.v[0][1],0),c.applyToY(S.v[0][0],S.v[0][1],0)),x.push(c.applyToX(S.o[g-1][0],S.o[g-1][1],0),c.applyToY(S.o[g-1][0],S.o[g-1][1],0),c.applyToX(S.i[g][0],S.i[g][1],0),c.applyToY(S.i[g][0],S.i[g][1],0),c.applyToX(S.v[g][0],S.v[g][1],0),c.applyToY(S.v[g][0],S.v[g][1],0));x.push(c.applyToX(S.o[g-1][0],S.o[g-1][1],0),c.applyToY(S.o[g-1][0],S.o[g-1][1],0),c.applyToX(S.i[0][0],S.i[0][1],0),c.applyToY(S.i[0][0],S.i[0][1],0),c.applyToX(S.v[0][0],S.v[0][1],0),c.applyToY(S.v[0][0],S.v[0][1],0)),E[R]=x,R+=1}P&&(T+=l[o].l,T+=C),this.textSpans[M]?this.textSpans[M].elem=E:this.textSpans[M]={elem:E},M+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var i=this.canvasContext;i.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var e,r,s,o,a,l,c=this.textAnimator.renderedLetters,u=this.textProperty.currentData.l;r=u.length;var d,g=null,m=null,y=null,b,A,S=this.globalData.renderer;for(e=0;e<r;e+=1)if(!u[e].n){if(d=c[e],d&&(S.save(),S.ctxTransform(d.p),S.ctxOpacity(d.o)),this.fill){for(d&&d.fc?g!==d.fc&&(S.ctxFillStyle(d.fc),g=d.fc):g!==this.values.fill&&(g=this.values.fill,S.ctxFillStyle(this.values.fill)),b=this.textSpans[e].elem,o=b.length,this.globalData.canvasContext.beginPath(),s=0;s<o;s+=1)for(A=b[s],l=A.length,this.globalData.canvasContext.moveTo(A[0],A[1]),a=2;a<l;a+=6)this.globalData.canvasContext.bezierCurveTo(A[a],A[a+1],A[a+2],A[a+3],A[a+4],A[a+5]);this.globalData.canvasContext.closePath(),S.ctxFill()}if(this.stroke){for(d&&d.sw?y!==d.sw&&(y=d.sw,S.ctxLineWidth(d.sw)):y!==this.values.sWidth&&(y=this.values.sWidth,S.ctxLineWidth(this.values.sWidth)),d&&d.sc?m!==d.sc&&(m=d.sc,S.ctxStrokeStyle(d.sc)):m!==this.values.stroke&&(m=this.values.stroke,S.ctxStrokeStyle(this.values.stroke)),b=this.textSpans[e].elem,o=b.length,this.globalData.canvasContext.beginPath(),s=0;s<o;s+=1)for(A=b[s],l=A.length,this.globalData.canvasContext.moveTo(A[0],A[1]),a=2;a<l;a+=6)this.globalData.canvasContext.bezierCurveTo(A[a],A[a+1],A[a+2],A[a+3],A[a+4],A[a+5]);this.globalData.canvasContext.closePath(),S.ctxStroke()}d&&this.globalData.renderer.restore()}};function CVImageElement(i,e,r){this.assetData=e.getAssetData(i.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(i,e,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var i=createTag("canvas");i.width=this.assetData.w,i.height=this.assetData.h;var e=i.getContext("2d"),r=this.img.width,s=this.img.height,o=r/s,a=this.assetData.w/this.assetData.h,l,c,u=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;o>a&&u==="xMidYMid slice"||o<a&&u!=="xMidYMid slice"?(c=s,l=c*a):(l=r,c=l/a),e.drawImage(this.img,(r-l)/2,(s-c)/2,l,c,0,0,this.assetData.w,this.assetData.h),this.img=i}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(i,e,r){this.initElement(i,e,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(i){return new CVShapeElement(i,this.globalData,this)},CanvasRendererBase.prototype.createText=function(i){return new CVTextElement(i,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(i){return new CVImageElement(i,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(i){return new CVSolidElement(i,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(i){i[0]===1&&i[1]===0&&i[4]===0&&i[5]===1&&i[12]===0&&i[13]===0||this.canvasContext.transform(i[0],i[1],i[4],i[5],i[12],i[13])},CanvasRendererBase.prototype.ctxOpacity=function(i){this.canvasContext.globalAlpha*=i<0?0:i},CanvasRendererBase.prototype.ctxFillStyle=function(i){this.canvasContext.fillStyle=i},CanvasRendererBase.prototype.ctxStrokeStyle=function(i){this.canvasContext.strokeStyle=i},CanvasRendererBase.prototype.ctxLineWidth=function(i){this.canvasContext.lineWidth=i},CanvasRendererBase.prototype.ctxLineCap=function(i){this.canvasContext.lineCap=i},CanvasRendererBase.prototype.ctxLineJoin=function(i){this.canvasContext.lineJoin=i},CanvasRendererBase.prototype.ctxMiterLimit=function(i){this.canvasContext.miterLimit=i},CanvasRendererBase.prototype.ctxFill=function(i){this.canvasContext.fill(i)},CanvasRendererBase.prototype.ctxFillRect=function(i,e,r,s){this.canvasContext.fillRect(i,e,r,s)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(i){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}i&&(this.globalData.blendMode="source-over"),this.contextData.restore(i)},CanvasRendererBase.prototype.configAnimation=function(i){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var r="0px 0px 0px";e.transformOrigin=r,e.mozTransformOrigin=r,e.webkitTransformOrigin=r,e["-webkit-transform"]=r,e.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=i,this.layers=i.layers,this.transformCanvas={w:i.w,h:i.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(i,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(i.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(i,e){this.reset();var r,s;i?(r=i,s=e,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=s):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,s=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,s=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=s*this.renderConfig.dpr);var o,a;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var l=this.renderConfig.preserveAspectRatio.split(" "),c=l[1]||"meet",u=l[0]||"xMidYMid",d=u.substr(0,4),g=u.substr(4);o=r/s,a=this.transformCanvas.w/this.transformCanvas.h,a>o&&c==="meet"||a<o&&c==="slice"?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=s/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=s/(this.transformCanvas.h/this.renderConfig.dpr)),d==="xMid"&&(a<o&&c==="meet"||a>o&&c==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(s/this.transformCanvas.h))/2*this.renderConfig.dpr:d==="xMax"&&(a<o&&c==="meet"||a>o&&c==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(s/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,g==="YMid"&&(a>o&&c==="meet"||a<o&&c==="slice")?this.transformCanvas.ty=(s-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:g==="YMax"&&(a>o&&c==="meet"||a<o&&c==="slice")?this.transformCanvas.ty=(s-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=s/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var i,e=this.layers?this.layers.length:0;for(i=e-1;i>=0;i-=1)this.elements[i]&&this.elements[i].destroy&&this.elements[i].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(i,e){if(!(this.renderedFrame===i&&this.renderConfig.clearCanvas===!0&&!e||this.destroyed||i===-1)){this.renderedFrame=i,this.globalData.frameNum=i-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=i;var r,s=this.layers.length;for(this.completeLayers||this.checkLayers(i),r=s-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(i-this.layers[r].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=s-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(i){var e=this.elements;if(!(e[i]||this.layers[i].ty===99)){var r=this.createItem(this.layers[i],this,this.globalData);e[i]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var i=this.pendingElements.pop();i.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var i,e=15;for(i=0;i<e;i+=1){var r=new CanvasContext;this.stack[i]=r}this._length=e,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var i=this._length*2,e=0;for(e=this._length;e<i;e+=1)this.stack[e]=new CanvasContext;this._length=i},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(i){this.cArrPos-=1;var e=this.stack[this.cArrPos],r=e.transform,s,o=this.cTr.props;for(s=0;s<16;s+=1)o[s]=r[s];if(i){this.nativeContext.restore();var a=this.stack[this.cArrPos+1];this.appliedFillStyle=a.fillStyle,this.appliedStrokeStyle=a.strokeStyle,this.appliedLineWidth=a.lineWidth,this.appliedLineCap=a.lineCap,this.appliedLineJoin=a.lineJoin,this.appliedMiterLimit=a.miterLimit}this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),(i||e.opacity!==-1&&this.currentOpacity!==e.opacity)&&(this.nativeContext.globalAlpha=e.opacity,this.currentOpacity=e.opacity),this.currentFillStyle=e.fillStyle,this.currentStrokeStyle=e.strokeStyle,this.currentLineWidth=e.lineWidth,this.currentLineCap=e.lineCap,this.currentLineJoin=e.lineJoin,this.currentMiterLimit=e.miterLimit},CVContextData.prototype.save=function(i){i&&this.nativeContext.save();var e=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r=this.stack[this.cArrPos],s;for(s=0;s<16;s+=1)r.transform[s]=e[s];this.cArrPos+=1;var o=this.stack[this.cArrPos];o.opacity=r.opacity,o.fillStyle=r.fillStyle,o.strokeStyle=r.strokeStyle,o.lineWidth=r.lineWidth,o.lineCap=r.lineCap,o.lineJoin=r.lineJoin,o.miterLimit=r.miterLimit},CVContextData.prototype.setOpacity=function(i){this.stack[this.cArrPos].opacity=i},CVContextData.prototype.setContext=function(i){this.nativeContext=i},CVContextData.prototype.fillStyle=function(i){this.stack[this.cArrPos].fillStyle!==i&&(this.currentFillStyle=i,this.stack[this.cArrPos].fillStyle=i)},CVContextData.prototype.strokeStyle=function(i){this.stack[this.cArrPos].strokeStyle!==i&&(this.currentStrokeStyle=i,this.stack[this.cArrPos].strokeStyle=i)},CVContextData.prototype.lineWidth=function(i){this.stack[this.cArrPos].lineWidth!==i&&(this.currentLineWidth=i,this.stack[this.cArrPos].lineWidth=i)},CVContextData.prototype.lineCap=function(i){this.stack[this.cArrPos].lineCap!==i&&(this.currentLineCap=i,this.stack[this.cArrPos].lineCap=i)},CVContextData.prototype.lineJoin=function(i){this.stack[this.cArrPos].lineJoin!==i&&(this.currentLineJoin=i,this.stack[this.cArrPos].lineJoin=i)},CVContextData.prototype.miterLimit=function(i){this.stack[this.cArrPos].miterLimit!==i&&(this.currentMiterLimit=i,this.stack[this.cArrPos].miterLimit=i)},CVContextData.prototype.transform=function(i){this.transformMat.cloneFromProps(i);var e=this.cTr;this.transformMat.multiply(e),e.cloneFromProps(this.transformMat.props);var r=e.props;this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])},CVContextData.prototype.opacity=function(i){var e=this.stack[this.cArrPos].opacity;e*=i<0?0:i,this.stack[this.cArrPos].opacity!==e&&(this.currentOpacity!==i&&(this.nativeContext.globalAlpha=i,this.currentOpacity=i),this.stack[this.cArrPos].opacity=e)},CVContextData.prototype.fill=function(i){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(i)},CVContextData.prototype.fillRect=function(i,e,r,s){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(i,e,r,s)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(i,e,r){this.completeLayers=!1,this.layers=i.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(i,e,r),this.tm=i.tm?PropertyFactory.getProp(this,i.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var i=this.canvasContext;i.beginPath(),i.moveTo(0,0),i.lineTo(this.data.w,0),i.lineTo(this.data.w,this.data.h),i.lineTo(0,this.data.h),i.lineTo(0,0),i.clip();var e,r=this.layers.length;for(e=r-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var i,e=this.layers.length;for(i=e-1;i>=0;i-=1)this.elements[i]&&this.elements[i].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(i){return new CVCompElement(i,this.globalData,this)};function CanvasRenderer(i,e){this.animationItem=i,this.renderConfig={clearCanvas:e&&e.clearCanvas!==void 0?e.clearCanvas:!0,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||"",runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(i){return new CVCompElement(i,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var r=this.finalTransform.mat.toCSS();e.transform=r,e.webkitTransform=r}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(i,e,r){this.initElement(i,e,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var i;this.data.hasMask?(i=createNS("rect"),i.setAttribute("width",this.data.sw),i.setAttribute("height",this.data.sh),i.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(i=createTag("div"),i.style.width=this.data.sw+"px",i.style.height=this.data.sh+"px",i.style.backgroundColor=this.data.sc),this.layerElement.appendChild(i)};function HShapeElement(i,e,r){this.shapes=[],this.shapesData=i.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(i,e,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var i;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),i=this.svgElement;else{i=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;i.setAttribute("width",e.w),i.setAttribute("height",e.h),i.appendChild(this.shapesContainer),this.layerElement.appendChild(i)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=i},HShapeElement.prototype.getTransformedPoint=function(i,e){var r,s=i.length;for(r=0;r<s;r+=1)e=i[r].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(i,e){var r=i.sh.v,s=i.transformers,o,a=r._length,l,c,u,d;if(!(a<=1)){for(o=0;o<a-1;o+=1)l=this.getTransformedPoint(s,r.v[o]),c=this.getTransformedPoint(s,r.o[o]),u=this.getTransformedPoint(s,r.i[o+1]),d=this.getTransformedPoint(s,r.v[o+1]),this.checkBounds(l,c,u,d,e);r.c&&(l=this.getTransformedPoint(s,r.v[o]),c=this.getTransformedPoint(s,r.o[o]),u=this.getTransformedPoint(s,r.i[0]),d=this.getTransformedPoint(s,r.v[0]),this.checkBounds(l,c,u,d,e))}},HShapeElement.prototype.checkBounds=function(i,e,r,s,o){this.getBoundsOfCurve(i,e,r,s);var a=this.shapeBoundingBox;o.x=bmMin(a.left,o.x),o.xMax=bmMax(a.right,o.xMax),o.y=bmMin(a.top,o.y),o.yMax=bmMax(a.bottom,o.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(i,e,r,s){for(var o=[[i[0],s[0]],[i[1],s[1]]],a,l,c,u,d,g,m,y=0;y<2;++y)l=6*i[y]-12*e[y]+6*r[y],a=-3*i[y]+9*e[y]-9*r[y]+3*s[y],c=3*e[y]-3*i[y],l|=0,a|=0,c|=0,a===0&&l===0||(a===0?(u=-c/l,u>0&&u<1&&o[y].push(this.calculateF(u,i,e,r,s,y))):(d=l*l-4*c*a,d>=0&&(g=(-l+bmSqrt(d))/(2*a),g>0&&g<1&&o[y].push(this.calculateF(g,i,e,r,s,y)),m=(-l-bmSqrt(d))/(2*a),m>0&&m<1&&o[y].push(this.calculateF(m,i,e,r,s,y)))));this.shapeBoundingBox.left=bmMin.apply(null,o[0]),this.shapeBoundingBox.top=bmMin.apply(null,o[1]),this.shapeBoundingBox.right=bmMax.apply(null,o[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,o[1])},HShapeElement.prototype.calculateF=function(i,e,r,s,o,a){return bmPow(1-i,3)*e[a]+3*bmPow(1-i,2)*i*r[a]+3*(1-i)*bmPow(i,2)*s[a]+bmPow(i,3)*o[a]},HShapeElement.prototype.calculateBoundingBox=function(i,e){var r,s=i.length;for(r=0;r<s;r+=1)i[r]&&i[r].sh?this.calculateShapeBoundingBox(i[r],e):i[r]&&i[r].it?this.calculateBoundingBox(i[r].it,e):i[r]&&i[r].style&&i[r].w&&this.expandStrokeBoundingBox(i[r].w,e)},HShapeElement.prototype.expandStrokeBoundingBox=function(i,e){var r=0;if(i.keyframes){for(var s=0;s<i.keyframes.length;s+=1){var o=i.keyframes[s].s;o>r&&(r=o)}r*=i.mult}else r=i.v*i.mult;e.x-=r,e.xMax+=r,e.y-=r,e.yMax+=r},HShapeElement.prototype.currentBoxContains=function(i){return this.currentBBox.x<=i.x&&this.currentBBox.y<=i.y&&this.currentBBox.width+this.currentBBox.x>=i.x+i.width&&this.currentBBox.height+this.currentBBox.y>=i.y+i.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var i=this.tempBoundingBox,e=999999;if(i.x=e,i.xMax=-e,i.y=e,i.yMax=-e,this.calculateBoundingBox(this.itemsData,i),i.width=i.xMax<i.x?0:i.xMax-i.x,i.height=i.yMax<i.y?0:i.yMax-i.y,this.currentBoxContains(i))return;var r=!1;if(this.currentBBox.w!==i.width&&(this.currentBBox.w=i.width,this.shapeCont.setAttribute("width",i.width),r=!0),this.currentBBox.h!==i.height&&(this.currentBBox.h=i.height,this.shapeCont.setAttribute("height",i.height),r=!0),r||this.currentBBox.x!==i.x||this.currentBBox.y!==i.y){this.currentBBox.w=i.width,this.currentBBox.h=i.height,this.currentBBox.x=i.x,this.currentBBox.y=i.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var s=this.shapeCont.style,o="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";s.transform=o,s.webkitTransform=o}}};function HTextElement(i,e,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(i,e,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var i=createNS("g");this.maskedElement.appendChild(i),this.innerElem=i}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i.l?i.l.length:0);var e=this.innerElem.style,r=i.fc?this.buildColor(i.fc):"rgba(0,0,0,0)";e.fill=r,e.color=r,i.sc&&(e.stroke=this.buildColor(i.sc),e.strokeWidth=i.sw+"px");var s=this.globalData.fontManager.getFontByName(i.f);if(!this.globalData.fontManager.chars)if(e.fontSize=i.finalSize+"px",e.lineHeight=i.finalSize+"px",s.fClass)this.innerElem.className=s.fClass;else{e.fontFamily=s.fFamily;var o=i.fWeight,a=i.fStyle;e.fontStyle=a,e.fontWeight=o}var l,c,u=i.l;c=u.length;var d,g,m,y=this.mHelper,b,A="",S=0;for(l=0;l<c;l+=1){if(this.globalData.fontManager.chars?(this.textPaths[S]?d=this.textPaths[S]:(d=createNS("path"),d.setAttribute("stroke-linecap",lineCapEnum[1]),d.setAttribute("stroke-linejoin",lineJoinEnum[2]),d.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[S]?(g=this.textSpans[S],m=g.children[0]):(g=createTag("div"),g.style.lineHeight=0,m=createNS("svg"),m.appendChild(d),styleDiv(g)))):this.isMasked?d=this.textPaths[S]?this.textPaths[S]:createNS("text"):this.textSpans[S]?(g=this.textSpans[S],d=this.textPaths[S]):(g=createTag("span"),styleDiv(g),d=createTag("span"),styleDiv(d),g.appendChild(d)),this.globalData.fontManager.chars){var E=this.globalData.fontManager.getCharData(i.finalText[l],s.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily),x;if(E?x=E.data:x=null,y.reset(),x&&x.shapes&&x.shapes.length&&(b=x.shapes[0].it,y.scale(i.finalSize/100,i.finalSize/100),A=this.createPathShape(y,b),d.setAttribute("d",A)),this.isMasked)this.innerElem.appendChild(d);else{if(this.innerElem.appendChild(g),x&&x.shapes){document.body.appendChild(m);var P=m.getBBox();m.setAttribute("width",P.width+2),m.setAttribute("height",P.height+2),m.setAttribute("viewBox",P.x-1+" "+(P.y-1)+" "+(P.width+2)+" "+(P.height+2));var C=m.style,T="translate("+(P.x-1)+"px,"+(P.y-1)+"px)";C.transform=T,C.webkitTransform=T,u[l].yOffset=P.y-1}else m.setAttribute("width",1),m.setAttribute("height",1);g.appendChild(m)}}else if(d.textContent=u[l].val,d.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(d);else{this.innerElem.appendChild(g);var k=d.style,I="translate3d(0,"+-i.finalSize/1.2+"px,0)";k.transform=I,k.webkitTransform=I}this.isMasked?this.textSpans[S]=d:this.textSpans[S]=g,this.textSpans[S].style.display="block",this.textPaths[S]=d,S+=1}for(;S<this.textSpans.length;)this.textSpans[S].style.display="none",S+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var i;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),i=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";i.transform=e,i.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var r,s,o=0,a=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;s=l.length;var c,u,d;for(r=0;r<s;r+=1)l[r].n?o+=1:(u=this.textSpans[r],d=this.textPaths[r],c=a[o],o+=1,c._mdf.m&&(this.isMasked?u.setAttribute("transform",c.m):(u.style.webkitTransform=c.m,u.style.transform=c.m)),u.style.opacity=c.o,c.sw&&c._mdf.sw&&d.setAttribute("stroke-width",c.sw),c.sc&&c._mdf.sc&&d.setAttribute("stroke",c.sc),c.fc&&c._mdf.fc&&(d.setAttribute("fill",c.fc),d.style.color=c.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var g=this.innerElem.getBBox();this.currentBBox.w!==g.width&&(this.currentBBox.w=g.width,this.svgElement.setAttribute("width",g.width)),this.currentBBox.h!==g.height&&(this.currentBBox.h=g.height,this.svgElement.setAttribute("height",g.height));var m=1;if(this.currentBBox.w!==g.width+m*2||this.currentBBox.h!==g.height+m*2||this.currentBBox.x!==g.x-m||this.currentBBox.y!==g.y-m){this.currentBBox.w=g.width+m*2,this.currentBBox.h=g.height+m*2,this.currentBBox.x=g.x-m,this.currentBBox.y=g.y-m,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),i=this.svgElement.style;var y="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";i.transform=y,i.webkitTransform=y}}}};function HCameraElement(i,e,r){this.initFrame(),this.initBaseData(i,e,r),this.initHierarchy();var s=PropertyFactory.getProp;if(this.pe=s(this,i.pe,0,0,this),i.ks.p.s?(this.px=s(this,i.ks.p.x,1,0,this),this.py=s(this,i.ks.p.y,1,0,this),this.pz=s(this,i.ks.p.z,1,0,this)):this.p=s(this,i.ks.p,1,0,this),i.ks.a&&(this.a=s(this,i.ks.a,1,0,this)),i.ks.or.k.length&&i.ks.or.k[0].to){var o,a=i.ks.or.k.length;for(o=0;o<a;o+=1)i.ks.or.k[o].to=null,i.ks.or.k[o].ti=null}this.or=s(this,i.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=s(this,i.ks.rx,0,degToRads,this),this.ry=s(this,i.ks.ry,0,degToRads,this),this.rz=s(this,i.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var i,e=this.comp.threeDElements.length,r,s,o;for(i=0;i<e;i+=1)if(r=this.comp.threeDElements[i],r.type==="3d"){s=r.perspectiveElem.style,o=r.container.style;var a=this.pe.v+"px",l="0px 0px 0px",c="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";s.perspective=a,s.webkitPerspective=a,o.transformOrigin=l,o.mozTransformOrigin=l,o.webkitTransformOrigin=l,s.transform=c,s.webkitTransform=c}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var i=this._isFirstFrame,e,r;if(this.hierarchy)for(r=this.hierarchy.length,e=0;e<r;e+=1)i=this.hierarchy[e].finalTransform.mProp._mdf||i;if(i||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(r=this.hierarchy.length-1,e=r;e>=0;e-=1){var s=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-s.p.v[0],-s.p.v[1],s.p.v[2]),this.mat.rotateX(-s.or.v[0]).rotateY(-s.or.v[1]).rotateZ(s.or.v[2]),this.mat.rotateX(-s.rx.v).rotateY(-s.ry.v).rotateZ(s.rz.v),this.mat.scale(1/s.s.v[0],1/s.s.v[1],1/s.s.v[2]),this.mat.translate(s.a.v[0],s.a.v[1],s.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var o;this.p?o=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:o=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(o[0],2)+Math.pow(o[1],2)+Math.pow(o[2],2)),l=[o[0]/a,o[1]/a,o[2]/a],c=Math.sqrt(l[2]*l[2]+l[0]*l[0]),u=Math.atan2(l[1],c),d=Math.atan2(l[0],-l[2]);this.mat.rotateY(d).rotateX(-u)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var g=!this._prevMat.equals(this.mat);if((g||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var m,y,b;for(e=0;e<r;e+=1)if(m=this.comp.threeDElements[e],m.type==="3d"){if(g){var A=this.mat.toCSS();b=m.container.style,b.transform=A,b.webkitTransform=A}this.pe._mdf&&(y=m.perspectiveElem.style,y.perspective=this.pe.v+"px",y.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(i){this.prepareProperties(i,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(i,e,r){this.assetData=e.getAssetData(i.refId),this.initElement(i,e,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var i=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",i),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.crossOrigin="anonymous",e.src=i,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(i,e){this.animationItem=i,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&e.hideOnTransparent===!1),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var i=this.pendingElements.pop();i.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(i,e){var r=i.getBaseElement();if(r){var s=this.layers[e];if(!s.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(r,e);else{for(var o=0,a,l,c;o<e;)this.elements[o]&&this.elements[o]!==!0&&this.elements[o].getBaseElement&&(l=this.elements[o],c=this.layers[o].ddd?this.getThreeDContainerByPos(o):l.getBaseElement(),a=c||a),o+=1;a?(!s.ddd||!this.supports3d)&&this.layerElement.insertBefore(r,a):(!s.ddd||!this.supports3d)&&this.layerElement.appendChild(r)}else this.addTo3dContainer(r,e)}},HybridRendererBase.prototype.createShape=function(i){return this.supports3d?new HShapeElement(i,this.globalData,this):new SVGShapeElement(i,this.globalData,this)},HybridRendererBase.prototype.createText=function(i){return this.supports3d?new HTextElement(i,this.globalData,this):new SVGTextLottieElement(i,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(i){return this.camera=new HCameraElement(i,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(i){return this.supports3d?new HImageElement(i,this.globalData,this):new IImageElement(i,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(i){return this.supports3d?new HSolidElement(i,this.globalData,this):new ISolidElement(i,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(i){for(var e=0,r=this.threeDElements.length;e<r;){if(this.threeDElements[e].startPos<=i&&this.threeDElements[e].endPos>=i)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(i,e){var r=createTag("div"),s,o;styleDiv(r);var a=createTag("div");if(styleDiv(a),e==="3d"){s=r.style,s.width=this.globalData.compSize.w+"px",s.height=this.globalData.compSize.h+"px";var l="50% 50%";s.webkitTransformOrigin=l,s.mozTransformOrigin=l,s.transformOrigin=l,o=a.style;var c="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";o.transform=c,o.webkitTransform=c}r.appendChild(a);var u={container:a,perspectiveElem:r,startPos:i,endPos:i,type:e};return this.threeDElements.push(u),u},HybridRendererBase.prototype.build3dContainers=function(){var i,e=this.layers.length,r,s="";for(i=0;i<e;i+=1)this.layers[i].ddd&&this.layers[i].ty!==3?(s!=="3d"&&(s="3d",r=this.createThreeDContainer(i,"3d")),r.endPos=Math.max(r.endPos,i)):(s!=="2d"&&(s="2d",r=this.createThreeDContainer(i,"2d")),r.endPos=Math.max(r.endPos,i));for(e=this.threeDElements.length,i=e-1;i>=0;i-=1)this.resizerElem.appendChild(this.threeDElements[i].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(i,e){for(var r=0,s=this.threeDElements.length;r<s;){if(e<=this.threeDElements[r].endPos){for(var o=this.threeDElements[r].startPos,a;o<e;)this.elements[o]&&this.elements[o].getBaseElement&&(a=this.elements[o].getBaseElement()),o+=1;a?this.threeDElements[r].container.insertBefore(i,a):this.threeDElements[r].container.appendChild(i);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(i){var e=createTag("div"),r=this.animationItem.wrapper,s=e.style;s.width=i.w+"px",s.height=i.h+"px",this.resizerElem=e,styleDiv(e),s.transformStyle="flat",s.mozTransformStyle="flat",s.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),r.appendChild(e),s.overflow="hidden";var o=createNS("svg");o.setAttribute("width","1"),o.setAttribute("height","1"),styleDiv(o),this.resizerElem.appendChild(o);var a=createNS("defs");o.appendChild(a),this.data=i,this.setupGlobalData(i,o),this.globalData.defs=a,this.layers=i.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var i,e=this.layers?this.layers.length:0;for(i=0;i<e;i+=1)this.elements[i]&&this.elements[i].destroy&&this.elements[i].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var i=this.animationItem.wrapper.offsetWidth,e=this.animationItem.wrapper.offsetHeight,r=i/e,s=this.globalData.compSize.w/this.globalData.compSize.h,o,a,l,c;s>r?(o=i/this.globalData.compSize.w,a=i/this.globalData.compSize.w,l=0,c=(e-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(o=e/this.globalData.compSize.h,a=e/this.globalData.compSize.h,l=(i-this.globalData.compSize.w*(e/this.globalData.compSize.h))/2,c=0);var u=this.resizerElem.style;u.webkitTransform="matrix3d("+o+",0,0,0,0,"+a+",0,0,0,0,1,0,"+l+","+c+",0,1)",u.transform=u.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var i=this.globalData.compSize.w,e=this.globalData.compSize.h,r,s=this.threeDElements.length;for(r=0;r<s;r+=1){var o=this.threeDElements[r].perspectiveElem.style;o.webkitPerspective=Math.sqrt(Math.pow(i,2)+Math.pow(e,2))+"px",o.perspective=o.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(i){var e,r=i.length,s=createTag("div");for(e=0;e<r;e+=1)if(i[e].xt){var o=this.createComp(i[e],s,this.globalData.comp,null);o.initExpressions(),this.globalData.projectInterface.registerComposition(o)}};function HCompElement(i,e,r){this.layers=i.layers,this.supports3d=!i.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(i,e,r),this.tm=i.tm?PropertyFactory.getProp(this,i.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(i,e){for(var r=0,s;r<e;)this.elements[r]&&this.elements[r].getBaseElement&&(s=this.elements[r].getBaseElement()),r+=1;s?this.layerElement.insertBefore(i,s):this.layerElement.appendChild(i)},HCompElement.prototype.createComp=function(i){return this.supports3d?new HCompElement(i,this.globalData,this):new SVGCompElement(i,this.globalData,this)};function HybridRenderer(i,e){this.animationItem=i,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&e.hideOnTransparent===!1),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"},runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(i){return this.supports3d?new HCompElement(i,this.globalData,this):new SVGCompElement(i,this.globalData,this)};var CompExpressionInterface=function(){return function(i){function e(r){for(var s=0,o=i.layers.length;s<o;){if(i.layers[s].nm===r||i.layers[s].ind===r)return i.elements[s].layerInterface;s+=1}return null}return Object.defineProperty(e,"_name",{value:i.data.nm}),e.layer=e,e.pixelAspect=1,e.height=i.data.h||i.globalData.compSize.h,e.width=i.data.w||i.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/i.globalData.frameRate,e.displayStartTime=0,e.numLayers=i.layers.length,e}}();function _typeof$2(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(r){return typeof r}:_typeof$2=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$2(i)}function seedRandom(i,e){var r=this,s=256,o=6,a=52,l="random",c=e.pow(s,o),u=e.pow(2,a),d=u*2,g=s-1,m;function y(C,T,k){var I=[];T=T===!0?{entropy:!0}:T||{};var M=E(S(T.entropy?[C,P(i)]:C===null?x():C,3),I),R=new b(I),B=function(){for(var V=R.g(o),D=c,F=0;V<u;)V=(V+F)*s,D*=s,F=R.g(1);for(;V>=d;)V/=2,D/=2,F>>>=1;return(V+F)/D};return B.int32=function(){return R.g(4)|0},B.quick=function(){return R.g(4)/4294967296},B.double=B,E(P(R.S),i),(T.pass||k||function(_,V,D,F){return F&&(F.S&&A(F,R),_.state=function(){return A(R,{})}),D?(e[l]=_,V):_})(B,M,"global"in T?T.global:this==e,T.state)}e["seed"+l]=y;function b(C){var T,k=C.length,I=this,M=0,R=I.i=I.j=0,B=I.S=[];for(k||(C=[k++]);M<s;)B[M]=M++;for(M=0;M<s;M++)B[M]=B[R=g&R+C[M%k]+(T=B[M])],B[R]=T;I.g=function(_){for(var V,D=0,F=I.i,N=I.j,K=I.S;_--;)V=K[F=g&F+1],D=D*s+K[g&(K[F]=K[N=g&N+V])+(K[N]=V)];return I.i=F,I.j=N,D}}function A(C,T){return T.i=C.i,T.j=C.j,T.S=C.S.slice(),T}function S(C,T){var k=[],I=_typeof$2(C),M;if(T&&I=="object")for(M in C)try{k.push(S(C[M],T-1))}catch(R){}return k.length?k:I=="string"?C:C+"\0"}function E(C,T){for(var k=C+"",I,M=0;M<k.length;)T[g&M]=g&(I^=T[g&M]*19)+k.charCodeAt(M++);return P(T)}function x(){try{var C=new Uint8Array(s);return(r.crypto||r.msCrypto).getRandomValues(C),P(C)}catch(I){var T=r.navigator,k=T&&T.plugins;return[+new Date,r,k,r.screen,P(i)]}}function P(C){return String.fromCharCode.apply(0,C)}E(e.random(),i)}function initialize$2(i){seedRandom([],i)}var propTypes={SHAPE:"shape"};function _typeof$1(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(r){return typeof r}:_typeof$1=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$1(i)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(i){return i.constructor===Array||i.constructor===Float32Array}function isNumerable(i,e){return i==="number"||e instanceof Number||i==="boolean"||i==="string"}function $bm_neg(i){var e=_typeof$1(i);if(e==="number"||i instanceof Number||e==="boolean")return-i;if($bm_isInstanceOfArray(i)){var r,s=i.length,o=[];for(r=0;r<s;r+=1)o[r]=-i[r];return o}return i.propType?i.v:-i}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(i,e){var r=_typeof$1(i),s=_typeof$1(e);if(isNumerable(r,i)&&isNumerable(s,e)||r==="string"||s==="string")return i+e;if($bm_isInstanceOfArray(i)&&isNumerable(s,e))return i=i.slice(0),i[0]+=e,i;if(isNumerable(r,i)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=i+e[0],e;if($bm_isInstanceOfArray(i)&&$bm_isInstanceOfArray(e)){for(var o=0,a=i.length,l=e.length,c=[];o<a||o<l;)(typeof i[o]=="number"||i[o]instanceof Number)&&(typeof e[o]=="number"||e[o]instanceof Number)?c[o]=i[o]+e[o]:c[o]=e[o]===void 0?i[o]:i[o]||e[o],o+=1;return c}return 0}var add=sum;function sub(i,e){var r=_typeof$1(i),s=_typeof$1(e);if(isNumerable(r,i)&&isNumerable(s,e))return r==="string"&&(i=parseInt(i,10)),s==="string"&&(e=parseInt(e,10)),i-e;if($bm_isInstanceOfArray(i)&&isNumerable(s,e))return i=i.slice(0),i[0]-=e,i;if(isNumerable(r,i)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=i-e[0],e;if($bm_isInstanceOfArray(i)&&$bm_isInstanceOfArray(e)){for(var o=0,a=i.length,l=e.length,c=[];o<a||o<l;)(typeof i[o]=="number"||i[o]instanceof Number)&&(typeof e[o]=="number"||e[o]instanceof Number)?c[o]=i[o]-e[o]:c[o]=e[o]===void 0?i[o]:i[o]||e[o],o+=1;return c}return 0}function mul(i,e){var r=_typeof$1(i),s=_typeof$1(e),o;if(isNumerable(r,i)&&isNumerable(s,e))return i*e;var a,l;if($bm_isInstanceOfArray(i)&&isNumerable(s,e)){for(l=i.length,o=createTypedArray("float32",l),a=0;a<l;a+=1)o[a]=i[a]*e;return o}if(isNumerable(r,i)&&$bm_isInstanceOfArray(e)){for(l=e.length,o=createTypedArray("float32",l),a=0;a<l;a+=1)o[a]=i*e[a];return o}return 0}function div(i,e){var r=_typeof$1(i),s=_typeof$1(e),o;if(isNumerable(r,i)&&isNumerable(s,e))return i/e;var a,l;if($bm_isInstanceOfArray(i)&&isNumerable(s,e)){for(l=i.length,o=createTypedArray("float32",l),a=0;a<l;a+=1)o[a]=i[a]/e;return o}if(isNumerable(r,i)&&$bm_isInstanceOfArray(e)){for(l=e.length,o=createTypedArray("float32",l),a=0;a<l;a+=1)o[a]=i/e[a];return o}return 0}function mod(i,e){return typeof i=="string"&&(i=parseInt(i,10)),typeof e=="string"&&(e=parseInt(e,10)),i%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(i,e,r){if(e>r){var s=r;r=e,e=s}return Math.min(Math.max(i,e),r)}function radiansToDegrees(i){return i/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(i){return i*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(i,e){if(typeof i=="number"||i instanceof Number)return e=e||0,Math.abs(i-e);e||(e=helperLengthArray);var r,s=Math.min(i.length,e.length),o=0;for(r=0;r<s;r+=1)o+=Math.pow(e[r]-i[r],2);return Math.sqrt(o)}function normalize(i){return div(i,length(i))}function rgbToHsl(i){var e=i[0],r=i[1],s=i[2],o=Math.max(e,r,s),a=Math.min(e,r,s),l,c,u=(o+a)/2;if(o===a)l=0,c=0;else{var d=o-a;switch(c=u>.5?d/(2-o-a):d/(o+a),o){case e:l=(r-s)/d+(r<s?6:0);break;case r:l=(s-e)/d+2;break;case s:l=(e-r)/d+4;break}l/=6}return[l,c,u,i[3]]}function hue2rgb(i,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?i+(e-i)*6*r:r<1/2?e:r<2/3?i+(e-i)*(2/3-r)*6:i}function hslToRgb(i){var e=i[0],r=i[1],s=i[2],o,a,l;if(r===0)o=s,l=s,a=s;else{var c=s<.5?s*(1+r):s+r-s*r,u=2*s-c;o=hue2rgb(u,c,e+1/3),a=hue2rgb(u,c,e),l=hue2rgb(u,c,e-1/3)}return[o,a,l,i[3]]}function linear(i,e,r,s,o){if((s===void 0||o===void 0)&&(s=e,o=r,e=0,r=1),r<e){var a=r;r=e,e=a}if(i<=e)return s;if(i>=r)return o;var l=r===e?0:(i-e)/(r-e);if(!s.length)return s+(o-s)*l;var c,u=s.length,d=createTypedArray("float32",u);for(c=0;c<u;c+=1)d[c]=s[c]+(o[c]-s[c])*l;return d}function random(i,e){if(e===void 0&&(i===void 0?(i=0,e=1):(e=i,i=void 0)),e.length){var r,s=e.length;i||(i=createTypedArray("float32",s));var o=createTypedArray("float32",s),a=BMMath.random();for(r=0;r<s;r+=1)o[r]=i[r]+a*(e[r]-i[r]);return o}i===void 0&&(i=0);var l=BMMath.random();return i+l*(e-i)}function createPath(i,e,r,s){var o,a=i.length,l=shapePool.newElement();l.setPathData(!!s,a);var c=[0,0],u,d;for(o=0;o<a;o+=1)u=e&&e[o]?e[o]:c,d=r&&r[o]?r[o]:c,l.setTripleAt(i[o][0],i[o][1],d[0]+i[o][0],d[1]+i[o][1],u[0]+i[o][0],u[1]+i[o][1],o,!0);return l}function initiateExpression(elem,data,property){function noOp(i){return i}if(!elem.globalData.renderConfig.runExpressions)return noOp;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 i(e,r){var s,o,a=this.pv.length?this.pv.length:1,l=createTypedArray("float32",a);e=5;var c=Math.floor(time*e);for(s=0,o=0;s<c;){for(o=0;o<a;o+=1)l[o]+=-r+r*2*BMMath.random();s+=1}var u=time*e,d=u-Math.floor(u),g=createTypedArray("float32",a);if(a>1){for(o=0;o<a;o+=1)g[o]=this.pv[o]+l[o]+(-r+r*2*BMMath.random())*d;return g}return this.pv+l[0]+(-r+r*2*BMMath.random())*d}.bind(this);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));function loopInDuration(i,e){return loopIn(i,e,!0)}function loopOutDuration(i,e){return loopOut(i,e,!0)}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);function lookAt(i,e){var r=[e[0]-i[0],e[1]-i[1],e[2]-i[2]],s=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads,o=-Math.atan2(r[1],r[2])/degToRads;return[o,s,0]}function easeOut(i,e,r,s,o){return applyEase(easeOutBez,i,e,r,s,o)}function easeIn(i,e,r,s,o){return applyEase(easeInBez,i,e,r,s,o)}function ease(i,e,r,s,o){return applyEase(easeInOutBez,i,e,r,s,o)}function applyEase(i,e,r,s,o,a){o===void 0?(o=r,a=s):e=(e-r)/(s-r),e>1?e=1:e<0&&(e=0);var l=i(e);if($bm_isInstanceOfArray(o)){var c,u=o.length,d=createTypedArray("float32",u);for(c=0;c<u;c+=1)d[c]=(a[c]-o[c])*l+o[c];return d}return(a-o)*l+o}function nearestKey(i){var e,r=data.k.length,s,o;if(!data.k.length||typeof data.k[0]=="number")s=0,o=0;else if(s=-1,i*=elem.comp.globalData.frameRate,i<data.k[0].t)s=1,o=data.k[0].t;else{for(e=0;e<r-1;e+=1)if(i===data.k[e].t){s=e+1,o=data.k[e].t;break}else if(i>data.k[e].t&&i<data.k[e+1].t){i-data.k[e].t>data.k[e+1].t-i?(s=e+2,o=data.k[e+1].t):(s=e+1,o=data.k[e].t);break}s===-1&&(s=e+1,o=data.k[e].t)}var a={};return a.index=s,a.time=o/elem.comp.globalData.frameRate,a}function key(i){var e,r,s;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+i);i-=1,e={time:data.k[i].t/elem.comp.globalData.frameRate,value:[]};var o=Object.prototype.hasOwnProperty.call(data.k[i],"s")?data.k[i].s:data.k[i-1].e;for(s=o.length,r=0;r<s;r+=1)e[r]=o[r],e.value[r]=o[r];return e}function framesToTime(i,e){return e||(e=elem.comp.globalData.frameRate),i/e}function timeToFrames(i,e){return!i&&i!==0&&(i=time),e||(e=elem.comp.globalData.frameRate),i*e}function seedRandom(i){BMMath.seedrandom(randSeed+i)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(i,e){return typeof value=="string"?e===void 0?value.substring(i):value.substring(i,e):""}function substr(i,e){return typeof value=="string"?e===void 0?value.substr(i):value.substr(i,e):""}function posterizeTime(i){time=i===0?0:Math.floor(time*i)/i,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(i){return value=i,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)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!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,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,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,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var i={};i.initExpressions=e,i.resetFrame=ExpressionManager.resetFrame;function e(r){var s=0,o=[];function a(){s+=1}function l(){s-=1,s===0&&u()}function c(d){o.indexOf(d)===-1&&o.push(d)}function u(){var d,g=o.length;for(d=0;d<g;d+=1)o[d].release();o.length=0}r.renderer.compInterface=CompExpressionInterface(r.renderer),r.renderer.globalData.projectInterface.registerComposition(r.renderer),r.renderer.globalData.pushExpression=a,r.renderer.globalData.popExpression=l,r.renderer.globalData.registerExpressionProperty=c}return i}(),MaskManagerInterface=function(){function i(r,s){this._mask=r,this._data=s}Object.defineProperty(i.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(i.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var e=function(s){var o=createSizedArray(s.viewData.length),a,l=s.viewData.length;for(a=0;a<l;a+=1)o[a]=new i(s.viewData[a],s.masksProperties[a]);var c=function(d){for(a=0;a<l;){if(s.masksProperties[a].nm===d)return o[a];a+=1}return null};return c};return e}(),ExpressionPropertyInterface=function(){var i={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function r(l,c,u){Object.defineProperty(l,"velocity",{get:function(){return c.getVelocityAtTime(c.comp.currentFrame)}}),l.numKeys=c.keyframes?c.keyframes.length:0,l.key=function(d){if(!l.numKeys)return 0;var g="";"s"in c.keyframes[d-1]?g=c.keyframes[d-1].s:"e"in c.keyframes[d-2]?g=c.keyframes[d-2].e:g=c.keyframes[d-2].s;var m=u==="unidimensional"?new Number(g):Object.assign({},g);return m.time=c.keyframes[d-1].t/c.elem.comp.globalData.frameRate,m.value=u==="unidimensional"?g[0]:g,m},l.valueAtTime=c.getValueAtTime,l.speedAtTime=c.getSpeedAtTime,l.velocityAtTime=c.getVelocityAtTime,l.propertyGroup=c.propertyGroup}function s(l){(!l||!("pv"in l))&&(l=i);var c=1/l.mult,u=l.pv*c,d=new Number(u);return d.value=u,r(d,l,"unidimensional"),function(){return l.k&&l.getValue(),u=l.v*c,d.value!==u&&(d=new Number(u),d.value=u,r(d,l,"unidimensional")),d}}function o(l){(!l||!("pv"in l))&&(l=e);var c=1/l.mult,u=l.data&&l.data.l||l.pv.length,d=createTypedArray("float32",u),g=createTypedArray("float32",u);return d.value=g,r(d,l,"multidimensional"),function(){l.k&&l.getValue();for(var m=0;m<u;m+=1)g[m]=l.v[m]*c,d[m]=g[m];return d}}function a(){return i}return function(l){return l?l.propType==="unidimensional"?s(l):o(l):a}}(),TransformExpressionInterface=function(){return function(i){function e(l){switch(l){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(i.r||i.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(i.rz||i.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(i.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(i.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(i.s)});var r,s,o,a;return i.p?a=ExpressionPropertyInterface(i.p):(r=ExpressionPropertyInterface(i.px),s=ExpressionPropertyInterface(i.py),i.pz&&(o=ExpressionPropertyInterface(i.pz))),Object.defineProperty(e,"position",{get:function(){return i.p?a():[r(),s(),o?o():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(i.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(i.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(i.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(i.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(i.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(i.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(i.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(i.or)}),e}}(),LayerExpressionInterface=function(){function i(d){var g=new Matrix;if(d!==void 0){var m=this._elem.finalTransform.mProp.getValueAtTime(d);m.clone(g)}else{var y=this._elem.finalTransform.mProp;y.applyToMatrix(g)}return g}function e(d,g){var m=this.getMatrix(g);return m.props[12]=0,m.props[13]=0,m.props[14]=0,this.applyPoint(m,d)}function r(d,g){var m=this.getMatrix(g);return this.applyPoint(m,d)}function s(d,g){var m=this.getMatrix(g);return m.props[12]=0,m.props[13]=0,m.props[14]=0,this.invertPoint(m,d)}function o(d,g){var m=this.getMatrix(g);return this.invertPoint(m,d)}function a(d,g){if(this._elem.hierarchy&&this._elem.hierarchy.length){var m,y=this._elem.hierarchy.length;for(m=0;m<y;m+=1)this._elem.hierarchy[m].finalTransform.mProp.applyToMatrix(d)}return d.applyToPointArray(g[0],g[1],g[2]||0)}function l(d,g){if(this._elem.hierarchy&&this._elem.hierarchy.length){var m,y=this._elem.hierarchy.length;for(m=0;m<y;m+=1)this._elem.hierarchy[m].finalTransform.mProp.applyToMatrix(d)}return d.inversePoint(g)}function c(d){var g=new Matrix;if(g.reset(),this._elem.finalTransform.mProp.applyToMatrix(g),this._elem.hierarchy&&this._elem.hierarchy.length){var m,y=this._elem.hierarchy.length;for(m=0;m<y;m+=1)this._elem.hierarchy[m].finalTransform.mProp.applyToMatrix(g);return g.inversePoint(d)}return g.inversePoint(d)}function u(){return[1,1,1,1]}return function(d){var g;function m(S){b.mask=new MaskManagerInterface(S,d)}function y(S){b.effect=S}function b(S){switch(S){case"ADBE Root Vectors Group":case"Contents":case 2:return b.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return g;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return b.effect;case"ADBE Text Properties":return b.textInterface;default:return null}}b.getMatrix=i,b.invertPoint=l,b.applyPoint=a,b.toWorld=r,b.toWorldVec=e,b.fromWorld=o,b.fromWorldVec=s,b.toComp=r,b.fromComp=c,b.sampleImage=u,b.sourceRectAtTime=d.sourceRectAtTime.bind(d),b._elem=d,g=TransformExpressionInterface(d.finalTransform.mProp);var A=getDescriptor(g,"anchorPoint");return Object.defineProperties(b,{hasParent:{get:function(){return d.hierarchy.length}},parent:{get:function(){return d.hierarchy[0].layerInterface}},rotation:getDescriptor(g,"rotation"),scale:getDescriptor(g,"scale"),position:getDescriptor(g,"position"),opacity:getDescriptor(g,"opacity"),anchorPoint:A,anchor_point:A,transform:{get:function(){return g}},active:{get:function(){return d.isInRange}}}),b.startTime=d.data.st,b.index=d.data.ind,b.source=d.data.refId,b.height=d.data.ty===0?d.data.h:100,b.width=d.data.ty===0?d.data.w:100,b.inPoint=d.data.ip/d.comp.globalData.frameRate,b.outPoint=d.data.op/d.comp.globalData.frameRate,b._name=d.data.nm,b.registerMaskInterface=m,b.registerEffectsInterface=y,b}}(),propertyGroupFactory=function(){return function(i,e){return function(r){return r=r===void 0?1:r,r<=0?i:e(r-1)}}}(),PropertyInterface=function(){return function(i,e){var r={_name:i};function s(o){return o=o===void 0?1:o,o<=0?r:e(o-1)}return s}}(),EffectsExpressionInterface=function(){var i={createEffectsInterface:e};function e(o,a){if(o.effectsManager){var l=[],c=o.data.ef,u,d=o.effectsManager.effectElements.length;for(u=0;u<d;u+=1)l.push(r(c[u],o.effectsManager.effectElements[u],a,o));var g=o.data.ef||[],m=function(b){for(u=0,d=g.length;u<d;){if(b===g[u].nm||b===g[u].mn||b===g[u].ix)return l[u];u+=1}return null};return Object.defineProperty(m,"numProperties",{get:function(){return g.length}}),m}return null}function r(o,a,l,c){function u(b){for(var A=o.ef,S=0,E=A.length;S<E;){if(b===A[S].nm||b===A[S].mn||b===A[S].ix)return A[S].ty===5?g[S]:g[S]();S+=1}throw new Error}var d=propertyGroupFactory(u,l),g=[],m,y=o.ef.length;for(m=0;m<y;m+=1)o.ef[m].ty===5?g.push(r(o.ef[m],a.effectElements[m],a.effectElements[m].propertyGroup,c)):g.push(s(a.effectElements[m],o.ef[m].ty,c,d));return o.mn==="ADBE Color Control"&&Object.defineProperty(u,"color",{get:function(){return g[0]()}}),Object.defineProperties(u,{numProperties:{get:function(){return o.np}},_name:{value:o.nm},propertyGroup:{value:d}}),u.enabled=o.en!==0,u.active=u.enabled,u}function s(o,a,l,c){var u=ExpressionPropertyInterface(o.p);function d(){return a===10?l.comp.compInterface(o.p.v):u()}return o.p.setGroupProperty&&o.p.setGroupProperty(PropertyInterface("",c)),d}return i}(),ShapePathInterface=function(){return function(e,r,s){var o=r.sh;function a(c){return c==="Shape"||c==="shape"||c==="Path"||c==="path"||c==="ADBE Vector Shape"||c===2?a.path:null}var l=propertyGroupFactory(a,s);return o.setGroupProperty(PropertyInterface("Path",l)),Object.defineProperties(a,{path:{get:function(){return o.k&&o.getValue(),o}},shape:{get:function(){return o.k&&o.getValue(),o}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:s}}),a}}(),ShapeExpressionInterface=function(){function i(A,S,E){var x=[],P,C=A?A.length:0;for(P=0;P<C;P+=1)A[P].ty==="gr"?x.push(r(A[P],S[P],E)):A[P].ty==="fl"?x.push(s(A[P],S[P],E)):A[P].ty==="st"?x.push(l(A[P],S[P],E)):A[P].ty==="tm"?x.push(c(A[P],S[P],E)):A[P].ty==="tr"||(A[P].ty==="el"?x.push(d(A[P],S[P],E)):A[P].ty==="sr"?x.push(g(A[P],S[P],E)):A[P].ty==="sh"?x.push(ShapePathInterface(A[P],S[P],E)):A[P].ty==="rc"?x.push(m(A[P],S[P],E)):A[P].ty==="rd"?x.push(y(A[P],S[P],E)):A[P].ty==="rp"?x.push(b(A[P],S[P],E)):A[P].ty==="gf"?x.push(o(A[P],S[P],E)):x.push(a(A[P],S[P])));return x}function e(A,S,E){var x,P=function(k){for(var I=0,M=x.length;I<M;){if(x[I]._name===k||x[I].mn===k||x[I].propertyIndex===k||x[I].ix===k||x[I].ind===k)return x[I];I+=1}return typeof k=="number"?x[k-1]:null};P.propertyGroup=propertyGroupFactory(P,E),x=i(A.it,S.it,P.propertyGroup),P.numProperties=x.length;var C=u(A.it[A.it.length-1],S.it[S.it.length-1],P.propertyGroup);return P.transform=C,P.propertyIndex=A.cix,P._name=A.nm,P}function r(A,S,E){var x=function(k){switch(k){case"ADBE Vectors Group":case"Contents":case 2:return x.content;default:return x.transform}};x.propertyGroup=propertyGroupFactory(x,E);var P=e(A,S,x.propertyGroup),C=u(A.it[A.it.length-1],S.it[S.it.length-1],x.propertyGroup);return x.content=P,x.transform=C,Object.defineProperty(x,"_name",{get:function(){return A.nm}}),x.numProperties=A.np,x.propertyIndex=A.ix,x.nm=A.nm,x.mn=A.mn,x}function s(A,S,E){function x(P){return P==="Color"||P==="color"?x.color:P==="Opacity"||P==="opacity"?x.opacity:null}return Object.defineProperties(x,{color:{get:ExpressionPropertyInterface(S.c)},opacity:{get:ExpressionPropertyInterface(S.o)},_name:{value:A.nm},mn:{value:A.mn}}),S.c.setGroupProperty(PropertyInterface("Color",E)),S.o.setGroupProperty(PropertyInterface("Opacity",E)),x}function o(A,S,E){function x(P){return P==="Start Point"||P==="start point"?x.startPoint:P==="End Point"||P==="end point"?x.endPoint:P==="Opacity"||P==="opacity"?x.opacity:null}return Object.defineProperties(x,{startPoint:{get:ExpressionPropertyInterface(S.s)},endPoint:{get:ExpressionPropertyInterface(S.e)},opacity:{get:ExpressionPropertyInterface(S.o)},type:{get:function(){return"a"}},_name:{value:A.nm},mn:{value:A.mn}}),S.s.setGroupProperty(PropertyInterface("Start Point",E)),S.e.setGroupProperty(PropertyInterface("End Point",E)),S.o.setGroupProperty(PropertyInterface("Opacity",E)),x}function a(){function A(){return null}return A}function l(A,S,E){var x=propertyGroupFactory(M,E),P=propertyGroupFactory(I,x);function C(R){Object.defineProperty(I,A.d[R].nm,{get:ExpressionPropertyInterface(S.d.dataProps[R].p)})}var T,k=A.d?A.d.length:0,I={};for(T=0;T<k;T+=1)C(T),S.d.dataProps[T].p.setGroupProperty(P);function M(R){return R==="Color"||R==="color"?M.color:R==="Opacity"||R==="opacity"?M.opacity:R==="Stroke Width"||R==="stroke width"?M.strokeWidth:null}return Object.defineProperties(M,{color:{get:ExpressionPropertyInterface(S.c)},opacity:{get:ExpressionPropertyInterface(S.o)},strokeWidth:{get:ExpressionPropertyInterface(S.w)},dash:{get:function(){return I}},_name:{value:A.nm},mn:{value:A.mn}}),S.c.setGroupProperty(PropertyInterface("Color",x)),S.o.setGroupProperty(PropertyInterface("Opacity",x)),S.w.setGroupProperty(PropertyInterface("Stroke Width",x)),M}function c(A,S,E){function x(C){return C===A.e.ix||C==="End"||C==="end"?x.end:C===A.s.ix?x.start:C===A.o.ix?x.offset:null}var P=propertyGroupFactory(x,E);return x.propertyIndex=A.ix,S.s.setGroupProperty(PropertyInterface("Start",P)),S.e.setGroupProperty(PropertyInterface("End",P)),S.o.setGroupProperty(PropertyInterface("Offset",P)),x.propertyIndex=A.ix,x.propertyGroup=E,Object.defineProperties(x,{start:{get:ExpressionPropertyInterface(S.s)},end:{get:ExpressionPropertyInterface(S.e)},offset:{get:ExpressionPropertyInterface(S.o)},_name:{value:A.nm}}),x.mn=A.mn,x}function u(A,S,E){function x(C){return A.a.ix===C||C==="Anchor Point"?x.anchorPoint:A.o.ix===C||C==="Opacity"?x.opacity:A.p.ix===C||C==="Position"?x.position:A.r.ix===C||C==="Rotation"||C==="ADBE Vector Rotation"?x.rotation:A.s.ix===C||C==="Scale"?x.scale:A.sk&&A.sk.ix===C||C==="Skew"?x.skew:A.sa&&A.sa.ix===C||C==="Skew Axis"?x.skewAxis:null}var P=propertyGroupFactory(x,E);return S.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",P)),S.transform.mProps.p.setGroupProperty(PropertyInterface("Position",P)),S.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",P)),S.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",P)),S.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",P)),S.transform.mProps.sk&&(S.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",P)),S.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",P))),S.transform.op.setGroupProperty(PropertyInterface("Opacity",P)),Object.defineProperties(x,{opacity:{get:ExpressionPropertyInterface(S.transform.mProps.o)},position:{get:ExpressionPropertyInterface(S.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(S.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(S.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(S.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(S.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(S.transform.mProps.sa)},_name:{value:A.nm}}),x.ty="tr",x.mn=A.mn,x.propertyGroup=E,x}function d(A,S,E){function x(T){return A.p.ix===T?x.position:A.s.ix===T?x.size:null}var P=propertyGroupFactory(x,E);x.propertyIndex=A.ix;var C=S.sh.ty==="tm"?S.sh.prop:S.sh;return C.s.setGroupProperty(PropertyInterface("Size",P)),C.p.setGroupProperty(PropertyInterface("Position",P)),Object.defineProperties(x,{size:{get:ExpressionPropertyInterface(C.s)},position:{get:ExpressionPropertyInterface(C.p)},_name:{value:A.nm}}),x.mn=A.mn,x}function g(A,S,E){function x(T){return A.p.ix===T?x.position:A.r.ix===T?x.rotation:A.pt.ix===T?x.points:A.or.ix===T||T==="ADBE Vector Star Outer Radius"?x.outerRadius:A.os.ix===T?x.outerRoundness:A.ir&&(A.ir.ix===T||T==="ADBE Vector Star Inner Radius")?x.innerRadius:A.is&&A.is.ix===T?x.innerRoundness:null}var P=propertyGroupFactory(x,E),C=S.sh.ty==="tm"?S.sh.prop:S.sh;return x.propertyIndex=A.ix,C.or.setGroupProperty(PropertyInterface("Outer Radius",P)),C.os.setGroupProperty(PropertyInterface("Outer Roundness",P)),C.pt.setGroupProperty(PropertyInterface("Points",P)),C.p.setGroupProperty(PropertyInterface("Position",P)),C.r.setGroupProperty(PropertyInterface("Rotation",P)),A.ir&&(C.ir.setGroupProperty(PropertyInterface("Inner Radius",P)),C.is.setGroupProperty(PropertyInterface("Inner Roundness",P))),Object.defineProperties(x,{position:{get:ExpressionPropertyInterface(C.p)},rotation:{get:ExpressionPropertyInterface(C.r)},points:{get:ExpressionPropertyInterface(C.pt)},outerRadius:{get:ExpressionPropertyInterface(C.or)},outerRoundness:{get:ExpressionPropertyInterface(C.os)},innerRadius:{get:ExpressionPropertyInterface(C.ir)},innerRoundness:{get:ExpressionPropertyInterface(C.is)},_name:{value:A.nm}}),x.mn=A.mn,x}function m(A,S,E){function x(T){return A.p.ix===T?x.position:A.r.ix===T?x.roundness:A.s.ix===T||T==="Size"||T==="ADBE Vector Rect Size"?x.size:null}var P=propertyGroupFactory(x,E),C=S.sh.ty==="tm"?S.sh.prop:S.sh;return x.propertyIndex=A.ix,C.p.setGroupProperty(PropertyInterface("Position",P)),C.s.setGroupProperty(PropertyInterface("Size",P)),C.r.setGroupProperty(PropertyInterface("Rotation",P)),Object.defineProperties(x,{position:{get:ExpressionPropertyInterface(C.p)},roundness:{get:ExpressionPropertyInterface(C.r)},size:{get:ExpressionPropertyInterface(C.s)},_name:{value:A.nm}}),x.mn=A.mn,x}function y(A,S,E){function x(T){return A.r.ix===T||T==="Round Corners 1"?x.radius:null}var P=propertyGroupFactory(x,E),C=S;return x.propertyIndex=A.ix,C.rd.setGroupProperty(PropertyInterface("Radius",P)),Object.defineProperties(x,{radius:{get:ExpressionPropertyInterface(C.rd)},_name:{value:A.nm}}),x.mn=A.mn,x}function b(A,S,E){function x(T){return A.c.ix===T||T==="Copies"?x.copies:A.o.ix===T||T==="Offset"?x.offset:null}var P=propertyGroupFactory(x,E),C=S;return x.propertyIndex=A.ix,C.c.setGroupProperty(PropertyInterface("Copies",P)),C.o.setGroupProperty(PropertyInterface("Offset",P)),Object.defineProperties(x,{copies:{get:ExpressionPropertyInterface(C.c)},offset:{get:ExpressionPropertyInterface(C.o)},_name:{value:A.nm}}),x.mn=A.mn,x}return function(A,S,E){var x;function P(T){if(typeof T=="number")return T=T===void 0?1:T,T===0?E:x[T-1];for(var k=0,I=x.length;k<I;){if(x[k]._name===T)return x[k];k+=1}return null}function C(){return E}return P.propertyGroup=propertyGroupFactory(P,C),x=i(A,S,P.propertyGroup),P.numProperties=x.length,P._name="Contents",P}}(),TextExpressionInterface=function(){return function(i){var e;function r(s){switch(s){case"ADBE Text Document":return r.sourceText;default:return null}}return Object.defineProperty(r,"sourceText",{get:function(){i.textProperty.getValue();var o=i.textProperty.currentData.t;return(!e||o!==e.value)&&(e=new String(o),e.value=o||new String(o),Object.defineProperty(e,"style",{get:function(){return{fillColor:i.textProperty.currentData.fc}}})),e}}),r}}();function _typeof(i){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(r){return typeof r}:_typeof=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof(i)}var FootageInterface=function(){var i=function(s){var o="",a=s.getFootageData();function l(){return o="",a=s.getFootageData(),c}function c(u){if(a[u])return o=u,a=a[u],_typeof(a)==="object"?c:a;var d=u.indexOf(o);if(d!==-1){var g=parseInt(u.substr(d+o.length),10);return a=a[g],_typeof(a)==="object"?c:a}return""}return l},e=function(s){function o(a){return a==="Outline"?o.outlineInterface():null}return o._name="Outline",o.outlineInterface=i(s),o};return function(r){function s(o){return o==="Data"?s.dataInterface:null}return s._name="Data",s.dataInterface=e(r),s}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(i){return interfaces[i]||null}var expressionHelpers=function(){function i(l,c,u){c.x&&(u.k=!0,u.x=!0,u.initiateExpression=ExpressionManager.initiateExpression,u.effectsSequence.push(u.initiateExpression(l,c,u).bind(u)))}function e(l){return l*=this.elem.globalData.frameRate,l-=this.offsetTime,l!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<l?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(l,this._cachingAtTime),this._cachingAtTime.lastFrame=l),this._cachingAtTime.value}function r(l){var c=-.01,u=this.getValueAtTime(l),d=this.getValueAtTime(l+c),g=0;if(u.length){var m;for(m=0;m<u.length;m+=1)g+=Math.pow(d[m]-u[m],2);g=Math.sqrt(g)*100}else g=0;return g}function s(l){if(this.vel!==void 0)return this.vel;var c=-.001,u=this.getValueAtTime(l),d=this.getValueAtTime(l+c),g;if(u.length){g=createTypedArray("float32",u.length);var m;for(m=0;m<u.length;m+=1)g[m]=(d[m]-u[m])/c}else g=(d-u)/c;return g}function o(){return this.pv}function a(l){this.propertyGroup=l}return{searchExpressions:i,getSpeedAtTime:r,getVelocityAtTime:s,getValueAtTime:e,getStaticValueAtTime:o,setGroupProperty:a}}();function addPropertyDecorator(){function i(y,b,A){if(!this.k||!this.keyframes)return this.pv;y=y?y.toLowerCase():"";var S=this.comp.renderedFrame,E=this.keyframes,x=E[E.length-1].t;if(S<=x)return this.pv;var P,C;A?(b?P=Math.abs(x-this.elem.comp.globalData.frameRate*b):P=Math.max(0,x-this.elem.data.ip),C=x-P):((!b||b>E.length-1)&&(b=E.length-1),C=E[E.length-1-b].t,P=x-C);var T,k,I;if(y==="pingpong"){var M=Math.floor((S-C)/P);if(M%2!==0)return this.getValueAtTime((P-(S-C)%P+C)/this.comp.globalData.frameRate,0)}else if(y==="offset"){var R=this.getValueAtTime(C/this.comp.globalData.frameRate,0),B=this.getValueAtTime(x/this.comp.globalData.frameRate,0),_=this.getValueAtTime(((S-C)%P+C)/this.comp.globalData.frameRate,0),V=Math.floor((S-C)/P);if(this.pv.length){for(I=new Array(R.length),k=I.length,T=0;T<k;T+=1)I[T]=(B[T]-R[T])*V+_[T];return I}return(B-R)*V+_}else if(y==="continue"){var D=this.getValueAtTime(x/this.comp.globalData.frameRate,0),F=this.getValueAtTime((x-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(I=new Array(D.length),k=I.length,T=0;T<k;T+=1)I[T]=D[T]+(D[T]-F[T])*((S-x)/this.comp.globalData.frameRate)/5e-4;return I}return D+(D-F)*((S-x)/.001)}return this.getValueAtTime(((S-C)%P+C)/this.comp.globalData.frameRate,0)}function e(y,b,A){if(!this.k)return this.pv;y=y?y.toLowerCase():"";var S=this.comp.renderedFrame,E=this.keyframes,x=E[0].t;if(S>=x)return this.pv;var P,C;A?(b?P=Math.abs(this.elem.comp.globalData.frameRate*b):P=Math.max(0,this.elem.data.op-x),C=x+P):((!b||b>E.length-1)&&(b=E.length-1),C=E[b].t,P=C-x);var T,k,I;if(y==="pingpong"){var M=Math.floor((x-S)/P);if(M%2===0)return this.getValueAtTime(((x-S)%P+x)/this.comp.globalData.frameRate,0)}else if(y==="offset"){var R=this.getValueAtTime(x/this.comp.globalData.frameRate,0),B=this.getValueAtTime(C/this.comp.globalData.frameRate,0),_=this.getValueAtTime((P-(x-S)%P+x)/this.comp.globalData.frameRate,0),V=Math.floor((x-S)/P)+1;if(this.pv.length){for(I=new Array(R.length),k=I.length,T=0;T<k;T+=1)I[T]=_[T]-(B[T]-R[T])*V;return I}return _-(B-R)*V}else if(y==="continue"){var D=this.getValueAtTime(x/this.comp.globalData.frameRate,0),F=this.getValueAtTime((x+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(I=new Array(D.length),k=I.length,T=0;T<k;T+=1)I[T]=D[T]+(D[T]-F[T])*(x-S)/.001;return I}return D+(D-F)*(x-S)/.001}return this.getValueAtTime((P-((x-S)%P+x))/this.comp.globalData.frameRate,0)}function r(y,b){if(!this.k)return this.pv;if(y=(y||.4)*.5,b=Math.floor(b||5),b<=1)return this.pv;var A=this.comp.renderedFrame/this.comp.globalData.frameRate,S=A-y,E=A+y,x=b>1?(E-S)/(b-1):1,P=0,C=0,T;this.pv.length?T=createTypedArray("float32",this.pv.length):T=0;for(var k;P<b;){if(k=this.getValueAtTime(S+P*x),this.pv.length)for(C=0;C<this.pv.length;C+=1)T[C]+=k[C];else T+=k;P+=1}if(this.pv.length)for(C=0;C<this.pv.length;C+=1)T[C]/=b;else T/=b;return T}function s(y){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var b=this._transformCachingAtTime.v;if(b.cloneFromProps(this.pre.props),this.appliedTransformations<1){var A=this.a.getValueAtTime(y);b.translate(-A[0]*this.a.mult,-A[1]*this.a.mult,A[2]*this.a.mult)}if(this.appliedTransformations<2){var S=this.s.getValueAtTime(y);b.scale(S[0]*this.s.mult,S[1]*this.s.mult,S[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var E=this.sk.getValueAtTime(y),x=this.sa.getValueAtTime(y);b.skewFromAxis(-E*this.sk.mult,x*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var P=this.r.getValueAtTime(y);b.rotate(-P*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var C=this.rz.getValueAtTime(y),T=this.ry.getValueAtTime(y),k=this.rx.getValueAtTime(y),I=this.or.getValueAtTime(y);b.rotateZ(-C*this.rz.mult).rotateY(T*this.ry.mult).rotateX(k*this.rx.mult).rotateZ(-I[2]*this.or.mult).rotateY(I[1]*this.or.mult).rotateX(I[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var M=this.px.getValueAtTime(y),R=this.py.getValueAtTime(y);if(this.data.p.z){var B=this.pz.getValueAtTime(y);b.translate(M*this.px.mult,R*this.py.mult,-B*this.pz.mult)}else b.translate(M*this.px.mult,R*this.py.mult,0)}else{var _=this.p.getValueAtTime(y);b.translate(_[0]*this.p.mult,_[1]*this.p.mult,-_[2]*this.p.mult)}return b}function o(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(y,b,A){var S=a(y,b,A);return S.dynamicProperties.length?S.getValueAtTime=s.bind(S):S.getValueAtTime=o.bind(S),S.setGroupProperty=expressionHelpers.setGroupProperty,S};var l=PropertyFactory.getProp;PropertyFactory.getProp=function(y,b,A,S,E){var x=l(y,b,A,S,E);x.kf?x.getValueAtTime=expressionHelpers.getValueAtTime.bind(x):x.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(x),x.setGroupProperty=expressionHelpers.setGroupProperty,x.loopOut=i,x.loopIn=e,x.smooth=r,x.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(x),x.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(x),x.numKeys=b.a===1?b.k.length:0,x.propertyIndex=b.ix;var P=0;return A!==0&&(P=createTypedArray("float32",b.a===1?b.k[0].s.length:b.k.length)),x._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:P},expressionHelpers.searchExpressions(y,b,x),x.k&&E.addDynamicProperty(x),x};function c(y){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),y*=this.elem.globalData.frameRate,y-=this.offsetTime,y!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<y?this._caching.lastIndex:0,this._cachingAtTime.lastTime=y,this.interpolateShape(y,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var u=ShapePropertyFactory.getConstructorFunction(),d=ShapePropertyFactory.getKeyframedConstructorFunction();function g(){}g.prototype={vertices:function(b,A){this.k&&this.getValue();var S=this.v;A!==void 0&&(S=this.getValueAtTime(A,0));var E,x=S._length,P=S[b],C=S.v,T=createSizedArray(x);for(E=0;E<x;E+=1)b==="i"||b==="o"?T[E]=[P[E][0]-C[E][0],P[E][1]-C[E][1]]:T[E]=[P[E][0],P[E][1]];return T},points:function(b){return this.vertices("v",b)},inTangents:function(b){return this.vertices("i",b)},outTangents:function(b){return this.vertices("o",b)},isClosed:function(){return this.v.c},pointOnPath:function(b,A){var S=this.v;A!==void 0&&(S=this.getValueAtTime(A,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(S));for(var E=this._segmentsLength,x=E.lengths,P=E.totalLength*b,C=0,T=x.length,k=0,I;C<T;){if(k+x[C].addedLength>P){var M=C,R=S.c&&C===T-1?0:C+1,B=(P-k)/x[C].addedLength;I=bez.getPointInSegment(S.v[M],S.v[R],S.o[M],S.i[R],B,x[C]);break}else k+=x[C].addedLength;C+=1}return I||(I=S.c?[S.v[0][0],S.v[0][1]]:[S.v[S._length-1][0],S.v[S._length-1][1]]),I},vectorOnPath:function(b,A,S){b==1?b=this.v.c:b==0&&(b=.999);var E=this.pointOnPath(b,A),x=this.pointOnPath(b+.001,A),P=x[0]-E[0],C=x[1]-E[1],T=Math.sqrt(Math.pow(P,2)+Math.pow(C,2));if(T===0)return[0,0];var k=S==="tangent"?[P/T,C/T]:[-C/T,P/T];return k},tangentOnPath:function(b,A){return this.vectorOnPath(b,A,"tangent")},normalOnPath:function(b,A){return this.vectorOnPath(b,A,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([g],u),extendPrototype([g],d),d.prototype.getValueAtTime=c,d.prototype.initiateExpression=ExpressionManager.initiateExpression;var m=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(y,b,A,S,E){var x=m(y,b,A,S,E);return x.propertyIndex=b.ix,x.lock=!1,A===3?expressionHelpers.searchExpressions(y,b.pt,x):A===4&&expressionHelpers.searchExpressions(y,b.ks,x),x.k&&y.addDynamicProperty(x),x}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function i(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(e,r){var s=this.calculateExpression(r);if(e.t!==s){var o={};return this.copyData(o,e),o.t=s.toString(),o.__complete=!1,o}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),r=this.searchExpressions();return this.kf=e||r,this.kf},TextProperty.prototype.searchExpressions=i}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function i(e,r){var s=createNS("feMerge");s.setAttribute("result",e);var o,a;for(a=0;a<r.length;a+=1)o=createNS("feMergeNode"),o.setAttribute("in",r[a]),s.appendChild(o),s.appendChild(o);return s}};var linearFilterValue="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";function SVGTintFilter(i,e,r,s,o){this.filterManager=e;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=a,a.setAttribute("result",s+"_tint_1"),i.appendChild(a),a=createNS("feColorMatrix"),a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",s+"_tint_2"),i.appendChild(a),this.matrixFilter=a;var l=this.createMergeNode(s,[o,s+"_tint_1",s+"_tint_2"]);i.appendChild(l)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,s=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+s+" 0"),this.matrixFilter.setAttribute("values",r[0]-e[0]+" 0 0 0 "+e[0]+" "+(r[1]-e[1])+" 0 0 0 "+e[1]+" "+(r[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 1 0")}};function SVGFillFilter(i,e,r,s){this.filterManager=e;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",s),i.appendChild(o),this.matrixFilter=o}SVGFillFilter.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+r+" 0")}};function SVGStrokeEffect(i,e,r){this.initialized=!1,this.filterManager=e,this.elem=r,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var i=this.elem.layerElement.children||this.elem.layerElement.childNodes,e,r,s,o;for(this.filterManager.effectElements[1].p.v===1?(o=this.elem.maskManager.masksProperties.length,s=0):(s=this.filterManager.effectElements[0].p.v-1,o=s+1),r=createNS("g"),r.setAttribute("fill","none"),r.setAttribute("stroke-linecap","round"),r.setAttribute("stroke-dashoffset",1),s;s<o;s+=1)e=createNS("path"),r.appendChild(e),this.paths.push({p:e,m:s});if(this.filterManager.effectElements[10].p.v===3){var a=createNS("mask"),l=createElementID();a.setAttribute("id",l),a.setAttribute("mask-type","alpha"),a.appendChild(r),this.elem.globalData.defs.appendChild(a);var c=createNS("g");for(c.setAttribute("mask","url("+getLocationHref()+"#"+l+")");i[0];)c.appendChild(i[0]);this.elem.layerElement.appendChild(c),this.masker=a,r.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(i=this.elem.layerElement.children||this.elem.layerElement.childNodes;i.length;)this.elem.layerElement.removeChild(i[0]);this.elem.layerElement.appendChild(r),this.elem.layerElement.removeAttribute("mask"),r.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=r},SVGStrokeEffect.prototype.renderFrame=function(i){this.initialized||this.initialize();var e,r=this.paths.length,s,o;for(e=0;e<r;e+=1)if(this.paths[e].m!==-1&&(s=this.elem.maskManager.viewData[this.paths[e].m],o=this.paths[e].p,(i||this.filterManager._mdf||s.prop._mdf)&&o.setAttribute("d",s.lastPath),i||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||s.prop._mdf)){var a;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var l=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,c=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,u=o.getTotalLength();a="0 0 0 "+u*l+" ";var d=u*(c-l),g=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,m=Math.floor(d/g),y;for(y=0;y<m;y+=1)a+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+u*10+" 0 0"}else a="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;o.setAttribute("stroke-dasharray",a)}if((i||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(i||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)&&(i||this.filterManager.effectElements[3].p._mdf)){var b=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(b[0]*255)+","+bmFloor(b[1]*255)+","+bmFloor(b[2]*255)+")")}};function SVGTritoneFilter(i,e,r,s){this.filterManager=e;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.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"),i.appendChild(o);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",s),this.matrixFilter=a;var l=createNS("feFuncR");l.setAttribute("type","table"),a.appendChild(l),this.feFuncR=l;var c=createNS("feFuncG");c.setAttribute("type","table"),a.appendChild(c),this.feFuncG=c;var u=createNS("feFuncB");u.setAttribute("type","table"),a.appendChild(u),this.feFuncB=u,i.appendChild(a)}SVGTritoneFilter.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,s=this.filterManager.effectElements[2].p.v,o=s[0]+" "+r[0]+" "+e[0],a=s[1]+" "+r[1]+" "+e[1],l=s[2]+" "+r[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",o),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",l)}};function SVGProLevelsFilter(i,e,r,s){this.filterManager=e;var o=this.filterManager.effectElements,a=createNS("feComponentTransfer");(o[10].p.k||o[10].p.v!==0||o[11].p.k||o[11].p.v!==1||o[12].p.k||o[12].p.v!==1||o[13].p.k||o[13].p.v!==0||o[14].p.k||o[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(o[17].p.k||o[17].p.v!==0||o[18].p.k||o[18].p.v!==1||o[19].p.k||o[19].p.v!==1||o[20].p.k||o[20].p.v!==0||o[21].p.k||o[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(o[24].p.k||o[24].p.v!==0||o[25].p.k||o[25].p.v!==1||o[26].p.k||o[26].p.v!==1||o[27].p.k||o[27].p.v!==0||o[28].p.k||o[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(o[31].p.k||o[31].p.v!==0||o[32].p.k||o[32].p.v!==1||o[33].p.k||o[33].p.v!==1||o[34].p.k||o[34].p.v!==0||o[35].p.k||o[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),i.appendChild(a)),(o[3].p.k||o[3].p.v!==0||o[4].p.k||o[4].p.v!==1||o[5].p.k||o[5].p.v!==1||o[6].p.k||o[6].p.v!==0||o[7].p.k||o[7].p.v!==1)&&(a=createNS("feComponentTransfer"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",s),i.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}SVGProLevelsFilter.prototype.createFeFunc=function(i,e){var r=createNS(i);return r.setAttribute("type","table"),e.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(i,e,r,s,o){for(var a=0,l=256,c,u=Math.min(i,e),d=Math.max(i,e),g=Array.call(null,{length:l}),m,y=0,b=o-s,A=e-i;a<=256;)c=a/256,c<=u?m=A<0?o:s:c>=d?m=A<0?s:o:m=s+b*Math.pow((c-i)/A,1/r),g[y]=m,y+=1,a+=256/(l-1);return g.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(i||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(i||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(i||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(i||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(i||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",e))}};function SVGDropShadowEffect(i,e,r,s,o){var a=e.container.globalData.renderConfig.filterSize,l=e.data.fs||a;i.setAttribute("x",l.x||a.x),i.setAttribute("y",l.y||a.y),i.setAttribute("width",l.width||a.width),i.setAttribute("height",l.height||a.height),this.filterManager=e;var c=createNS("feGaussianBlur");c.setAttribute("in","SourceAlpha"),c.setAttribute("result",s+"_drop_shadow_1"),c.setAttribute("stdDeviation","0"),this.feGaussianBlur=c,i.appendChild(c);var u=createNS("feOffset");u.setAttribute("dx","25"),u.setAttribute("dy","0"),u.setAttribute("in",s+"_drop_shadow_1"),u.setAttribute("result",s+"_drop_shadow_2"),this.feOffset=u,i.appendChild(u);var d=createNS("feFlood");d.setAttribute("flood-color","#00ff00"),d.setAttribute("flood-opacity","1"),d.setAttribute("result",s+"_drop_shadow_3"),this.feFlood=d,i.appendChild(d);var g=createNS("feComposite");g.setAttribute("in",s+"_drop_shadow_3"),g.setAttribute("in2",s+"_drop_shadow_2"),g.setAttribute("operator","in"),g.setAttribute("result",s+"_drop_shadow_4"),i.appendChild(g);var m=this.createMergeNode(s,[s+"_drop_shadow_4",o]);i.appendChild(m)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){if((i||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),i||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(e[0]*255),Math.round(e[1]*255),Math.round(e[2]*255)))}if((i||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),i||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,s=(this.filterManager.effectElements[2].p.v-90)*degToRads,o=r*Math.cos(s),a=r*Math.sin(s);this.feOffset.setAttribute("dx",o),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(i,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=i,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}SVGMatte3Effect.prototype.findSymbol=function(i){for(var e=0,r=_svgMatteSymbols.length;e<r;){if(_svgMatteSymbols[e]===i)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(i,e){var r=i.layerElement.parentNode;if(r){for(var s=r.children,o=0,a=s.length;o<a&&s[o]!==i.layerElement;)o+=1;var l;o<=a-2&&(l=s[o+1]);var c=createNS("use");c.setAttribute("href","#"+e),l?r.insertBefore(c,l):r.appendChild(c)}},SVGMatte3Effect.prototype.setElementAsMask=function(i,e){if(!this.findSymbol(e)){var r=createElementID(),s=createNS("mask");s.setAttribute("id",e.layerId),s.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var o=i.globalData.defs;o.appendChild(s);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(e,r),a.appendChild(e.layerElement),o.appendChild(a);var l=createNS("use");l.setAttribute("href","#"+r),s.appendChild(l),e.data.hd=!1,e.show()}i.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var i=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,r=0,s=e.length;r<s;)e[r]&&e[r].data.ind===i&&this.setElementAsMask(this.elem,e[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(i,e,r,s){i.setAttribute("x","-100%"),i.setAttribute("y","-100%"),i.setAttribute("width","300%"),i.setAttribute("height","300%"),this.filterManager=e;var o=createNS("feGaussianBlur");o.setAttribute("result",s),i.appendChild(o),this.feGaussianBlur=o}SVGGaussianBlurEffect.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){var e=.3,r=this.filterManager.effectElements[0].p.v*e,s=this.filterManager.effectElements[1].p.v,o=s==3?0:r,a=s==2?0:r;this.feGaussianBlur.setAttribute("stdDeviation",o+" "+a);var l=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",l)}};function TransformEffect(){}TransformEffect.prototype.init=function(i){this.effectsManager=i,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(i){if(this._opMdf=!1,this._mdf=!1,i||this.effectsManager._mdf){var e=this.effectsManager.effectElements,r=e[0].p.v,s=e[1].p.v,o=e[2].p.v===1,a=e[3].p.v,l=o?a:e[4].p.v,c=e[5].p.v,u=e[6].p.v,d=e[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(l*.01,a*.01,1),this.matrix.rotate(-d*degToRads),this.matrix.skewFromAxis(-c*degToRads,(u+90)*degToRads),this.matrix.translate(s[0],s[1],0),this._mdf=!0,this.opacity!==e[8].p.v&&(this.opacity=e[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(i,e){this.init(e)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(i){this.init(i)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})})(lottie,lottieExports);const Lottie=lottieExports;var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeGlobal$1=freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal$1||freeSelf||Function("return this")(),root$1=root,Symbol$1=root$1.Symbol,Symbol$2=Symbol$1,objectProto$e=Object.prototype,hasOwnProperty$b=objectProto$e.hasOwnProperty,nativeObjectToString$1=objectProto$e.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(i){var e=hasOwnProperty$b.call(i,symToStringTag$1),r=i[symToStringTag$1];try{i[symToStringTag$1]=void 0;var s=!0}catch(a){}var o=nativeObjectToString$1.call(i);return s&&(e?i[symToStringTag$1]=r:delete i[symToStringTag$1]),o}var objectProto$d=Object.prototype,nativeObjectToString=objectProto$d.toString;function objectToString(i){return nativeObjectToString.call(i)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(i){return i==null?i===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(i)?getRawTag(i):objectToString(i)}function isObjectLike(i){return i!=null&&typeof i=="object"}var isArray$1=Array.isArray,isArray$1$1=isArray$1;function isObject(i){var e=typeof i;return i!=null&&(e=="object"||e=="function")}var asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$1(i){if(!isObject(i))return!1;var e=baseGetTag(i);return e==funcTag$2||e==genTag$1||e==asyncTag||e==proxyTag}var coreJsData=root$1["__core-js_shared__"],coreJsData$1=coreJsData,maskSrcKey=function(){var i=/[^.]+$/.exec(coreJsData$1&&coreJsData$1.keys&&coreJsData$1.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function isMasked(i){return!!maskSrcKey&&maskSrcKey in i}var funcProto$1=Function.prototype,funcToString$1=funcProto$1.toString;function toSource(i){if(i!=null){try{return funcToString$1.call(i)}catch(e){}try{return i+""}catch(e){}}return""}var reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto$c=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$a=objectProto$c.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty$a).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(i){if(!isObject(i)||isMasked(i))return!1;var e=isFunction$1(i)?reIsNative:reIsHostCtor;return e.test(toSource(i))}function getValue$1(i,e){return i==null?void 0:i[e]}function getNative(i,e){var r=getValue$1(i,e);return baseIsNative(r)?r:void 0}var WeakMap$1=getNative(root$1,"WeakMap"),WeakMap$1$1=WeakMap$1,objectCreate=Object.create,baseCreate=function(){function i(){}return function(e){if(!isObject(e))return{};if(objectCreate)return objectCreate(e);i.prototype=e;var r=new i;return i.prototype=void 0,r}}(),baseCreate$1=baseCreate;function copyArray(i,e){var r=-1,s=i.length;for(e||(e=Array(s));++r<s;)e[r]=i[r];return e}var defineProperty=function(){try{var i=getNative(Object,"defineProperty");return i({},"",{}),i}catch(e){}}(),defineProperty$1=defineProperty;function arrayEach(i,e){for(var r=-1,s=i==null?0:i.length;++r<s&&e(i[r],r,i)!==!1;);return i}var MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(i,e){var r=typeof i;return e=e==null?MAX_SAFE_INTEGER$1:e,!!e&&(r=="number"||r!="symbol"&&reIsUint.test(i))&&i>-1&&i%1==0&&i<e}function baseAssignValue(i,e,r){e=="__proto__"&&defineProperty$1?defineProperty$1(i,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):i[e]=r}function eq(i,e){return i===e||i!==i&&e!==e}var objectProto$b=Object.prototype,hasOwnProperty$9=objectProto$b.hasOwnProperty;function assignValue(i,e,r){var s=i[e];(!(hasOwnProperty$9.call(i,e)&&eq(s,r))||r===void 0&&!(e in i))&&baseAssignValue(i,e,r)}function copyObject(i,e,r,s){var o=!r;r||(r={});for(var a=-1,l=e.length;++a<l;){var c=e[a],u=s?s(r[c],i[c],c,r,i):void 0;u===void 0&&(u=i[c]),o?baseAssignValue(r,c,u):assignValue(r,c,u)}return r}var MAX_SAFE_INTEGER=9007199254740991;function isLength(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=MAX_SAFE_INTEGER}function isArrayLike(i){return i!=null&&isLength(i.length)&&!isFunction$1(i)}var objectProto$a=Object.prototype;function isPrototype(i){var e=i&&i.constructor,r=typeof e=="function"&&e.prototype||objectProto$a;return i===r}function baseTimes(i,e){for(var r=-1,s=Array(i);++r<i;)s[r]=e(r);return s}var argsTag$3="[object Arguments]";function baseIsArguments(i){return isObjectLike(i)&&baseGetTag(i)==argsTag$3}var objectProto$9=Object.prototype,hasOwnProperty$8=objectProto$9.hasOwnProperty,propertyIsEnumerable$1=objectProto$9.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(i){return isObjectLike(i)&&hasOwnProperty$8.call(i,"callee")&&!propertyIsEnumerable$1.call(i,"callee")},isArguments$1=isArguments;function stubFalse(){return!1}var freeExports$2=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$2=freeExports$2&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$2=freeModule$2&&freeModule$2.exports===freeExports$2,Buffer$1=moduleExports$2?root$1.Buffer:void 0,nativeIsBuffer=Buffer$1?Buffer$1.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse,isBuffer$1=isBuffer,argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$3="[object Boolean]",dateTag$3="[object Date]",errorTag$2="[object Error]",funcTag$1="[object Function]",mapTag$5="[object Map]",numberTag$3="[object Number]",objectTag$3="[object Object]",regexpTag$3="[object RegExp]",setTag$5="[object Set]",stringTag$3="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$3="[object ArrayBuffer]",dataViewTag$4="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$3]=typedArrayTags[boolTag$3]=typedArrayTags[dataViewTag$4]=typedArrayTags[dateTag$3]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$5]=typedArrayTags[numberTag$3]=typedArrayTags[objectTag$3]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$5]=typedArrayTags[stringTag$3]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray(i){return isObjectLike(i)&&isLength(i.length)&&!!typedArrayTags[baseGetTag(i)]}function baseUnary(i){return function(e){return i(e)}}var freeExports$1=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule$1=freeExports$1&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports$1=freeModule$1&&freeModule$1.exports===freeExports$1,freeProcess=moduleExports$1&&freeGlobal$1.process,nodeUtil=function(){try{var i=freeModule$1&&freeModule$1.require&&freeModule$1.require("util").types;return i||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}(),nodeUtil$1=nodeUtil,nodeIsTypedArray=nodeUtil$1&&nodeUtil$1.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray,isTypedArray$1=isTypedArray,objectProto$8=Object.prototype,hasOwnProperty$7=objectProto$8.hasOwnProperty;function arrayLikeKeys(i,e){var r=isArray$1$1(i),s=!r&&isArguments$1(i),o=!r&&!s&&isBuffer$1(i),a=!r&&!s&&!o&&isTypedArray$1(i),l=r||s||o||a,c=l?baseTimes(i.length,String):[],u=c.length;for(var d in i)(e||hasOwnProperty$7.call(i,d))&&!(l&&(d=="length"||o&&(d=="offset"||d=="parent")||a&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||isIndex(d,u)))&&c.push(d);return c}function overArg(i,e){return function(r){return i(e(r))}}var nativeKeys=overArg(Object.keys,Object),nativeKeys$1=nativeKeys,objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty;function baseKeys(i){if(!isPrototype(i))return nativeKeys$1(i);var e=[];for(var r in Object(i))hasOwnProperty$6.call(i,r)&&r!="constructor"&&e.push(r);return e}function keys(i){return isArrayLike(i)?arrayLikeKeys(i):baseKeys(i)}function nativeKeysIn(i){var e=[];if(i!=null)for(var r in Object(i))e.push(r);return e}var objectProto$6=Object.prototype,hasOwnProperty$5=objectProto$6.hasOwnProperty;function baseKeysIn(i){if(!isObject(i))return nativeKeysIn(i);var e=isPrototype(i),r=[];for(var s in i)s=="constructor"&&(e||!hasOwnProperty$5.call(i,s))||r.push(s);return r}function keysIn(i){return isArrayLike(i)?arrayLikeKeys(i,!0):baseKeysIn(i)}var nativeCreate=getNative(Object,"create"),nativeCreate$1=nativeCreate;function hashClear(){this.__data__=nativeCreate$1?nativeCreate$1(null):{},this.size=0}function hashDelete(i){var e=this.has(i)&&delete this.__data__[i];return this.size-=e?1:0,e}var HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$5=Object.prototype,hasOwnProperty$4=objectProto$5.hasOwnProperty;function hashGet(i){var e=this.__data__;if(nativeCreate$1){var r=e[i];return r===HASH_UNDEFINED$2?void 0:r}return hasOwnProperty$4.call(e,i)?e[i]:void 0}var objectProto$4=Object.prototype,hasOwnProperty$3=objectProto$4.hasOwnProperty;function hashHas(i){var e=this.__data__;return nativeCreate$1?e[i]!==void 0:hasOwnProperty$3.call(e,i)}var HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet(i,e){var r=this.__data__;return this.size+=this.has(i)?0:1,r[i]=nativeCreate$1&&e===void 0?HASH_UNDEFINED$1:e,this}function Hash(i){var e=-1,r=i==null?0:i.length;for(this.clear();++e<r;){var s=i[e];this.set(s[0],s[1])}}Hash.prototype.clear=hashClear;Hash.prototype.delete=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function listCacheClear(){this.__data__=[],this.size=0}function assocIndexOf(i,e){for(var r=i.length;r--;)if(eq(i[r][0],e))return r;return-1}var arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(i){var e=this.__data__,r=assocIndexOf(e,i);if(r<0)return!1;var s=e.length-1;return r==s?e.pop():splice.call(e,r,1),--this.size,!0}function listCacheGet(i){var e=this.__data__,r=assocIndexOf(e,i);return r<0?void 0:e[r][1]}function listCacheHas(i){return assocIndexOf(this.__data__,i)>-1}function listCacheSet(i,e){var r=this.__data__,s=assocIndexOf(r,i);return s<0?(++this.size,r.push([i,e])):r[s][1]=e,this}function ListCache(i){var e=-1,r=i==null?0:i.length;for(this.clear();++e<r;){var s=i[e];this.set(s[0],s[1])}}ListCache.prototype.clear=listCacheClear;ListCache.prototype.delete=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;var Map$1=getNative(root$1,"Map"),Map$1$1=Map$1;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map$1$1||ListCache),string:new Hash}}function isKeyable(i){var e=typeof i;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?i!=="__proto__":i===null}function getMapData(i,e){var r=i.__data__;return isKeyable(e)?r[typeof e=="string"?"string":"hash"]:r.map}function mapCacheDelete(i){var e=getMapData(this,i).delete(i);return this.size-=e?1:0,e}function mapCacheGet(i){return getMapData(this,i).get(i)}function mapCacheHas(i){return getMapData(this,i).has(i)}function mapCacheSet(i,e){var r=getMapData(this,i),s=r.size;return r.set(i,e),this.size+=r.size==s?0:1,this}function MapCache(i){var e=-1,r=i==null?0:i.length;for(this.clear();++e<r;){var s=i[e];this.set(s[0],s[1])}}MapCache.prototype.clear=mapCacheClear;MapCache.prototype.delete=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function arrayPush(i,e){for(var r=-1,s=e.length,o=i.length;++r<s;)i[o+r]=e[r];return i}var getPrototype=overArg(Object.getPrototypeOf,Object),getPrototype$1=getPrototype;function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(i){var e=this.__data__,r=e.delete(i);return this.size=e.size,r}function stackGet(i){return this.__data__.get(i)}function stackHas(i){return this.__data__.has(i)}var LARGE_ARRAY_SIZE=200;function stackSet(i,e){var r=this.__data__;if(r instanceof ListCache){var s=r.__data__;if(!Map$1$1||s.length<LARGE_ARRAY_SIZE-1)return s.push([i,e]),this.size=++r.size,this;r=this.__data__=new MapCache(s)}return r.set(i,e),this.size=r.size,this}function Stack$2(i){var e=this.__data__=new ListCache(i);this.size=e.size}Stack$2.prototype.clear=stackClear;Stack$2.prototype.delete=stackDelete;Stack$2.prototype.get=stackGet;Stack$2.prototype.has=stackHas;Stack$2.prototype.set=stackSet;function baseAssign(i,e){return i&&copyObject(e,keys(e),i)}function baseAssignIn(i,e){return i&&copyObject(e,keysIn(e),i)}var freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer$2=moduleExports?root$1.Buffer:void 0,allocUnsafe=Buffer$2?Buffer$2.allocUnsafe:void 0;function cloneBuffer(i,e){if(e)return i.slice();var r=i.length,s=allocUnsafe?allocUnsafe(r):new i.constructor(r);return i.copy(s),s}function arrayFilter(i,e){for(var r=-1,s=i==null?0:i.length,o=0,a=[];++r<s;){var l=i[r];e(l,r,i)&&(a[o++]=l)}return a}function stubArray(){return[]}var objectProto$3=Object.prototype,propertyIsEnumerable=objectProto$3.propertyIsEnumerable,nativeGetSymbols$1=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols$1?function(i){return i==null?[]:(i=Object(i),arrayFilter(nativeGetSymbols$1(i),function(e){return propertyIsEnumerable.call(i,e)}))}:stubArray,getSymbols$1=getSymbols;function copySymbols(i,e){return copyObject(i,getSymbols$1(i),e)}var nativeGetSymbols=Object.getOwnPropertySymbols,getSymbolsIn=nativeGetSymbols?function(i){for(var e=[];i;)arrayPush(e,getSymbols$1(i)),i=getPrototype$1(i);return e}:stubArray,getSymbolsIn$1=getSymbolsIn;function copySymbolsIn(i,e){return copyObject(i,getSymbolsIn$1(i),e)}function baseGetAllKeys(i,e,r){var s=e(i);return isArray$1$1(i)?s:arrayPush(s,r(i))}function getAllKeys(i){return baseGetAllKeys(i,keys,getSymbols$1)}function getAllKeysIn(i){return baseGetAllKeys(i,keysIn,getSymbolsIn$1)}var DataView$1=getNative(root$1,"DataView"),DataView$1$1=DataView$1,Promise$1=getNative(root$1,"Promise"),Promise$2=Promise$1,Set$2=getNative(root$1,"Set"),Set$1$1=Set$2,mapTag$4="[object Map]",objectTag$2="[object Object]",promiseTag="[object Promise]",setTag$4="[object Set]",weakMapTag$1="[object WeakMap]",dataViewTag$3="[object DataView]",dataViewCtorString=toSource(DataView$1$1),mapCtorString=toSource(Map$1$1),promiseCtorString=toSource(Promise$2),setCtorString=toSource(Set$1$1),weakMapCtorString=toSource(WeakMap$1$1),getTag=baseGetTag;(DataView$1$1&&getTag(new DataView$1$1(new ArrayBuffer(1)))!=dataViewTag$3||Map$1$1&&getTag(new Map$1$1)!=mapTag$4||Promise$2&&getTag(Promise$2.resolve())!=promiseTag||Set$1$1&&getTag(new Set$1$1)!=setTag$4||WeakMap$1$1&&getTag(new WeakMap$1$1)!=weakMapTag$1)&&(getTag=function(i){var e=baseGetTag(i),r=e==objectTag$2?i.constructor:void 0,s=r?toSource(r):"";if(s)switch(s){case dataViewCtorString:return dataViewTag$3;case mapCtorString:return mapTag$4;case promiseCtorString:return promiseTag;case setCtorString:return setTag$4;case weakMapCtorString:return weakMapTag$1}return e});var getTag$1=getTag,objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function initCloneArray(i){var e=i.length,r=new i.constructor(e);return e&&typeof i[0]=="string"&&hasOwnProperty$2.call(i,"index")&&(r.index=i.index,r.input=i.input),r}var Uint8Array$1=root$1.Uint8Array,Uint8Array$1$1=Uint8Array$1;function cloneArrayBuffer(i){var e=new i.constructor(i.byteLength);return new Uint8Array$1$1(e).set(new Uint8Array$1$1(i)),e}function cloneDataView(i,e){var r=e?cloneArrayBuffer(i.buffer):i.buffer;return new i.constructor(r,i.byteOffset,i.byteLength)}var reFlags=/\w*$/;function cloneRegExp(i){var e=new i.constructor(i.source,reFlags.exec(i));return e.lastIndex=i.lastIndex,e}var symbolProto$1=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf$1=symbolProto$1?symbolProto$1.valueOf:void 0;function cloneSymbol(i){return symbolValueOf$1?Object(symbolValueOf$1.call(i)):{}}function cloneTypedArray(i,e){var r=e?cloneArrayBuffer(i.buffer):i.buffer;return new i.constructor(r,i.byteOffset,i.length)}var boolTag$2="[object Boolean]",dateTag$2="[object Date]",mapTag$3="[object Map]",numberTag$2="[object Number]",regexpTag$2="[object RegExp]",setTag$3="[object Set]",stringTag$2="[object String]",symbolTag$2="[object Symbol]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$2="[object DataView]",float32Tag$1="[object Float32Array]",float64Tag$1="[object Float64Array]",int8Tag$1="[object Int8Array]",int16Tag$1="[object Int16Array]",int32Tag$1="[object Int32Array]",uint8Tag$1="[object Uint8Array]",uint8ClampedTag$1="[object Uint8ClampedArray]",uint16Tag$1="[object Uint16Array]",uint32Tag$1="[object Uint32Array]";function initCloneByTag(i,e,r){var s=i.constructor;switch(e){case arrayBufferTag$2:return cloneArrayBuffer(i);case boolTag$2:case dateTag$2:return new s(+i);case dataViewTag$2:return cloneDataView(i,r);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(i,r);case mapTag$3:return new s;case numberTag$2:case stringTag$2:return new s(i);case regexpTag$2:return cloneRegExp(i);case setTag$3:return new s;case symbolTag$2:return cloneSymbol(i)}}function initCloneObject(i){return typeof i.constructor=="function"&&!isPrototype(i)?baseCreate$1(getPrototype$1(i)):{}}var mapTag$2="[object Map]";function baseIsMap(i){return isObjectLike(i)&&getTag$1(i)==mapTag$2}var nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap,isMap$1=isMap,setTag$2="[object Set]";function baseIsSet(i){return isObjectLike(i)&&getTag$1(i)==setTag$2}var nodeIsSet=nodeUtil$1&&nodeUtil$1.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet,isSet$1=isSet,CLONE_DEEP_FLAG$1=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG$1=4,argsTag$1="[object Arguments]",arrayTag$1="[object Array]",boolTag$1="[object Boolean]",dateTag$1="[object Date]",errorTag$1="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag$1="[object Map]",numberTag$1="[object Number]",objectTag$1="[object Object]",regexpTag$1="[object RegExp]",setTag$1="[object Set]",stringTag$1="[object String]",symbolTag$1="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag$1="[object ArrayBuffer]",dataViewTag$1="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};cloneableTags[argsTag$1]=cloneableTags[arrayTag$1]=cloneableTags[arrayBufferTag$1]=cloneableTags[dataViewTag$1]=cloneableTags[boolTag$1]=cloneableTags[dateTag$1]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag$1]=cloneableTags[numberTag$1]=cloneableTags[objectTag$1]=cloneableTags[regexpTag$1]=cloneableTags[setTag$1]=cloneableTags[stringTag$1]=cloneableTags[symbolTag$1]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0;cloneableTags[errorTag$1]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1;function baseClone(i,e,r,s,o,a){var l,c=e&CLONE_DEEP_FLAG$1,u=e&CLONE_FLAT_FLAG,d=e&CLONE_SYMBOLS_FLAG$1;if(r&&(l=o?r(i,s,o,a):r(i)),l!==void 0)return l;if(!isObject(i))return i;var g=isArray$1$1(i);if(g){if(l=initCloneArray(i),!c)return copyArray(i,l)}else{var m=getTag$1(i),y=m==funcTag||m==genTag;if(isBuffer$1(i))return cloneBuffer(i,c);if(m==objectTag$1||m==argsTag$1||y&&!o){if(l=u||y?{}:initCloneObject(i),!c)return u?copySymbolsIn(i,baseAssignIn(l,i)):copySymbols(i,baseAssign(l,i))}else{if(!cloneableTags[m])return o?i:{};l=initCloneByTag(i,m,c)}}a||(a=new Stack$2);var b=a.get(i);if(b)return b;a.set(i,l),isSet$1(i)?i.forEach(function(E){l.add(baseClone(E,e,r,E,i,a))}):isMap$1(i)&&i.forEach(function(E,x){l.set(x,baseClone(E,e,r,x,i,a))});var A=d?u?getAllKeysIn:getAllKeys:u?keysIn:keys,S=g?void 0:A(i);return arrayEach(S||i,function(E,x){S&&(x=E,E=i[x]),assignValue(l,x,baseClone(E,e,r,x,i,a))}),l}var CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(i){return baseClone(i,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}var HASH_UNDEFINED="__lodash_hash_undefined__";function setCacheAdd(i){return this.__data__.set(i,HASH_UNDEFINED),this}function setCacheHas(i){return this.__data__.has(i)}function SetCache(i){var e=-1,r=i==null?0:i.length;for(this.__data__=new MapCache;++e<r;)this.add(i[e])}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function arraySome(i,e){for(var r=-1,s=i==null?0:i.length;++r<s;)if(e(i[r],r,i))return!0;return!1}function cacheHas(i,e){return i.has(e)}var COMPARE_PARTIAL_FLAG$3=1,COMPARE_UNORDERED_FLAG$1=2;function equalArrays(i,e,r,s,o,a){var l=r&COMPARE_PARTIAL_FLAG$3,c=i.length,u=e.length;if(c!=u&&!(l&&u>c))return!1;var d=a.get(i),g=a.get(e);if(d&&g)return d==e&&g==i;var m=-1,y=!0,b=r&COMPARE_UNORDERED_FLAG$1?new SetCache:void 0;for(a.set(i,e),a.set(e,i);++m<c;){var A=i[m],S=e[m];if(s)var E=l?s(S,A,m,e,i,a):s(A,S,m,i,e,a);if(E!==void 0){if(E)continue;y=!1;break}if(b){if(!arraySome(e,function(x,P){if(!cacheHas(b,P)&&(A===x||o(A,x,r,s,a)))return b.push(P)})){y=!1;break}}else if(!(A===S||o(A,S,r,s,a))){y=!1;break}}return a.delete(i),a.delete(e),y}function mapToArray(i){var e=-1,r=Array(i.size);return i.forEach(function(s,o){r[++e]=[o,s]}),r}function setToArray(i){var e=-1,r=Array(i.size);return i.forEach(function(s){r[++e]=s}),r}var COMPARE_PARTIAL_FLAG$2=1,COMPARE_UNORDERED_FLAG=2,boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",mapTag="[object Map]",numberTag="[object Number]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",symbolProto=Symbol$2?Symbol$2.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;function equalByTag(i,e,r,s,o,a,l){switch(r){case dataViewTag:if(i.byteLength!=e.byteLength||i.byteOffset!=e.byteOffset)return!1;i=i.buffer,e=e.buffer;case arrayBufferTag:return!(i.byteLength!=e.byteLength||!a(new Uint8Array$1$1(i),new Uint8Array$1$1(e)));case boolTag:case dateTag:case numberTag:return eq(+i,+e);case errorTag:return i.name==e.name&&i.message==e.message;case regexpTag:case stringTag:return i==e+"";case mapTag:var c=mapToArray;case setTag:var u=s&COMPARE_PARTIAL_FLAG$2;if(c||(c=setToArray),i.size!=e.size&&!u)return!1;var d=l.get(i);if(d)return d==e;s|=COMPARE_UNORDERED_FLAG,l.set(i,e);var g=equalArrays(c(i),c(e),s,o,a,l);return l.delete(i),g;case symbolTag:if(symbolValueOf)return symbolValueOf.call(i)==symbolValueOf.call(e)}return!1}var COMPARE_PARTIAL_FLAG$1=1,objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function equalObjects(i,e,r,s,o,a){var l=r&COMPARE_PARTIAL_FLAG$1,c=getAllKeys(i),u=c.length,d=getAllKeys(e),g=d.length;if(u!=g&&!l)return!1;for(var m=u;m--;){var y=c[m];if(!(l?y in e:hasOwnProperty$1.call(e,y)))return!1}var b=a.get(i),A=a.get(e);if(b&&A)return b==e&&A==i;var S=!0;a.set(i,e),a.set(e,i);for(var E=l;++m<u;){y=c[m];var x=i[y],P=e[y];if(s)var C=l?s(P,x,y,e,i,a):s(x,P,y,i,e,a);if(!(C===void 0?x===P||o(x,P,r,s,a):C)){S=!1;break}E||(E=y=="constructor")}if(S&&!E){var T=i.constructor,k=e.constructor;T!=k&&"constructor"in i&&"constructor"in e&&!(typeof T=="function"&&T instanceof T&&typeof k=="function"&&k instanceof k)&&(S=!1)}return a.delete(i),a.delete(e),S}var COMPARE_PARTIAL_FLAG=1,argsTag="[object Arguments]",arrayTag="[object Array]",objectTag="[object Object]",objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseIsEqualDeep(i,e,r,s,o,a){var l=isArray$1$1(i),c=isArray$1$1(e),u=l?arrayTag:getTag$1(i),d=c?arrayTag:getTag$1(e);u=u==argsTag?objectTag:u,d=d==argsTag?objectTag:d;var g=u==objectTag,m=d==objectTag,y=u==d;if(y&&isBuffer$1(i)){if(!isBuffer$1(e))return!1;l=!0,g=!1}if(y&&!g)return a||(a=new Stack$2),l||isTypedArray$1(i)?equalArrays(i,e,r,s,o,a):equalByTag(i,e,u,r,s,o,a);if(!(r&COMPARE_PARTIAL_FLAG)){var b=g&&hasOwnProperty.call(i,"__wrapped__"),A=m&&hasOwnProperty.call(e,"__wrapped__");if(b||A){var S=b?i.value():i,E=A?e.value():e;return a||(a=new Stack$2),o(S,E,r,s,a)}}return y?(a||(a=new Stack$2),equalObjects(i,e,r,s,o,a)):!1}function baseIsEqual(i,e,r,s,o){return i===e?!0:i==null||e==null||!isObjectLike(i)&&!isObjectLike(e)?i!==i&&e!==e:baseIsEqualDeep(i,e,r,s,baseIsEqual,o)}function isEqual(i,e){return baseIsEqual(i,e)}var _export_sfc=(i,e)=>{const r=i.__vccOpts||i;for(const[s,o]of e)r[s]=o;return r};const _sfc_main=defineComponent({props:{animationData:{type:Object,default:()=>({})},animationLink:{type:String,default:""},loop:{type:[Boolean,Number],default:!0},autoPlay:{type:Boolean,default:!0},width:{type:[Number,String],default:"100%"},height:{type:[Number,String],default:"100%"},speed:{type:Number,default:1},delay:{type:Number,default:0},direction:{type:String,default:"forward"},pauseOnHover:{type:Boolean,default:!1},playOnHover:{type:Boolean,default:!1},backgroundColor:{type:String,default:"transparent"},pauseAnimation:{type:Boolean,default:!1},renderer:{type:String,default:"svg"},rendererSettings:{type:Object,default:()=>({})},assetsPath:{type:String,default:""}},emits:{onComplete:null,onLoopComplete:null,onEnterFrame:null,onSegmentStart:null,onAnimationLoaded:null},setup(i,{emit:e}){let r=ref(null);const s=ref("");let o=1;const a=R=>document.querySelector(`[data-id="${R}"]`)!==null,l=async R=>{let B=i.autoPlay;i.playOnHover&&(B=!1);let _={};if(isEqual(i.animationData,{})===!1&&(_=cloneDeep(i.animationData)),i.animationLink!="")try{_=await(await fetch(i.animationLink)).json()}catch(F){console.error(F);return}let V=i.loop;typeof V=="number"&&V>0&&(V=V-1),i.delay>0&&(B=!1);const D={container:R,renderer:i.renderer,loop:V,autoplay:B,animationData:_,assetsPath:i.assetsPath};isEqual(i.rendererSettings,{})===!1&&(D.rendererSettings=i.rendererSettings),r=Lottie.loadAnimation(D),setTimeout(()=>{B=i.autoPlay,i.playOnHover?r.pause():B?r.play():r.pause(),e("onAnimationLoaded")},i.delay),r.setSpeed(i.speed),i.direction==="reverse"&&r.setDirection(-1),i.direction==="normal"&&r.setDirection(1),(i.pauseAnimation||i.playOnHover)&&r.pause(),r.addEventListener("loopComplete",()=>{i.direction==="alternate"&&(r.stop(),o=o*-1,r.setDirection(o),r.play()),e("onLoopComplete")}),r.addEventListener("complete",()=>{e("onComplete")}),r.addEventListener("enterFrame",()=>{e("onEnterFrame")}),r.addEventListener("segmentStart",()=>{e("onSegmentStart")})},c=computed(()=>{let R=i.width,B=i.height;return typeof i.width=="number"&&(R=`${i.width}px`),typeof i.height=="number"&&(B=`${i.height}px`),{"--lottie-animation-container-width":R,"--lottie-animation-container-height":B,"--lottie-animation-container-background-color":i.backgroundColor}}),u=()=>{r&&i.pauseOnHover&&r.pause(),r&&i.playOnHover&&r.play()},d=()=>{r&&i.pauseOnHover&&r.play(),r&&i.playOnHover&&r.pause()};watch(()=>i.pauseAnimation,()=>{if((i.pauseOnHover||i.playOnHover)&&i.pauseAnimation){console.error("If you are using pauseAnimation prop for Vue3-Lottie, please remove the props pauseOnHover and playOnHover");return}r&&(i.pauseAnimation?r.pause():r.play())});const g=()=>{r&&r.play()},m=()=>{r&&r.pause()},y=()=>{r&&r.stop()},b=()=>{r&&r.destroy()},A=(R=1)=>{if(R<=0)throw new Error("Speed must be greater than 0");r&&r.setSpeed(R)},S=R=>{r&&(R==="forward"?r.setDirection(1):R==="reverse"&&r.setDirection(-1))},E=(R,B=!0)=>{r&&r.goToAndStop(R,B)},x=(R,B=!0)=>{r&&r.goToAndPlay(R,B)},P=(R,B=!1)=>{r&&r.playSegments(R,B)},C=(R=!0)=>{r&&r.setSubframe(R)},T=(R=!0)=>{if(r)return r.getDuration(R)},k=(R,B=0)=>{r&&r.renderer.elements[B].updateDocumentData(R)},I=R=>{for(var B="",_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",V=_.length,D=0;D<R;D++)B+=_.charAt(Math.floor(Math.random()*V));return B},M=R=>{if(i.pauseOnHover&&i.playOnHover)throw new Error("You cannot set pauseOnHover and playOnHover for Vue3-Lottie at the same time.");if(i.animationLink===""&&isEqual(i.animationData,{}))throw new Error("You must provide either animationLink or animationData");const B=setInterval(()=>{if(a(R)){clearInterval(B);const _=document.querySelector(`[data-id="${R}" ]`);_&&l(_)}},0)};return onMounted(async()=>{s.value=I(20),M(s.value)}),{elementid:s,hoverEnded:d,hoverStarted:u,getCurrentStyle:c,play:g,pause:m,stop:y,destroy:b,setSpeed:A,setDirection:S,goToAndStop:E,goToAndPlay:x,playSegments:P,setSubFrame:C,getDuration:T,updateDocumentData:k}}}),_hoisted_1=["data-id"];function _sfc_render(i,e,r,s,o,a){return openBlock(),createElementBlock("div",{"data-id":i.elementid,class:"lottie-animation-container",style:normalizeStyle(i.getCurrentStyle),onMouseenter:e[0]||(e[0]=(...l)=>i.hoverStarted&&i.hoverStarted(...l)),onMouseleave:e[1]||(e[1]=(...l)=>i.hoverEnded&&i.hoverEnded(...l))},null,44,_hoisted_1)}var Vue3Lottie=_export_sfc(_sfc_main,[["render",_sfc_render]]);const v="5.8.1",fr=60,ip=0,op=65,w=300,h=180,nm="学生端下拉刷新动画js",ddd=0,assets=[{id:"comp_0",nm:"小黄",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"Fill 163",parent:3,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[35.447,31.957,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:0,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:15,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:27,s:[100,0,100]},{t:39,s:[100,100,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,1.5],[0,0],[-1.5,0],[0,0],[0,-1.5],[0,0],[1.5,0]],o:[[0,0],[-1.5,0],[0,0],[0,-1.5],[0,0],[1.5,0],[0,0],[0,1.5],[0,0]],v:[[.005,3.911],[.005,3.911],[-2.715,1.191],[-2.715,-1.189],[.005,-3.909],[.005,-3.909],[2.715,-1.189],[2.715,1.191],[.005,3.911]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.176470592618,.176470592618,.176470592618,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 163",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Fill 161",parent:3,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[12.424,31.957,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:0,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:15,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:27,s:[100,0,100]},{t:39,s:[100,100,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,1.5],[0,0],[-1.5,0],[0,-1.5],[0,0],[1.5,0]],o:[[0,0],[-1.5,0],[0,0],[0,-1.5],[1.5,0],[0,0],[0,1.5],[0,0]],v:[[.005,3.911],[.005,3.911],[-2.715,1.191],[-2.715,-1.189],[.005,-3.909],[2.715,-1.189],[2.715,1.191],[.005,3.911]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.176470592618,.176470592618,.176470592618,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 161",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:3,ty:0,nm:"头部",parent:8,refId:"comp_1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.338,-43.104,0],ix:2,l:2},a:{a:0,k:[37,32.5,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,w:74,h:65,ip:0,op:300,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"头羽毛",parent:3,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:-.199,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:31,s:[11]},{t:59.80078125,s:[0]}],ix:10},p:{a:0,k:[37.277,1.784,0],ix:2,l:2},a:{a:0,k:[-.092,7.609,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-1.39,2.17],[-3.16,-3.82],[-3.08,.03],[2.22,-6.55],[-1.37,-1.98],[7.21,-2.85]],o:[[-7.09,-3.01],[1.4,-2.17],[-1.64,-6.83],[3.17,-.03],[2.54,-3.82],[1.41,2.05],[0,0]],v:[[-.092,7.609],[-8.622,-.181],[-1.732,1.729],[.368,-7.611],[1.748,1.779],[8.618,-.261],[-.092,7.609]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.745098054409,.160784319043,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 109",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"右翅膀",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[1]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:26.4,s:[-10]},{t:50.400390625,s:[1]}],ix:10},p:{a:0,k:[17.229,-14.066,0],ix:2,l:2},a:{a:0,k:[-5.048,-8.534,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-2.87,-5.57],[.18,5.37],[1.8,3.44],[1.79,1.96],[3.27,-1.84]],o:[[-3.61,2.74],[4.32,8.34],[1.77,.4],[3.18,.23],[-4.49,-4.8],[0,0]],v:[[-5.048,-8.534],[-5.428,3.156],[2.712,5.706],[5.312,.266],[6.282,-5.354],[-5.048,-8.534]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.75686275959,.321568638086,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 107",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"形状结合",parent:5,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[5.711,4.732,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-2.51,-2.48],[1.27,3.11],[4.36,4.67],[-.29,-4.24]],o:[[1.42,3.52],[3.77,3.72],[-1.28,-3.1],[-2.91,-3.11],[0,0]],v:[[-8.848,-.848],[-2.949,8.152],[3.032,8.032],[-4.918,-2.528],[-8.848,-.848]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[-2.78,-2.18],[1.62,2.94],[4.86,4.16],[-1.64,-4.02]],o:[[1.8,3.34],[4.15,3.29],[-1.61,-2.95],[-3.23,-2.77],[0,0]],v:[[-5.232,-2.974],[1.638,5.306],[7.558,4.536],[-1.522,-5.084],[-5.232,-2.974]],c:!1},ix:2},nm:"路径 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[-2.58,-1.57],[1.63,2.52],[4.54,3.06],[-1,-3.89]],o:[[1.83,2.87],[3.86,2.35],[-1.64,-2.53],[-3.02,-2.04],[0,0]],v:[[-3.263,-6.834],[3.357,-.184],[8.417,-2.114],[-.223,-9.614],[-3.263,-6.834]],c:!1},ix:2},nm:"路径 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"mm",mm:2,nm:"合并路径 1",mn:"ADBE Vector Filter - Merge",hd:!1},{ty:"fl",c:{a:0,k:[1,.92549020052,.898039221764,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"形状结合",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"Fill 99",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-3.075,-1.695,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.02,-8.65],[-9.2,-.39],[-.09,8],[0,0]],o:[[0,0],[-.02,7.04],[9.72,.41],[.14,-11.94],[0,0]],v:[[-9.309,-15.965],[-14.879,3.545],[-1.669,16.125],[14.871,2.275],[11.671,-16.145]],c:!0},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.898039221764,.858823537827,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 99",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"肚子",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:0,s:[71.995,138.87,0],to:[0,-.5,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:16.801,s:[71.995,135.87,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:36,s:[71.995,138.87,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:55.199,s:[71.995,135.87,0],to:[0,0,0],ti:[0,-.5,0]},{t:65,s:[71.995,138.87,0]}],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.26,-14.06],[-14.89,.67],[.66,9.37],[0,0]],o:[[0,0],[.06,9.23],[20,-.71],[-.81,-11.27],[0,0]],v:[[-13.634,-19.31],[-21.074,3.44],[-.104,19.27],[20.966,-2.47],[13.356,-19.31]],c:!0},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.717647075653,.152941182256,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 97",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:9,ty:4,nm:"左翅膀",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[1]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:26.4,s:[16]},{t:50.400390625,s:[1]}],ix:10},p:{a:0,k:[-15.107,-14.92,0],ix:2,l:2},a:{a:0,k:[6.126,-6.656,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[4.17,-4.67],[-4.95,2.09],[-2.57,2.92],[-1.19,2.38],[2.89,2.39]],o:[[-3.85,-2.4],[-6.25,7.01],[.26,1.8],[.93,3.06],[2.87,-5.91],[0,0]],v:[[6.126,-6.656],[-4.924,-2.836],[-4.395,5.674],[1.615,6.154],[7.215,5.054],[6.126,-6.656]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.75686275959,.321568638086,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 93",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:10,ty:4,nm:"形状结合",parent:9,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-2.632,8.245,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[1.42,-3.23],[-2.44,2.3],[-2.8,5.74],[3.85,-1.78]],o:[[-2.78,2.59],[-2.13,4.85],[2.44,-2.3],[1.87,-3.83],[0,0]],v:[[-2.154,-8.684],[-8.444,.046],[-6.204,5.586],[.816,-5.614],[-2.154,-8.684]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[1.05,-3.37],[-2.17,2.56],[-2.14,6.02],[3.16,-2.97]],o:[[-2.47,2.88],[-1.58,5.05],[2.18,-2.56],[1.44,-4.02],[0,0]],v:[[1.125,-6.068],[-4.155,3.312],[-1.315,8.562],[4.415,-3.348],[1.125,-6.068]],c:!1},ix:2},nm:"路径 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[.54,-2.96],[-1.78,2.43],[-1.23,5.33],[3.28,-2.32]],o:[[-2.02,2.74],[-.81,4.45],[1.77,-2.43],[.82,-3.55],[0,0]],v:[[5.43,-5.614],[1.59,2.946],[5.21,6.986],[9.12,-3.764],[5.43,-5.614]],c:!1},ix:2},nm:"路径 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"mm",mm:2,nm:"合并路径 1",mn:"ADBE Vector Filter - Merge",hd:!1},{ty:"fl",c:{a:0,k:[1,.92549020052,.898039221764,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"形状结合",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:11,ty:4,nm:"Fill 83",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[46]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25,s:[10.368]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:46,s:[0]},{t:65,s:[46]}],ix:10},p:{a:0,k:[-9.466,17.022,0],ix:2,l:2},a:{a:0,k:[.763,-6.235,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-.47,-2.82],[0,0],[1.15,-.73],[0,0],[.16,-.22],[0,0],[-.55,-.39],[0,0],[-.4,.27],[0,0],[.09,-.29],[0,0],[-.65,-.19],[0,0],[-.2,.64],[0,0],[0,0],[-.18,.22],[0,0],[-1.12,-.42],[0,0],[-.04,-.01],[0,0],[-.37,-.22],[0,0],[-.35,.14],[0,0],[0,0],[0,0],[-.41,-.04],[0,0],[-.16,-.09],[0,0],[0,0],[-.3,.54],[0,0],[.59,.32],[0,0],[.58,.05],[0,0],[0,0],[.44,-.09],[0,0],[0,0],[0,0],[0,0],[0,0],[.06,.18],[0,0],[-.23,2.06],[0,0],[.67,.07],[0,0],[0,0],[.14,-.6]],o:[[-.36,1.52],[0,0],[-1.92,-.73],[0,0],[-.38,.24],[0,0],[-.39,.55],[0,0],[.42,.3],[0,0],[-.24,.38],[0,0],[-.19,.65],[0,0],[.64,.19],[0,0],[0,0],[.06,-.15],[0,0],[.49,-.62],[0,0],[.04,.02],[0,0],[.3,.12],[0,0],[.33,.19],[0,0],[0,0],[0,0],[.48,-.12],[0,0],[.25,.02],[0,0],[0,0],[.56,.21],[0,0],[.33,-.59],[0,0],[-.49,-.27],[0,0],[0,0],[-.44,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-.06,-.09],[0,0],[-.86,-2.52],[0,0],[.07,-.67],[0,0],[0,0],[-.59,.02],[0,0]],v:[[-.587,-5.155],[-.847,1.125],[-.847,1.125],[-5.467,1.215],[-5.467,1.215],[-6.257,1.925],[-6.257,1.925],[-5.957,3.625],[-5.957,3.625],[-4.577,3.645],[-4.577,3.645],[-5.057,4.675],[-5.057,4.675],[-4.227,6.195],[-4.227,6.195],[-2.707,5.375],[-2.707,5.375],[-2.677,5.275],[-2.327,4.695],[-2.327,4.695],[-.037,4.255],[-.037,4.255],[.093,4.305],[.093,4.305],[1.093,4.815],[1.093,4.815],[2.183,4.895],[2.183,4.895],[2.363,4.825],[2.663,4.735],[4.033,4.585],[4.033,4.585],[4.663,4.755],[4.663,4.755],[4.823,4.825],[6.323,4.275],[6.323,4.275],[5.843,2.615],[5.843,2.615],[4.233,2.145],[4.233,2.145],[3.793,2.125],[2.473,2.275],[2.473,2.275],[2.313,2.305],[2.243,2.255],[2.223,2.235],[2.143,2.125],[1.923,1.745],[1.923,1.745],[1.843,-4.895],[1.843,-4.895],[.763,-6.235],[.763,-6.235],[.573,-6.245],[-.587,-5.155]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921580315,.192156866193,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 83",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:12,ty:4,nm:"Fill 81",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[-15]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:19.199,s:[-20]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:38.4,s:[16]},{t:65,s:[-15]}],ix:10},p:{a:0,k:[7.939,16.923,0],ix:2,l:2},a:{a:0,k:[-.223,-6.41,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.09,-.6],[0,0],[-.7,-2.78],[0,0],[1.09,-.82],[0,0],[.13,-.23],[0,0],[-.59,-.34],[0,0],[-.37,.31],[0,0],[.06,-.3],[0,0],[-.66,-.14],[0,0],[-.14,.67],[0,0],[0,0],[-.15,.23],[0,0],[-1.15,-.33],[0,0],[-.04,0],[0,0],[-.38,-.18],[0,0],[-.34,.18],[0,0],[0,0],[0,0],[-.41,0],[0,0],[-.18,-.08],[0,0],[0,0],[-.25,.56],[0,0],[.62,.27],[0,0],[.58,0],[0,0],[0,0],[.43,-.13],[0,0],[0,0],[0,0],[0,0],[0,0],[.07,.17],[0,0],[-.05,2.07],[0,0],[.67,.02],[0,0]],o:[[-.6,.07],[0,0],[-.23,1.55],[0,0],[-1.97,-.57],[0,0],[-.35,.26],[0,0],[-.34,.58],[0,0],[.45,.27],[0,0],[-.2,.4],[0,0],[-.14,.66],[0,0],[.66,.13],[0,0],[0,0],[.04,-.16],[0,0],[.45,-.66],[0,0],[.05,.01],[0,0],[.31,.1],[0,0],[.35,.17],[0,0],[0,0],[0,0],[.47,-.16],[0,0],[.26,0],[0,0],[0,0],[.57,.16],[0,0],[.27,-.62],[0,0],[-.51,-.23],[0,0],[0,0],[-.44,.04],[0,0],[0,0],[0,0],[0,0],[0,0],[-.07,-.08],[0,0],[-1.07,-2.45],[0,0],[.02,-.68],[0,0],[0,0]],v:[[-.223,-6.41],[-1.293,-5.23],[-1.293,-5.23],[-1.023,1.06],[-1.023,1.06],[-5.613,1.54],[-5.613,1.54],[-6.333,2.31],[-6.333,2.31],[-5.893,3.98],[-5.893,3.98],[-4.523,3.88],[-4.523,3.88],[-4.903,4.95],[-4.903,4.95],[-3.953,6.4],[-3.953,6.4],[-2.513,5.44],[-2.513,5.44],[-2.483,5.35],[-2.193,4.74],[-2.193,4.74],[.057,4.11],[.057,4.11],[.187,4.14],[.187,4.14],[1.227,4.56],[1.227,4.56],[2.327,4.55],[2.327,4.55],[2.497,4.47],[2.787,4.35],[4.137,4.08],[4.137,4.08],[4.787,4.2],[4.787,4.2],[4.957,4.26],[6.397,3.58],[6.397,3.58],[5.777,1.97],[5.777,1.97],[4.137,1.64],[4.137,1.64],[3.697,1.66],[2.387,1.91],[2.387,1.91],[2.227,1.97],[2.157,1.92],[2.137,1.9],[2.047,1.79],[1.797,1.44],[1.797,1.44],[1.147,-5.17],[1.147,-5.17],[-.043,-6.42],[-.043,-6.42]],c:!0},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921580315,.192156866193,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 81",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:13,ty:4,nm:"尾巴",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[11.249,15.285,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-1.19,-1.63],[.15,1.97],[1.41,1.26],[0,0]],o:[[0,0],[1.01,1.39],[-.11,-1.37],[-1.41,-1.26],[0,0]],v:[[-3.951,-2.776],[-2.741,5.714],[.809,4.474],[-2.721,-5.416],[-3.951,-2.776]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[-.74,-1.88],[-.33,1.95],[1.06,1.57],[0,0]],o:[[0,0],[.63,1.59],[.24,-1.35],[-1.05,-1.57],[0,0]],v:[[-6.205,-2.433],[-7.135,6.097],[-3.395,5.767],[-4.355,-4.683],[-6.205,-2.433]],c:!1},ix:2},nm:"路径 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[-.12,-2.01],[-.93,1.74],[.52,1.81],[0,0]],o:[[0,0],[.11,1.71],[.63,-1.21],[-.52,-1.82],[0,0]],v:[[-8.228,-2.433],[-11.748,5.387],[-8.078,6.237],[-5.778,-4.003],[-8.228,-2.433]],c:!1},ix:2},nm:"路径 3",mn:"ADBE Vector Shape - Group",hd:!1},{ind:3,ty:"sh",ix:4,ks:{a:0,k:{i:[[0,0],[-.16,-2.02],[1.16,1.6],[-.25,1.88],[0,0]],o:[[0,0],[.13,1.71],[-.8,-1.11],[.26,-1.87],[0,0]],v:[[.284,-4.339],[4.884,2.911],[1.374,4.261],[-2.366,-5.549],[.284,-4.339]],c:!1},ix:2},nm:"路径 4",mn:"ADBE Vector Shape - Group",hd:!1},{ind:4,ty:"sh",ix:5,ks:{a:0,k:{i:[[0,0],[-.64,-1.92],[1.51,1.27],[.2,1.88],[0,0]],o:[[0,0],[.54,1.63],[-1.05,-.88],[-.2,-1.88],[0,0]],v:[[2.266,-5.531],[8.466,.399],[5.396,2.559],[-.594,-6.061],[2.266,-5.531]],c:!1},ix:2},nm:"路径 5",mn:"ADBE Vector Shape - Group",hd:!1},{ind:5,ty:"sh",ix:6,ks:{a:0,k:{i:[[0,0],[-1.23,-1.59],[1.85,.7],[.81,1.71],[0,0]],o:[[0,0],[1.06,1.36],[-1.28,-.48],[-.82,-1.7],[0,0]],v:[[3.56,-6.811],[11.38,-3.291],[9.2,-.231],[.69,-6.371],[3.56,-6.811]],c:!1},ix:2},nm:"路径 6",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"mm",mm:2,nm:"合并路径 1",mn:"ADBE Vector Filter - Merge",hd:!1},{ty:"fl",c:{a:0,k:[1,.807843148708,.46274510026,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"尾巴",np:8,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0}]},{id:"comp_1",nm:"▽ 编组 7",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"Fill 125",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[23.155,38.641,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.51,0],[0,.61],[-.51,0],[0,-.61]],o:[[-.51,0],[0,-.61],[.51,0],[0,.61]],v:[[.001,1.103],[-.919,.003],[.001,-1.107],[.921,.003]],c:!0},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.737254917622,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:-36,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 125",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Fill 121",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[21.032,42.372,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[3.82,-.22],[.08,-2.52],[-1.16,-1.28],[-1.57,-.26],[-1.95,.97],[-.8,.96],[.56,1.67]],o:[[-.77,-2.27],[-3.67,.21],[-.06,1.78],[1.09,1.22],[2.27,.37],[1.33,-.65],[.93,-1.13],[0,0]],v:[[6.429,-1.819],[-.281,-7.229],[-7.221,1.001],[-5.511,3.781],[-3.011,7.201],[2.659,4.151],[6.769,3.371],[6.429,-1.819]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921580315,.192156866193,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 121",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Fill 119",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[19.803,46.927,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[2.93,.43],[0,0],[-4.18,-4.77]],o:[[.72,.82],[-2.93,-.43],[0,0],[0,0]],v:[[4.781,-1.938],[-.789,4.142],[-4.879,-2.338],[4.781,-1.938]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.807843148708,.376470595598,.023529412225,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 119",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Fill 117",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[20.882,47.257,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[5.05,.07],[0,0],[-7.02,-7.73]],o:[[.72,.82],[-3.99,-.06],[0,0],[0,0]],v:[[6.421,-2.698],[-1.249,6.292],[-6.519,-3.268],[6.421,-2.698]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.674509823322,.20000000298,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 117",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"▨ Fill 148",parent:11,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[7.71,-4.11],[1.27,-7.25],[1.18,-4.83],[-15.84,-4.13],[-17.22,5.66],[3.23,10.85],[20.38,.9]],o:[[0,0],[-7.77,4.14],[-1.83,10.49],[-1.18,4.83],[12.33,3.22],[15.46,-5.08],[-4.06,-13.59],[0,0]],v:[[1.162,-31.978],[-17.888,-28.848],[-31.888,-11.198],[-33.988,5.532],[-21.048,29.842],[21.852,27.552],[32.612,-6.638],[1.162,-31.978]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.717647075653,.152941182256,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 111",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"Fill 147",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[42.06,41.577,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.76,5.26],[-5.32,.75],[-.76,-5.26],[5.32,-.75]],o:[[-5.32,.76],[-.76,-5.25],[5.32,-.76],[.76,5.26],[0,0]],v:[[1.381,9.514],[-9.629,1.364],[-1.379,-9.516],[9.631,-1.366],[1.381,9.514]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.807843148708,.780392169952,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 147",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"▨ Fill 116",parent:11,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[7.71,-4.11],[1.27,-7.25],[1.18,-4.83],[-15.84,-4.13],[-17.22,5.66],[3.23,10.85],[20.38,.9]],o:[[0,0],[-7.77,4.14],[-1.83,10.49],[-1.18,4.83],[12.33,3.22],[15.46,-5.08],[-4.06,-13.59],[0,0]],v:[[1.162,-31.978],[-17.888,-28.848],[-31.888,-11.198],[-33.988,5.532],[-21.048,29.842],[21.852,27.552],[32.612,-6.638],[1.162,-31.978]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.717647075653,.152941182256,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 111",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"Fill 115",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[8.369,41.133,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.65,4.52],[-4.57,.65],[-.65,-4.53],[4.57,-.65]],o:[[-4.58,.65],[-.66,-4.52],[4.57,-.64],[.66,4.52],[0,0]],v:[[1.191,8.189],[-8.279,1.179],[-1.189,-8.191],[8.281,-1.171],[1.191,8.189]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.807843148708,.780392169952,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 115",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:9,ty:4,nm:"▨ Fill 114",parent:11,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[7.71,-4.11],[1.27,-7.25],[1.18,-4.83],[-15.84,-4.13],[-17.22,5.66],[3.23,10.85],[20.38,.9]],o:[[0,0],[-7.77,4.14],[-1.83,10.49],[-1.18,4.83],[12.33,3.22],[15.46,-5.08],[-4.06,-13.59],[0,0]],v:[[1.162,-31.978],[-17.888,-28.848],[-31.888,-11.198],[-33.988,5.532],[-21.048,29.842],[21.852,27.552],[32.612,-6.638],[1.162,-31.978]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.717647075653,.152941182256,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 111",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:10,ty:4,nm:"Fill 113",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[32.823,39.921,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[1.55,-6.35],[-8.47,-5.25],[-8.32,0],[6.7,11.5],[1.85,4.61],[3.3,-10.47],[0,0],[0,0],[13.67,-3.02]],o:[[-6.71,1.48],[-1.19,4.91],[10,6.19],[18.45,0],[-4.72,-8.11],[-4.97,-12.41],[-2.48,7.85],[0,0],[0,0],[0,0]],v:[[-23.945,-21.089],[-28.755,-3.229],[-22.225,19.261],[8.855,24.701],[26.865,-1.169],[21.355,-15.309],[-6.775,-16.969],[-7.985,-2.029],[-15.015,-1.339],[-23.945,-21.089]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.952941179276,.909803926945,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 113",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:11,ty:4,nm:"Fill 111",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[39.052,32.078,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[7.71,-4.11],[1.27,-7.25],[1.18,-4.83],[-15.84,-4.13],[-17.22,5.66],[3.23,10.85],[20.38,.9]],o:[[0,0],[-7.77,4.14],[-1.83,10.49],[-1.18,4.83],[12.33,3.22],[15.46,-5.08],[-4.06,-13.59],[0,0]],v:[[1.162,-31.978],[-17.888,-28.848],[-31.888,-11.198],[-33.988,5.532],[-21.048,29.842],[21.852,27.552],[32.612,-6.638],[1.162,-31.978]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.717647075653,.152941182256,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 111",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0}]},{id:"comp_2",nm:"小蓝",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"Fill 167",parent:3,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[39.7,29.4,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:0,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:15,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:27,s:[100,0,100]},{t:39,s:[100,100,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,1.5],[0,0],[-1.5,0],[0,0],[0,-1.5],[0,0],[1.5,0]],o:[[0,0],[-1.5,0],[0,0],[0,-1.5],[0,0],[1.5,0],[0,0],[0,1.5],[0,0]],v:[[.005,3.911],[.005,3.911],[-2.715,1.191],[-2.715,-1.189],[.005,-3.909],[.005,-3.909],[2.715,-1.189],[2.715,1.191],[.005,3.911]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.176470592618,.176470592618,.176470592618,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 167",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Fill 165",parent:3,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[16.858,29.368,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:0,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:15,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:27,s:[100,0,100]},{t:39,s:[100,100,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,1.5],[0,0],[-1.5,0],[0,-1.5],[0,0],[1.5,0]],o:[[0,0],[-1.5,0],[0,0],[0,-1.5],[1.5,0],[0,0],[0,1.5],[0,0]],v:[[.005,3.911],[.005,3.911],[-2.715,1.191],[-2.715,-1.189],[.005,-3.909],[2.715,-1.189],[2.715,1.191],[.005,3.911]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.176470592618,.176470592618,.176470592618,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 165",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:3,ty:0,nm:"▽ 小蓝头部",parent:7,refId:"comp_3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-4.994,-9.401,0],ix:2,l:2},a:{a:0,k:[37.596,59.391,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,w:76,h:59,ip:0,op:300,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"右边翅膀",parent:7,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[1]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:26.4,s:[-10]},{t:50.400390625,s:[1]}],ix:10},p:{a:0,k:[12.654,-12.713,0],ix:2,l:2},a:{a:0,k:[-4.95,-6.93,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-2.64,-4.57],[.12,4.07],[1.07,2.64],[1.65,1.84],[3.44,-1.85]],o:[[-2.25,1.46],[4.22,7.33],[1.66,.52],[1.87,.66],[-4.14,-4.51],[0,0]],v:[[-4.95,-6.93],[-5.72,2.31],[2.81,4.85],[5.31,1.03],[6.35,-3.57],[-4.95,-6.93]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.145098045468,.792156875134,.898039221764,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 73",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"形状结合",parent:4,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[5.137,4.215,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-2.53,-2.13],[1.38,2.63],[4.4,4.01],[-.5,-3.54]],o:[[1.55,2.97],[3.78,3.2],[-1.38,-2.62],[-2.94,-2.67],[0,0]],v:[[-8.245,-.565],[-2.135,7.095],[3.545,7.145],[-4.595,-1.875],[-8.245,-.565]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[-2.57,-2.09],[1.43,2.6],[4.47,3.93],[-1.4,-3.32]],o:[[1.6,2.94],[3.84,3.13],[-1.43,-2.6],[-2.99,-2.61],[0,0]],v:[[-4.881,-3.567],[1.369,3.983],[7.049,3.923],[-1.251,-4.947],[-4.881,-3.567]],c:!1},ix:2},nm:"路径 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[-2.42,-1.57],[1.51,2.28],[4.25,3.03],[-1.41,-2.43]],o:[[1.69,2.59],[3.62,2.36],[-1.51,-2.28],[-2.83,-2.01],[0,0]],v:[[-3.061,-6.381],[3.109,-.141],[7.929,-1.241],[-.141,-8.401],[-3.061,-6.381]],c:!1},ix:2},nm:"路径 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"mm",mm:2,nm:"合并路径 1",mn:"ADBE Vector Filter - Merge",hd:!1},{ty:"fl",c:{a:0,k:[.843137264252,.952941179276,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"形状结合",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"Fill 75",parent:7,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-4.995,-1.082,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-.07,-8.19],[-8.55,.08],[.35,7.42],[0,0]],o:[[0,0],[.06,6.52],[9.97,-.09],[-.31,-6.57],[0,0]],v:[[-7.214,-13.7],[-12.364,2.76],[.016,13.7],[12.336,-.01],[7.106,-13.7]],c:!0},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.956862747669,.984313726425,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 75",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"肚子",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:0,s:[71.995,138.87,0],to:[0,-.5,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:16.801,s:[71.995,135.87,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:36,s:[71.995,138.87,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:55.199,s:[71.995,135.87,0],to:[0,0,0],ti:[0,-.5,0]},{t:65,s:[71.995,138.87,0]}],ix:2,l:2},a:{a:0,k:[26.02,25.692,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,-13.37],[-14.47,.86],[.47,8.7],[0,0]],o:[[0,0],[.06,8.57],[15.88,-.56],[-.56,-10.44],[0,0]],v:[[-13.451,-17.975],[-19.531,3.595],[.709,17.895],[19.489,-.375],[14.009,-17.975]],c:!0},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.039215687662,.717647075653,.882352948189,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 65",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"Fill 63",parent:3,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[-7]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:31,s:[11]},{t:60,s:[-7]}],ix:10},p:{a:0,k:[37.667,2.395,0],ix:2,l:2},a:{a:0,k:[-3.85,6.385,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-1.81,-.93],[0,0],[-.95,1.84],[0,0],[1.81,.93],[0,0],[.56,0],[0,0],[.67,-1.3]],o:[[-.94,1.85],[0,0],[1.81,.93],[0,0],[.95,-1.84],[0,0],[-.53,-.27],[0,0],[-1.36,0],[0,0]],v:[[-2.45,-4.424],[-3.85,6.385],[-3.85,6.385],[4.11,-1.055],[4.11,-1.055],[2.54,-6.075],[2.54,-6.075],[.89,-6.475],[.89,-6.475],[-2.45,-4.424]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.145098045468,.792156875134,.898039221764,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 63",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:9,ty:4,nm:"Fill 59",parent:7,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[-7]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:31.199,s:[4]},{t:60,s:[-7]}],ix:10},p:{a:0,k:[12.646,9.967,0],ix:2,l:2},a:{a:0,k:[-4.135,-3.705,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[3.43,1.89],[1.26,.02],[0,0],[-1.43,-2.65],[-.59,.43],[0,0],[-.98,.96],[0,0]],o:[[3.36,1.78],[-1.65,-.92],[-1.35,-.02],[-.52,.85],[1.32,2.44],[.83,-.6],[0,0],[1.2,-1.18],[0,0]],v:[[2.335,.155],[1.985,-3.185],[-1.995,-4.615],[-4.135,-3.705],[-3.825,1.175],[.895,4.535],[.735,2.505],[4.375,3.815],[2.335,.155]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.145098045468,.792156875134,.898039221764,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 59",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:10,ty:4,nm:"左边翅膀",parent:7,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[1]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:26.4,s:[16]},{t:50.400390625,s:[1]}],ix:10},p:{a:0,k:[-14.451,-11.229,0],ix:2,l:2},a:{a:0,k:[4.486,-5.785,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[3.14,-3.7],[-3.49,1.36],[-1.95,1.73],[-1.09,2],[2.67,2.4]],o:[[-1.95,-1.5],[-5.04,5.91],[.05,1.6],[.01,1.82],[2.62,-4.98],[0,0]],v:[[4.486,-5.785],[-3.744,-3.605],[-3.304,4.555],[.766,5.545],[5.076,5.025],[4.486,-5.785]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.145098045468,.792156875134,.898039221764,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 55",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:11,ty:4,nm:"形状结合",parent:10,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-2.062,6.371,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[1.06,-2.84],[-1.85,2],[-2.11,5.05],[2.91,-1.53]],o:[[-2.09,2.25],[-1.61,4.27],[1.84,-2.01],[1.41,-3.36],[0,0]],v:[[-2.037,-7.299],[-6.777,.341],[-5.067,5.281],[.223,-4.549],[-2.037,-7.299]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[1.01,-2.86],[-1.81,2.04],[-2.02,5.09],[2.44,-2.24]],o:[[-2.05,2.29],[-1.53,4.29],[1.8,-2.04],[1.34,-3.39],[0,0]],v:[[1.605,-5.313],[-2.995,2.417],[-1.195,7.317],[3.915,-2.603],[1.605,-5.313]],c:!1},ix:2},nm:"路径 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[.61,-2.58],[-1.51,2.01],[-1.3,4.61],[1.66,-1.97]],o:[[-1.72,2.27],[-.93,3.86],[1.51,-2.01],[.87,-3.07],[0,0]],v:[[4.603,-4.617],[1.103,2.653],[3.543,6.483],[7.243,-2.707],[4.603,-4.617]],c:!1},ix:2},nm:"路径 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"mm",mm:2,nm:"合并路径 1",mn:"ADBE Vector Filter - Merge",hd:!1},{ty:"fl",c:{a:0,k:[.843137264252,.952941179276,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"形状结合",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:12,ty:4,nm:"Fill 7",parent:7,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[46]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25,s:[10.368]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:46,s:[0]},{t:65,s:[46]}],ix:10},p:{a:0,k:[-8.409,14.143,0],ix:2,l:2},a:{a:0,k:[.573,-6.245,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-.47,-2.82],[0,0],[1.15,-.73],[0,0],[.16,-.22],[0,0],[-.55,-.39],[0,0],[-.4,.27],[0,0],[.09,-.29],[0,0],[-.65,-.19],[0,0],[-.2,.64],[0,0],[0,0],[-.17,.22],[0,0],[-1.12,-.42],[0,0],[-.04,-.01],[0,0],[-.37,-.22],[0,0],[-.35,.14],[0,0],[0,0],[0,0],[-.41,-.04],[0,0],[-.16,-.09],[0,0],[0,0],[-.3,.54],[0,0],[.59,.32],[0,0],[.58,.05],[0,0],[0,0],[.44,-.09],[0,0],[0,0],[0,0],[0,0],[0,0],[.06,.18],[0,0],[-.23,2.06],[0,0],[.67,.07],[0,0],[0,0],[.14,-.6]],o:[[-.36,1.52],[0,0],[-1.92,-.73],[0,0],[-.38,.24],[0,0],[-.39,.55],[0,0],[.42,.3],[0,0],[-.24,.38],[0,0],[-.19,.65],[0,0],[.64,.19],[0,0],[0,0],[.06,-.15],[0,0],[.5,-.62],[0,0],[.04,.02],[0,0],[.3,.12],[0,0],[.33,.19],[0,0],[0,0],[0,0],[.48,-.12],[0,0],[.25,.02],[0,0],[0,0],[.56,.21],[0,0],[.33,-.59],[0,0],[-.49,-.27],[0,0],[0,0],[-.44,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-.06,-.09],[0,0],[-.86,-2.52],[0,0],[.07,-.67],[0,0],[0,0],[-.59,.02],[0,0]],v:[[-.587,-5.155],[-.847,1.125],[-.847,1.125],[-5.467,1.215],[-5.467,1.215],[-6.257,1.925],[-6.257,1.925],[-5.957,3.625],[-5.957,3.625],[-4.577,3.645],[-4.577,3.645],[-5.057,4.675],[-5.057,4.675],[-4.227,6.195],[-4.227,6.195],[-2.707,5.375],[-2.707,5.375],[-2.677,5.275],[-2.337,4.695],[-2.337,4.695],[-.037,4.255],[-.037,4.255],[.093,4.305],[.093,4.305],[1.093,4.815],[1.093,4.815],[2.183,4.895],[2.183,4.895],[2.363,4.825],[2.663,4.735],[4.033,4.585],[4.033,4.585],[4.663,4.755],[4.663,4.755],[4.823,4.825],[6.323,4.275],[6.323,4.275],[5.843,2.615],[5.843,2.615],[4.233,2.145],[4.233,2.145],[3.793,2.125],[2.473,2.275],[2.473,2.275],[2.313,2.305],[2.243,2.255],[2.223,2.235],[2.143,2.125],[1.923,1.745],[1.923,1.745],[1.843,-4.895],[1.843,-4.895],[.763,-6.235],[.763,-6.235],[.573,-6.245],[-.587,-5.155]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921580315,.192156866193,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 7",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:13,ty:4,nm:"Fill 5",parent:7,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[-15]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:19.199,s:[-20]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:38.4,s:[16]},{t:65,s:[-15]}],ix:10},p:{a:0,k:[7.582,13.805,0],ix:2,l:2},a:{a:0,k:[-.223,-6.41,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.09,-.6],[0,0],[-.7,-2.78],[0,0],[1.09,-.82],[0,0],[.13,-.23],[0,0],[-.58,-.34],[0,0],[-.37,.31],[0,0],[.06,-.3],[0,0],[-.66,-.13],[0,0],[-.08,0],[0,0],[0,0],[-.12,.58],[0,0],[0,0],[-.15,.23],[0,0],[-1.15,-.33],[0,0],[-.04,-.01],[0,0],[-.38,-.18],[0,0],[-.35,.17],[0,0],[0,0],[0,0],[-.41,0],[0,0],[-.17,-.08],[0,0],[0,0],[-.25,.56],[0,0],[.62,.27],[0,0],[.58,0],[0,0],[0,0],[.43,-.13],[0,0],[0,0],[0,0],[0,0],[0,0],[.07,.17],[0,0],[-.05,2.07],[0,0],[.67,.02],[0,0]],o:[[-.6,.07],[0,0],[-.23,1.55],[0,0],[-1.97,-.57],[0,0],[-.35,.26],[0,0],[-.34,.58],[0,0],[.46,.27],[0,0],[-.2,.4],[0,0],[-.14,.66],[0,0],[.08,.02],[0,0],[0,0],[.57,0],[0,0],[0,0],[.04,-.15],[0,0],[.44,-.67],[0,0],[.05,.01],[0,0],[.31,.1],[0,0],[.35,.17],[0,0],[0,0],[0,0],[.47,-.16],[0,0],[.26,0],[0,0],[0,0],[.58,.16],[0,0],[.27,-.62],[0,0],[-.51,-.23],[0,0],[0,0],[-.44,.03],[0,0],[0,0],[0,0],[0,0],[0,0],[-.07,-.08],[0,0],[-1.07,-2.45],[0,0],[.02,-.68],[0,0],[0,0]],v:[[-.223,-6.41],[-1.293,-5.23],[-1.293,-5.23],[-1.023,1.061],[-1.023,1.061],[-5.613,1.54],[-5.613,1.54],[-6.333,2.311],[-6.333,2.311],[-5.903,3.98],[-5.903,3.98],[-4.523,3.88],[-4.523,3.88],[-4.903,4.951],[-4.903,4.951],[-3.953,6.391],[-3.953,6.391],[-3.713,6.421],[-3.713,6.421],[-3.703,6.421],[-2.513,5.441],[-2.513,5.441],[-2.483,5.34],[-2.193,4.74],[-2.193,4.74],[.057,4.111],[.057,4.111],[.187,4.141],[.187,4.141],[1.227,4.561],[1.227,4.561],[2.327,4.551],[2.327,4.551],[2.497,4.471],[2.787,4.35],[4.137,4.081],[4.137,4.081],[4.777,4.201],[4.777,4.201],[4.947,4.26],[6.397,3.581],[6.397,3.581],[5.777,1.971],[5.777,1.971],[4.137,1.641],[4.137,1.641],[3.697,1.661],[2.387,1.911],[2.387,1.911],[2.227,1.96],[2.157,1.911],[2.137,1.9],[2.047,1.79],[1.797,1.441],[1.797,1.441],[1.147,-5.169],[1.147,-5.169],[-.043,-6.419],[-.043,-6.419]],c:!0},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921580315,.192156866193,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 5",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0}]},{id:"comp_3",nm:"▽ 小蓝头部",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"▨ Fill 154",parent:17,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[22.34,0],[0,-16.8],[-17.99,0],[0,24.43]],o:[[0,-16.79],[-23.2,0],[0,29.06],[17.98,0],[0,0]],v:[[32.839,1.127],[-.462,-29.693],[-32.842,1.167],[-.462,29.697],[32.839,1.127]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.074509806931,.772549033165,.886274516582,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 77",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Fill 153",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[40.578,37.269,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.3,.8],[-2.12,.11],[-.3,-.8],[2.12,-.11]],o:[[-2.11,.12],[-.3,-.8],[2.11,-.12],[.3,.8],[0,0]],v:[[.545,1.446],[-3.825,.206],[-.545,-1.444],[3.825,-.204],[.545,1.446]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.807843148708,.780392169952,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 153",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"▨ Fill 152",parent:17,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[22.34,0],[0,-16.8],[-17.99,0],[0,24.43]],o:[[0,-16.79],[-23.2,0],[0,29.06],[17.98,0],[0,0]],v:[[32.839,1.127],[-.462,-29.693],[-32.842,1.167],[-.462,29.697],[32.839,1.127]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.074509806931,.772549033165,.886274516582,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 77",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Fill 151",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[15.731,37.269,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.3,.8],[-2.12,.11],[-.3,-.8],[2.12,-.11]],o:[[-2.11,.12],[-.3,-.8],[2.11,-.12],[.3,.8],[0,0]],v:[[.545,1.446],[-3.825,.206],[-.545,-1.444],[3.825,-.204],[.545,1.446]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.807843148708,.780392169952,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 151",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:6,ty:3,nm:"▽ 嘴巴",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[27.449,37.126,0],ix:2,l:2},a:{a:0,k:[6.267,8.121,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,ip:0,op:300,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"Fill 145",parent:6,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[7.881,3.41,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.44,0],[0,.54],[-.44,0],[0,-.54]],o:[[0,.54],[-.44,0],[0,-.54],[.44,0],[0,0]],v:[[.793,.003],[.003,.973],[-.797,.003],[.003,-.977],[.793,.003]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.737254917622,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:-33,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 145",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"Fill 141",parent:6,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[6.267,6.386,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[3.32,-.19],[.07,-2.23],[-1,-1.14],[-1.37,-.23],[-1.69,.85],[-.7,.85],[.5,1.48]],o:[[-.66,-2],[-3.18,.18],[-.05,1.57],[.95,1.07],[1.97,.33],[1.16,-.58],[.81,-.99],[0,0]],v:[[5.573,-1.606],[-.247,-6.376],[-6.267,.884],[-4.787,3.344],[-2.607,6.354],[2.303,3.664],[5.873,2.974],[5.573,-1.606]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921580315,.192156866193,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 141",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:9,ty:4,nm:"Fill 139",parent:6,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[5.199,10.404,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[2.54,.37],[0,0],[-3.62,-4.21]],o:[[.63,.72],[-2.54,-.38],[0,0],[0,0]],v:[[4.146,-1.708],[-.684,3.662],[-4.234,-2.068],[4.146,-1.708]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.807843148708,.376470595598,.023529412225,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 139",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:10,ty:4,nm:"Fill 137",parent:6,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[6.137,10.695,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[4.38,.07],[0,0],[-6.09,-6.81]],o:[[.62,.73],[-3.46,-.05],[0,0],[0,0]],v:[[5.573,-2.387],[-1.087,5.543],[-5.657,-2.877],[5.573,-2.387]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.674509823322,.20000000298,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 137",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:11,ty:4,nm:"▨ Fill 96",parent:17,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[22.34,0],[0,-16.8],[-17.99,0],[0,24.43]],o:[[0,-16.79],[-23.2,0],[0,29.06],[17.98,0],[0,0]],v:[[32.839,1.127],[-.462,-29.693],[-32.842,1.167],[-.462,29.697],[32.839,1.127]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.074509806931,.772549033165,.886274516582,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 77",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:12,ty:4,nm:"Fill 95",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[27.286,30.354,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-3.67,.14],[-.93,-4.03],[4.38,-6.88]],o:[[0,0],[2.75,-.1],[0,0],[0,0]],v:[[-5.084,3.265],[.146,-3.265],[5.086,3.245],[-5.084,3.265]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,1,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 95",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:13,ty:4,nm:"▨ Fill 86",parent:17,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[22.34,0],[0,-16.8],[-17.99,0],[0,24.43]],o:[[0,-16.79],[-23.2,0],[0,29.06],[17.98,0],[0,0]],v:[[32.839,1.127],[-.462,-29.693],[-32.842,1.167],[-.462,29.697],[32.839,1.127]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.074509806931,.772549033165,.886274516582,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 77",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:14,ty:4,nm:"Fill 85",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[45.149,32.572,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[7.79,0],[0,9.1],[-7.79,0],[0,-9.1]],o:[[0,9.1],[-7.79,0],[0,-9.1],[7.79,0],[0,0]],v:[[14.111,.003],[.001,16.473],[-14.109,.003],[.001,-16.477],[14.111,.003]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.956862747669,.984313726425,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 85",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:15,ty:4,nm:"▨ Fill 80",parent:17,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[22.34,0],[0,-16.8],[-17.99,0],[0,24.43]],o:[[0,-16.79],[-23.2,0],[0,29.06],[17.98,0],[0,0]],v:[[32.839,1.127],[-.462,-29.693],[-32.842,1.167],[-.462,29.697],[32.839,1.127]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.074509806931,.772549033165,.886274516582,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 77",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:16,ty:4,nm:"Fill 79",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[12.009,31.87,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[6.63,0],[0,7.74],[-6.63,0],[0,-7.75]],o:[[0,7.74],[-6.63,0],[0,-7.75],[6.63,0],[0,0]],v:[[12.01,.005],[.001,14.025],[-12.01,.005],[.001,-14.025],[12.01,.005]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.956862747669,.984313726425,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 79",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:17,ty:4,nm:"Fill 77",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[42.898,29.693,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[22.34,0],[0,-16.8],[-17.99,0],[0,24.43]],o:[[0,-16.79],[-23.2,0],[0,29.06],[17.98,0],[0,0]],v:[[32.839,1.127],[-.462,-29.693],[-32.842,1.167],[-.462,29.697],[32.839,1.127]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.074509806931,.772549033165,.886274516582,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 77",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0}]},{id:"comp_4",nm:"小红",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"Fill 159",parent:3,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[38.004,30.016,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:0,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:15,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:27,s:[100,0,100]},{t:39,s:[100,100,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,1.5],[0,0],[-1.5,0],[0,0],[0,-1.5],[0,0],[1.5,0]],o:[[0,0],[-1.5,0],[0,0],[0,-1.5],[0,0],[1.5,0],[0,0],[0,1.5],[0,0]],v:[[-.005,3.911],[-.005,3.911],[-2.715,1.191],[-2.715,-1.189],[-.005,-3.909],[-.005,-3.909],[2.715,-1.189],[2.715,1.191],[-.005,3.911]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.176470592618,.176470592618,.176470592618,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 159",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Fill 157",parent:3,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[15.698,30.016,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:0,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:15,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:27,s:[100,0,100]},{t:39,s:[100,100,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,1.5],[0,0],[-1.49,0],[0,0],[0,-1.5],[0,0],[1.51,0]],o:[[0,0],[-1.49,0],[0,0],[0,-1.5],[0,0],[1.51,0],[0,0],[0,1.5],[0,0]],v:[[-.005,3.911],[-.005,3.911],[-2.715,1.191],[-2.715,-1.189],[-.005,-3.909],[-.005,-3.909],[2.715,-1.189],[2.715,1.191],[-.005,3.911]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.176470592618,.176470592618,.176470592618,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 157",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:3,ty:0,nm:"▽ 头部",parent:8,refId:"comp_5",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-2.914,-10.744,0],ix:2,l:2},a:{a:0,k:[36.182,59.861,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,w:74,h:60,ip:0,op:300,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Fill 61",parent:3,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:-.199,s:[-2]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:31,s:[9]},{t:59.80078125,s:[-2]}],ix:10},p:{a:0,k:[39.549,2.06,0],ix:2,l:2},a:{a:0,k:[-1.625,5.752,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.95,-1.62],[.41,-1.15],[.03,.09],[.47,.28],[.82,-.32],[-.5,-1.3],[-1.53,-.67],[-.02,-.01],[-.96,1.62],[1.59,.94]],o:[[-1.59,-.94],[-.29,.48],[-.03,-.11],[-.2,-.52],[-.67,-.4],[-1.38,.53],[.43,1.12],[.02,.02],[1.59,.94],[.95,-1.62],[0,0]],v:[[4.676,-5.294],[.066,-4.064],[-1.054,-1.454],[-1.154,-1.754],[-2.194,-2.974],[-4.554,-3.144],[-6.144,.176],[-1.854,5.586],[-1.794,5.646],[5.826,-.664],[4.676,-5.294]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.51372551918,.501960813999,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 61",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"Fill 39",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[1]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:26.4,s:[-10]},{t:50.400390625,s:[1]}],ix:10},p:{a:0,k:[11.124,-9.754,0],ix:2,l:2},a:{a:0,k:[-7.484,-4.889,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-3.23,-4.33],[.67,4.12],[1.31,2.26],[3.27,2.35],[2.61,-1.53]],o:[[-3.46,2.27],[4.61,6.16],[1.55,.25],[1.75,.34],[-4.29,-3.53],[0,0]],v:[[-4.765,-7.133],[-5.175,3.547],[3.325,4.647],[5.585,.667],[5.545,-4.653],[-4.765,-7.133]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.51372551918,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 39",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"形状结合",parent:5,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[4.274,3.195,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-2.82,-1.29],[2.03,2.21],[5.02,2.54],[-2.56,-3.09]],o:[[2.29,2.51],[4.23,1.93],[-2.03,-2.21],[-3.34,-1.7],[0,0]],v:[[-7.108,1.628],[.552,7.328],[5.322,5.318],[-4.488,-1.042],[-7.108,1.628]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[-2.68,-1.31],[1.62,2.18],[4.82,2.34],[-2.28,-2.55]],o:[[2.04,2.29],[4.03,1.96],[-1.72,-2.31],[-3.23,-1.57],[0,0]],v:[[-4.17,-1.798],[2.91,3.602],[7.81,1.932],[-1.32,-3.828],[-4.17,-1.798]],c:!1},ix:2},nm:"路径 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[-2.4,-1],[1.5,2],[4.54,1.41],[-2,-2.44]],o:[[1.94,2.05],[3.59,1.5],[-1.44,-1.92],[-2.79,-.86],[0,0]],v:[[-2.919,-5.47],[3.591,-.89],[7.631,-2.74],[-.509,-7.82],[-2.919,-5.47]],c:!1},ix:2},nm:"路径 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"mm",mm:2,nm:"合并路径 1",mn:"ADBE Vector Filter - Merge",hd:!1},{ty:"fl",c:{a:0,k:[1,.92549020052,.898039221764,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"形状结合",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"Fill 41",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-2.916,-1.869,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[1.41,-9.6],[-8.24,-.73],[1.88,10.33],[0,0]],o:[[0,0],[-.95,6.46],[11.64,1.02],[-1.18,-6.46],[0,0]],v:[[-9.342,-14.293],[-13.192,1.267],[-1.972,14.217],[12.958,-3.983],[8.988,-14.043]],c:!0},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.898039221764,.858823537827,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 41",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"肚子",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.667,y:1},o:{x:.333,y:0},t:0,s:[71.995,138.87,0],to:[0,-.5,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:16.801,s:[71.995,135.87,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:36,s:[71.995,138.87,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.667,y:1},o:{x:.333,y:0},t:55.199,s:[71.995,135.87,0],to:[0,0,0],ti:[0,-.5,0]},{i:{x:.833,y:.833},o:{x:.333,y:.333},t:65,s:[71.995,138.87,0],to:[0,0,0],ti:[0,0,0]},{t:72,s:[71.995,138.87,0]}],ix:2,l:2},a:{a:0,k:[26.02,25.692,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.86,-14.81],[-14.92,1.22],[.78,8.67],[0,0]],o:[[0,0],[.06,8.57],[14.73,-1.93],[-.78,-8.68],[0,0]],v:[[-12.86,-16.717],[-18.52,2.213],[2.2,16.583],[18.38,-3.277],[15.09,-16.717]],c:!0},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.43137255311,.43137255311,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 31",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:9,ty:4,nm:"Fill 29",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[1]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:26.4,s:[16]},{t:50.400390625,s:[1]}],ix:10},p:{a:0,k:[-8.519,-9.909,0],ix:2,l:2},a:{a:0,k:[7.044,-4.863,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[4.27,-3.31],[-4.1,.75],[-2.24,1.34],[-2.29,3.32],[1.58,2.58]],o:[[-2.32,-3.42],[-6.07,4.72],[-.22,1.55],[-.31,1.75],[3.45,-4.35],[0,0]],v:[[7.044,-4.863],[-3.636,-5.073],[-4.586,3.447],[-.556,5.637],[4.754,5.487],[7.044,-4.863]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.51372551918,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 29",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:10,ty:4,nm:"形状结合",parent:9,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-3.099,4.387,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[1.23,-2.85],[-2.17,2.07],[-2.45,5.06],[3.05,-2.62]],o:[[-2.46,2.33],[-1.86,4.26],[2.17,-2.07],[1.64,-3.38],[0,0]],v:[[-1.771,-7.093],[-7.321,.667],[-5.231,5.397],[.949,-4.523],[-1.771,-7.093]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[1.26,-2.71],[-2.15,1.66],[-2.25,4.86],[2.51,-2.33]],o:[[-2.25,2.08],[-1.88,4.06],[2.28,-1.76],[1.51,-3.26],[0,0]],v:[[1.702,-4.218],[-3.558,2.962],[-1.798,7.822],[3.792,-1.408],[1.702,-4.218]],c:!1},ix:2},nm:"路径 2",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,0],[.96,-2.41],[-1.97,1.53],[-1.32,4.57],[2.4,-2.04]],o:[[-2.01,1.98],[-1.44,3.62],[1.9,-1.48],[.81,-2.81],[0,0]],v:[[5.402,-3.043],[.942,3.547],[2.862,7.567],[7.792,-.673],[5.402,-3.043]],c:!1},ix:2},nm:"路径 3",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"mm",mm:2,nm:"合并路径 1",mn:"ADBE Vector Filter - Merge",hd:!1},{ty:"fl",c:{a:0,k:[1,.92549020052,.898039221764,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"形状结合",np:5,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:11,ty:4,nm:"尾巴",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[-7]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:31.199,s:[4]},{t:60,s:[-7]}],ix:10},p:{a:0,k:[13.352,9.269,0],ix:2,l:2},a:{a:0,k:[-1.382,-4.064,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[2.13,.99],[1.59,.24],[-.09,-3.33],[-1.4,.17],[0,0],[-1.86,1.43],[0,0]],o:[[2.49,1.38],[-2.39,-1.11],[-1.22,-.19],[.07,2.59],[2.05,-.25],[0,0],[2.11,-1.63],[0,0]],v:[[1.458,-.114],[2.978,-2.724],[-1.382,-4.064],[-4.092,-.684],[-1.492,4.106],[-.692,1.636],[2.498,3.436],[1.458,-.114]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.51372551918,.51372551918,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 21",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:12,ty:4,nm:"Fill 1备份",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[46]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:25,s:[10.368]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:46,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:65,s:[46]},{t:72,s:[46]}],ix:10},p:{a:0,k:[-9.461,12.873,0],ix:2,l:2},a:{a:0,k:[-.223,-6.41,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.09,-.6],[0,0],[-.7,-2.78],[0,0],[1.09,-.82],[0,0],[.13,-.23],[0,0],[-.59,-.34],[0,0],[-.37,.31],[0,0],[.06,-.3],[0,0],[-.66,-.13],[0,0],[-.14,.67],[0,0],[0,0],[-.15,.23],[0,0],[-1.15,-.33],[0,0],[-.04,0],[0,0],[-.38,-.18],[0,0],[-.34,.18],[0,0],[0,0],[0,0],[-.41,0],[0,0],[-.18,-.08],[0,0],[0,0],[-.25,.56],[0,0],[.62,.27],[0,-.01],[.58,0],[0,0],[0,0],[.43,-.13],[0,0],[0,0],[0,0],[0,0],[0,0],[.07,.17],[0,0],[-.05,2.07],[0,0],[.67,.01],[0,0]],o:[[-.59,.07],[0,0],[-.23,1.55],[0,0],[-1.97,-.57],[0,0],[-.35,.26],[0,0],[-.34,.58],[0,0],[.45,.27],[0,0],[-.2,.4],[0,0],[-.14,.66],[0,0],[.66,.14],[0,0],[0,0],[.04,-.16],[0,0],[.45,-.67],[0,0],[.05,.01],[0,0],[.31,.1],[0,0],[.35,.17],[0,0],[0,0],[0,0],[.47,-.16],[0,0],[.26,0],[0,0],[0,0],[.57,.16],[0,0],[.27,-.62],[0,-.01],[-.51,-.23],[0,0],[0,0],[-.44,.03],[0,0],[0,0],[0,0],[0,0],[0,0],[-.07,-.08],[0,0],[-1.07,-2.45],[0,0],[.02,-.68],[0,0],[0,0]],v:[[-.223,-6.41],[-1.293,-5.23],[-1.293,-5.23],[-1.023,1.06],[-1.023,1.06],[-5.613,1.54],[-5.613,1.54],[-6.333,2.31],[-6.333,2.31],[-5.893,3.98],[-5.893,3.98],[-4.523,3.88],[-4.523,3.88],[-4.903,4.95],[-4.903,4.95],[-3.953,6.39],[-3.953,6.39],[-2.513,5.44],[-2.513,5.44],[-2.483,5.35],[-2.193,4.74],[-2.193,4.74],[.057,4.11],[.057,4.11],[.187,4.14],[.187,4.14],[1.227,4.56],[1.227,4.56],[2.327,4.55],[2.327,4.55],[2.507,4.47],[2.787,4.35],[4.137,4.08],[4.137,4.08],[4.787,4.2],[4.787,4.2],[4.957,4.26],[6.397,3.58],[6.397,3.58],[5.777,1.97],[5.777,1.97],[4.137,1.64],[4.137,1.64],[3.697,1.66],[2.387,1.91],[2.387,1.91],[2.227,1.96],[2.157,1.91],[2.137,1.9],[2.047,1.79],[1.797,1.44],[1.797,1.44],[1.147,-5.17],[1.147,-5.17],[-.043,-6.42],[-.043,-6.42]],c:!0},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921580315,.192156866193,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 1备份",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0},{ddd:0,ind:13,ty:4,nm:"Fill 1",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[-15]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:22,s:[-20]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:41.201,s:[16]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:65,s:[-15]},{t:72,s:[-14]}],ix:10},p:{a:0,k:[7.289,12.873,0],ix:2,l:2},a:{a:0,k:[-.223,-6.41,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.09,-.6],[0,0],[-.7,-2.78],[0,0],[1.09,-.82],[0,0],[.13,-.23],[0,0],[-.59,-.34],[0,0],[-.37,.31],[0,0],[.06,-.3],[0,0],[-.66,-.13],[0,0],[-.14,.67],[0,0],[0,0],[-.15,.23],[0,0],[-1.15,-.33],[0,0],[-.04,0],[0,0],[-.38,-.18],[0,0],[-.34,.18],[0,0],[0,0],[0,0],[-.41,0],[0,0],[-.18,-.08],[0,0],[0,0],[-.25,.56],[0,0],[.62,.27],[0,-.01],[.58,0],[0,0],[0,0],[.43,-.13],[0,0],[0,0],[0,0],[0,0],[0,0],[.07,.17],[0,0],[-.05,2.07],[0,0],[.67,.01],[0,0]],o:[[-.59,.07],[0,0],[-.23,1.55],[0,0],[-1.97,-.57],[0,0],[-.35,.26],[0,0],[-.34,.58],[0,0],[.45,.27],[0,0],[-.2,.4],[0,0],[-.14,.66],[0,0],[.66,.14],[0,0],[0,0],[.04,-.16],[0,0],[.45,-.67],[0,0],[.05,.01],[0,0],[.31,.1],[0,0],[.35,.17],[0,0],[0,0],[0,0],[.47,-.16],[0,0],[.26,0],[0,0],[0,0],[.57,.16],[0,0],[.27,-.62],[0,-.01],[-.51,-.23],[0,0],[0,0],[-.44,.03],[0,0],[0,0],[0,0],[0,0],[0,0],[-.07,-.08],[0,0],[-1.07,-2.45],[0,0],[.02,-.68],[0,0],[0,0]],v:[[-.223,-6.41],[-1.293,-5.23],[-1.293,-5.23],[-1.023,1.06],[-1.023,1.06],[-5.613,1.54],[-5.613,1.54],[-6.333,2.31],[-6.333,2.31],[-5.893,3.98],[-5.893,3.98],[-4.523,3.88],[-4.523,3.88],[-4.903,4.95],[-4.903,4.95],[-3.953,6.39],[-3.953,6.39],[-2.513,5.44],[-2.513,5.44],[-2.483,5.35],[-2.193,4.74],[-2.193,4.74],[.057,4.11],[.057,4.11],[.187,4.14],[.187,4.14],[1.227,4.56],[1.227,4.56],[2.327,4.55],[2.327,4.55],[2.507,4.47],[2.787,4.35],[4.137,4.08],[4.137,4.08],[4.787,4.2],[4.787,4.2],[4.957,4.26],[6.397,3.58],[6.397,3.58],[5.777,1.97],[5.777,1.97],[4.137,1.64],[4.137,1.64],[3.697,1.66],[2.387,1.91],[2.387,1.91],[2.227,1.96],[2.157,1.91],[2.137,1.9],[2.047,1.79],[1.797,1.44],[1.797,1.44],[1.147,-5.17],[1.147,-5.17],[-.043,-6.42],[-.043,-6.42]],c:!0},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921580315,.192156866193,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:65,st:0,bm:0}]},{id:"comp_5",nm:"▽ 头部",fr:60,layers:[{ddd:0,ind:1,ty:4,nm:"▨ Fill 156",parent:19,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[22.35,.24],[.24,-16.79],[-17.98,-.36],[0,27.13]],o:[[0,-19.18],[-21.84,-.23],[-.39,27.38],[13.17,.26],[0,0]],v:[[32.845,1.349],[-.465,-29.931],[-32.835,1.379],[-.465,29.909],[32.845,1.349]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.43137255311,.43137255311,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 43",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Fill 155",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[13.627,37.342,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.35,.94],[-2.47,.13],[-.36,-.94],[2.47,-.13]],o:[[-2.46,.13],[-.36,-.93],[2.47,-.14],[.35,.93],[0,0]],v:[[.638,1.691],[-4.462,.241],[-.642,-1.689],[4.468,-.239],[.638,1.691]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.807843148708,.780392169952,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 155",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"▨ Fill 150",parent:19,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[22.35,.24],[.24,-16.79],[-17.98,-.36],[0,27.13]],o:[[0,-19.18],[-21.84,-.23],[-.39,27.38],[13.17,.26],[0,0]],v:[[32.845,1.349],[-.465,-29.931],[-32.835,1.379],[-.465,29.909],[32.845,1.349]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.43137255311,.43137255311,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 43",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Fill 149",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[39.745,37.765,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.35,.94],[-2.47,.13],[-.36,-.94],[2.47,-.13]],o:[[-2.46,.13],[-.36,-.93],[2.47,-.14],[.35,.93],[0,0]],v:[[.638,1.691],[-4.462,.241],[-.642,-1.689],[4.468,-.239],[.638,1.691]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.807843148708,.780392169952,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 149",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"▨ Fill 136",parent:19,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[22.35,.24],[.24,-16.79],[-17.98,-.36],[0,27.13]],o:[[0,-19.18],[-21.84,-.23],[-.39,27.38],[13.17,.26],[0,0]],v:[[32.845,1.349],[-.465,-29.931],[-32.835,1.379],[-.465,29.909],[32.845,1.349]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.43137255311,.43137255311,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 43",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"Fill 135",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[27.325,32.045,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.42,0],[0,.52],[-.43,0],[0,-.52]],o:[[0,.52],[-.43,0],[0,-.52],[.42,0],[0,0]],v:[[.764,.002],[.004,.942],[-.766,.002],[.004,-.938],[.764,.002]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.737254917622,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:-26,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 135",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"▨ Fill 132",parent:19,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[22.35,.24],[.24,-16.79],[-17.98,-.36],[0,27.13]],o:[[0,-19.18],[-21.84,-.23],[-.39,27.38],[13.17,.26],[0,0]],v:[[32.845,1.349],[-.465,-29.931],[-32.835,1.379],[-.465,29.909],[32.845,1.349]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.43137255311,.43137255311,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 43",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"Fill 131",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[25.389,35.055,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[3.18,-.19],[.07,-2.14],[-.96,-1.09],[-1.31,-.22],[-1.63,.82],[-.66,.82],[.47,1.41]],o:[[-.64,-1.93],[-3.06,.18],[-.05,1.5],[.92,1.03],[1.9,.32],[1.11,-.56],[.79,-.95],[0,0]],v:[[5.358,-1.536],[-.232,-6.126],[-6.022,.854],[-4.602,3.204],[-2.512,6.104],[2.218,3.523],[5.638,2.854],[5.358,-1.536]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.803921580315,.192156866193,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 131",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:9,ty:4,nm:"▨ Fill 130",parent:19,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[22.35,.24],[.24,-16.79],[-17.98,-.36],[0,27.13]],o:[[0,-19.18],[-21.84,-.23],[-.39,27.38],[13.17,.26],[0,0]],v:[[32.845,1.349],[-.465,-29.931],[-32.835,1.379],[-.465,29.909],[32.845,1.349]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.43137255311,.43137255311,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 43",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:10,ty:4,nm:"Fill 129",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[24.363,38.917,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[2.44,.36],[0,0],[-3.49,-4.04]],o:[[.59,.7],[-2.44,-.37],[0,0],[0,0]],v:[[3.991,-1.644],[-.659,3.516],[-4.069,-1.984],[3.991,-1.644]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.807843148708,.376470595598,.023529412225,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 129",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:11,ty:4,nm:"▨ Fill 128",parent:19,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[22.35,.24],[.24,-16.79],[-17.98,-.36],[0,27.13]],o:[[0,-19.18],[-21.84,-.23],[-.39,27.38],[13.17,.26],[0,0]],v:[[32.845,1.349],[-.465,-29.931],[-32.835,1.379],[-.465,29.909],[32.845,1.349]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.43137255311,.43137255311,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 43",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:12,ty:4,nm:"Fill 127",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[25.264,39.196,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[4.21,.06],[0,0],[-5.85,-6.55]],o:[[.6,.7],[-3.32,-.05],[0,0],[0,0]],v:[[5.354,-2.29],[-1.046,5.33],[-5.436,-2.77],[5.354,-2.29]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.674509823322,.20000000298,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 127",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:13,ty:4,nm:"▨ Fill 58",parent:19,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[22.35,.24],[.24,-16.79],[-17.98,-.36],[0,27.13]],o:[[0,-19.18],[-21.84,-.23],[-.39,27.38],[13.17,.26],[0,0]],v:[[32.845,1.349],[-.465,-29.931],[-32.835,1.379],[-.465,29.909],[32.845,1.349]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.43137255311,.43137255311,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 43",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:14,ty:4,nm:"Fill 57",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[25.689,30.535,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-3.38,.03],[-.78,-4.05],[4.18,-6.73]],o:[[0,0],[2.55,-.02],[0,0],[0,0]],v:[[-4.695,3.035],[.255,-3.325],[4.695,3.325],[-4.695,3.035]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,1,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 57",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:15,ty:4,nm:"▨ Fill 48",parent:19,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[22.35,.24],[.24,-16.79],[-17.98,-.36],[0,27.13]],o:[[0,-19.18],[-21.84,-.23],[-.39,27.38],[13.17,.26],[0,0]],v:[[32.845,1.349],[-.465,-29.931],[-32.835,1.379],[-.465,29.909],[32.845,1.349]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.43137255311,.43137255311,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 43",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:16,ty:4,nm:"Fill 47",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[42.184,31.758,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[7.79,0],[0,9.1],[-7.79,0],[0,-9.1]],o:[[0,9.1],[-7.79,0],[0,-9.1],[7.79,0],[0,0]],v:[[14.111,.003],[.001,16.473],[-14.109,.003],[.001,-16.477],[14.111,.003]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.898039221764,.858823537827,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 47",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:17,ty:4,nm:"▨ Fill 46",parent:19,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[22.35,.24],[.24,-16.79],[-17.98,-.36],[0,27.13]],o:[[0,-19.18],[-21.84,-.23],[-.39,27.38],[13.17,.26],[0,0]],v:[[32.845,1.349],[-.465,-29.931],[-32.835,1.379],[-.465,29.909],[32.845,1.349]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.43137255311,.43137255311,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 43",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:18,ty:4,nm:"Fill 45",tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[12.009,31.62,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[6.63,0],[0,7.74],[-6.63,0],[0,-7.75]],o:[[0,7.74],[-6.63,0],[0,-7.75],[6.63,0],[0,0]],v:[[12.01,.005],[.001,14.025],[-12.01,.005],[.001,-14.025],[12.01,.005]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.898039221764,.858823537827,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 45",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:19,ty:4,nm:"Fill 43",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[41.059,29.931,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[22.35,.24],[.24,-16.79],[-17.98,-.36],[0,27.13]],o:[[0,-19.18],[-21.84,-.23],[-.39,27.38],[13.17,.26],[0,0]],v:[[32.845,1.349],[-.465,-29.931],[-32.835,1.379],[-.465,29.909],[32.845,1.349]],c:!1},ix:2},nm:"路径 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,.43137255311,.43137255311,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"填充 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"变换"}],nm:"Fill 43",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0}]}],layers=[{ddd:0,ind:1,ty:0,nm:"小黄",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[134.5,74,0],ix:2,l:2},a:{a:0,k:[60,90,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,w:120,h:180,ip:0,op:65,st:0,bm:0},{ddd:0,ind:2,ty:0,nm:"小蓝",refId:"comp_2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[246,103.5,0],ix:2,l:2},a:{a:0,k:[60,90,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,w:120,h:180,ip:0,op:65,st:0,bm:0},{ddd:0,ind:3,ty:0,nm:"小红",refId:"comp_4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[74.5,103.5,0],ix:2,l:2},a:{a:0,k:[60,90,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,w:120,h:180,ip:0,op:65,st:0,bm:0}],markers=[],animBg={v,fr,ip,op,w,h,nm,ddd,assets,layers,markers},AbnormalPop=defineComponent({name:"abnormal-pop",props:{},emits:["close","confirm"],setup(i,{emit:e}){return()=>createVNode(Fragment,null,[evaluatingData.socketErrorStatus===0&&createVNode("div",{class:styles$t.fraction},[createVNode("img",{class:styles$t.close,src:popImgs.icon_close,onClick:()=>e("close")},null),createVNode("div",{class:styles$t.content},[createVNode("div",{class:styles$t.title},[createTextVNode("网络连接失败")]),createVNode("div",{class:styles$t.desc},[createTextVNode("请确保网络正常后重新连接")])]),createVNode("div",null,[createVNode("img",{src:popImgs.icon_btn,class:styles$t.btn,onClick:()=>e("confirm",!0)},null)])]),evaluatingData.socketErrorStatus===1&&createVNode("div",{class:styles$t.loadingPop},[createVNode(Vue3Lottie,{animationData:animBg,class:styles$t.loadingIcon},null),createVNode("div",{class:styles$t.loadingTip},[createTextVNode("正在连接中,请稍等…")]),createVNode("div",{class:styles$t.loadingClose,onClick:()=>e("close")},[createTextVNode("取消连接")])]),evaluatingData.socketErrorStatus===2&&createVNode("div",{class:styles$t.loadColumn},[createVNode("img",{class:styles$t.successIcon,src:popImgs.icon_success},null),createVNode("p",null,[createTextVNode("网络连接成功")])])])}}),icon_bg=""+new URL("../svg/icon_bg-026faf73.svg",import.meta.url).href,icon_close=""+new URL("../svg/icon_close-382c9a2f.svg",import.meta.url).href,icon_btn$1=""+new URL("../svg/icon_btn-6356bbe3.svg",import.meta.url).href,icon_success=""+new URL("../svg/icon_success-b5631d42.svg",import.meta.url).href,homework="_homework_spg76_1",styles$s={homework},studentQueryUserInfo=async()=>await request.get("/user/getUserInfo"),api_musicPracticeRecordSave=i=>request.post("/musicPracticeRecord/save",{requestType:"json",data:i}),api_lessonTrainingSubmitTraining=i=>request.post("/lessonTraining/submitTraining",{requestType:"json",data:i}),api_lessonTrainingTrainingStudentDetail=i=>request.get(`/lessonTraining/trainingContentStudentDetail?id=${i}`),api_musicPracticeRecordVideoUpload=i=>request.post("/musicPracticeRecord/videoUpload",{data:i,requestType:"json"}),sysSuggestionAdd=i=>request.post("/sysSuggestion/save",{data:i,requestType:"json"}),api_musicPracticeRecordDetail=i=>request.get("/musicPracticeRecord/detail/"+i),api_subjectList=i=>request.post("/subject/list",{data:i,requestType:"json"}),api_musicSheetPage=i=>request.post("/musicSheet/page",{data:i,requestType:"json"}),getSuggestionList=i=>request.post("/sysSuggestionType/page",{data:i,requestType:"json"}),WorkHome=defineComponent({name:"HomeWork",props:{workeData:{type:Object,default:()=>({})}},emits:["change"],setup(i,{expose:e}){const r=reactive({trainingTimes:"",trainingSpeed:0,times:0,workRecord:"",isAddOk:0,starTime:0,start:"",end:""}),s=()=>{const u=["studnetT-0","studnetT-2","studnetT-4"];for(let d=0;d<u.length;d++){const g=document.getElementById(u[d]);g&&(g.style.pointerEvents="none",g.style.opacity=".5")}},o=async()=>{const u=i.workeData;if(u.id){let d={};try{d=JSON.parse(u.trainingContent)}catch(g){console.log("🚀 ~ error:",g)}r.times=d.trainingTimes||0,r.trainingTimes=(u.trainingTimes/60).toFixed(1)||"0",r.trainingSpeed=d.practiceSpeed,r.start=Number(d.practiceChapterBegin),r.end=Number(d.practiceChapterEnd),state$1.userChooseEndIndex=r.end,r.isAddOk===0&&setSection(r.start,r.end,r.trainingSpeed)}},a=async()=>{const u=await api_lessonTrainingTrainingStudentDetail(i.workeData.id);(u==null?void 0:u.code)===200&&(r.trainingTimes=(u.data.trainingTimes/60).toFixed(1)||"0")},l=async()=>{let u=Math.ceil((Date.now()-r.starTime)/1e3);try{const d=await api_lessonTrainingSubmitTraining({id:i.workeData.id,trainingTimes:u});(d==null?void 0:d.code)==200&&a()}catch(d){}};watch(()=>state$1.playState,()=>{state$1.playState==="play"?r.starTime=Date.now():l()});const c=()=>{state$1.playState==="play"&&(console.log("退出"),l())};return onMounted(()=>{s(),o()}),e({handleAdd:c}),()=>createVNode("div",{class:styles$s.homework},[r.trainingTimes,createTextVNode(" / "),r.times,createTextVNode(" 分钟")])}}),WorkEaluating=defineComponent({name:"EvaluatingWork",props:{workeData:{type:Object,default:()=>({})}},setup(i,{expose:e}){var l;getQuery();const r=reactive({difficulty:"",evaluatingRecord:(l=i.workeData)==null?void 0:l.id,start:"",end:"",evaluateSpeed:0}),s=()=>{const c=["studnetT-0"];for(let u=0;u<c.length;u++){const d=document.getElementById(c[u]);d&&(d.style.pointerEvents="none",d.style.opacity=".5")}},o=async()=>{let c={};try{c=JSON.parse(i.workeData.trainingContent)}catch(u){console.log("🚀 ~ error:",u)}["BEGINNER","ADVANCED","PERFORMER"].includes(c.evaluateDifficult)&&(r.difficulty=c.evaluateDifficult,state$1.setting.evaluationDifficulty=c.evaluateDifficult,r.evaluateSpeed=c.evaluateSpeed,r.start=Number(c.practiceChapterBegin),r.end=Number(c.practiceChapterEnd),state$1.userChooseEndIndex=r.end,setSection(r.start,r.end,r.evaluateSpeed))},a=async c=>{try{const u=await api_lessonTrainingSubmitTraining({id:r.evaluatingRecord,trainingTimes:(c==null?void 0:c.score)||0,recordId:evaluatingData.resultData.recordId})}catch(u){console.log(u)}};return watch(()=>evaluatingData.resultData.recordId,()=>{evaluatingData.resulstMode&&evaluatingData.resultData.recordId&&evaluatingData.isComplete&&a(evaluatingData.resultData)}),onMounted(()=>{s(),o()}),()=>createVNode("div",null,null)}}),headerTop="_headerTop_xepx4_1",headTopLeftBox="_headTopLeftBox_xepx4_10",img$3="_img_xepx4_17",title$7="_title_xepx4_24",hidenBack="_hidenBack_xepx4_50",modeChangeBox="_modeChangeBox_xepx4_54",headRight="_headRight_xepx4_75",btn$8="_btn_xepx4_80",iconBtn$2="_iconBtn_xepx4_91",metronomeBtn="_metronomeBtn_xepx4_102",speedCon="_speedCon_xepx4_105",disabled$2="_disabled_xepx4_129",playBtn="_playBtn_xepx4_133",btnWrap="_btnWrap_xepx4_139",playLeftButton="_playLeftButton_xepx4_148",playRightButton="_playRightButton_xepx4_153",progress="_progress_xepx4_158",resetBtn$3="_resetBtn_xepx4_166",pauseLeftButton="_pauseLeftButton_xepx4_177",pauseRightButton="_pauseRightButton_xepx4_182",pcTransPop="_pcTransPop_xepx4_195",modeView="_modeView_xepx4_198",hidden="_hidden_xepx4_209",back="_back_xepx4_214",name$2="_name_xepx4_222",modeBox="_modeBox_xepx4_230",twoModeBox="_twoModeBox_xepx4_237",styles$r={headerTop,headTopLeftBox,img:img$3,title:title$7,hidenBack,modeChangeBox,headRight,btn:btn$8,iconBtn:iconBtn$2,metronomeBtn,speedCon,disabled:disabled$2,playBtn,btnWrap,playLeftButton,playRightButton,progress,resetBtn:resetBtn$3,pauseLeftButton,pauseRightButton,pcTransPop,modeView,hidden,back,name:name$2,modeBox,twoModeBox},iconBack="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAC+lBMVEUAAAAip/8AnP8Anf8Env8Anf8gpP8pp/8cmf8Dnf9kwP8Anf9BsP93xfyIzf98yf9ivf8Anf9Bs/93yP8BnP8Anf8Fnv8Cnv8fqf8Vpf8Am/+a1v9yxf8oq/+T0v9twf8Pov8Am/+By/80r/8Tpf8Am/+Fzf9mv/8Anf9kv/9dvP+N0P8/r/8En/9dvP9SuP9Asf85rP9zxf88rf88rv8Anv9avf8Anf91xf9LtP83r/81sf81sP8mqP8kp//s9//m9f8AnP8qqP8sqf8hpv9DtP9Ztf8Anf9ctv/q9v+Vzv////8gpf/5/f/v+P/y+f8uqv+Nyv9Jt/8wqv9Drv/0+v9etv9Wsv9Tsv80q/8moff2+/+L0f+Gx/8epf+Zz/+Bxf9Hr/97w/9ev/9juP9Htv9Arv82rP/j9P/c8f/A5v9puv9it/87rf/f8v/Y8P9wvv9hwP9bvv9Quv9htv8vqP0hofobn/mQ1P9Nuf84rP+Lyv95yv9WvP9Uu/9muf9Qsv9PsP8Fn/8cnfbh8/+t3/+Dz/9mwv92wf9Stv8rpfshn/a65P+H0P98zP9yv/9tvf9Yvf8Qov8npv78/v/W7v+e2P90wP9MsP8yqv8kpv4lpPwno/rO7P+h2/+g0v9zyP9wx/9Esf8Kof8eovwwpvnS7f+13/9/zf9Ptf9AtP9Us/9Bsf89rf8fpP4ho/3F6P+q2/+X1v+U1f+Dx/9uxv9sxf95wv9jwv9Nsv8ZpP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sf8JUDwEg8811Er+IEkSI8n3tkT2oPF4qPYFTNWwRFLCHLgovj50FC4GwXkpVJsCX2sbMFDQAQwS7UDE3FBFUbjvtW9gsbQvW4Yh4Y5o1I6cAHVTJMnQS6VFsL5R4jIcpMRtF70maQdJ1zguGYZBK6WNdeA5LcVlms5kElYqlTo/7yV/BVGFg3QaLZ16AJjb36LlBEURT+lbcVuT7MQJon1xjtZ1nZa5zf05AMDqWdiQCeIpz2ezfNvaTsHidhDguKLTPbIuhc9WYeDxhVE5AsfZXC7HZgu33HncCXA8LnGZPpnWsbDPA6Clw02a4Ktsl1GZbq7K59MUZX8C8Fh/UDJtbB4uOd/MGIlWH3OMugMxsCgQkeLNTYxyiUQoCiPHRkDPcmPLMrtq87nT2VG7bJZPE5FhBCRtNZaBIzizF2LKzVgx1mmqDAwKwwWRhxKhvZkg6AtMnKCmUKzX6x0V7ukxD4uBNJ+FntCTiQAY8CLtC+TI3N2tx1TWDgrpPngZNh4/RLzAZbTcws2fFVgUO2qO5QtQPltlGQePt8qjYMgo8uvi4fLlql4sxprNnWFt/BmB88O8Hw+SYvnm2qwXYeP2oCUPPnnBK4FZoaG1K5cvyK4bk9QawmwAvCG4Mn5ttrWHyp1wj1z1NLNa27weXwmCt434fYLQaGlWC74qtmVprYYg+Pwj4H2etfnj8tHdfQVBKvd3R+Xj+TUP+AeP178wPfnhw+T0gt/7evo3o0Z1Zc8PYoMAAAAASUVORK5CYII=",backImg=""+new URL("../png/back-c3f6ce34.png",import.meta.url).href,__vite_glob_0_3$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAARVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////9SnXPCAAAAFnRSTlMAM2aZ1Mz38e3ky7+loYBuOzUbD1hXtcj05wAAAIpJREFUSMftlUsLgCAQhHtY+X6W//+ntkJBHkTWk4FzGmS+g7rMTkPtOhm7MPmwx7gHBDBH0NwFoClxOeAI1eW8hRjJAQLGFoEl5XIgmWUASfIQvgZ4ccg3b+BQ1QAFxjzACp7XAA5m/QBbDdj6BxCXxjwr9uN6Hr6OgVLNYIvsX2WcLxT0yhpq1g0MeSOzj9WeiwAAAABJRU5ErkJggg==",__vite_glob_0_4$1=""+new URL("../svg/background-b89deedf.svg",import.meta.url).href,__vite_glob_0_5$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAe1BMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////NgkbwAAAAKHRSTlMAf9skC4XC99iVZkfz8eWteOvnrqqQhm9bTDsvFAXKpJybcmhYSSYbq8omrgAAASZJREFUSMfdlMmSwjAMRAVkJTuQCQlh3/r/v3AOcZVjZJRU+TTzDr7YbbUsyfQ38Pa7KMui3d6jWaw3UGzWc64vMKKYDHIMYBAcSSbGBzGJHMA4iIItGFsx4xCMUMo7gYVEKgEsSMUoYaF0iOCWg/xK7nWQK+3eS3K3us+DPHHuM+3O+3n348sl9u/P97SbxznHiPz8kHy94hSMNH6Rnf6qOmm5Wi2Nbrr2ZKGtoPCJfBhUrTg7C6IFYEYr2Xm9PQh0tB9YFK3eVgImNlx5uTajVpWJFuTj923G7vk60JAmmCMISJNi2hJSJpCTRsosic+qLfH/iBeO/083aAb3jBsZdCeA36o5dfRJV0f4QlR3Xxo8aeoiiPIqC4Ewq/IoKOom6emf8Qv7FXRZWnmBuQAAAABJRU5ErkJggg==",__vite_glob_0_6$1=""+new URL("../png/bg-20e7cc98.png",import.meta.url).href,__vite_glob_0_7$1=""+new URL("../svg/close2-9bf3f858.svg",import.meta.url).href,__vite_glob_0_8$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAC9FBMVEUAAAAVpP8AnP8hqf8Anf8gpP8pp/8kp/8hp/95yP8AnP8AnP9BsP8AnP+Izf8AnP9mwP8Anf9Bs/9gvv9Xuv8Anf93yP88r/8BnP8Anv8Anf8Fnv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6G29SeAgEte2TkxaPIgbxRMKpSXx/MhtEBr89AO0BqFMfIcP9VIQxm/LoSJtkcrK9FgN2807iOlIpSyQ0ExzHaT4vfgv2XX+bCiRpmioOy5sbDc8Xk088ugJijw0/yduNIY6c5fFspMLp1HAOh8Hg+PR5YfHbbDKZpNCYUOCQGwOpwLvZd5An8yg8HguPd/ZI/ta2kc+nFQr1EOeIRuPxePST5vPCwsIrl9krIRASieUJYvEV9DPqLLFC5/HQfP7GwtK3eobP1ymdXDSqV4VCIVXc8GnIqVZqBQKFQpyHfAVANI9MTJJmPn+munh733FLKHcbHAaVaqSpq2skpIoauCFnQosUBSAWK36WoV+bhbd2LC2cj483Nrqm9XpVU1MX0BSK6x2cxqnWygSrkSllgLexcfw4tsT+mfq6iWxopEvaL5VKu0ZUeoN7SONUauFQiBSj6EXpVAPi+vqZ/aWLrG2jda1dg1Jpv0jU/1OgBsNylJocannd6LZli+6KTDdOTA+IRKLOTlFO4EACtVKpBWTaPMohN+fmOLeGwrszFdgyqjI+3JtpmBJ1gkEaQgJoCAxLqDVuhyEHR+C+TBW2gsqxbnn31Jm5TmToB0XuHJACPZ2cQ1/ETci7xyqxlWw5mB6liQ+nrj4AAeqIphFV1OFwu6FdvaoEzkePpg9uwVYbKoPnWymu73b2IpTQjxS/QkC1ng9Wovxqqu6MM5TrQcPpOVQDcqwiaqGY8TtV2G+o2DjXzjDasbaG7DScyCpCMYZpn9tY8YdN14H0/EOfTyAabOsLTl9cTjzm85nm0wfWYn/iWPnN+RhBeCek2cGb2fTUgzzTHye8BBGbv1d+7K8bz5rybPCjCy77poQh3jQSikcNCRN8NX8MZstr1v/L1vfopmv3gx8mrJIlrBMfgvevbTq6AftHag9vGh97PvgynZmayqRfDj4fG990uBb7L9ZV1Gzeu7N869bynXs311T8dvv/Ax8xpgEA98oxAAAAAElFTkSuQmCC",__vite_glob_0_9$1=""+new URL("../svg/cursor-icon-1-b64224eb.svg",import.meta.url).href,__vite_glob_0_10$1=""+new URL("../svg/cursor-icon-2-03a5f875.svg",import.meta.url).href,__vite_glob_0_11$1=""+new URL("../svg/cursor-icon-3-020a25ee.svg",import.meta.url).href,__vite_glob_0_12$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAACJVBMVEUAAAAAnP8apf8Cnf8Anf8iqf8gqv+o2f8AnP+BzP8AnP9jvv8Anf9AsP8Anf8Bnf8AnP9Bsf8Anf85qv86r/8gqf8Upf93xv+U0/+GzP+e1/8Am/8Kof9yxP8Am/8Oo/85sv9qwf+EzP93yP8Am/88sv8Oo/9St/93yv+BzP9lv/9Dsf96yP86rf9Ptf9Hs/91xP85rv+Mz/+Lz/8xsP8xr/8pqP////8kp/8yq/80q/8mp/8hpv83rP8sqf9dtf9Ltv9Dtf85rf9gt/9Ktf+Wzv+Gx/9atP8uqf9rxP9Msf8Anf+Oyv8vqv9XtP9Vs/8epf9+xP9iuP94wv92wf9Itv9rvP8wq/+i2v+Gz/9Puv9yx/9vxv9vvv9avv9Xvf9Suv9Ssv89rv+35P+X1v+Q0v+RzP+Kyv9kwv9hwf9ou/9MuP9Osv9Fsv87sP8rqP8Kof/S7f+L0f91yf9nw/9evv9Uu/9kuf9Gtv9QsP8/r/9Drv+r2/9muf9Stf9Otf9Js/9Jr/9Gr/8XpP/o9v/l9P/K6/+y4f+e2f+a2P+S1P+J0P9+zP94y/8zrf/a8f/O6/+84/+v4P+y3v+v3P+g0v+Dxv+Axv9cvf9As/9BsP8ur/8Rov8En//g8v/J6P/F5/+/5v+55P+m3P+a0P9ywP9xvv9Ut/9Xtv/2+//W7v+/4v+Z0/+Bzv97y/9ov/9buv8oqv9cuP9ewP83sP/t9/5Xuf91EEEfAAAANnRSTlMA9BiPahQE/fzzz8rKjXZYUU4lJBH4+Pfz8vHt7Orc29rZzci4tra1j4x0c2tqZGRXVfHx6+s9YyuxAAAE0ElEQVRIx4ySS2viUBiGjTdERKWLblraTelPsDo6IYFZTDgIboJJDCokQkSM0ahk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xn4JCBxCULkWekJDtO1mFgMzoQ0pli2CpFUTQrNoRu0cNpONkXkKRDh9EGoJXSnoDxVToUKhZDVJXhww1F6N45EvjHS0bUvdIK6BqbJOxVhgoVPR7PbbcQMad3hBOuIMRk/2tZvdhVKtRtHIIFzfJhzDkMg7Tdi1XQo58/8BULHn/MH4/DoMakhgssBQW+HszrQZ91umRvNWNudwwGVI3hxTD2IsywkIiUpq3ghcXQ4Qy/Km63239LwyAlhvv4Gt3FoB2DBQzYLLRdrasknBGLFymaSYmiyLM1OtTDoO3CJhiyZbh2UVc3FVj4454RT65rwxYYYfmQr6cLvx9gAptBVKae/2gBr1hNuWjmKfnzxlBxDyjWM9GcyQreoF+bemh1cCp538wbfjyLs5lO62FqTQ/eNmY25prRNq7w8FXRvIK3o82c0TwG3mfbMB0Xzu/zyaOjZP7+vHBs2rCB/9DtmJfmZiYmZuaWzDs6MOoPgZ9gUTrqi+oAAAAASUVORK5CYII=",__vite_glob_0_13$1=""+new URL("../svg/down-1c21ed5a.svg",import.meta.url).href,glImg=""+new URL("../png/gl-0a9176b7.png",import.meta.url).href,__vite_glob_0_15$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAAAqCAMAAAAanYxCAAABm1BMVEUAAADGyM+sr7mrr7inqbWqr6+lqbOjprG0tLTR09icoKqytb6xtL2prLaeoqyWmaObm72UmKHExs7S09iRlJ/Fxs68wMaQk56eo62bn6nQ0djCxcymqrSlqbKSlJ++wMmgo62anqjKzNLAwsqjp7GWmaPN0Na4u8OnqrWTlaClqLKUl6HQ0tahpq+ZnKfBw8qPk53JzdG5vcXMztTMztP///+0tbimqrS9vsHJycvExcekqLK5ur3Q0NLCwsW/wMPNztDMzM67vL/Gx8nX2NnS1dnb293Z2tzT1NbAwcS2t7rIytDLy83f3+D4+Pioq7WwsbSgpK63uLqqq66Ul6GRlJ+4urzPz9Kjp7GfoqyYnKbV1tfR0tSbnqiPkpyMkJr9/f27vL6ztLeWmqSxsrWur7LIyMq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bsKNtX6MfxTobiJzfenxXVLroJtD3sJsJYvSJqMmZTYlEdWEDLq3yLtiOh1LiQ3127Qhoh7ADy/VPRpLp4vvEOMlmK6rnorqhLJZ8dTDVmsYNqvqvgqyS0YEeZHlebmOSg3lqa8hwa3NaMAKq1T2RT9A1Xier1pRKac0Seck1MpgWuBAVRvEqkdFWEz9AiopLScSKmCUFqxRni8+2g9mM1FZzjOCRxq/8EkegWJJDVB5WV6aOQhqr3chsmxgmL8S/3uJjlf8GEsSGiA3QLP7+k+YuFeLLkU3oPwUfjRM4CkrRRIODeSqkNFq93TD2HOtC2+sMyxW9zsPxx6nH8okHLgGqA1QdK9NH4rQ53cj2Ww+xZJY2IOX9/oBba+Me+oYCTnCa/d6J2wZTx4C8+75qZFg/sFVzEcieZTNsZhQ798hdQFjc1CknZ5IprcBxxZd76eOhN77zZrZYsnnqx6GJQHIp/0a97PZfgPAbthd7kPjOaYIB1rMteb9aeQIuvmZZu2LGT6HirMA/DZ8VSPFWnNmXjfuQeLxx1Kr+wvEf/gy7IxgBoY94Fe3Vfr4+KTS88n8xVa7tPWz9VEzrZ9bpXbr4jwoFTEaFuZuXz93QjPnrt+eWzAYRy2/ATedNa/vpLAPAAAAAElFTkSuQmCC",__vite_glob_0_16$1=""+new URL("../svg/guding-active-e8543b78.svg",import.meta.url).href,__vite_glob_0_17$1=""+new URL("../svg/guding-a3ea7233.svg",import.meta.url).href,__vite_glob_0_18$1=""+new URL("../png/headImg-fa687b2a.png",import.meta.url).href,__vite_glob_0_19$1=""+new URL("../png/headTit-e8696132.png",import.meta.url).href,__vite_glob_0_21$1=""+new URL("../svg/icon-staff-active-5035908c.svg",import.meta.url).href,__vite_glob_0_22$1=""+new URL("../svg/icon-staff-5a2b7c94.svg",import.meta.url).href,__vite_glob_0_23$1=""+new URL("../svg/icon_evaluatingOff-0b1c80e6.svg",import.meta.url).href,__vite_glob_0_24$1=""+new URL("../svg/icon_evaluatingOn-bb155620.svg",import.meta.url).href,__vite_glob_0_25$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAWlBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////9ZMre9AAAAHXRSTlMA7/YXwF1PNyEEEYuH1fjlysewn5l0b0UpHAzU8WC2XK4AAADqSURBVEjH7VXJFoMgDKyiooj7vvD/v9kLVUIB35zbOSYzD0iG5PVHXh6xIoirMvfzU822NKmPnykPMjefRT5BxJyCQXkxuPhcBcAdgi4k6BwVUkF8VWpvwoJmtwRSPUBaLa6fBDVteK8e0Zv8xWqU5EJwaTVyuflFRTKJbqxISLgqLsFM+VeioIr5Exfk7Hi7j95iclOhw5MyMb4MjCQ16WhLvex3fKujtBqrKVhp9WABfCX40XhZ8cbpxOG0BrOt4TXfWXLGeHla5kPtDX8g9IvCQwAdM+ggg0clOozhcY8uFHRlwUvx5/EGSk55VOMytXYAAAAASUVORK5CYII=",__vite_glob_0_26$1=""+new URL("../svg/icon_menu-30009ed1.svg",import.meta.url).href,__vite_glob_0_27$1=""+new URL("../svg/icon_minus-35cb01c5.svg",import.meta.url).href,__vite_glob_0_28$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAC+lBMVEUAAAB44/tBwf9F0/VDvP8+vf9M3elPtP8z1/RHyP074+NDt/8+6dpCuP9Gt/81zf49v/8+vP895eBZ8dU75OEwzv4+xf8/u/9AvP885OZI69xFxf864uQxzv4x0fxEtv9O7NtDuf840Pw33O8/69Y+vf9A6tlD6dtA69dTuv8/vf////////9Dtv87wP833e1e8dlF7Ng3yf830v1Y8Nlb7eAuy/863O896N1l3fxDtf9Dtv844edCuf864egyz/1v3vpm6epW7OI3xv9Z8tQyzf5C3PNFt/8/4udiyv+C4fxUtP8/0/1A7NVnzf9Yt/8/6tdiyP9j6uhp2/1exf9k4/Vf8dc33+liwv9l7OVl7ORq4/Vhyv9n7OVL6OFH4+hhwP9qy/9M6d7///8Zv/8UtP8OqP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ZJ4C8zE4uLTSYTiWE5BwrCYvCXmeNGq3Ko+uLnz3ccnzTMyFuiePXhBHSD/73aeL2rFS+Yh/nJL5i909prTKb9UOocQMBFERPyuvPRh9l3A9Ce64ZIMpPeXlNTsxWVgliEb4lQMFDjFK/KA0MiNJJ11dfdP1jiZe/wYA12Kknl48IChAhUvvQfNxoyWVs2/rohyn9R//HpDxzYQQoT5evKywuGho/vrxyBwJB4ulCsDeMXR05kGeoXGB7/4CMPlJc/8EhYfHhgPwLwGhg22k26xtJO0vkDY20NjF8eoZWuvXonmtK8rftR7/iQcFepZxU8yRSX0u0fdg3Uh0Tc2SOAzazBpsEOrl0IDvEvhTnYS9dZvVPi9sclurlaANzC9fn6iP7SDalgt8S4rb6D01Mc3LwH+vgM9HZzSAkPC8nXh7sFSzey7L0dJqUP1vv6Vlb6+urDxkU4eFs9SP8DBsPTop/3Wh4AAAAASUVORK5CYII=",__vite_glob_0_29$1=""+new URL("../svg/icon_pause-b4b9ea85.svg",import.meta.url).href,__vite_glob_0_30$1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAC+lBMVEUAAABLv/8/2PpO7Nw9vv////9Az/g8wP821/dOs/9E6t1Sy/9Ct/88w/8+v/8z1PlFtv9Gt/89v/842PY96N80zf9DvP875OFM5+Ewzv4+6tlI69w/69ZB6dpDuf9Vu/8/vv9a8dVDtv9Dtv9AwP8+6tk85eA5yP864+Je8dlHt/89vv9G1P5c5+c91ftbvv9C6tlDuv9O7do959z///8+vP8wzv46wv844ec/7NZDuP833O9f8Nsyz/1p7+P///871fs54edjy/9C6ttgxP853utI69w5xf9UtP9o2/5b89Rl7ORM6d83y/9buv83xv884+RiyP9t4fRt3fz+//9Etf9A7NU4xP9Ftv9q4fcwz/9k7eJp3fs62/E12+9D2vVF4O4y1/Qwzv9at/9m2/853upjxf9hwf8w1Pkxy/9T2/Ra4/FZ7N9l7OSu7foy1/VQzP4x1fb///8Tsv8w3+UQrP8R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9gBmy8nTpLmhpSvURpH379i3grmpQeVAHoU6e3DFW0EC8X6iVaQLt/H1ngbXeE6oRBekAEUIQwrPx0YLfTBnJPJmU/as9ugv/Iutpg/v/gPUd1cHa2tr+/tOshQnE+6VYA0tk9+4k8kZmoD7x/umx/fs/80z//rHp3eL7iB7oEDvSG1go+TjNqwxjUg4pm0PlwHLZp5qN6ZPu50+MWS7ncW+8EmYPTMg6TOUX6gEeX9G9k7XJve3bICSk58UmRIMnlH1YT23PVG97IwBvf1WeKswaPBV5eKf23BeRPDgswdvBwdfXwcE7Icw/3S9P5e/NYnoqIPfeoYOTe0ZEHDgQEaGKHRya4GA24H/wnuVZaWhhzAAAAABJRU5ErkJggg==",__vite_glob_0_31$1=""+new URL("../svg/icon_play-4e74a97f.svg",import.meta.url).href,__vite_glob_0_32=""+new URL("../svg/icon_plus-8646d352.svg",import.meta.url).href,__vite_glob_0_33=""+new URL("../png/icon_reset-51a1bf04.png",import.meta.url).href,__vite_glob_0_34=""+new URL("../svg/icon_resetbtn-b9bae964.svg",import.meta.url).href,__vite_glob_0_35=""+new URL("../svg/icon_speed-ba38a91a.svg",import.meta.url).href,__vite_glob_0_36=""+new URL("../svg/icon_speedRest-c6c9e93d.svg",import.meta.url).href,__vite_glob_0_37=""+new URL("../svg/icon_zhuanpu-61d31826.svg",import.meta.url).href,__vite_glob_0_38=""+new URL("../svg/info-ba658f25.svg",import.meta.url).href,__vite_glob_0_39="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAAAqCAMAAAAanYxCAAACnVBMVEUAAAB6yP8jqv8Nof8oqv81r/8Po/87sP8Nm/8ttP9NuP6Y1P8Vpf9pwf9St/84sf8Vov9Jtv+e1v8BnP9Ft/93xv96yf93xv8BnP89tP9Yvv+V0/+Kzv9yxP8Bm/9WvP8+tf8Pof8cqP+Hzf8In/+R0v8BnP9nwf8/tv8Fnv8trv+V0/9Gs/8MoP8gqf9tw/9LtP8CnP84s/+P0f87rf8Cn/9avf9Ftf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CwGAEB8v22YB5uu7+2+gSLnt4+iSp38WNPrkrS19vJggX/7TiwwMTiMQGuC/noaVh6enqPWKXK75rRPKDNdOWrVOKePhFsEh5bmIBFTHbwHP0gx48vDOvuTmfnicWvtMTiPHZfNcuPFeDI2wGbi+Gsov1dNVnf+089XwQF+WvpWgZBVVVV3d11bI2ejEzXcBbLj+AfbYUDy9iesYgO8iVg4QexWOHzYBBOJSja4owtWMnUOsmr3tORgI3fAoKjZ71XkrUp0M30xOa7Uq+JyQ93MfswOeElvbv5BEyiMrO5YG21c+MqzDbutLK+YGMGlvgLK+BTTEziq54AAAAASUVORK5CYII=",lxImg=""+new URL("../png/lx-4dd7abe9.png",import.meta.url).href,__vite_glob_0_42="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAk1BMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////ROyVeAAAAMHRSTlMArVfi/JpK9EX47OY5FMS2hmgoBtahMxcM8LxvPiIc3cx8U1ARpo14dTuqfn1iXlzwPa3dAAABhklEQVRIx+1T2ZKCQAxEuZEbBZQV72vP+f+vWzoDKcZjSx+2aqvWfjFp0j0xmdGe+CsofN9Pe/k8iQ/rsl/hH+PqhbONIRrMuDwSgLfigjQkZuG0uSkIrYNjixZRJhnL7ZhKEiuZDaWbLRgmMbXHhCFNg/hVZwFOd83kfYmCHMykCez4Yw+nSGsx6AR555Phn0xAVbYRpugVVheCTRMcEND3sdYHjggUATA8trOoMal+/ZwIRaDAUk8I1ouGePtBMKMxcQHtapDdFsQoOPHqkGEGNwUJGXJaG3KVwS3BEAV60DMIbQGquC5wXCwr1xSsR+jqqsCHm+t0KdM4trwiSD2sm1IVY9yWS0Gto9uEfQdR1Zu0cyEI4CNWygC/KCqnTTg/F5R0TffqgKd+E2xD2r0i4Nc0IixiOIxAhObOw+/nuSBzRQ9GIGcMqLveNckGwVYooD1ZU36CGV9NTyy3siX+ipenEQqT2plZ2t3IcutUaP8bli7uhC4ni/p7FQ8LHm/pid/BN3OTZ3R1P8PrAAAAAElFTkSuQmCC",__vite_glob_0_44=""+new URL("../svg/modeType-7cd93c3f.svg",import.meta.url).href,__vite_glob_0_45="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAjVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8DizOFAAAALnRSTlMA+sUUL1chBLeLbQnsqnP03II0fUg9D82/d2IZ8eechijf1KhN0cixl5BBomdSUHFLSQAAAa1JREFUSMfdVdmSgyAQ9D5W463xyp3Nnfn/z1tksRCByOPW9guI3cDMdA3a/4RZtlEetQ9TiW35Rxhx9K0lemEAC6P4RHc84OE5Ur7dgwixLeGnIEMu5PsgRyPgRwBwMq1erPji+KUO4KPREwv0csYPDgBPNGYxiHEIuID7StPOMciQsmZAxBuqsg5SxIxRcgC4a9qKXHhbdG5XbHV5bpOBdt8SNzhj4Q0migk/Y6xAwwuYnFnTGlAkFfbsGf+uEnH1VkAxGGe/RpP1frAXUKyo4Juuhi7K2QZPNygvbggj+okHQ3abHZnvpofXU5fT/GF7jMkxqCV1HID7agI1QZjhTKDQ7mpXOg/bp8O+N6WgN0MVMelaKaW1JpzQVixc/RuYZypZgwq+GPNR8ObjBTkQcPbWL6n92HMCMwYh9Bs5jQiWelKC6iURBAcRH2elTE/XZ2NRAW0zM8TOsH4cbzdvTpGwQdq6vJv584DRhboYOIE0cIM7tvnc7k/EtxSvzw+KhxbejMCSPVnU6O6FOXLhUWzRV0cV12Dp2cVldts1Tln91pRRZY8s0P4yfgAA6rAk3MjRBgAAAABJRU5ErkJggg==",__vite_glob_0_46=""+new URL("../svg/music-856b3e8e.svg",import.meta.url).href,__vite_glob_0_47="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAdVBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////li2ZAAAAAJnRSTlMAC/NHUvfm2MGprZV4cBSSTATIrpyPhGdmWy8i7Vc8OeqkiGkbu1jhCIMAAAEpSURBVEjH3ZTXsoMgEEAVIkWDRqOm2NLu/v8n3rnFCQgumeEpOY+6R5YtRu9BfJKcEC5P8WvxBwb/sMMrn09BI/UeUgowEKVHyGBBhsefweKMCntb2KM3Tmwhwe5NwQFFhKNLOCLC1iVsA04IuwNepfA+4J0OnyV8WsP3Ad+48J0O50HvbVHXRXunD382w5WBBrsOWF5dRsCCZN1KeF4bk9Q/p6nOXfG7iz5xbR51EmYuO8/uyN8syi9ti7D4ZJgPBdtwvIJmfjqBhpFVbNRynB+3RoX1+irnTlKzyEoTKtBJ/6pcLPa10oRFv5qf0zdWB9cFSKhHELBg4xCEJlCXgP6flF9QkcFY4UI1Rkumgq8JvJhWBpyqJhWc9UTebpL0jIu0UTSPPoxv5H52EMFGNzkAAAAASUVORK5CYII=",__vite_glob_0_48=""+new URL("../svg/off-8d507628.svg",import.meta.url).href,__vite_glob_0_49=""+new URL("../svg/on-13b29450.svg",import.meta.url).href,pcImg=""+new URL("../png/pc-bb226da5.png",import.meta.url).href,__vite_glob_0_51=""+new URL("../png/pc_end_icon-c048a862.png",import.meta.url).href,__vite_glob_0_52=""+new URL("../png/pc_icon_pausebtn-6844b114.png",import.meta.url).href,__vite_glob_0_53=""+new URL("../png/pc_icon_playbtn-727f07a3.png",import.meta.url).href,__vite_glob_0_54=""+new URL("../png/pc_icon_resetbtn-e6358a0f.png",import.meta.url).href,__vite_glob_0_55="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAPFBMVEUAAAD////////////////////////////////////////////////////////////////////////////YSWgTAAAAE3RSTlMA43GqHPp/3pss16JfDgnv7FFQOvASJAAAAKJJREFUSMft1ckOwyAMRVFneIAzdXj//69tSmQFVSjuojvuCkucpWVp/ZCmCHb53fOoz3NHxKRSFECyDt4hFP/JK0CehMIDoA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BLtVKXe3MfkBiRABEwjDoiASICDVNFKKRgAoyOUaAIVgCSCMHBMFS4EElACkQ6xp0QzjuuYR3ORVKQ5HEkIUkqOIXbQT339Ki83pvDj3KRIsIpIAOjMpdSXiILNxsMehAOemXnrbi+ndeQOSBZ1jMqyxaUz1OSzikgkRkSAUJLJEPktVa1rbq7P4+iaFEiiyh6NetxBCuR39LrpkVBKArj+NFBMIoogpnem6ld4CJcqVlxN26MlIso9f2/xzznZjkjOQ23P/NSnnt/HNp1jIFst9slt0U8Wy7VX8Sv1PDRHO+AxEcgp4tCNGLkciqRlA09Jb0h6StIykgc8yJZ88HVqnmW8SpxTHEBJMuylUa4BqS4IyutKiQFctBDDlkmUiCtIhWHgyaCi0Ba9FXkQjCy/iOcfzSHIkRefFIXCIxwHYbVNES1C4/mITYB0qWeQvCwGtZrwvFWbdIjs3VFNhxPNs3V50CwScskGvNnErDi1NogpzE2At5kTERmW4gkCEJv4/Klf4bDrhcEicjbJiE7Z8TzXBeDa47Dv87OKdvt+KV6jsqDMLBJbpOqVypwVLf//u5H/u+Zh7BIInpUZreThBlA96Tv+ko5n2+GxF2+rQBFJG2b7pkTC0+M4B5zPtrDgLL3EV+tMnDBmtS+e82675Zx7U0lPUb2lSGlel4est67MxBP6kupEP6BImWfNBpFEghSRjQineYfUPyb8TEnrQZWhVgD0mwaRT4E7BFNSbshFBRFQ9LP7ESqjkkvZFsGjDebXqrfMYxOn15sMRgs6EnfkEyUCbVWle0AAAAASUVORK5CYII=",__vite_glob_0_58=""+new URL("../png/qx-94a58756.png",import.meta.url).href,__vite_glob_0_59="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAAA4CAMAAAACeQDhAAAAYFBMVEX////C0N8AAADI1OL////////D0d/B0N7////Cz97////B0N7Bz9/////////C0eDD1OHC1uD////////////////Cz97Bz97////////Bz976+/zb4+vt8fXm6/HT3ec/6Yw9AAAAGXRSTlP+/QD+G/lq9/Lx5eO2bE9MGhm4t5ybmplvrXGEmw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X4cpofdOEriKnGCFg9ZY5ghMqE5uaaFv0Tgx/rMkZKgoGa42g2mDQ7YD7GrGYqkUDuOn8bUOWBfUt/jqdsjINprDP4wmFQh69r0WyEOWfDUVuZ8x6/zJ7kccqCiyfiN+AZvUU2QfucypgUJ+zKOQSOFYMGY1uX7WZJbLZIoU9bmvCi/NKFWgmjBAoq25xJVRdJhl4NBrkT3Rel97hMkVS5wphIoJkCgRMJr9gUM2sVB3zawE5Xi15YbRU6RivKWb1xcVkiMIee3kNZ3Y5w2KFRXFFGjGmnhKE55UMx7IWgywLm/YKUfDNKSz1FcOB+JQj9qOOI6y3wmvhVGuybq0gWEjK04LgGKAjOLBpVdQx4PXXRTj+r/sS8jesmv/1T+gPQQfItZdGe54AAAAASUVORK5CYII=",__vite_glob_0_62="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAmVBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////VHQRUAAAAMnRSTlMAP7j89I1C8U9vC8y0lnY5EOvkwRb41b2jnGNdVBvf2tLGua2SWiyHgQe8j2VIJWozIt6D2UYAAAGVSURBVEjH7ZXZdoIwEECn4grIqsgquOBe2+b/P64zUYhKqHB6fPM+xMkxNyQzMsKbVxHrNkMGPaihN2CIrcdAWEtW0Acp/XLB0sKpy5oLzAUIy0m3/kjdclEICxznJjTAnOPSBdB9cmhETpkBhnw0Ez5o7X+Fk7+dlMkZEaf45w9hhJPsGhusQOvXCunNrMNKlGGNYDIiEILtOLwETo0w5sJALQXaOVIw2EiFPdaENszvBNAwMKVCjKExZaxzJ6g2XmIiFXT6hoakEHzD2Hn4uZbeYYKbzyCixzxkyVelAhXhCyzUvAfB20gFjU7ED8a+r4K+XvsOpVV2hw1lNAgCjc58m6UAg61E2DKBvRcC32khERx2w1AIvP5pVfjkt5shFKyEYFHgVgWfFQWgLjK1uJAdDhr/MRkVYd+97Fs8K0RBkKoVwVJExT2+ZU+sXyUghO51Ye66EVw4r7SjCupozOmF57s3Tmv7Tu9wiJoJEXU7SKYtGxkcGfK0e4tWCWrWqhkjSdam3RPqLlWed2+F/lDevIhf0Np+Ls5xJpMAAAAASUVORK5CYII=",__vite_glob_0_63=""+new URL("../svg/section0-6aca7de8.svg",import.meta.url).href,__vite_glob_0_64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAA/FBMVEUAAAA11/////////801/801v801/////////////////////////////811/801/801/801/801/8z1v801v801/811/////811/811/////8y1v801v////8w1f8o1/8z1/801v////801/////////////801/////801/////////8z1v802P////////801/////////////////801v////////8z1v////////801v////802P////////802P////811/8z2P8z1/8z1/////////8z2/8z1f////801f8z1v801/////801f8y1f////////801v9Vj+jxAAAAUnRSTlMAPz+4/vrxT5aNbkLy5L389czDtJyNZmRcQjgbFw8KBuHU09PNx8G5ta6mkpBwXFI5LAn07evq39vYvKOgiYZ3dnVZVEgvJBQRD/aZgn9UTyQZ1bGXnwAAAalJREFUSMftlWdTwkAQhlcpSq8CUhJ6R7rSERAEu7n//1/cC4QEcmGScfjG84G8N5Mnd+xONnDhXCwCXTMhxHoHGticAvJY/ALKukAk7oGJQ5AwJQB4P9ErIHmAEKGYkZNHkggD3SDZAB1En1DIgRWFCOjiAQUnEORKn3AtIP8VQsNxfF8cOyVcX50QarjI7PJUkMg6NIWeYmUSZOoaQoNQgrLQcbnEFrg0hHdRsHJ74UYsJtJkCjz2xIvL+YEAWQxRprDA+GwhpHAgJDoYXplCgBBPnP7EJGE0m03SeK0AS4jjw90QodscVancYgliE0KwQS11JKSbTMFHTyQejCx3QrFSKbtoWVn/YUkrGgwG0SNVZZVGGCYMYUxkurxCaGLIMYQkUfCtEKIY+mrhhYaUG6GhpOgDDXm1MMSrRWxAgaa1KKQHg+ybgExVAu/dPlfaK4SCTL+lEjYWueMpjDWwKRr3C7Lg3d049/ulWfBT8lU5aNlvRWzhFYBC8Bl9pz+MjZk2xCwGBxlUDY5K4DKGhjESyxga9wj32fPg7V7tI7W3H5Q6XDgTf95TzsvvVW+XAAAAAElFTkSuQmCC",__vite_glob_0_65=""+new URL("../svg/section1-65bdce67.svg",import.meta.url).href,__vite_glob_0_66="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAmVBMVEUAAAA11/801v801/8z1v801/802P801/801/801v801/802P812P8z2P802f8v1/8y2P801v801v801/801v811/801/8z1v811/801/801/801/812P802P8y1v8o1/8z1/801/8z2P811v811f8z2P801/801v801/8z1/802P801v811/801/811/8z1/8z1v8y1/801v996yOAAAAAMnRSTlMAP7iN9fFP/Mz6tG5DORUPCuvUwZZk5eC9pZuRXVQbBtp3c1pDLNLFiIIkvK6faK5LM4y0/gUAAAGdSURBVEjH7ZXZdoIwEEDHHVxYC8qO4L61zf9/XGdSISih4unxzftAJpobk4wZ4M2riMYmQwY9aKA3YIg5joDQu6xgClKm5YCuDpDYrGQlF1ZihJ2AU3b6zUvql4Mc2OJzPoMWzOY4dAu0nxxakdPJAEM67YQOjf2v4Hg7rTzNCXGJDn8IGXY213jJCpRpo5BWel1WMho2CDNG+EIwXZenwG0QfC4MjFKgmcMRBmupkGBOaML8RgAFg5lUiDBcqox1bwTdxE1oUmFM39AjLoRzlu0tbAPpHjScfAEh/czdKXmGVJhgdAEdNetOsNZSQaEV8YWx76swDgJvTscq28OaTtT3fYXWXD2lMwY7ibBjAjMRAp9JkQguqzAUAs9/WhemfHcLhIKTEHQK7LrgYauWCVA13myOR4X/mZY1IaHPP4H44pcdBUFq1ARdFRmn3GbQqyQuBiH0rwNz2w7hl8NJCQwwJh+cnnO4uXHKs3d6j4+wnRBStYNYfbKQic09qt4cB8DYtK3eRQJjq231pnJPGPt09Lh6j+iF8uZF/ACMe35iP7VHJwAAAABJRU5ErkJggg==",__vite_glob_0_67=""+new URL("../svg/section2-15e16c95.svg",import.meta.url).href,__vite_glob_0_68="data:image/png;base64,iVBORw0KGgoAAAANS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2JvBBD9FENiEjCH4t1T18YiO3GDOz4+CXMtg2jJd7MDKrHwcBfEQ7s0PlAAgAHVJOQCVisTjkLuRwGtnkAJSsahIM1KNJiHlDhhzwWt3GgwGpxWABrSmyOVAxkju3SMj53M1hkb/8Lgq5JB1Y1UXCmSWrNEUk8uBUhHqQ24uS7Fp98k7nWsD1vYid16rWpkZZPGQchAlK9cDct0QJYTcZGmNyiWyxvPQqL3Qy0XL7O3a5VXRroVcDpRh5PV03/K5Jgp0Jl9/LEV3tEAcA5cuWpa1RY4ohsbJhG+kEnfvh/tsCblzYKBjdaLf54DD+I9txsnyrCIyUuWqo6AjCaKOuHrOtxnpGJkuf7Yo6sXJOPlv5K6ft80vGG7bq7nNeagYWUFmuUmFZnqczF9VctXtjjjziibhzhmX10/Fyiy6aArEydAkLFKwczpaP1a+f/Wf1IyVxRMvax12VVt2a4BFPax8qVmbYo5G+/b5VLQfEy2Tq2q9mRezSpKCFw5HbqnubHh5HUZXGq7HuNignGoGNSY7GFFpdFdFttqOLRXmLMRhsjab47Q+qBBZozhuPf47elreZuBV88mMa20xcVXNnjMp7lSHc3LF8ELfCbDFH7q/y3Yj+Zz53CaHJxhoqetZscoCJsXmLRdKd5sMs680LW455uXIiHkTs2QpBGSJRspN/FBOWZov3VuO3ZhqsDo1LpuX52gaJaR7UjTOsgtSiEwwe0yav+Cw8cqH4pCfpo2B1FRPwGfkxEkExG/UelypWp4Wpwukaf9IWrrZT0UjJIZCPMqjnoI3m42c1P4b8Ks4aJqOTQhy5p/8AorDsWUjtbzuAAAAAElFTkSuQmCC",__vite_glob_0_69="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAolBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8ELnaCAAAANXRSTlMAoQX7Zd3N9hDu6ePZrKd7TxPTnJR1X1hTIgjm38ONcW1pRj05Jx0XuZePg1s1LAzKsrFah5VL3fAAAAGESURBVEjH5dPZdoIwEAbgYZdFFhURlV1wX6qd93+1noRjayAWuG2/a37+ZM4E/oNShP4u6V3HCPoJZdtAKoBu5+kav02gm46v3O6AxQRu3YE5MryBFQr0q5CE2iGEbqKCiAsYYM7Ms2/FaUhCJrcVh1bIQyvM5ZAKsk7J0ArjCnzb4pH6fiLndFed3cQwVUFCRAc4qlhBSbX3h5mwB3BVfKGPoCXXEMdbqI3GyDq2A2R+xfNoFjZoHve1fAB1VbElbgViJAl61hm2aVUzsKS/XT0ALhJyCJC4bMKLkFBdTgG9hWupOdtxQEpCrjmAbOzYZ1RM8L0ZHbcms5uTmW8DY6gHMm3cPVN+DYg6TTDmN25gD8RG4r3y8rjizDU4ZZ8RmcgdWH5O/nS08B0bWBuMFuQZe/KUOwKzhIYxohmf67VaOLai4YuJM2q/ozXdEuFUPbe9COTMd/w02IyApzSwtrYd9+JBt4pZcEkPOhNiavx8b4fQg7iYWhpKq10SQn9L+MO+AABdeIeCFJ6hAAAAAElFTkSuQmCC",__vite_glob_0_70=""+new URL("../svg/shenggui-31fe8d1c.svg",import.meta.url).href,__vite_glob_0_71=""+new URL("../svg/shuodiao-active-36a3e38b.svg",import.meta.url).href,__vite_glob_0_72=""+new URL("../svg/shuodiao-da855d30.svg",import.meta.url).href,__vite_glob_0_73="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAk1BMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////ROyVeAAAAMHRSTlMAs+gEyfz5sJmFMu/UgFJJLB0J5L+1q6CQbFg6FRH18uDVxYx4TTfhzcCkdGFFQyQX0OdKAAABGElEQVRIx93Q127DMBBE0SEpq1nFci+Su52e8P+/LgkMWKCzYypvQc7zXGCx+PsGx2indRYdB+jiFNiroIRPE1nHtMJdq5G9oe/elfbtD/0VqEpbga7BKCuagCgssSRBxoIMorOlzpAkPEggGfNgDMmIByNIQh6EkPR+G2geaEj2PNhDMufBHJI3HrxDtLXE1kC0YMEBMhNYUX86JMXHxgp6T+oEogiFfaBUDKZcC/svKZj08eb+sfqWgzIL3c7D3URdVOBMEWdra3ubh0BdLeCxnChH+1kmV64CHs3MDWYGHoPILVbwWbpBAq/ECSIDn+bZKWp4pU4whN+ras3RgTm0QYku6hl5ElXFl30+REemzOP4JcV/8wmuL3NAy/72ggAAAABJRU5ErkJggg==",__vite_glob_0_74="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAMBAMAAACdPPCPAAAAMFBMVEX///8AAAD///////////////////////////////////////////////////////9PNSPeAAAAEHRSTlOzAK09p6KbkodzNyshGBEKyUyRXgAAAE1JREFUCNdjkFRgAAGmiQwGDBDAjMSSgLIaGeQLwAz2jwyCz8CsPEEGQdkAIIP1IpAleATI8hEEsaQVGJg2glmCixi0BCEsYRdDMAsGAGXPC22qqTvSAAAAAElFTkSuQmCC",__vite_glob_0_75="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAWCAMAAADgvdz9AAAAUVBMVEUAAABnMgdpMgVnMghnMghnMgdnMgZnMQZnMQZnMgdnMgdnMgdnMgZnMgdnMgZnMgdnMgZnMwdnMQVoMQRgKgBnMgdnMwhoMgZmMwdmMwBnMgfLSw7JAAAAGnRSTlMA3zJmzL1XfCqU/NnF9vDknGtcOQzQgXZLD56OYkkAAABwSURBVCjPzc7JCoAwDEXRWoemg/Oc//9QRQpPMHblwrsLB5KoW2ZTiYh9ijVn/2ado/HJhpF98lCi/uvXqEI6yk40vb7Wz47ZheXivEDrOU+BY+LtDstagRtwI3ALDgIb8KCEbERnlNjY+br2lgQ6AOMJDM3YkDhmAAAAAElFTkSuQmCC",__vite_glob_0_76="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAA8CAMAAAAwsEgmAAABiVBMVEUAAAC4wOOgw9WYwOCht8uit82jt82kuM+jtc+jtchNn9ugt82kt82ht8yUudBJndujuc6juM2kuM5SuftJndp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D3C6EHS8Ww2MdvyjUSMZq3WaPw7EJ1DUlp6JDLCu0ePHF3WoE7zPgovBNL74TBJb8cQTmQok0m9WDyrAxvIH4BHKzxMmuBcHOAuZIc1vXher9f+8vCiUZJW4UmPDE6nX9P1a4CvOpMmDwFj696UdqKf1esX1rEZQFh4eCEPAUMeCGc8bCilafp5/dooHNNYVNLUeVW+MPORzZUA1i+LAAsP6Owu/YH1l8ADwjMMgKWHgslDSvdVNICLEcOwTDOPHq3wVNJ73OMFuw+dNYS5NI4FaLkeTukxlqyksDVMvGCZCLdJb9nCY8kkly7CLtmld92SZlUBwxNPf33rqN9/wCNG0g4Y2U6awovHEf6ZTOILUdodVh4AkzTC7ho8PAlXeR7cw8KJwxP5TsNBwImr9cgmWBlgaA0w5UFJ0/XAPACW0gCjB0pzuGNN123hIVytlNRYaPPIA9dUeSD8pGyTLpgmwPIgpOVOb9HEx1gfeABMHpbwwM7SQ63pBOsGWM6FPNSakkdQhtfF5spllbRBsJR2XLG9+AIbKlPSMjySdoQnD9MyGykraRUewio8kh71MLs00BKO4jVFWEnP4JEBD4Q1lBbhAUzSMjxcU/4LeCWSPpHrkbclrX4BU3QY0SOVapdGWEoj/JXxuo0emkpafeNp5bHIRHWDh3yhYz3UxN8xWSN9zvBo4vZrOu5hiu6ukLSauOOavpWs8KbwXNc0vNjx05yU0nRNcfPIY/oL66zhfvJwfC6h6c/MvXqH3g8+fWAJ+OGzgfmlFWarG2rqAKqUjHVOAAAAAElFTkSuQmCC",__vite_glob_0_79=""+new URL("../svg/task-bg-859300d7.svg",import.meta.url).href,__vite_glob_0_80="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAq1BMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Nr6iZAAAAOHRSTlMAJgv9++oO8xXvGQf3ppph39y9UzQe5NLBrZ9+cV1GLdbOs5CHOsq5jIlnV0xCI8OvhHdrk5JoP6sIt7sAAAHaSURBVEjH3ZTpcvIwDEUF2cgCCYEkQAhbodAW6PYt9/2frJGnnQyWhgfo+escS9G1Tb+Ryc5z8I0T5indZ5DDYlvQHfoVBFl0R/gLhTkxcZrGsqEECs6a10bAQggpVOp2qXCBsRBGUBm1S0/QKjxCIZ/yNELTmk0AyZ7oZV6N2RTf9yBZUPRT9yxDhsDz/U3n2tQQvJu/3TX/WFvZwhyCA4XAA+f2yAlajNGRBGAGayDp8+IK8OyD5HTf7/qxCcU/ANnPRBJLOKCjnX2ElvUVcM15bdi85RkdvbYgWj65z9xvC5Sc+C1/FGFrtilHwwBwe5YwUwSk3ew+ySLUhJIuMHgNWRTQhD29AchPjU82Z01wo6sLBANS+NCEIT2YC3FWhKEmTH2+CL31URE2ijCjJYAjLTwSxK4iTCgDsBokiIQwhRTG5opsqG4lITSKsDRhPsce8CGEkxRCn8t6/dSMy+YohRMNTXRbAJUQSiG4RZRwdBeToBASIQzp3fTyBkaE7QnhEHsc3dVBixPbwswSvp/aV3M2tHd1KYWKo/MDME9C6Je2sAKQmY308/rftYQdOLoMLc4LKVy8GyFygMCfmP35ewW/3oadUDj85r0iqPaiH506nA3oV/IFZYG/rsR0MY4AAAAASUVORK5CYII=",__vite_glob_0_81=""+new URL("../svg/tickoff-0fda3f41.svg",import.meta.url).href,__vite_glob_0_82="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAqFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8j1z1tAAAAN3RSTlMAnCjnJlsL/O+8DvXr497MtV4fEgTVwq6YhmhiRRsXnzn5jYlySywIBqilkn53blNAMy4i0HxPwwsuwgAAAblJREFUSMfd1dlyqkAUheEdUeYZHFAgajQx83RO1vu/WUgXJbB3k/I6/w3Y9GdXKwr9mWaz8+kx9nHOdja5dj5wRaosBitKtaAVdxFEQa0RV63YQNNSTcmTzUkIdZTdtjOu6ULx1IynFhDShWLVDN+ArTAunPdm0LQBfNAlomg+xOW/8EcSSwr1uora0y+6QPiuO4dKbEEvCrXbeLb+YSWxTCm2uQ3s23tgycFi0omVp0B9C3gmNZWAwRewjJ7I1SLZFgjU1SmwY6C51heVuis+AauipgQIGVhjINRxTSHguM0CBrBi4BFSROptgtWDB1gTvmdoxIaWaHshlg2NCOgNKj8hVgpoRKFWcPaJS7wjdML9tAAvI03P0Iq1+kEcNeAePZENdj75cDRgjl5T6omYrg0SnSwGOpHWHmoB3sFBJxKgFCDh4DT4Pp4F2HNgGtOeeBDAEQAFdeIgQCCAldaTToh2AtxTYfwifAG2dz5+EQsG2v/ymMbEiwRzAK/u2BpmwEEJIMwPxph42zEQAzjkIUZF6Q9AZQG2+wqcxYyL7H9kdyAF8EgLePObihrBgezJXmTDR/Nf6RuYZKNPXpyrswAAAABJRU5ErkJggg==",__vite_glob_0_83=""+new URL("../svg/tickon-fbcde2e9.svg",import.meta.url).href,__vite_glob_0_84=""+new URL("../png/tj-a46bf4d1.png",import.meta.url).href,__vite_glob_0_85=""+new URL("../png/tpbz-57c42ef9.png",import.meta.url).href,__vite_glob_0_86=""+new URL("../svg/tv-6937ad6f.svg",import.meta.url).href,__vite_glob_0_87=""+new URL("../svg/yijian-9ffcec54.svg",import.meta.url).href,__vite_glob_0_88=""+new URL("../png/yjfk-ac627152.png",import.meta.url).href,nameImg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK4AAAAqCAMAAAAd85ASAAAAn1BMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8Kd3m4AAAANHRSTlMA8UX6vTtxKulsaLVizhiWqH4hJtmuFe3gQQj2glsNNwSRe50yxi4ehk5HdVTSEsLki8mi9hji2gAABVJJREFUWMPdmNtiojAQQEdRQUWgIoogCGpV6qVa8//ftkkGCAgp1O7L7nkok7TAaTIziPAvYPfhiTk8EZqMEGqYv1E20IpuQMkv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XhsJnrd7qO+Kwt0/UKbzD1uSN0Qd4Z8AV7k+ka3RRsln435/CN7gh3S6brzff6BbsXMPg6d6yYMf+h7ontdZDp6kTGSKIrkleL6nU/RC4maWEJphVdT8/AjvPIx3P+OkWxf6cL+CFar9cNct0Yp81vda9ShX567gx+qTvEDh9CmQ0mSaZrRjht+3W6u9a659/qhgvcNygSrRQsbbSeJJDRv1R1sXtrzbo3HXJdY4kECkGUUTpjFDyuMdrdt9b4faZtmH/llWKXOy0mljnYQxH7rI84ISCpwqRJNwwBhK74fivjVrzP8TJzNb+mgYcaho95eWkRZWyu3urpZ39v5m+QdgY+LVf52JN8YZoUa1eJxcKapI5t4VOK7xxHLG9WpAViP9T0jueGRlbWnSZn/WS5WSHPCDKJV6cBW7c7qcPC9i1gm4bnKr12uldMfjf6iW75aT2ObO3pC6KN/CUqGpd0Ye+z2/chbqWLNd7Zwcu6j4ie4JZ1h2KoaLNJz9nSdR99iOxDsub2CNlx0ayLrdvvwku6ou2EsVLUXW7vJ/3cXduGB1WWn0Vd2AZ4DEfO5aZJGOSNRPmy4SVdzRmIXTF05+ajbjOHkzPRfB9eYV2ZiQyGB1WMKcUDY7225xFUuNLfRvDf8ge6+7WRrwc33wAAAABJRU5ErkJggg==",icons$3=Object.assign({"./add.png":__vite_glob_0_0$1,"./addImg.png":__vite_glob_0_1$1,"./back.png":backImg,"./background.png":__vite_glob_0_3$1,"./background.svg":__vite_glob_0_4$1,"./background1.png":__vite_glob_0_5$1,"./bg.png":__vite_glob_0_6$1,"./close2.svg":__vite_glob_0_7$1,"./closeImg.png":__vite_glob_0_8$1,"./cursor-icon-1.svg":__vite_glob_0_9$1,"./cursor-icon-2.svg":__vite_glob_0_10$1,"./cursor-icon-3.svg":__vite_glob_0_11$1,"./cutImg.png":__vite_glob_0_12$1,"./down.svg":__vite_glob_0_13$1,"./gl.png":glImg,"./guan.png":__vite_glob_0_15$1,"./guding-active.svg":__vite_glob_0_16$1,"./guding.svg":__vite_glob_0_17$1,"./headImg.png":__vite_glob_0_18$1,"./headTit.png":__vite_glob_0_19$1,"./icon-back.png":iconBack,"./icon-staff-active.svg":__vite_glob_0_21$1,"./icon-staff.svg":__vite_glob_0_22$1,"./icon_evaluatingOff.svg":__vite_glob_0_23$1,"./icon_evaluatingOn.svg":__vite_glob_0_24$1,"./icon_menu.png":__vite_glob_0_25$1,"./icon_menu.svg":__vite_glob_0_26$1,"./icon_minus.svg":__vite_glob_0_27$1,"./icon_pause.png":__vite_glob_0_28$1,"./icon_pause.svg":__vite_glob_0_29$1,"./icon_play.png":__vite_glob_0_30$1,"./icon_play.svg":__vite_glob_0_31$1,"./icon_plus.svg":__vite_glob_0_32,"./icon_reset.png":__vite_glob_0_33,"./icon_resetbtn.svg":__vite_glob_0_34,"./icon_speed.svg":__vite_glob_0_35,"./icon_speedRest.svg":__vite_glob_0_36,"./icon_zhuanpu.svg":__vite_glob_0_37,"./info.svg":__vite_glob_0_38,"./kai.png":__vite_glob_0_39,"./list.png":listImg,"./lx.png":lxImg,"./mingsong.png":__vite_glob_0_42,"./mode.png":iconMode,"./modeType.svg":__vite_glob_0_44,"./music.png":__vite_glob_0_45,"./music.svg":__vite_glob_0_46,"./music1.png":__vite_glob_0_47,"./off.svg":__vite_glob_0_48,"./on.svg":__vite_glob_0_49,"./pc.png":pcImg,"./pc_end_icon.png":__vite_glob_0_51,"./pc_icon_pausebtn.png":__vite_glob_0_52,"./pc_icon_playbtn.png":__vite_glob_0_53,"./pc_icon_resetbtn.png":__vite_glob_0_54,"./perform.png":__vite_glob_0_55,"./photo.png":__vite_glob_0_56,"./qipao.png":__vite_glob_0_57,"./qx.png":__vite_glob_0_58,"./radio.png":__vite_glob_0_59,"./radioActive.png":__vite_glob_0_60,"./recommendationName.png":__vite_glob_0_61,"./section0.png":__vite_glob_0_62,"./section0.svg":__vite_glob_0_63,"./section1.png":__vite_glob_0_64,"./section1.svg":__vite_glob_0_65,"./section2.png":__vite_glob_0_66,"./section2.svg":__vite_glob_0_67,"./settingName.png":__vite_glob_0_68,"./shenggui.png":__vite_glob_0_69,"./shenggui.svg":__vite_glob_0_70,"./shuodiao-active.svg":__vite_glob_0_71,"./shuodiao.svg":__vite_glob_0_72,"./sing.png":__vite_glob_0_73,"./sj.png":__vite_glob_0_74,"./speed.png":__vite_glob_0_75,"./speedBtn.png":__vite_glob_0_76,"./submit.png":__vite_glob_0_77,"./subtract.png":__vite_glob_0_78,"./task-bg.svg":__vite_glob_0_79,"./tickoff.png":__vite_glob_0_80,"./tickoff.svg":__vite_glob_0_81,"./tickon.png":__vite_glob_0_82,"./tickon.svg":__vite_glob_0_83,"./tj.png":__vite_glob_0_84,"./tpbz.png":__vite_glob_0_85,"./tv.svg":__vite_glob_0_86,"./yijian.svg":__vite_glob_0_87,"./yjfk.png":__vite_glob_0_88,"./zt.png":nameImg}),headImg=i=>icons$3[`./${i}`]||"",speedContainer="_speedContainer_qtzmq_1",head$4="_head_qtzmq_1",headTit$3="_headTit_qtzmq_8",closeImg$4="_closeImg_qtzmq_16",content$7="_content_qtzmq_24",conBox$2="_conBox_qtzmq_33",tit$2="_tit_qtzmq_45",spendCon="_spendCon_qtzmq_51",btn$7="_btn_qtzmq_57",sliderCon="_sliderCon_qtzmq_63",customButton="_customButton_qtzmq_82",speedVal="_speedVal_qtzmq_87",speedBtn="_speedBtn_qtzmq_99",speedSel="_speedSel_qtzmq_105",metronome="_metronome_qtzmq_125",styles$q={speedContainer,head:head$4,headTit:headTit$3,closeImg:closeImg$4,content:content$7,conBox:conBox$2,tit:tit$2,spendCon,btn:btn$7,sliderCon,customButton,speedVal,speedBtn,speedSel,metronome},Speed=defineComponent({name:"speed",setup(){const i=ref(state$1.speed),e=()=>{i.value=Math.max(i.value-1,45)},r=()=>{i.value=Math.min(i.value+1,270)};watch(()=>i.value,()=>{handleSetSpeed(i.value)});const s=computed({get(){return!metronomeData.disable},set(o){metronomeData.disable=!o}});return()=>createVNode("div",{class:styles$q.speedContainer},[createVNode("div",{class:styles$q.head},[createVNode("img",{class:styles$q.headTit,src:headImg("headTit.png")},null),createVNode("img",{class:styles$q.closeImg,src:headImg("closeImg.png"),onClick:()=>{headData.speedShow=!1}},null)]),createVNode("div",{class:styles$q.content},[createVNode("div",{class:styles$q.conBox},[createVNode("div",{class:styles$q.tit},[createTextVNode("速度")]),createVNode("div",{class:styles$q.spendCon},[createVNode("img",{src:headImg("cutImg.png"),class:[styles$q.btn],onClick:e},null),createVNode("div",{class:styles$q.sliderCon},[createVNode(Slider,{class:styles$q.slider,max:270,min:45,modelValue:i.value,"onUpdate:modelValue":o=>i.value=o},{button:()=>createVNode("div",{class:styles$q.customButton},[createVNode("div",{class:styles$q.speedVal},[i.value]),createVNode("div",{class:styles$q.speedBtn},null)])})]),createVNode("img",{src:headImg("addImg.png"),class:[styles$q.btn],onClick:r},null)]),createVNode("div",{class:styles$q.speedSel},[createVNode("div",{onClick:()=>{i.value=state$1.originSpeed}},[createTextVNode("原速")]),createVNode("div",{onClick:()=>{i.value=70}},[createTextVNode("70")]),createVNode("div",{onClick:()=>{i.value=80}},[createTextVNode("80")]),createVNode("div",{onClick:()=>{i.value=90}},[createTextVNode("90")]),createVNode("div",{onClick:()=>{i.value=100}},[createTextVNode("100")]),createVNode("div",{onClick:()=>{i.value=110}},[createTextVNode("110")])]),createVNode("div",{class:styles$q.metronome},[createVNode("div",{class:styles$q.tit},[createTextVNode("节拍器")]),createVNode(Switch$1,{modelValue:s.value,"onUpdate:modelValue":o=>s.value=o},null)])])])])}}),settting="_settting_1920k_1",head$3="_head_1920k_1",headTit$2="_headTit_1920k_8",closeImg$3="_closeImg_1920k_16",content$6="_content_1920k_24",conBox$1="_conBox_1920k_33",cellBox="_cellBox_1920k_45",tit$1="_tit_1920k_67",radioBox="_radioBox_1920k_73",active$2="_active_1920k_92",frequency$1="_frequency_1920k_97",frequencyNum="_frequencyNum_1920k_101",btn$6="_btn_1920k_113",reactionTimeBox="_reactionTimeBox_1920k_119",reactionTime="_reactionTime_1920k_119",timeName="_timeName_1920k_136",cellBtnBox="_cellBtnBox_1920k_142",slider="_slider_1920k_156",sliderBtn="_sliderBtn_1920k_160",styles$p={settting,head:head$3,headTit:headTit$2,closeImg:closeImg$3,content:content$6,conBox:conBox$1,cellBox,tit:tit$1,radioBox,active:active$2,frequency:frequency$1,frequencyNum,btn:btn$6,reactionTimeBox,reactionTime,timeName,cellBtnBox,slider,sliderBtn},index$1="",_numberOfSegments=58,smoothAnimationState={isShow:ref(!1),canvasDom:null,canvasCtx:null,canvasDomWith:0,canvasDomHeight:80,smoothAnimationBoxDom:null,smoothBotDom:null,osmdCanvasPageDom:null,osdmScrollDom:null,osdmScrollDomWith:0,selectionBoxDom:null,pointsPos:[],translateXNum:0,aveSpeed:0,clientWidth:0};watch(smoothAnimationState.isShow,()=>{var i,e;smoothAnimationState.isShow.value?(i=smoothAnimationState.smoothAnimationBoxDom)==null||i.classList.remove("smoothAnimationBoxHide"):(e=smoothAnimationState.smoothAnimationBoxDom)==null||e.classList.add("smoothAnimationBoxHide")});function initSmoothAnimation(){createSmoothAnimation();const i=getPointsPosByBatePos();console.log(i,"batePos"),smoothAnimationState.pointsPos=createSmoothCurvePoints(i,void 0,void 0,_numberOfSegments);const e=i.reduce((r,s,o,a)=>(o!==0&&Math.abs(s.MeasureNumberXML-a[o-1].MeasureNumberXML)<=1&&(r+=s.x-a[o-1].x),r),0);smoothAnimationState.aveSpeed=e/(state$1.times[state$1.times.length-1].time-state$1.times[0].time)/1e3*16.67,calcClientWidth(),document.addEventListener("resize",calcClientWidth),smoothAnimationState.isShow.value=!0,console.log(smoothAnimationState,"一行谱小鸟数据")}function destroySmoothAnimation(){var i;smoothAnimationState.isShow.value=!1,document.removeEventListener("resize",calcClientWidth),(i=smoothAnimationState.smoothAnimationBoxDom)==null||i.remove(),Object.assign(smoothAnimationState,{canvasDom:null,canvasCtx:null,canvasDomWith:0,canvasDomHeight:80,smoothAnimationBoxDom:null,smoothBotDom:null,osmdCanvasPageDom:null,osdmScrollDom:null,pointsPos:[],translateXNum:0,aveSpeed:0,clientWidth:0}),Object.assign(moveState,{oldIndex:-1,progress:0,activeIndex:0})}function moveSmoothAnimationByPlayTime(i){var l,c,u,d,g,m;if(state$1.playState==="paused")return;const e=i||getAudioCurrentTime();if(e<=state$1.fixtime||e>((l=state$1.times.last())==null?void 0:l.endtime))return;let r=state$1.activeNoteIndex+1,s=(c=state$1.times[r])==null?void 0:c.bbox;for(;!s&&r<state$1.times.length;)r+=1,s=(u=state$1.times[r])==null?void 0:u.bbox;const o=(r>state$1.times.length-1?(d=state$1.times[state$1.activeNoteIndex])==null?void 0:d.endtime:state$1.times[r].time)-((g=state$1.times[state$1.activeNoteIndex])==null?void 0:g.time),a=(e-((m=state$1.times[state$1.activeNoteIndex])==null?void 0:m.time))/o;moveSmoothAnimation(a,state$1.activeNoteIndex)}const moveState={oldIndex:-1,progress:0,activeIndex:0};function moveSmoothAnimation(i,e){var l,c;moveState.progress=i,moveState.activeIndex=e;const r=(e+1)*(_numberOfSegments+1)-1,s=Math.round(i*_numberOfSegments);let o=r-_numberOfSegments+s;if(moveState.oldIndex===o)return;moveState.oldIndex=o;const a=smoothAnimationState.pointsPos[o];(l=smoothAnimationState.canvasCtx)==null||l.clearRect(0,0,smoothAnimationState.canvasDomWith,smoothAnimationState.canvasDomHeight),smoothAnimationMove({x:a.x-20,y:a.y-25},smoothAnimationState.pointsPos,smoothAnimationState.pointsPos.slice(0,o)),!((((c=smoothAnimationState.osdmScrollDom)==null?void 0:c.scrollLeft)||0)+smoothAnimationState.translateXNum+smoothAnimationState.osdmScrollDomWith>=smoothAnimationState.canvasDomWith)&&move_osmd(a)}function move_osmd(i){var d;const e=smoothAnimationState.aveSpeed*(state$1.speed/60),r=smoothAnimationState.clientWidth,s=smoothAnimationState.clientWidth/2,{left:o,right:a,width:l}=smoothAnimationState.smoothBotDom.getBoundingClientRect(),c=o+l/2;a>r?(smoothAnimationState.translateXNum=0,smoothAnimationState.osdmScrollDom.scrollLeft=i.x-r*.9):o<0?(smoothAnimationState.translateXNum=0,smoothAnimationState.osdmScrollDom.scrollLeft=i.x-r*.1):c>s-r*.3&&c<=s-r*.25?smoothAnimationState.translateXNum+=e*.5:c>s-r*.25&&c<=s-r*.2?smoothAnimationState.translateXNum+=e*.6:c>s-r*.2&&c<=s-r*.15?smoothAnimationState.translateXNum+=e*.7:c>s-r*.15&&c<=s-r*.1?smoothAnimationState.translateXNum+=e*.8:c>s-r*.1&&c<=s-r*.05?smoothAnimationState.translateXNum+=e*.9:c>s-r*.05&&c<=s?smoothAnimationState.translateXNum+=e:c>s&&c<=s+r*.05?smoothAnimationState.translateXNum+=e*1.2:c>s+r*.05&&c<=s+r*.1?smoothAnimationState.translateXNum+=e*1.4:c>s+r*.1&&c<=s+r*.15?smoothAnimationState.translateXNum+=e*1.7:c>s+r*.15&&c<=s+r*.2?smoothAnimationState.translateXNum+=e*2:c>s+r*.2&&c<=s+r*.25?smoothAnimationState.translateXNum+=e*2.4:c>s+r*.25&&c<=s+r*.3?smoothAnimationState.translateXNum+=e*2.8:c>s+r*.3&&c<=s+r*.35?smoothAnimationState.translateXNum+=e*3.3:c>s+r*.35&&c<=s+r*.4?smoothAnimationState.translateXNum+=e*3.8:c>s+r*.4&&c<=s+r*.45?smoothAnimationState.translateXNum+=e*4.4:c>s+r*.45&&c<=s+r*.5&&(smoothAnimationState.translateXNum+=e*5);const u=smoothAnimationState.canvasDomWith-smoothAnimationState.osdmScrollDomWith-(((d=smoothAnimationState.osdmScrollDom)==null?void 0:d.scrollLeft)||0);smoothAnimationState.translateXNum>u&&(smoothAnimationState.translateXNum=u),moveTranslateXNum(smoothAnimationState.translateXNum)}function moveTranslateXNum(i){smoothAnimationState.osmdCanvasPageDom&&(smoothAnimationState.osmdCanvasPageDom.style.transform=`translateX(-${i}px)`),smoothAnimationState.selectionBoxDom&&(smoothAnimationState.selectionBoxDom.style.transform=`translateX(-${i}px)`)}function smoothAnimationMove(i,e,r){smoothAnimationState.smoothBotDom&&(smoothAnimationState.smoothBotDom.style.transform=`translate(${i.x}px, ${i.y}px)`),smoothAnimationState.canvasCtx&&drawSmoothCurve(smoothAnimationState.canvasCtx,e,r)}function calcClientWidth(){smoothAnimationState.clientWidth=document.body.clientWidth}function createSmoothAnimation(){const i=document.querySelector("#musicAndSelection");smoothAnimationState.osdmScrollDom=i,smoothAnimationState.osdmScrollDomWith=(i==null?void 0:i.offsetWidth)|0;const e=document.querySelector("#osmdCanvasPage1");smoothAnimationState.osmdCanvasPageDom=e,setTimeout(()=>{const l=document.querySelector("#selectionBox");smoothAnimationState.selectionBoxDom=l},0);const r=document.createElement("div");r.className="smoothAnimationBox",smoothAnimationState.smoothAnimationBoxDom=r;const s=document.createElement("div");s.className="smoothAnimationCon";const o=document.createElement("canvas");o.className="smoothCanvas",smoothAnimationState.canvasDom=o,smoothAnimationState.canvasDomWith=(e==null?void 0:e.offsetWidth)|0,o.width=smoothAnimationState.canvasDomWith,o.height=smoothAnimationState.canvasDomHeight,smoothAnimationState.canvasCtx=o.getContext("2d");const a=document.createElement("div");a.className="smoothBot",smoothAnimationState.smoothBotDom=a,s.appendChild(o),s.appendChild(a),r.appendChild(s),e==null||e.insertBefore(r,e.firstChild)}function getPointsPosByBatePos(){let i=0;const e=state$1.times.reduce((o,a)=>(a.frequency!==-1&&(o+=a.frequency,i++),o),0)/i,r=state$1.times.reduce((o,a)=>(a.bbox&&o.push({MeasureNumberXML:a.MeasureNumberXML,x:a.bbox.x,y:smoothAnimationState.canvasDomHeight/2-((a.frequency===-1?2*e*.1:a.frequency)-e)/e*smoothAnimationState.canvasDomHeight/2}),o),[]),s={...r[r.length-1]};return s.MeasureNumberXML++,s.x=smoothAnimationState.canvasDomWith-30>s.x?smoothAnimationState.canvasDomWith-30:s.x+15,r.push(s),r}function createSmoothCurvePoints(i,e,r,s){if(i.length<=2)return i;e=e||.5,r=!!r,s=s||20;let o=i.slice(0),a=[],l,c,u,d,g,m,y,b,A,S,E,x,P;for(r?(o.unshift(i[i.length-1]),o.unshift(i[i.length-1]),o.push(i[0])):(o.unshift(i[0]),o.push(i[i.length-1])),P=1;P<o.length-2;P+=1){if(u=(o[P+1].x-o[P-1].x)*e,d=(o[P+2].x-o[P].x)*e,g=(o[P+1].y-o[P-1].y)*e,m=(o[P+2].y-o[P].y)*e,o[P+1].MeasureNumberXML-o[P+2].MeasureNumberXML>1){const k=o[P+1].MeasureNumberXML+1;let I=o.findIndex(M=>k===M.MeasureNumberXML);I===-1&&(I=P+1),d=(o[I].x-o[P].x)*e}if(o[P-1].MeasureNumberXML-o[P].MeasureNumberXML>1){const k=o[P].MeasureNumberXML-1;let I=o.findIndex((M,R)=>{var B;return k===M.MeasureNumberXML&&k!==((B=o[R+1])==null?void 0:B.MeasureNumberXML)});I===-1&&(I=P),u=(o[P+1].x-o[I].x)*e}if(o[P+1].MeasureNumberXML-o[P+2].MeasureNumberXML<-1){const k=o[P+1].MeasureNumberXML+1;let I=o.findIndex(M=>k===M.MeasureNumberXML);I===-1&&(I=P+1),d=(o[I].x-o[P].x)*e}if(o[P-1].MeasureNumberXML-o[P].MeasureNumberXML<-1){const k=o[P].MeasureNumberXML-1;let I=o.findIndex((M,R)=>{var B;return k===M.MeasureNumberXML&&k!==((B=o[R+1])==null?void 0:B.MeasureNumberXML)});I===-1&&(I=P),u=(o[P+1].x-o[I].x)*e}const C=i[P-1].MeasureNumberXML,T=i[P].MeasureNumberXML;for(x=0;x<=s;x++){if(T-C<0||T-C>1){a.push({x:l,y:c,MeasureNumberXML:C});continue}E=x/s,y=2*Math.pow(E,3)-3*Math.pow(E,2)+1,b=-(2*Math.pow(E,3))+3*Math.pow(E,2),A=Math.pow(E,3)-2*Math.pow(E,2)+E,S=Math.pow(E,3)-Math.pow(E,2),l=y*o[P].x+b*o[P+1].x+A*u+S*d,c=y*o[P].y+b*o[P+1].y+A*g+S*m,a.push({x:l,y:c,MeasureNumberXML:x===s?T:C})}}return a}function drawSmoothCurve(i,e,r){i.lineWidth=4,i.lineJoin="round",i.strokeStyle="rgba(255,255,255,0.6)",drawLines(i,e),r!=null&&r.length&&(i.strokeStyle="#FFC121",drawLines(i,r))}function drawLines(i,e){i.beginPath(),i.moveTo(e[0].x,e[0].y);for(let r=1;r<e.length-1;r++){if(Math.abs(e[r].MeasureNumberXML-e[r-1].MeasureNumberXML)>1){i.stroke(),i.beginPath(),i.moveTo(e[r+1].x,e[r+1].y);continue}i.lineTo(e[r].x,e[r].y)}i.stroke()}const recommendation="_recommendation_f3qyk_1",head$2="_head_f3qyk_1",headTit$1="_headTit_f3qyk_8",closeImg$2="_closeImg_f3qyk_16",content$5="_content_f3qyk_24",conBox="_conBox_f3qyk_33",dropdownMenu="_dropdownMenu_f3qyk_45",currItem="_currItem_f3qyk_103",field="_field_f3qyk_107",uploader="_uploader_f3qyk_124",uploaderbox="_uploaderbox_f3qyk_152",img$2="_img_f3qyk_163",btnCon$1="_btnCon_f3qyk_173",styles$o={recommendation,head:head$2,headTit:headTit$1,closeImg:closeImg$2,content:content$5,conBox,dropdownMenu,currItem,field,uploader,uploaderbox,img:img$2,btnCon:btnCon$1};var cosJsSdkV5Exports={},cosJsSdkV5={get exports(){return cosJsSdkV5Exports},set exports(i){cosJsSdkV5Exports=i}};(function(i,e){(function(s,o){i.exports=o()})(commonjsGlobal,function(){return function(r){var s={};function o(a){if(s[a])return s[a].exports;var l=s[a]={i:a,l:!1,exports:{}};return r[a].call(l.exports,l,l.exports,o),l.l=!0,l.exports}return o.m=r,o.c=s,o.d=function(a,l,c){o.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:c})},o.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},o.t=function(a,l){if(l&1&&(a=o(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(o.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var u in a)o.d(c,u,function(d){return a[d]}.bind(null,u));return c},o.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(l,"a",l),l},o.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},o.p="/dist/",o(o.s="./index.js")}({"./index.js":function(r,s,o){var a=o("./src/cos.js");r.exports=a},"./lib/base64.js":function(r,s){var o=function(a){a=a||{};var l=a.Base64,c="2.1.9",u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=function(D){for(var F={},N=0,K=D.length;N<K;N++)F[D.charAt(N)]=N;return F}(u),g=String.fromCharCode,m=function(F){if(F.length<2){var N=F.charCodeAt(0);return N<128?F:N<2048?g(192|N>>>6)+g(128|N&63):g(224|N>>>12&15)+g(128|N>>>6&63)+g(128|N&63)}else{var N=65536+(F.charCodeAt(0)-55296)*1024+(F.charCodeAt(1)-56320);return g(240|N>>>18&7)+g(128|N>>>12&63)+g(128|N>>>6&63)+g(128|N&63)}},y=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,b=function(F){return F.replace(y,m)},A=function(F){var N=[0,2,1][F.length%3],K=F.charCodeAt(0)<<16|(F.length>1?F.charCodeAt(1):0)<<8|(F.length>2?F.charCodeAt(2):0),G=[u.charAt(K>>>18),u.charAt(K>>>12&63),N>=2?"=":u.charAt(K>>>6&63),N>=1?"=":u.charAt(K&63)];return G.join("")},S=a.btoa?function(D){return a.btoa(D)}:function(D){return D.replace(/[\s\S]{1,3}/g,A)},E=function(D){return S(b(D))},x=function(F,N){return N?E(String(F)).replace(/[+\/]/g,function(K){return K=="+"?"-":"_"}).replace(/=/g,""):E(String(F))},P=function(F){return x(F,!0)},C=new RegExp(["[À-ß][€-¿]","[à-ï][€-¿]{2}","[ð-÷][€-¿]{3}"].join("|"),"g"),T=function(F){switch(F.length){case 4:var N=(7&F.charCodeAt(0))<<18|(63&F.charCodeAt(1))<<12|(63&F.charCodeAt(2))<<6|63&F.charCodeAt(3),K=N-65536;return g((K>>>10)+55296)+g((K&1023)+56320);case 3:return g((15&F.charCodeAt(0))<<12|(63&F.charCodeAt(1))<<6|63&F.charCodeAt(2));default:return g((31&F.charCodeAt(0))<<6|63&F.charCodeAt(1))}},k=function(F){return F.replace(C,T)},I=function(F){var N=F.length,K=N%4,G=(N>0?d[F.charAt(0)]<<18:0)|(N>1?d[F.charAt(1)]<<12:0)|(N>2?d[F.charAt(2)]<<6:0)|(N>3?d[F.charAt(3)]:0),q=[g(G>>>16),g(G>>>8&255),g(G&255)];return q.length-=[0,0,2,1][K],q.join("")},M=a.atob?function(D){return a.atob(D)}:function(D){return D.replace(/[\s\S]{1,4}/g,I)},R=function(D){return k(M(D))},B=function(F){return R(String(F).replace(/[-_]/g,function(N){return N=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},_=function(){var F=a.Base64;return a.Base64=l,F},V={VERSION:c,atob:M,btoa:S,fromBase64:B,toBase64:x,utob:b,encode:x,encodeURI:P,btou:k,decode:B,noConflict:_};return V}();r.exports=o},"./lib/crypto.js":function(r,s,o){(function(a){var l=o("./node_modules/@babel/runtime/helpers/typeof.js"),c=c||function(u,d){var g={},m=g.lib={},y=function(){},b=m.Base={extend:function(I){y.prototype=this;var M=new y;return I&&M.mixIn(I),M.hasOwnProperty("init")||(M.init=function(){M.$super.init.apply(this,arguments)}),M.init.prototype=M,M.$super=this,M},create:function(){var I=this.extend();return I.init.apply(I,arguments),I},init:function(){},mixIn:function(I){for(var M in I)I.hasOwnProperty(M)&&(this[M]=I[M]);I.hasOwnProperty("toString")&&(this.toString=I.toString)},clone:function(){return this.init.prototype.extend(this)}},A=m.WordArray=b.extend({init:function(I,M){I=this.words=I||[],this.sigBytes=M!=d?M:4*I.length},toString:function(I){return(I||E).stringify(this)},concat:function(I){var M=this.words,R=I.words,B=this.sigBytes;if(I=I.sigBytes,this.clamp(),B%4)for(var _=0;_<I;_++)M[B+_>>>2]|=(R[_>>>2]>>>24-8*(_%4)&255)<<24-8*((B+_)%4);else if(65535<R.length)for(_=0;_<I;_+=4)M[B+_>>>2]=R[_>>>2];else M.push.apply(M,R);return this.sigBytes+=I,this},clamp:function(){var I=this.words,M=this.sigBytes;I[M>>>2]&=4294967295<<32-8*(M%4),I.length=u.ceil(M/4)},clone:function(){var I=b.clone.call(this);return I.words=this.words.slice(0),I},random:function(I){for(var M=[],R=0;R<I;R+=4)M.push(4294967296*u.random()|0);return new A.init(M,I)}}),S=g.enc={},E=S.Hex={stringify:function(I){var M=I.words;I=I.sigBytes;for(var R=[],B=0;B<I;B++){var _=M[B>>>2]>>>24-8*(B%4)&255;R.push((_>>>4).toString(16)),R.push((_&15).toString(16))}return R.join("")},parse:function(I){for(var M=I.length,R=[],B=0;B<M;B+=2)R[B>>>3]|=parseInt(I.substr(B,2),16)<<24-4*(B%8);return new A.init(R,M/2)}},x=S.Latin1={stringify:function(I){var M=I.words;I=I.sigBytes;for(var R=[],B=0;B<I;B++)R.push(String.fromCharCode(M[B>>>2]>>>24-8*(B%4)&255));return R.join("")},parse:function(I){for(var M=I.length,R=[],B=0;B<M;B++)R[B>>>2]|=(I.charCodeAt(B)&255)<<24-8*(B%4);return new A.init(R,M)}},P=S.Utf8={stringify:function(I){try{return decodeURIComponent(escape(x.stringify(I)))}catch(M){throw Error("Malformed UTF-8 data")}},parse:function(I){return x.parse(unescape(encodeURIComponent(I)))}},C=m.BufferedBlockAlgorithm=b.extend({reset:function(){this._data=new A.init,this._nDataBytes=0},_append:function(I){typeof I=="string"&&(I=P.parse(I)),this._data.concat(I),this._nDataBytes+=I.sigBytes},_process:function(I){var M=this._data,R=M.words,B=M.sigBytes,_=this.blockSize,V=B/(4*_),V=I?u.ceil(V):u.max((V|0)-this._minBufferSize,0);if(I=V*_,B=u.min(4*I,B),I){for(var D=0;D<I;D+=_)this._doProcessBlock(R,D);D=R.splice(0,I),M.sigBytes-=B}return new A.init(D,B)},clone:function(){var I=b.clone.call(this);return I._data=this._data.clone(),I},_minBufferSize:0});m.Hasher=C.extend({cfg:b.extend(),init:function(I){this.cfg=this.cfg.extend(I),this.reset()},reset:function(){C.reset.call(this),this._doReset()},update:function(I){return this._append(I),this._process(),this},finalize:function(I){return I&&this._append(I),this._doFinalize()},blockSize:16,_createHelper:function(I){return function(M,R){return new I.init(R).finalize(M)}},_createHmacHelper:function(I){return function(M,R){return new T.HMAC.init(I,R).finalize(M)}}});var T=g.algo={};return g}(Math);(function(){var u=c,y=u.lib,d=y.WordArray,g=y.Hasher,m=[],y=u.algo.SHA1=g.extend({_doReset:function(){this._hash=new d.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(A,S){for(var E=this._hash.words,x=E[0],P=E[1],C=E[2],T=E[3],k=E[4],I=0;80>I;I++){if(16>I)m[I]=A[S+I]|0;else{var M=m[I-3]^m[I-8]^m[I-14]^m[I-16];m[I]=M<<1|M>>>31}M=(x<<5|x>>>27)+k+m[I],M=20>I?M+((P&C|~P&T)+1518500249):40>I?M+((P^C^T)+1859775393):60>I?M+((P&C|P&T|C&T)-1894007588):M+((P^C^T)-899497514),k=T,T=C,C=P<<30|P>>>2,P=x,x=M}E[0]=E[0]+x|0,E[1]=E[1]+P|0,E[2]=E[2]+C|0,E[3]=E[3]+T|0,E[4]=E[4]+k|0},_doFinalize:function(){var A=this._data,S=A.words,E=8*this._nDataBytes,x=8*A.sigBytes;return S[x>>>5]|=128<<24-x%32,S[(x+64>>>9<<4)+14]=Math.floor(E/4294967296),S[(x+64>>>9<<4)+15]=E,A.sigBytes=4*S.length,this._process(),this._hash},clone:function(){var A=g.clone.call(this);return A._hash=this._hash.clone(),A}});u.SHA1=g._createHelper(y),u.HmacSHA1=g._createHmacHelper(y)})(),function(){var u=c,d=u.enc.Utf8;u.algo.HMAC=u.lib.Base.extend({init:function(m,y){m=this._hasher=new m.init,typeof y=="string"&&(y=d.parse(y));var b=m.blockSize,A=4*b;y.sigBytes>A&&(y=m.finalize(y)),y.clamp();for(var S=this._oKey=y.clone(),E=this._iKey=y.clone(),x=S.words,P=E.words,C=0;C<b;C++)x[C]^=1549556828,P[C]^=909522486;S.sigBytes=E.sigBytes=A,this.reset()},reset:function(){var m=this._hasher;m.reset(),m.update(this._iKey)},update:function(m){return this._hasher.update(m),this},finalize:function(m){var y=this._hasher;return m=y.finalize(m),y.reset(),y.finalize(this._oKey.clone().concat(m))}})}(),function(){var u=c,d=u.lib,g=d.WordArray,m=u.enc;m.Base64={stringify:function(b){var A=b.words,S=b.sigBytes,E=this._map;b.clamp();for(var x=[],P=0;P<S;P+=3)for(var C=A[P>>>2]>>>24-P%4*8&255,T=A[P+1>>>2]>>>24-(P+1)%4*8&255,k=A[P+2>>>2]>>>24-(P+2)%4*8&255,I=C<<16|T<<8|k,M=0;M<4&&P+M*.75<S;M++)x.push(E.charAt(I>>>6*(3-M)&63));var R=E.charAt(64);if(R)for(;x.length%4;)x.push(R);return x.join("")},parse:function(b){var A=b.length,S=this._map,E=S.charAt(64);if(E){var x=b.indexOf(E);x!=-1&&(A=x)}for(var P=[],C=0,T=0;T<A;T++)if(T%4){var k=S.indexOf(b.charAt(T-1))<<T%4*2,I=S.indexOf(b.charAt(T))>>>6-T%4*2;P[C>>>2]|=(k|I)<<24-C%4*8,C++}return g.create(P,C)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),l(a)==="object"?a.exports=c:window.CryptoJS=c}).call(this,o("./node_modules/webpack/buildin/module.js")(r))},"./lib/json2xml.js":function(r,s,o){var a=o("./node_modules/@babel/runtime/helpers/typeof.js"),l="a-zA-Z_À-ÖØ-öø-ÿͰ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿿、-퟿豈-﷏ﷰ-�",c="-.0-9·̀-ͯ‿⁀",u=new RegExp("^([^"+l+"])|^((x|X)(m|M)(l|L))|([^"+l+c+"])","g"),d=/[^\x09\x0A\x0D\x20-\xFF\x85\xA0-\uD7FF\uE000-\uFDCF\uFDE0-\uFFFD]/gm,g=function(S){var E=[];if(S instanceof Object)for(var x in S)S.hasOwnProperty(x)&&E.push(x);return E},m=function(S,E){var x=function(C,T,k,I,M){var R=E.indent!==void 0?E.indent:" ",B=E.prettyPrint?`
  45. `+new Array(I).join(R):"";E.removeIllegalNameCharacters&&(C=C.replace(u,"_"));var _=[B,"<",C,k||""];return T&&T.length>0?(_.push(">"),_.push(T),M&&_.push(B),_.push("</"),_.push(C),_.push(">")):_.push("/>"),_.join("")};return function P(C,T,k){var I=a(C);switch((Array.isArray?Array.isArray(C):C instanceof Array)?I="array":C instanceof Date&&(I="date"),I){case"array":var M=[];return C.map(function(V){M.push(P(V,1,k+1))}),E.prettyPrint&&M.push(`
  46. `),M.join("");case"date":return C.toJSON?C.toJSON():C+"";case"object":var R=[];for(var B in C)if(C.hasOwnProperty(B))if(C[B]instanceof Array)for(var _=0;_<C[B].length;_++)C[B].hasOwnProperty(_)&&R.push(x(B,P(C[B][_],0,k+1),null,k+1,g(C[B][_]).length));else R.push(x(B,P(C[B],0,k+1),null,k+1));return E.prettyPrint&&R.length>0&&R.push(`
  47. `),R.join("");case"function":return C();default:return E.escape?b(C):""+C}}(S,0,0)},y=function(S){var E=['<?xml version="1.0" encoding="UTF-8"'];return S&&E.push(' standalone="yes"'),E.push("?>"),E.join("")};function b(A){return(""+A).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&apos;").replace(/"/g,"&quot;").replace(d,"")}r.exports=function(A,S){if(S||(S={xmlHeader:{standalone:!0},prettyPrint:!0,indent:" ",escape:!0}),typeof A=="string")try{A=JSON.parse(A.toString())}catch(C){return!1}var E="",x="";S&&(a(S)=="object"?(S.xmlHeader&&(E=y(!!S.xmlHeader.standalone)),typeof S.docType<"u"&&(x="<!DOCTYPE "+S.docType+">")):E=y()),S=S||{};var P=[E,S.prettyPrint&&x?`
  48. `:"",x,m(A,S)];return P.join("").replace(/\n{2,}/g,`
  49. `).replace(/\s+$/g,"")}},"./lib/md5.js":function(r,s,o){(function(a){var l,c=o("./node_modules/@babel/runtime/helpers/typeof.js");(function(){var u=(typeof window>"u"?"undefined":c(window))==="object",d=u?window:{};d.JS_MD5_NO_WINDOW&&(u=!1);var g=!u&&(typeof self>"u"?"undefined":c(self))==="object";g&&(d=self);var m=!d.JS_MD5_NO_COMMON_JS&&c(a)==="object"&&a.exports,y=o("./node_modules/webpack/buildin/amd-options.js"),b=!d.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",A="0123456789abcdef".split(""),S=[128,32768,8388608,-2147483648],E=[0,8,16,24],x=["hex","array","digest","buffer","arrayBuffer","base64"],P="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),C=[],T;if(b){var k=new ArrayBuffer(68);T=new Uint8Array(k),C=new Uint32Array(k)}(d.JS_MD5_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(_){return Object.prototype.toString.call(_)==="[object Array]"}),b&&(d.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(_){return c(_)==="object"&&_.buffer&&_.buffer.constructor===ArrayBuffer});var I=function(V){return function(D,F){return new R(!0).update(D,F)[V]()}},M=function(){var V=I("hex");V.getCtx=V.create=function(){return new R},V.update=function(N){return V.create().update(N)};for(var D=0;D<x.length;++D){var F=x[D];V[F]=I(F)}return V};function R(_){if(_)C[0]=C[16]=C[1]=C[2]=C[3]=C[4]=C[5]=C[6]=C[7]=C[8]=C[9]=C[10]=C[11]=C[12]=C[13]=C[14]=C[15]=0,this.blocks=C,this.buffer8=T;else if(b){var V=new ArrayBuffer(68);this.buffer8=new Uint8Array(V),this.blocks=new Uint32Array(V)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}R.prototype.update=function(_,V){if(!this.finalized){for(var D,F=0,N,K=_.length,G=this.blocks,q=this.buffer8;F<K;){if(this.hashed&&(this.hashed=!1,G[0]=G[16],G[16]=G[1]=G[2]=G[3]=G[4]=G[5]=G[6]=G[7]=G[8]=G[9]=G[10]=G[11]=G[12]=G[13]=G[14]=G[15]=0),b)for(N=this.start;F<K&&N<64;++F)D=_.charCodeAt(F),V||D<128?q[N++]=D:D<2048?(q[N++]=192|D>>6,q[N++]=128|D&63):D<55296||D>=57344?(q[N++]=224|D>>12,q[N++]=128|D>>6&63,q[N++]=128|D&63):(D=65536+((D&1023)<<10|_.charCodeAt(++F)&1023),q[N++]=240|D>>18,q[N++]=128|D>>12&63,q[N++]=128|D>>6&63,q[N++]=128|D&63);else for(N=this.start;F<K&&N<64;++F)D=_.charCodeAt(F),V||D<128?G[N>>2]|=D<<E[N++&3]:D<2048?(G[N>>2]|=(192|D>>6)<<E[N++&3],G[N>>2]|=(128|D&63)<<E[N++&3]):D<55296||D>=57344?(G[N>>2]|=(224|D>>12)<<E[N++&3],G[N>>2]|=(128|D>>6&63)<<E[N++&3],G[N>>2]|=(128|D&63)<<E[N++&3]):(D=65536+((D&1023)<<10|_.charCodeAt(++F)&1023),G[N>>2]|=(240|D>>18)<<E[N++&3],G[N>>2]|=(128|D>>12&63)<<E[N++&3],G[N>>2]|=(128|D>>6&63)<<E[N++&3],G[N>>2]|=(128|D&63)<<E[N++&3]);this.lastByteIndex=N,this.bytes+=N-this.start,N>=64?(this.start=N-64,this.hash(),this.hashed=!0):this.start=N}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},R.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var _=this.blocks,V=this.lastByteIndex;_[V>>2]|=S[V&3],V>=56&&(this.hashed||this.hash(),_[0]=_[16],_[16]=_[1]=_[2]=_[3]=_[4]=_[5]=_[6]=_[7]=_[8]=_[9]=_[10]=_[11]=_[12]=_[13]=_[14]=_[15]=0),_[14]=this.bytes<<3,_[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},R.prototype.hash=function(){var _,V,D,F,N,K,G=this.blocks;this.first?(_=G[0]-680876937,_=(_<<7|_>>>25)-271733879<<0,F=(-1732584194^_&2004318071)+G[1]-117830708,F=(F<<12|F>>>20)+_<<0,D=(-271733879^F&(_^-271733879))+G[2]-1126478375,D=(D<<17|D>>>15)+F<<0,V=(_^D&(F^_))+G[3]-1316259209,V=(V<<22|V>>>10)+D<<0):(_=this.h0,V=this.h1,D=this.h2,F=this.h3,_+=(F^V&(D^F))+G[0]-680876936,_=(_<<7|_>>>25)+V<<0,F+=(D^_&(V^D))+G[1]-389564586,F=(F<<12|F>>>20)+_<<0,D+=(V^F&(_^V))+G[2]+606105819,D=(D<<17|D>>>15)+F<<0,V+=(_^D&(F^_))+G[3]-1044525330,V=(V<<22|V>>>10)+D<<0),_+=(F^V&(D^F))+G[4]-176418897,_=(_<<7|_>>>25)+V<<0,F+=(D^_&(V^D))+G[5]+1200080426,F=(F<<12|F>>>20)+_<<0,D+=(V^F&(_^V))+G[6]-1473231341,D=(D<<17|D>>>15)+F<<0,V+=(_^D&(F^_))+G[7]-45705983,V=(V<<22|V>>>10)+D<<0,_+=(F^V&(D^F))+G[8]+1770035416,_=(_<<7|_>>>25)+V<<0,F+=(D^_&(V^D))+G[9]-1958414417,F=(F<<12|F>>>20)+_<<0,D+=(V^F&(_^V))+G[10]-42063,D=(D<<17|D>>>15)+F<<0,V+=(_^D&(F^_))+G[11]-1990404162,V=(V<<22|V>>>10)+D<<0,_+=(F^V&(D^F))+G[12]+1804603682,_=(_<<7|_>>>25)+V<<0,F+=(D^_&(V^D))+G[13]-40341101,F=(F<<12|F>>>20)+_<<0,D+=(V^F&(_^V))+G[14]-1502002290,D=(D<<17|D>>>15)+F<<0,V+=(_^D&(F^_))+G[15]+1236535329,V=(V<<22|V>>>10)+D<<0,_+=(D^F&(V^D))+G[1]-165796510,_=(_<<5|_>>>27)+V<<0,F+=(V^D&(_^V))+G[6]-1069501632,F=(F<<9|F>>>23)+_<<0,D+=(_^V&(F^_))+G[11]+643717713,D=(D<<14|D>>>18)+F<<0,V+=(F^_&(D^F))+G[0]-373897302,V=(V<<20|V>>>12)+D<<0,_+=(D^F&(V^D))+G[5]-701558691,_=(_<<5|_>>>27)+V<<0,F+=(V^D&(_^V))+G[10]+38016083,F=(F<<9|F>>>23)+_<<0,D+=(_^V&(F^_))+G[15]-660478335,D=(D<<14|D>>>18)+F<<0,V+=(F^_&(D^F))+G[4]-405537848,V=(V<<20|V>>>12)+D<<0,_+=(D^F&(V^D))+G[9]+568446438,_=(_<<5|_>>>27)+V<<0,F+=(V^D&(_^V))+G[14]-1019803690,F=(F<<9|F>>>23)+_<<0,D+=(_^V&(F^_))+G[3]-187363961,D=(D<<14|D>>>18)+F<<0,V+=(F^_&(D^F))+G[8]+1163531501,V=(V<<20|V>>>12)+D<<0,_+=(D^F&(V^D))+G[13]-1444681467,_=(_<<5|_>>>27)+V<<0,F+=(V^D&(_^V))+G[2]-51403784,F=(F<<9|F>>>23)+_<<0,D+=(_^V&(F^_))+G[7]+1735328473,D=(D<<14|D>>>18)+F<<0,V+=(F^_&(D^F))+G[12]-1926607734,V=(V<<20|V>>>12)+D<<0,N=V^D,_+=(N^F)+G[5]-378558,_=(_<<4|_>>>28)+V<<0,F+=(N^_)+G[8]-2022574463,F=(F<<11|F>>>21)+_<<0,K=F^_,D+=(K^V)+G[11]+1839030562,D=(D<<16|D>>>16)+F<<0,V+=(K^D)+G[14]-35309556,V=(V<<23|V>>>9)+D<<0,N=V^D,_+=(N^F)+G[1]-1530992060,_=(_<<4|_>>>28)+V<<0,F+=(N^_)+G[4]+1272893353,F=(F<<11|F>>>21)+_<<0,K=F^_,D+=(K^V)+G[7]-155497632,D=(D<<16|D>>>16)+F<<0,V+=(K^D)+G[10]-1094730640,V=(V<<23|V>>>9)+D<<0,N=V^D,_+=(N^F)+G[13]+681279174,_=(_<<4|_>>>28)+V<<0,F+=(N^_)+G[0]-358537222,F=(F<<11|F>>>21)+_<<0,K=F^_,D+=(K^V)+G[3]-722521979,D=(D<<16|D>>>16)+F<<0,V+=(K^D)+G[6]+76029189,V=(V<<23|V>>>9)+D<<0,N=V^D,_+=(N^F)+G[9]-640364487,_=(_<<4|_>>>28)+V<<0,F+=(N^_)+G[12]-421815835,F=(F<<11|F>>>21)+_<<0,K=F^_,D+=(K^V)+G[15]+530742520,D=(D<<16|D>>>16)+F<<0,V+=(K^D)+G[2]-995338651,V=(V<<23|V>>>9)+D<<0,_+=(D^(V|~F))+G[0]-198630844,_=(_<<6|_>>>26)+V<<0,F+=(V^(_|~D))+G[7]+1126891415,F=(F<<10|F>>>22)+_<<0,D+=(_^(F|~V))+G[14]-1416354905,D=(D<<15|D>>>17)+F<<0,V+=(F^(D|~_))+G[5]-57434055,V=(V<<21|V>>>11)+D<<0,_+=(D^(V|~F))+G[12]+1700485571,_=(_<<6|_>>>26)+V<<0,F+=(V^(_|~D))+G[3]-1894986606,F=(F<<10|F>>>22)+_<<0,D+=(_^(F|~V))+G[10]-1051523,D=(D<<15|D>>>17)+F<<0,V+=(F^(D|~_))+G[1]-2054922799,V=(V<<21|V>>>11)+D<<0,_+=(D^(V|~F))+G[8]+1873313359,_=(_<<6|_>>>26)+V<<0,F+=(V^(_|~D))+G[15]-30611744,F=(F<<10|F>>>22)+_<<0,D+=(_^(F|~V))+G[6]-1560198380,D=(D<<15|D>>>17)+F<<0,V+=(F^(D|~_))+G[13]+1309151649,V=(V<<21|V>>>11)+D<<0,_+=(D^(V|~F))+G[4]-145523070,_=(_<<6|_>>>26)+V<<0,F+=(V^(_|~D))+G[11]-1120210379,F=(F<<10|F>>>22)+_<<0,D+=(_^(F|~V))+G[2]+718787259,D=(D<<15|D>>>17)+F<<0,V+=(F^(D|~_))+G[9]-343485551,V=(V<<21|V>>>11)+D<<0,this.first?(this.h0=_+1732584193<<0,this.h1=V-271733879<<0,this.h2=D-1732584194<<0,this.h3=F+271733878<<0,this.first=!1):(this.h0=this.h0+_<<0,this.h1=this.h1+V<<0,this.h2=this.h2+D<<0,this.h3=this.h3+F<<0)},R.prototype.hex=function(){this.finalize();var _=this.h0,V=this.h1,D=this.h2,F=this.h3;return A[_>>4&15]+A[_&15]+A[_>>12&15]+A[_>>8&15]+A[_>>20&15]+A[_>>16&15]+A[_>>28&15]+A[_>>24&15]+A[V>>4&15]+A[V&15]+A[V>>12&15]+A[V>>8&15]+A[V>>20&15]+A[V>>16&15]+A[V>>28&15]+A[V>>24&15]+A[D>>4&15]+A[D&15]+A[D>>12&15]+A[D>>8&15]+A[D>>20&15]+A[D>>16&15]+A[D>>28&15]+A[D>>24&15]+A[F>>4&15]+A[F&15]+A[F>>12&15]+A[F>>8&15]+A[F>>20&15]+A[F>>16&15]+A[F>>28&15]+A[F>>24&15]},R.prototype.toString=R.prototype.hex,R.prototype.digest=function(_){if(_==="hex")return this.hex();this.finalize();var V=this.h0,D=this.h1,F=this.h2,N=this.h3,K=[V&255,V>>8&255,V>>16&255,V>>24&255,D&255,D>>8&255,D>>16&255,D>>24&255,F&255,F>>8&255,F>>16&255,F>>24&255,N&255,N>>8&255,N>>16&255,N>>24&255];return K},R.prototype.array=R.prototype.digest,R.prototype.arrayBuffer=function(){this.finalize();var _=new ArrayBuffer(16),V=new Uint32Array(_);return V[0]=this.h0,V[1]=this.h1,V[2]=this.h2,V[3]=this.h3,_},R.prototype.buffer=R.prototype.arrayBuffer,R.prototype.base64=function(){for(var _,V,D,F="",N=this.array(),K=0;K<15;)_=N[K++],V=N[K++],D=N[K++],F+=P[_>>>2]+P[(_<<4|V>>>4)&63]+P[(V<<2|D>>>6)&63]+P[D&63];return _=N[K],F+=P[_>>>2]+P[_<<4&63]+"==",F};var B=M();m?a.exports=B:(d.md5=B,y&&(l=function(){return B}.call(B,o,B,a),l!==void 0&&(a.exports=l)))})()}).call(this,o("./node_modules/webpack/buildin/module.js")(r))},"./lib/request.js":function(r,s,o){var a=o("./node_modules/@babel/runtime/helpers/typeof.js"),l=function(y){switch(a(y)){case"string":return y;case"boolean":return y?"true":"false";case"number":return isFinite(y)?y:"";default:return""}},c=function(y,b,A,S){return b=b||"&",A=A||"=",y===null&&(y=void 0),a(y)==="object"?Object.keys(y).map(function(E){var x=encodeURIComponent(l(E))+A;return Array.isArray(y[E])?y[E].map(function(P){return x+encodeURIComponent(l(P))}).join(b):x+encodeURIComponent(l(y[E]))}).filter(Boolean).join(b):S?encodeURIComponent(l(S))+A+encodeURIComponent(l(y)):""},u=function(y,b,A){var S={},E=b.getAllResponseHeaders();return E&&E.length>0&&E.trim().split(`
  50. `).forEach(function(x){if(x){var P=x.indexOf(":"),C=x.substr(0,P).trim().toLowerCase(),T=x.substr(P+1).trim();S[C]=T}}),{error:y,statusCode:b.status,statusMessage:b.statusText,headers:S,body:A}},d=function(y,b){return!b&&b==="text"?y.responseText:y.response},g=function(y,b){var A=(y.method||"GET").toUpperCase(),S=y.url;if(y.qs){var E=c(y.qs);E&&(S+=(S.indexOf("?")===-1?"?":"&")+E)}var x=new XMLHttpRequest;if(x.open(A,S,!0),x.responseType=y.dataType||"text",y.xhrFields)for(var P in y.xhrFields)x[P]=y.xhrFields[P];var C=y.headers;if(C)for(var T in C)C.hasOwnProperty(T)&&T.toLowerCase()!=="content-length"&&T.toLowerCase()!=="user-agent"&&T.toLowerCase()!=="origin"&&T.toLowerCase()!=="host"&&x.setRequestHeader(T,C[T]);return y.onProgress&&x.upload&&(x.upload.onprogress=y.onProgress),y.onDownloadProgress&&(x.onprogress=y.onDownloadProgress),y.timeout&&(x.timeout=y.timeout),x.ontimeout=function(k){var I=new Error("timeout");b(u(I,x))},x.onload=function(){b(u(null,x,d(x,y.dataType)))},x.onerror=function(k){var I=d(x,y.dataType);if(I)b(u(null,x,I));else{var M=x.statusText;!M&&x.status===0&&(M=new Error("CORS blocked or network error")),b(u(M,x,I))}},x.send(y.body||""),x};r.exports=g},"./lib/xml2json.js":function(r,s,o){var a=o("./node_modules/@xmldom/xmldom/lib/index.js").DOMParser,l=function(){this.version="1.3.5";var u={mergeCDATA:!0,normalize:!0,stripElemPrefix:!0},d=new RegExp(/(?!xmlns)^.*:/);return this.grokType=function(g){return/^\s*$/.test(g)?null:/^(?:true|false)$/i.test(g)?g.toLowerCase()==="true":isFinite(g)?parseFloat(g):g},this.parseString=function(g,m){if(g){var y=this.stringToXML(g);return y.getElementsByTagName("parsererror").length?null:this.parseXML(y,m)}else return null},this.parseXML=function(g,m){for(var y in m)u[y]=m[y];var b={},A=0,S="",E=g.childNodes.length;if(E)for(var x,P,C,T=0;T<g.childNodes.length;T++)x=g.childNodes.item(T),x.nodeType===4?u.mergeCDATA&&(S+=x.nodeValue):x.nodeType===3?S+=x.nodeValue:x.nodeType===1&&(A===0&&(b={}),u.stripElemPrefix?P=x.nodeName.replace(d,""):P=x.nodeName,C=l.parseXML(x),b.hasOwnProperty(P)?(b[P].constructor!==Array&&(b[P]=[b[P]]),b[P].push(C)):(b[P]=C,A++));return Object.keys(b).length||(b=S||""),b},this.xmlToString=function(g){try{var m=g.xml?g.xml:new XMLSerializer().serializeToString(g);return m}catch(y){return null}},this.stringToXML=function(g){try{var m=null;if(window.DOMParser){var y=new a;return m=y.parseFromString(g,"text/xml"),m}else return m=new ActiveXObject("Microsoft.XMLDOM"),m.async=!1,m.loadXML(g),m}catch(b){return null}},this}.call({}),c=function(d){return l.parseString(d)};r.exports=c},"./node_modules/@babel/runtime/helpers/classCallCheck.js":function(r,s){function o(a,l){if(!(a instanceof l))throw new TypeError("Cannot call a class as a function")}r.exports=o,r.exports.__esModule=!0,r.exports.default=r.exports},"./node_modules/@babel/runtime/helpers/createClass.js":function(r,s,o){var a=o("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function l(u,d){for(var g=0;g<d.length;g++){var m=d[g];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(u,a(m.key),m)}}function c(u,d,g){return d&&l(u.prototype,d),g&&l(u,g),Object.defineProperty(u,"prototype",{writable:!1}),u}r.exports=c,r.exports.__esModule=!0,r.exports.default=r.exports},"./node_modules/@babel/runtime/helpers/toPrimitive.js":function(r,s,o){var a=o("./node_modules/@babel/runtime/helpers/typeof.js").default;function l(c,u){if(a(c)!=="object"||c===null)return c;var d=c[Symbol.toPrimitive];if(d!==void 0){var g=d.call(c,u||"default");if(a(g)!=="object")return g;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(c)}r.exports=l,r.exports.__esModule=!0,r.exports.default=r.exports},"./node_modules/@babel/runtime/helpers/toPropertyKey.js":function(r,s,o){var a=o("./node_modules/@babel/runtime/helpers/typeof.js").default,l=o("./node_modules/@babel/runtime/helpers/toPrimitive.js");function c(u){var d=l(u,"string");return a(d)==="symbol"?d:String(d)}r.exports=c,r.exports.__esModule=!0,r.exports.default=r.exports},"./node_modules/@babel/runtime/helpers/typeof.js":function(r,s){function o(a){return r.exports=o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},r.exports.__esModule=!0,r.exports.default=r.exports,o(a)}r.exports=o,r.exports.__esModule=!0,r.exports.default=r.exports},"./node_modules/@xmldom/xmldom/lib/conventions.js":function(r,s,o){function a(g,m,y){if(y===void 0&&(y=Array.prototype),g&&typeof y.find=="function")return y.find.call(g,m);for(var b=0;b<g.length;b++)if(Object.prototype.hasOwnProperty.call(g,b)){var A=g[b];if(m.call(void 0,A,b,g))return A}}function l(g,m){return m===void 0&&(m=Object),m&&typeof m.freeze=="function"?m.freeze(g):g}function c(g,m){if(g===null||typeof g!="object")throw new TypeError("target is not an object");for(var y in m)Object.prototype.hasOwnProperty.call(m,y)&&(g[y]=m[y]);return g}var u=l({HTML:"text/html",isHTML:function(g){return g===u.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),d=l({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(g){return g===d.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});s.assign=c,s.find=a,s.freeze=l,s.MIME_TYPE=u,s.NAMESPACE=d},"./node_modules/@xmldom/xmldom/lib/dom-parser.js":function(r,s,o){var a=o("./node_modules/@xmldom/xmldom/lib/conventions.js"),l=o("./node_modules/@xmldom/xmldom/lib/dom.js"),c=o("./node_modules/@xmldom/xmldom/lib/entities.js"),u=o("./node_modules/@xmldom/xmldom/lib/sax.js"),d=l.DOMImplementation,g=a.NAMESPACE,m=u.ParseError,y=u.XMLReader;function b(k){return k.replace(/\r[\n\u0085]/g,`
  51. `).replace(/[\r\u0085\u2028]/g,`
  52. `)}function A(k){this.options=k||{locator:{}}}A.prototype.parseFromString=function(k,I){var M=this.options,R=new y,B=M.domBuilder||new E,_=M.errorHandler,V=M.locator,D=M.xmlns||{},F=/\/x?html?$/.test(I),N=F?c.HTML_ENTITIES:c.XML_ENTITIES;V&&B.setDocumentLocator(V),R.errorHandler=S(_,B,V),R.domBuilder=M.domBuilder||B,F&&(D[""]=g.HTML),D.xml=D.xml||g.XML;var K=M.normalizeLineEndings||b;return k&&typeof k=="string"?R.parse(K(k),D,N):R.errorHandler.error("invalid doc source"),B.doc};function S(k,I,M){if(!k){if(I instanceof E)return I;k=I}var R={},B=k instanceof Function;M=M||{};function _(V){var D=k[V];!D&&B&&(D=k.length==2?function(F){k(V,F)}:k),R[V]=D&&function(F){D("[xmldom "+V+"] "+F+P(M))}||function(){}}return _("warning"),_("error"),_("fatalError"),R}function E(){this.cdata=!1}function x(k,I){I.lineNumber=k.lineNumber,I.columnNumber=k.columnNumber}E.prototype={startDocument:function(){this.doc=new d().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(k,I,M,R){var B=this.doc,_=B.createElementNS(k,M||I),V=R.length;T(this,_),this.currentElement=_,this.locator&&x(this.locator,_);for(var D=0;D<V;D++){var k=R.getURI(D),F=R.getValue(D),M=R.getQName(D),N=B.createAttributeNS(k,M);this.locator&&x(R.getLocator(D),N),N.value=N.nodeValue=F,_.setAttributeNode(N)}},endElement:function(k,I,M){var R=this.currentElement;R.tagName,this.currentElement=R.parentNode},startPrefixMapping:function(k,I){},endPrefixMapping:function(k){},processingInstruction:function(k,I){var M=this.doc.createProcessingInstruction(k,I);this.locator&&x(this.locator,M),T(this,M)},ignorableWhitespace:function(k,I,M){},characters:function(k,I,M){if(k=C.apply(this,arguments),k){if(this.cdata)var R=this.doc.createCDATASection(k);else var R=this.doc.createTextNode(k);this.currentElement?this.currentElement.appendChild(R):/^\s*$/.test(k)&&this.doc.appendChild(R),this.locator&&x(this.locator,R)}},skippedEntity:function(k){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(k){(this.locator=k)&&(k.lineNumber=0)},comment:function(k,I,M){k=C.apply(this,arguments);var R=this.doc.createComment(k);this.locator&&x(this.locator,R),T(this,R)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(k,I,M){var R=this.doc.implementation;if(R&&R.createDocumentType){var B=R.createDocumentType(k,I,M);this.locator&&x(this.locator,B),T(this,B),this.doc.doctype=B}},warning:function(k){console.warn("[xmldom warning] "+k,P(this.locator))},error:function(k){console.error("[xmldom error] "+k,P(this.locator))},fatalError:function(k){throw new m(k,this.locator)}};function P(k){if(k)return`
  53. @`+(k.systemId||"")+"#[line:"+k.lineNumber+",col:"+k.columnNumber+"]"}function C(k,I,M){return typeof k=="string"?k.substr(I,M):k.length>=I+M||I?new java.lang.String(k,I,M)+"":k}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(k){E.prototype[k]=function(){return null}});function T(k,I){k.currentElement?k.currentElement.appendChild(I):k.doc.appendChild(I)}s.__DOMHandler=E,s.normalizeLineEndings=b,s.DOMParser=A},"./node_modules/@xmldom/xmldom/lib/dom.js":function(r,s,o){var a=o("./node_modules/@xmldom/xmldom/lib/conventions.js"),l=a.find,c=a.NAMESPACE;function u(ie){return ie!==""}function d(ie){return ie?ie.split(/[\t\n\f\r ]+/).filter(u):[]}function g(ie,de){return ie.hasOwnProperty(de)||(ie[de]=!0),ie}function m(ie){if(!ie)return[];var de=d(ie);return Object.keys(de.reduce(g,{}))}function y(ie){return function(de){return ie&&ie.indexOf(de)!==-1}}function b(ie,de){for(var ke in ie)Object.prototype.hasOwnProperty.call(ie,ke)&&(de[ke]=ie[ke])}function A(ie,de){var ke=ie.prototype;if(!(ke instanceof de)){let Oe=function(){};Oe.prototype=de.prototype,Oe=new Oe,b(ke,Oe),ie.prototype=ke=Oe}ke.constructor!=ie&&(typeof ie!="function"&&console.error("unknown Class:"+ie),ke.constructor=ie)}var S={},E=S.ELEMENT_NODE=1,x=S.ATTRIBUTE_NODE=2,P=S.TEXT_NODE=3,C=S.CDATA_SECTION_NODE=4,T=S.ENTITY_REFERENCE_NODE=5,k=S.ENTITY_NODE=6,I=S.PROCESSING_INSTRUCTION_NODE=7,M=S.COMMENT_NODE=8,R=S.DOCUMENT_NODE=9,B=S.DOCUMENT_TYPE_NODE=10,_=S.DOCUMENT_FRAGMENT_NODE=11,V=S.NOTATION_NODE=12,D={},F={};D.INDEX_SIZE_ERR=(F[1]="Index size error",1),D.DOMSTRING_SIZE_ERR=(F[2]="DOMString size error",2);var N=D.HIERARCHY_REQUEST_ERR=(F[3]="Hierarchy request error",3);D.WRONG_DOCUMENT_ERR=(F[4]="Wrong document",4),D.INVALID_CHARACTER_ERR=(F[5]="Invalid character",5),D.NO_DATA_ALLOWED_ERR=(F[6]="No data allowed",6),D.NO_MODIFICATION_ALLOWED_ERR=(F[7]="No modification allowed",7);var K=D.NOT_FOUND_ERR=(F[8]="Not found",8);D.NOT_SUPPORTED_ERR=(F[9]="Not supported",9);var G=D.INUSE_ATTRIBUTE_ERR=(F[10]="Attribute in use",10);D.INVALID_STATE_ERR=(F[11]="Invalid state",11),D.SYNTAX_ERR=(F[12]="Syntax error",12),D.INVALID_MODIFICATION_ERR=(F[13]="Invalid modification",13),D.NAMESPACE_ERR=(F[14]="Invalid namespace",14),D.INVALID_ACCESS_ERR=(F[15]="Invalid access",15);function q(ie,de){if(de instanceof Error)var ke=de;else ke=this,Error.call(this,F[ie]),this.message=F[ie],Error.captureStackTrace&&Error.captureStackTrace(this,q);return ke.code=ie,de&&(this.message=this.message+": "+de),ke}q.prototype=Error.prototype,b(D,q);function O(){}O.prototype={length:0,item:function(ie){return ie>=0&&ie<this.length?this[ie]:null},toString:function(ie,de){for(var ke=[],Oe=0;Oe<this.length;Oe++)pt(this[Oe],ke,ie,de);return ke.join("")},filter:function(ie){return Array.prototype.filter.call(this,ie)},indexOf:function(ie){return Array.prototype.indexOf.call(this,ie)}};function U(ie,de){this._node=ie,this._refresh=de,$(this)}function $(ie){var de=ie._node._inc||ie._node.ownerDocument._inc;if(ie._inc!==de){var ke=ie._refresh(ie._node);if(Xe(ie,"length",ke.length),!ie.$$length||ke.length<ie.$$length)for(var Oe=ke.length;Oe in ie;Oe++)Object.prototype.hasOwnProperty.call(ie,Oe)&&delete ie[Oe];b(ke,ie),ie._inc=de}}U.prototype.item=function(ie){return $(this),this[ie]||null},A(U,O);function Y(){}function Q(ie,de){for(var ke=ie.length;ke--;)if(ie[ke]===de)return ke}function xe(ie,de,ke,Oe){if(Oe?de[Q(de,Oe)]=ke:de[de.length++]=ke,ie){ke.ownerElement=ie;var We=ie.ownerDocument;We&&(Oe&&De(We,ie,Oe),Te(We,ie,ke))}}function ue(ie,de,ke){var Oe=Q(de,ke);if(Oe>=0){for(var We=de.length-1;Oe<We;)de[Oe]=de[++Oe];if(de.length=We,ie){var nt=ie.ownerDocument;nt&&(De(nt,ie,ke),ke.ownerElement=null)}}else throw new q(K,new Error(ie.tagName+"@"+ke))}Y.prototype={length:0,item:O.prototype.item,getNamedItem:function(ie){for(var de=this.length;de--;){var ke=this[de];if(ke.nodeName==ie)return ke}},setNamedItem:function(ie){var de=ie.ownerElement;if(de&&de!=this._ownerElement)throw new q(G);var ke=this.getNamedItem(ie.nodeName);return xe(this._ownerElement,this,ie,ke),ke},setNamedItemNS:function(ie){var de=ie.ownerElement,ke;if(de&&de!=this._ownerElement)throw new q(G);return ke=this.getNamedItemNS(ie.namespaceURI,ie.localName),xe(this._ownerElement,this,ie,ke),ke},removeNamedItem:function(ie){var de=this.getNamedItem(ie);return ue(this._ownerElement,this,de),de},removeNamedItemNS:function(ie,de){var ke=this.getNamedItemNS(ie,de);return ue(this._ownerElement,this,ke),ke},getNamedItemNS:function(ie,de){for(var ke=this.length;ke--;){var Oe=this[ke];if(Oe.localName==de&&Oe.namespaceURI==ie)return Oe}return null}};function W(){}W.prototype={hasFeature:function(ie,de){return!0},createDocument:function(ie,de,ke){var Oe=new Ee;if(Oe.implementation=this,Oe.childNodes=new O,Oe.doctype=ke||null,ke&&Oe.appendChild(ke),de){var We=Oe.createElementNS(ie,de);Oe.appendChild(We)}return Oe},createDocumentType:function(ie,de,ke){var Oe=new Ge;return Oe.name=ie,Oe.nodeName=ie,Oe.publicId=de||"",Oe.systemId=ke||"",Oe}};function J(){}J.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(ie,de){return Re(this,ie,de)},replaceChild:function(ie,de){Re(this,ie,de,Ie),de&&this.removeChild(de)},removeChild:function(ie){return ae(this,ie)},appendChild:function(ie){return this.insertBefore(ie,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(ie){return Vt(this.ownerDocument||this,this,ie)},normalize:function(){for(var ie=this.firstChild;ie;){var de=ie.nextSibling;de&&de.nodeType==P&&ie.nodeType==P?(this.removeChild(de),ie.appendData(de.data)):(ie.normalize(),ie=de)}},isSupported:function(ie,de){return this.ownerDocument.implementation.hasFeature(ie,de)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(ie){for(var de=this;de;){var ke=de._nsMap;if(ke){for(var Oe in ke)if(Object.prototype.hasOwnProperty.call(ke,Oe)&&ke[Oe]===ie)return Oe}de=de.nodeType==x?de.ownerDocument:de.parentNode}return null},lookupNamespaceURI:function(ie){for(var de=this;de;){var ke=de._nsMap;if(ke&&Object.prototype.hasOwnProperty.call(ke,ie))return ke[ie];de=de.nodeType==x?de.ownerDocument:de.parentNode}return null},isDefaultNamespace:function(ie){var de=this.lookupPrefix(ie);return de==null}};function ce(ie){return ie=="<"&&"&lt;"||ie==">"&&"&gt;"||ie=="&"&&"&amp;"||ie=='"'&&"&quot;"||"&#"+ie.charCodeAt()+";"}b(S,J),b(S,J.prototype);function ge(ie,de){if(de(ie))return!0;if(ie=ie.firstChild)do if(ge(ie,de))return!0;while(ie=ie.nextSibling)}function Ee(){this.ownerDocument=this}function Te(ie,de,ke){ie&&ie._inc++;var Oe=ke.namespaceURI;Oe===c.XMLNS&&(de._nsMap[ke.prefix?ke.localName:""]=ke.value)}function De(ie,de,ke,Oe){ie&&ie._inc++;var We=ke.namespaceURI;We===c.XMLNS&&delete de._nsMap[ke.prefix?ke.localName:""]}function te(ie,de,ke){if(ie&&ie._inc){ie._inc++;var Oe=de.childNodes;if(ke)Oe[Oe.length++]=ke;else{for(var We=de.firstChild,nt=0;We;)Oe[nt++]=We,We=We.nextSibling;Oe.length=nt,delete Oe[Oe.length]}}}function ae(ie,de){var ke=de.previousSibling,Oe=de.nextSibling;return ke?ke.nextSibling=Oe:ie.firstChild=Oe,Oe?Oe.previousSibling=ke:ie.lastChild=ke,de.parentNode=null,de.previousSibling=null,de.nextSibling=null,te(ie.ownerDocument,ie),de}function H(ie){return ie&&(ie.nodeType===J.DOCUMENT_NODE||ie.nodeType===J.DOCUMENT_FRAGMENT_NODE||ie.nodeType===J.ELEMENT_NODE)}function ve(ie){return ie&&(ee(ie)||ne(ie)||pe(ie)||ie.nodeType===J.DOCUMENT_FRAGMENT_NODE||ie.nodeType===J.COMMENT_NODE||ie.nodeType===J.PROCESSING_INSTRUCTION_NODE)}function pe(ie){return ie&&ie.nodeType===J.DOCUMENT_TYPE_NODE}function ee(ie){return ie&&ie.nodeType===J.ELEMENT_NODE}function ne(ie){return ie&&ie.nodeType===J.TEXT_NODE}function me(ie,de){var ke=ie.childNodes||[];if(l(ke,ee)||pe(de))return!1;var Oe=l(ke,pe);return!(de&&Oe&&ke.indexOf(Oe)>ke.indexOf(de))}function Be(ie,de){var ke=ie.childNodes||[];function Oe(nt){return ee(nt)&&nt!==de}if(l(ke,Oe))return!1;var We=l(ke,pe);return!(de&&We&&ke.indexOf(We)>ke.indexOf(de))}function oe(ie,de,ke){if(!H(ie))throw new q(N,"Unexpected parent node type "+ie.nodeType);if(ke&&ke.parentNode!==ie)throw new q(K,"child not in parent");if(!ve(de)||pe(de)&&ie.nodeType!==J.DOCUMENT_NODE)throw new q(N,"Unexpected node type "+de.nodeType+" for parent node type "+ie.nodeType)}function be(ie,de,ke){var Oe=ie.childNodes||[],We=de.childNodes||[];if(de.nodeType===J.DOCUMENT_FRAGMENT_NODE){var nt=We.filter(ee);if(nt.length>1||l(We,ne))throw new q(N,"More than one element or text in fragment");if(nt.length===1&&!me(ie,ke))throw new q(N,"Element in fragment can not be inserted before doctype")}if(ee(de)&&!me(ie,ke))throw new q(N,"Only one element can be added and only after doctype");if(pe(de)){if(l(Oe,pe))throw new q(N,"Only one doctype is allowed");var mt=l(Oe,ee);if(ke&&Oe.indexOf(mt)<Oe.indexOf(ke))throw new q(N,"Doctype can only be inserted before an element");if(!ke&&mt)throw new q(N,"Doctype can not be appended since element is present")}}function Ie(ie,de,ke){var Oe=ie.childNodes||[],We=de.childNodes||[];if(de.nodeType===J.DOCUMENT_FRAGMENT_NODE){var nt=We.filter(ee);if(nt.length>1||l(We,ne))throw new q(N,"More than one element or text in fragment");if(nt.length===1&&!Be(ie,ke))throw new q(N,"Element in fragment can not be inserted before doctype")}if(ee(de)&&!Be(ie,ke))throw new q(N,"Only one element can be added and only after doctype");if(pe(de)){if(l(Oe,function(qe){return pe(qe)&&qe!==ke}))throw new q(N,"Only one doctype is allowed");var mt=l(Oe,ee);if(ke&&Oe.indexOf(mt)<Oe.indexOf(ke))throw new q(N,"Doctype can only be inserted before an element")}}function Re(ie,de,ke,Oe){oe(ie,de,ke),ie.nodeType===J.DOCUMENT_NODE&&(Oe||be)(ie,de,ke);var We=de.parentNode;if(We&&We.removeChild(de),de.nodeType===_){var nt=de.firstChild;if(nt==null)return de;var mt=de.lastChild}else nt=mt=de;var ht=ke?ke.previousSibling:ie.lastChild;nt.previousSibling=ht,mt.nextSibling=ke,ht?ht.nextSibling=nt:ie.firstChild=nt,ke==null?ie.lastChild=mt:ke.previousSibling=mt;do nt.parentNode=ie;while(nt!==mt&&(nt=nt.nextSibling));return te(ie.ownerDocument||ie,ie),de.nodeType==_&&(de.firstChild=de.lastChild=null),de}function Pe(ie,de){return de.parentNode&&de.parentNode.removeChild(de),de.parentNode=ie,de.previousSibling=ie.lastChild,de.nextSibling=null,de.previousSibling?de.previousSibling.nextSibling=de:ie.firstChild=de,ie.lastChild=de,te(ie.ownerDocument,ie,de),de}Ee.prototype={nodeName:"#document",nodeType:R,doctype:null,documentElement:null,_inc:1,insertBefore:function(ie,de){if(ie.nodeType==_){for(var ke=ie.firstChild;ke;){var Oe=ke.nextSibling;this.insertBefore(ke,de),ke=Oe}return ie}return Re(this,ie,de),ie.ownerDocument=this,this.documentElement===null&&ie.nodeType===E&&(this.documentElement=ie),ie},removeChild:function(ie){return this.documentElement==ie&&(this.documentElement=null),ae(this,ie)},replaceChild:function(ie,de){Re(this,ie,de,Ie),ie.ownerDocument=this,de&&this.removeChild(de),ee(ie)&&(this.documentElement=ie)},importNode:function(ie,de){return Ct(this,ie,de)},getElementById:function(ie){var de=null;return ge(this.documentElement,function(ke){if(ke.nodeType==E&&ke.getAttribute("id")==ie)return de=ke,!0}),de},getElementsByClassName:function(ie){var de=m(ie);return new U(this,function(ke){var Oe=[];return de.length>0&&ge(ke.documentElement,function(We){if(We!==ke&&We.nodeType===E){var nt=We.getAttribute("class");if(nt){var mt=ie===nt;if(!mt){var ht=m(nt);mt=de.every(y(ht))}mt&&Oe.push(We)}}}),Oe})},createElement:function(ie){var de=new he;de.ownerDocument=this,de.nodeName=ie,de.tagName=ie,de.localName=ie,de.childNodes=new O;var ke=de.attributes=new Y;return ke._ownerElement=de,de},createDocumentFragment:function(){var ie=new st;return ie.ownerDocument=this,ie.childNodes=new O,ie},createTextNode:function(ie){var de=new Fe;return de.ownerDocument=this,de.appendData(ie),de},createComment:function(ie){var de=new Ue;return de.ownerDocument=this,de.appendData(ie),de},createCDATASection:function(ie){var de=new Ye;return de.ownerDocument=this,de.appendData(ie),de},createProcessingInstruction:function(ie,de){var ke=new vt;return ke.ownerDocument=this,ke.tagName=ke.nodeName=ke.target=ie,ke.nodeValue=ke.data=de,ke},createAttribute:function(ie){var de=new Ce;return de.ownerDocument=this,de.name=ie,de.nodeName=ie,de.localName=ie,de.specified=!0,de},createEntityReference:function(ie){var de=new Ze;return de.ownerDocument=this,de.nodeName=ie,de},createElementNS:function(ie,de){var ke=new he,Oe=de.split(":"),We=ke.attributes=new Y;return ke.childNodes=new O,ke.ownerDocument=this,ke.nodeName=de,ke.tagName=de,ke.namespaceURI=ie,Oe.length==2?(ke.prefix=Oe[0],ke.localName=Oe[1]):ke.localName=de,We._ownerElement=ke,ke},createAttributeNS:function(ie,de){var ke=new Ce,Oe=de.split(":");return ke.ownerDocument=this,ke.nodeName=de,ke.name=de,ke.namespaceURI=ie,ke.specified=!0,Oe.length==2?(ke.prefix=Oe[0],ke.localName=Oe[1]):ke.localName=de,ke}},A(Ee,J);function he(){this._nsMap={}}he.prototype={nodeType:E,hasAttribute:function(ie){return this.getAttributeNode(ie)!=null},getAttribute:function(ie){var de=this.getAttributeNode(ie);return de&&de.value||""},getAttributeNode:function(ie){return this.attributes.getNamedItem(ie)},setAttribute:function(ie,de){var ke=this.ownerDocument.createAttribute(ie);ke.value=ke.nodeValue=""+de,this.setAttributeNode(ke)},removeAttribute:function(ie){var de=this.getAttributeNode(ie);de&&this.removeAttributeNode(de)},appendChild:function(ie){return ie.nodeType===_?this.insertBefore(ie,null):Pe(this,ie)},setAttributeNode:function(ie){return this.attributes.setNamedItem(ie)},setAttributeNodeNS:function(ie){return this.attributes.setNamedItemNS(ie)},removeAttributeNode:function(ie){return this.attributes.removeNamedItem(ie.nodeName)},removeAttributeNS:function(ie,de){var ke=this.getAttributeNodeNS(ie,de);ke&&this.removeAttributeNode(ke)},hasAttributeNS:function(ie,de){return this.getAttributeNodeNS(ie,de)!=null},getAttributeNS:function(ie,de){var ke=this.getAttributeNodeNS(ie,de);return ke&&ke.value||""},setAttributeNS:function(ie,de,ke){var Oe=this.ownerDocument.createAttributeNS(ie,de);Oe.value=Oe.nodeValue=""+ke,this.setAttributeNode(Oe)},getAttributeNodeNS:function(ie,de){return this.attributes.getNamedItemNS(ie,de)},getElementsByTagName:function(ie){return new U(this,function(de){var ke=[];return ge(de,function(Oe){Oe!==de&&Oe.nodeType==E&&(ie==="*"||Oe.tagName==ie)&&ke.push(Oe)}),ke})},getElementsByTagNameNS:function(ie,de){return new U(this,function(ke){var Oe=[];return ge(ke,function(We){We!==ke&&We.nodeType===E&&(ie==="*"||We.namespaceURI===ie)&&(de==="*"||We.localName==de)&&Oe.push(We)}),Oe})}},Ee.prototype.getElementsByTagName=he.prototype.getElementsByTagName,Ee.prototype.getElementsByTagNameNS=he.prototype.getElementsByTagNameNS,A(he,J);function Ce(){}Ce.prototype.nodeType=x,A(Ce,J);function ye(){}ye.prototype={data:"",substringData:function(ie,de){return this.data.substring(ie,ie+de)},appendData:function(ie){ie=this.data+ie,this.nodeValue=this.data=ie,this.length=ie.length},insertData:function(ie,de){this.replaceData(ie,0,de)},appendChild:function(ie){throw new Error(F[N])},deleteData:function(ie,de){this.replaceData(ie,de,"")},replaceData:function(ie,de,ke){var Oe=this.data.substring(0,ie),We=this.data.substring(ie+de);ke=Oe+ke+We,this.nodeValue=this.data=ke,this.length=ke.length}},A(ye,J);function Fe(){}Fe.prototype={nodeName:"#text",nodeType:P,splitText:function(ie){var de=this.data,ke=de.substring(ie);de=de.substring(0,ie),this.data=this.nodeValue=de,this.length=de.length;var Oe=this.ownerDocument.createTextNode(ke);return this.parentNode&&this.parentNode.insertBefore(Oe,this.nextSibling),Oe}},A(Fe,ye);function Ue(){}Ue.prototype={nodeName:"#comment",nodeType:M},A(Ue,ye);function Ye(){}Ye.prototype={nodeName:"#cdata-section",nodeType:C},A(Ye,ye);function Ge(){}Ge.prototype.nodeType=B,A(Ge,J);function Ke(){}Ke.prototype.nodeType=V,A(Ke,J);function et(){}et.prototype.nodeType=k,A(et,J);function Ze(){}Ze.prototype.nodeType=T,A(Ze,J);function st(){}st.prototype.nodeName="#document-fragment",st.prototype.nodeType=_,A(st,J);function vt(){}vt.prototype.nodeType=I,A(vt,J);function lt(){}lt.prototype.serializeToString=function(ie,de,ke){return dt.call(ie,de,ke)},J.prototype.toString=dt;function dt(ie,de){var ke=[],Oe=this.nodeType==9&&this.documentElement||this,We=Oe.prefix,nt=Oe.namespaceURI;if(nt&&We==null){var We=Oe.lookupPrefix(nt);if(We==null)var mt=[{namespace:nt,prefix:null}]}return pt(this,ke,ie,de,mt),ke.join("")}function Tt(ie,de,ke){var Oe=ie.prefix||"",We=ie.namespaceURI;if(!We||Oe==="xml"&&We===c.XML||We===c.XMLNS)return!1;for(var nt=ke.length;nt--;){var mt=ke[nt];if(mt.prefix===Oe)return mt.namespace!==We}return!0}function ut(ie,de,ke){ie.push(" ",de,'="',ke.replace(/[<>&"\t\n\r]/g,ce),'"')}function pt(ie,de,ke,Oe,We){if(We||(We=[]),Oe)if(ie=Oe(ie),ie){if(typeof ie=="string"){de.push(ie);return}}else return;switch(ie.nodeType){case E:var nt=ie.attributes,mt=nt.length,Se=ie.firstChild,ht=ie.tagName;ke=c.isHTML(ie.namespaceURI)||ke;var qe=ht;if(!ke&&!ie.prefix&&ie.namespaceURI){for(var bt,Et=0;Et<nt.length;Et++)if(nt.item(Et).name==="xmlns"){bt=nt.item(Et).value;break}if(!bt)for(var It=We.length-1;It>=0;It--){var z=We[It];if(z.prefix===""&&z.namespace===ie.namespaceURI){bt=z.namespace;break}}if(bt!==ie.namespaceURI)for(var It=We.length-1;It>=0;It--){var z=We[It];if(z.namespace===ie.namespaceURI){z.prefix&&(qe=z.prefix+":"+ht);break}}}de.push("<",qe);for(var fe=0;fe<mt;fe++){var Z=nt.item(fe);Z.prefix=="xmlns"?We.push({prefix:Z.localName,namespace:Z.value}):Z.nodeName=="xmlns"&&We.push({prefix:"",namespace:Z.value})}for(var fe=0;fe<mt;fe++){var Z=nt.item(fe);if(Tt(Z,ke,We)){var re=Z.prefix||"",we=Z.namespaceURI;ut(de,re?"xmlns:"+re:"xmlns",we),We.push({prefix:re,namespace:we})}pt(Z,de,ke,Oe,We)}if(ht===qe&&Tt(ie,ke,We)){var re=ie.prefix||"",we=ie.namespaceURI;ut(de,re?"xmlns:"+re:"xmlns",we),We.push({prefix:re,namespace:we})}if(Se||ke&&!/^(?:meta|link|img|br|hr|input)$/i.test(ht)){if(de.push(">"),ke&&/^script$/i.test(ht))for(;Se;)Se.data?de.push(Se.data):pt(Se,de,ke,Oe,We.slice()),Se=Se.nextSibling;else for(;Se;)pt(Se,de,ke,Oe,We.slice()),Se=Se.nextSibling;de.push("</",qe,">")}else de.push("/>");return;case R:case _:for(var Se=ie.firstChild;Se;)pt(Se,de,ke,Oe,We.slice()),Se=Se.nextSibling;return;case x:return ut(de,ie.name,ie.value);case P:return de.push(ie.data.replace(/[<&>]/g,ce));case C:return de.push("<![CDATA[",ie.data,"]]>");case M:return de.push("<!--",ie.data,"-->");case B:var Me=ie.publicId,Le=ie.systemId;if(de.push("<!DOCTYPE ",ie.name),Me)de.push(" PUBLIC ",Me),Le&&Le!="."&&de.push(" ",Le),de.push(">");else if(Le&&Le!=".")de.push(" SYSTEM ",Le,">");else{var He=ie.internalSubset;He&&de.push(" [",He,"]"),de.push(">")}return;case I:return de.push("<?",ie.target," ",ie.data,"?>");case T:return de.push("&",ie.nodeName,";");default:de.push("??",ie.nodeName)}}function Ct(ie,de,ke){var Oe;switch(de.nodeType){case E:Oe=de.cloneNode(!1),Oe.ownerDocument=ie;case _:break;case x:ke=!0;break}if(Oe||(Oe=de.cloneNode(!1)),Oe.ownerDocument=ie,Oe.parentNode=null,ke)for(var We=de.firstChild;We;)Oe.appendChild(Ct(ie,We,ke)),We=We.nextSibling;return Oe}function Vt(ie,de,ke){var Oe=new de.constructor;for(var We in de)if(Object.prototype.hasOwnProperty.call(de,We)){var nt=de[We];typeof nt!="object"&&nt!=Oe[We]&&(Oe[We]=nt)}switch(de.childNodes&&(Oe.childNodes=new O),Oe.ownerDocument=ie,Oe.nodeType){case E:var mt=de.attributes,ht=Oe.attributes=new Y,qe=mt.length;ht._ownerElement=Oe;for(var bt=0;bt<qe;bt++)Oe.setAttributeNode(Vt(ie,mt.item(bt),!0));break;case x:ke=!0}if(ke)for(var Et=de.firstChild;Et;)Oe.appendChild(Vt(ie,Et,ke)),Et=Et.nextSibling;return Oe}function Xe(ie,de,ke){ie[de]=ke}try{if(Object.defineProperty){let ie=function(de){switch(de.nodeType){case E:case _:var ke=[];for(de=de.firstChild;de;)de.nodeType!==7&&de.nodeType!==8&&ke.push(ie(de)),de=de.nextSibling;return ke.join("");default:return de.nodeValue}};Object.defineProperty(U.prototype,"length",{get:function(){return $(this),this.$$length}}),Object.defineProperty(J.prototype,"textContent",{get:function(){return ie(this)},set:function(de){switch(this.nodeType){case E:case _:for(;this.firstChild;)this.removeChild(this.firstChild);(de||String(de))&&this.appendChild(this.ownerDocument.createTextNode(de));break;default:this.data=de,this.value=de,this.nodeValue=de}}}),Xe=function(de,ke,Oe){de["$$"+ke]=Oe}}}catch(ie){}s.DocumentType=Ge,s.DOMException=q,s.DOMImplementation=W,s.Element=he,s.Node=J,s.NodeList=O,s.XMLSerializer=lt},"./node_modules/@xmldom/xmldom/lib/entities.js":function(r,s,o){var a=o("./node_modules/@xmldom/xmldom/lib/conventions.js").freeze;s.XML_ENTITIES=a({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),s.HTML_ENTITIES=a({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
  54. `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),s.entityMap=s.HTML_ENTITIES},"./node_modules/@xmldom/xmldom/lib/index.js":function(r,s,o){var a=o("./node_modules/@xmldom/xmldom/lib/dom.js");s.DOMImplementation=a.DOMImplementation,s.XMLSerializer=a.XMLSerializer,s.DOMParser=o("./node_modules/@xmldom/xmldom/lib/dom-parser.js").DOMParser},"./node_modules/@xmldom/xmldom/lib/sax.js":function(r,s,o){var a=o("./node_modules/@xmldom/xmldom/lib/conventions.js").NAMESPACE,l=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,c=new RegExp("[\\-\\.0-9"+l.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),u=new RegExp("^"+l.source+c.source+"*(?::"+l.source+c.source+"*)?$"),d=0,g=1,m=2,y=3,b=4,A=5,S=6,E=7;function x(N,K){this.message=N,this.locator=K,Error.captureStackTrace&&Error.captureStackTrace(this,x)}x.prototype=new Error,x.prototype.name=x.name;function P(){}P.prototype={parse:function(N,K,G){var q=this.domBuilder;q.startDocument(),B(K,K={}),C(N,K,G,q,this.errorHandler),q.endDocument()}};function C(N,K,G,q,O){function U(he){if(he>65535){he-=65536;var Ce=55296+(he>>10),ye=56320+(he&1023);return String.fromCharCode(Ce,ye)}else return String.fromCharCode(he)}function $(he){var Ce=he.slice(1,-1);return Object.hasOwnProperty.call(G,Ce)?G[Ce]:Ce.charAt(0)==="#"?U(parseInt(Ce.substr(1).replace("x","0x"))):(O.error("entity not found:"+he),he)}function Y(he){if(he>Ee){var Ce=N.substring(Ee,he).replace(/&#?\w+;/g,$);J&&Q(Ee),q.characters(Ce,0,he-Ee),Ee=he}}function Q(he,Ce){for(;he>=ue&&(Ce=W.exec(N));)xe=Ce.index,ue=xe+Ce[0].length,J.lineNumber++;J.columnNumber=he-xe+1}for(var xe=0,ue=0,W=/.*(?:\r\n?|\n)|.*$/g,J=q.locator,ce=[{currentNSMap:K}],ge={},Ee=0;;){try{var Te=N.indexOf("<",Ee);if(Te<0){if(!N.substr(Ee).match(/^\s*$/)){var De=q.doc,te=De.createTextNode(N.substr(Ee));De.appendChild(te),q.currentElement=te}return}switch(Te>Ee&&Y(Te),N.charAt(Te+1)){case"/":var oe=N.indexOf(">",Te+3),ae=N.substring(Te+2,oe).replace(/[ \t\n\r]+$/g,""),H=ce.pop();oe<0?(ae=N.substring(Te+2).replace(/[\s<].*/,""),O.error("end tag name: "+ae+" is not complete:"+H.tagName),oe=Te+1+ae.length):ae.match(/\s</)&&(ae=ae.replace(/[\s<].*/,""),O.error("end tag name: "+ae+" maybe not complete"),oe=Te+1+ae.length);var ve=H.localNSMap,pe=H.tagName==ae,ee=pe||H.tagName&&H.tagName.toLowerCase()==ae.toLowerCase();if(ee){if(q.endElement(H.uri,H.localName,ae),ve)for(var ne in ve)Object.prototype.hasOwnProperty.call(ve,ne)&&q.endPrefixMapping(ne);pe||O.fatalError("end tag name: "+ae+" is not match the current start tagName:"+H.tagName)}else ce.push(H);oe++;break;case"?":J&&Q(Te),oe=V(N,Te,q);break;case"!":J&&Q(Te),oe=_(N,Te,q,O);break;default:J&&Q(Te);var me=new D,Be=ce[ce.length-1].currentNSMap,oe=k(N,Te,me,Be,$,O),be=me.length;if(!me.closed&&R(N,oe,me.tagName,ge)&&(me.closed=!0,G.nbsp||O.warning("unclosed xml attribute")),J&&be){for(var Ie=T(J,{}),Re=0;Re<be;Re++){var Pe=me[Re];Q(Pe.offset),Pe.locator=T(J,{})}q.locator=Ie,I(me,q,Be)&&ce.push(me),q.locator=J}else I(me,q,Be)&&ce.push(me);a.isHTML(me.uri)&&!me.closed?oe=M(N,oe,me.tagName,$,q):oe++}}catch(he){if(he instanceof x)throw he;O.error("element parse error: "+he),oe=-1}oe>Ee?Ee=oe:Y(Math.max(Te,Ee)+1)}}function T(N,K){return K.lineNumber=N.lineNumber,K.columnNumber=N.columnNumber,K}function k(N,K,G,q,O,U){function $(J,ce,ge){G.attributeNames.hasOwnProperty(J)&&U.fatalError("Attribute "+J+" redefined"),G.addValue(J,ce.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,O),ge)}for(var Y,Q,xe=++K,ue=d;;){var W=N.charAt(xe);switch(W){case"=":if(ue===g)Y=N.slice(K,xe),ue=y;else if(ue===m)ue=y;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(ue===y||ue===g)if(ue===g&&(U.warning('attribute value must after "="'),Y=N.slice(K,xe)),K=xe+1,xe=N.indexOf(W,K),xe>0)Q=N.slice(K,xe),$(Y,Q,K-1),ue=A;else throw new Error("attribute value no end '"+W+"' match");else if(ue==b)Q=N.slice(K,xe),$(Y,Q,K),U.warning('attribute "'+Y+'" missed start quot('+W+")!!"),K=xe+1,ue=A;else throw new Error('attribute value must after "="');break;case"/":switch(ue){case d:G.setTagName(N.slice(K,xe));case A:case S:case E:ue=E,G.closed=!0;case b:case g:break;case m:G.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return U.error("unexpected end of input"),ue==d&&G.setTagName(N.slice(K,xe)),xe;case">":switch(ue){case d:G.setTagName(N.slice(K,xe));case A:case S:case E:break;case b:case g:Q=N.slice(K,xe),Q.slice(-1)==="/"&&(G.closed=!0,Q=Q.slice(0,-1));case m:ue===m&&(Q=Y),ue==b?(U.warning('attribute "'+Q+'" missed quot(")!'),$(Y,Q,K)):((!a.isHTML(q[""])||!Q.match(/^(?:disabled|checked|selected)$/i))&&U.warning('attribute "'+Q+'" missed value!! "'+Q+'" instead!!'),$(Q,Q,K));break;case y:throw new Error("attribute value missed!!")}return xe;case"€":W=" ";default:if(W<=" ")switch(ue){case d:G.setTagName(N.slice(K,xe)),ue=S;break;case g:Y=N.slice(K,xe),ue=m;break;case b:var Q=N.slice(K,xe);U.warning('attribute "'+Q+'" missed quot(")!!'),$(Y,Q,K);case A:ue=S;break}else switch(ue){case m:G.tagName,(!a.isHTML(q[""])||!Y.match(/^(?:disabled|checked|selected)$/i))&&U.warning('attribute "'+Y+'" missed value!! "'+Y+'" instead2!!'),$(Y,Y,K),K=xe,ue=g;break;case A:U.warning('attribute space is required"'+Y+'"!!');case S:ue=g,K=xe;break;case y:ue=b,K=xe;break;case E:throw new Error("elements closed character '/' and '>' must be connected to")}}xe++}}function I(N,K,G){for(var q=N.tagName,O=null,W=N.length;W--;){var U=N[W],$=U.qName,Y=U.value,J=$.indexOf(":");if(J>0)var Q=U.prefix=$.slice(0,J),xe=$.slice(J+1),ue=Q==="xmlns"&&xe;else xe=$,Q=null,ue=$==="xmlns"&&"";U.localName=xe,ue!==!1&&(O==null&&(O={},B(G,G={})),G[ue]=O[ue]=Y,U.uri=a.XMLNS,K.startPrefixMapping(ue,Y))}for(var W=N.length;W--;){U=N[W];var Q=U.prefix;Q&&(Q==="xml"&&(U.uri=a.XML),Q!=="xmlns"&&(U.uri=G[Q||""]))}var J=q.indexOf(":");J>0?(Q=N.prefix=q.slice(0,J),xe=N.localName=q.slice(J+1)):(Q=null,xe=N.localName=q);var ce=N.uri=G[Q||""];if(K.startElement(ce,xe,q,N),N.closed){if(K.endElement(ce,xe,q),O)for(Q in O)Object.prototype.hasOwnProperty.call(O,Q)&&K.endPrefixMapping(Q)}else return N.currentNSMap=G,N.localNSMap=O,!0}function M(N,K,G,q,O){if(/^(?:script|textarea)$/i.test(G)){var U=N.indexOf("</"+G+">",K),$=N.substring(K+1,U);if(/[&<]/.test($))return/^script$/i.test(G)?(O.characters($,0,$.length),U):($=$.replace(/&#?\w+;/g,q),O.characters($,0,$.length),U)}return K+1}function R(N,K,G,q){var O=q[G];return O==null&&(O=N.lastIndexOf("</"+G+">"),O<K&&(O=N.lastIndexOf("</"+G)),q[G]=O),O<K}function B(N,K){for(var G in N)Object.prototype.hasOwnProperty.call(N,G)&&(K[G]=N[G])}function _(N,K,G,q){var O=N.charAt(K+2);switch(O){case"-":if(N.charAt(K+3)==="-"){var U=N.indexOf("-->",K+4);return U>K?(G.comment(N,K+4,U-K-4),U+3):(q.error("Unclosed comment"),-1)}else return-1;default:if(N.substr(K+3,6)=="CDATA["){var U=N.indexOf("]]>",K+9);return G.startCDATA(),G.characters(N,K+9,U-K-9),G.endCDATA(),U+3}var $=F(N,K),Y=$.length;if(Y>1&&/!doctype/i.test($[0][0])){var Q=$[1][0],xe=!1,ue=!1;Y>3&&(/^public$/i.test($[2][0])?(xe=$[3][0],ue=Y>4&&$[4][0]):/^system$/i.test($[2][0])&&(ue=$[3][0]));var W=$[Y-1];return G.startDTD(Q,xe,ue),G.endDTD(),W.index+W[0].length}}return-1}function V(N,K,G){var q=N.indexOf("?>",K);if(q){var O=N.substring(K,q).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return O?(O[0].length,G.processingInstruction(O[1],O[2]),q+2):-1}return-1}function D(){this.attributeNames={}}D.prototype={setTagName:function(N){if(!u.test(N))throw new Error("invalid tagName:"+N);this.tagName=N},addValue:function(N,K,G){if(!u.test(N))throw new Error("invalid attribute:"+N);this.attributeNames[N]=this.length,this[this.length++]={qName:N,value:K,offset:G}},length:0,getLocalName:function(N){return this[N].localName},getLocator:function(N){return this[N].locator},getQName:function(N){return this[N].qName},getURI:function(N){return this[N].uri},getValue:function(N){return this[N].value}};function F(N,K){var G,q=[],O=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(O.lastIndex=K,O.exec(N);G=O.exec(N);)if(q.push(G),G[1])return q}s.XMLReader=P,s.ParseError=x},"./node_modules/process/browser.js":function(r,s){var o=r.exports={},a,l;function c(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?a=setTimeout:a=c}catch(C){a=c}try{typeof clearTimeout=="function"?l=clearTimeout:l=u}catch(C){l=u}})();function d(C){if(a===setTimeout)return setTimeout(C,0);if((a===c||!a)&&setTimeout)return a=setTimeout,setTimeout(C,0);try{return a(C,0)}catch(T){try{return a.call(null,C,0)}catch(k){return a.call(this,C,0)}}}function g(C){if(l===clearTimeout)return clearTimeout(C);if((l===u||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(C);try{return l(C)}catch(T){try{return l.call(null,C)}catch(k){return l.call(this,C)}}}var m=[],y=!1,b,A=-1;function S(){!y||!b||(y=!1,b.length?m=b.concat(m):A=-1,m.length&&E())}function E(){if(!y){var C=d(S);y=!0;for(var T=m.length;T;){for(b=m,m=[];++A<T;)b&&b[A].run();A=-1,T=m.length}b=null,y=!1,g(C)}}o.nextTick=function(C){var T=new Array(arguments.length-1);if(arguments.length>1)for(var k=1;k<arguments.length;k++)T[k-1]=arguments[k];m.push(new x(C,T)),m.length===1&&!y&&d(E)};function x(C,T){this.fun=C,this.array=T}x.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={};function P(){}o.on=P,o.addListener=P,o.once=P,o.off=P,o.removeListener=P,o.removeAllListeners=P,o.emit=P,o.prependListener=P,o.prependOnceListener=P,o.listeners=function(C){return[]},o.binding=function(C){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(C){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},"./node_modules/webpack/buildin/amd-options.js":function(r,s){(function(o){r.exports=o}).call(this,{})},"./node_modules/webpack/buildin/module.js":function(r,s){r.exports=function(o){return o.webpackPolyfill||(o.deprecate=function(){},o.paths=[],o.children||(o.children=[]),Object.defineProperty(o,"loaded",{enumerable:!0,get:function(){return o.l}}),Object.defineProperty(o,"id",{enumerable:!0,get:function(){return o.i}}),o.webpackPolyfill=1),o}},"./package.json":function(r){r.exports=JSON.parse('{"name":"cos-js-sdk-v5","version":"1.8.1","description":"JavaScript SDK for [腾讯云对象存储](https://cloud.tencent.com/product/cos)","main":"dist/cos-js-sdk-v5.js","types":"index.d.ts","scripts":{"prettier":"prettier --write src demo/demo.js demo/CIDemos/*.js test/test.js server/sts.js lib/request.js index.d.ts","server":"node server/sts.js","dev":"cross-env NODE_ENV=development webpack -w --mode=development","build":"cross-env NODE_ENV=production webpack --mode=production","cos-auth.min.js":"uglifyjs ./demo/common/cos-auth.js -o ./demo/common/cos-auth.min.js -c -m","test":"jest --runInBand --coverage"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/cos-js-sdk-v5.git"},"keywords":[],"author":"carsonxu","license":"ISC","bugs":{"url":"https://github.com/tencentyun/cos-js-sdk-v5/issues"},"homepage":"https://github.com/tencentyun/cos-js-sdk-v5#readme","dependencies":{"@xmldom/xmldom":"^0.8.6"},"devDependencies":{"@babel/core":"7.17.9","@babel/plugin-transform-runtime":"7.18.10","@babel/preset-env":"7.16.11","babel-loader":"8.2.5","body-parser":"^1.18.3","cross-env":"^5.2.0","express":"^4.16.4","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","prettier":"^3.0.1","qcloud-cos-sts":"^3.0.2","request":"^2.87.0","terser-webpack-plugin":"4.2.3","uglifyjs":"^2.4.11","webpack":"4.46.0","webpack-cli":"4.10.0"}}')},"./src/advance.js":function(r,s,o){var a=o("./node_modules/@babel/runtime/helpers/typeof.js"),l=o("./src/session.js"),c=o("./src/async.js"),u=o("./src/event.js").EventProxy,d=o("./src/util.js"),g=o("./src/tracker.js");function m(B,_){var V=this,D=new u,F=B.TaskId,N=B.Bucket,K=B.Region,G=B.Key,q=B.Body,O=B.ChunkSize||B.SliceSize||V.options.ChunkSize,U=B.AsyncLimit,$=B.StorageClass,Y=B.ServerSideEncryption,Q,xe,ue=B.onHashProgress,W=B.tracker;W&&W.setParams({chunkSize:O}),D.on("error",function(J){if(V._isRunningTask(F))return J.UploadId=B.UploadData.UploadId||"",_(J)}),D.on("upload_complete",function(J){var ce=d.extend({UploadId:B.UploadData.UploadId||""},J);_(null,ce)}),D.on("upload_slice_complete",function(J){var ce={};d.each(B.Headers,function(ge,Ee){var Te=Ee.toLowerCase();(Te.indexOf("x-cos-meta-")===0||Te==="pic-operations")&&(ce[Ee]=ge)}),x.call(V,{Bucket:N,Region:K,Key:G,UploadId:J.UploadId,SliceList:J.SliceList,Headers:ce,tracker:W},function(ge,Ee){if(V._isRunningTask(F)){if(l.removeUsing(J.UploadId),ge)return xe(null,!0),D.emit("error",ge);l.removeUploadId.call(V,J.UploadId),xe({loaded:Q,total:Q},!0),D.emit("upload_complete",Ee)}})}),D.on("get_upload_data_finish",function(J){var ce=l.getFileId(q,B.ChunkSize,N,G);ce&&l.saveUploadId.call(V,ce,J.UploadId,V.options.UploadIdCacheLimit),l.setUsing(J.UploadId),xe(null,!0),S.call(V,{TaskId:F,Bucket:N,Region:K,Key:G,Body:q,FileSize:Q,SliceSize:O,AsyncLimit:U,ServerSideEncryption:Y,UploadData:J,Headers:B.Headers,onProgress:xe,tracker:W},function(ge,Ee){if(V._isRunningTask(F)){if(ge)return xe(null,!0),D.emit("error",ge);D.emit("upload_slice_complete",Ee)}})}),D.on("get_file_size_finish",function(){if(xe=d.throttleOnProgress.call(V,Q,B.onProgress),B.UploadData.UploadId)D.emit("get_upload_data_finish",B.UploadData);else{var J=d.extend({TaskId:F,Bucket:N,Region:K,Key:G,Headers:B.Headers,StorageClass:$,Body:q,FileSize:Q,SliceSize:O,onHashProgress:ue,tracker:W},B);y.call(V,J,function(ce,ge){if(V._isRunningTask(F)){if(ce)return D.emit("error",ce);B.UploadData.UploadId=ge.UploadId,B.UploadData.PartList=ge.PartList,D.emit("get_upload_data_finish",B.UploadData)}})}}),Q=B.ContentLength,delete B.ContentLength,!B.Headers&&(B.Headers={}),d.each(B.Headers,function(J,ce){ce.toLowerCase()==="content-length"&&delete B.Headers[ce]}),function(){for(var J=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],ce=1024*1024,ge=0;ge<J.length&&(ce=J[ge]*1024*1024,!(Q/ce<=V.options.MaxPartNumber));ge++);B.ChunkSize=B.SliceSize=O=Math.max(O,ce)}(),Q===0?(B.Body="",B.ContentLength=0,B.SkipTask=!0,V.putObject(B,_)):D.emit("get_file_size_finish")}function y(B,_){var V=B.TaskId,D=B.Bucket,F=B.Region,N=B.Key,K=B.StorageClass,G=this,q={},O=B.FileSize,U=B.SliceSize,$=Math.ceil(O/U),Y=0,Q=d.throttleOnProgress.call(G,O,B.onHashProgress),xe=function(ce,ge){var Ee=U*(ce-1),Te=Math.min(Ee+U,O),De=Te-Ee;q[ce]?ge(null,{PartNumber:ce,ETag:q[ce],Size:De}):d.fileSlice(B.Body,Ee,Te,!1,function(te){d.getFileMd5(te,function(ae,H){if(ae)return ge(d.error(ae));var ve='"'+H+'"';q[ce]=ve,Y+=De,Q({loaded:Y,total:O}),ge(null,{PartNumber:ce,ETag:ve,Size:De})})})},ue=function(ce,ge){var Ee=ce.length;if(Ee===0)return ge(null,!0);if(Ee>$)return ge(null,!1);if(Ee>1){var Te=Math.max(ce[0].Size,ce[1].Size);if(Te!==U)return ge(null,!1)}var De=function te(ae){if(ae<Ee){var H=ce[ae];xe(H.PartNumber,function(ve,pe){pe&&pe.ETag===H.ETag&&pe.Size===H.Size?te(ae+1):ge(null,!1)})}else ge(null,!0)};De(0)},W=new u;W.on("error",function(J){if(G._isRunningTask(V))return _(J)}),W.on("upload_id_available",function(J){var ce={},ge=[];d.each(J.PartList,function(De){ce[De.PartNumber]=De});for(var Ee=1;Ee<=$;Ee++){var Te=ce[Ee];Te?(Te.PartNumber=Ee,Te.Uploaded=!0):Te={PartNumber:Ee,ETag:null,Uploaded:!1},ge.push(Te)}J.PartList=ge,_(null,J)}),W.on("no_available_upload_id",function(){if(G._isRunningTask(V)){var J=d.extend({Bucket:D,Region:F,Key:N,Query:d.clone(B.Query),StorageClass:K,Body:B.Body,calledBySdk:"sliceUploadFile",tracker:B.tracker},B),ce=d.clone(B.Headers);delete ce["x-cos-mime-limit"],J.Headers=ce,G.multipartInit(J,function(ge,Ee){if(G._isRunningTask(V)){if(ge)return W.emit("error",ge);var Te=Ee.UploadId;if(!Te)return _(d.error(new Error("no such upload id")));W.emit("upload_id_available",{UploadId:Te,PartList:[]})}})}}),W.on("has_and_check_upload_id",function(J){J=J.reverse(),c.eachLimit(J,1,function(ce,ge){if(G._isRunningTask(V)){if(l.using[ce]){ge();return}A.call(G,{Bucket:D,Region:F,Key:N,UploadId:ce,tracker:B.tracker},function(Ee,Te){if(G._isRunningTask(V)){if(Ee)return l.removeUsing(ce),W.emit("error",Ee);var De=Te.PartList;De.forEach(function(te){te.PartNumber*=1,te.Size*=1,te.ETag=te.ETag||""}),ue(De,function(te,ae){if(G._isRunningTask(V)){if(te)return W.emit("error",te);ae?ge({UploadId:ce,PartList:De}):ge()}})}})}},function(ce){G._isRunningTask(V)&&(Q(null,!0),ce&&ce.UploadId?W.emit("upload_id_available",ce):W.emit("no_available_upload_id"))})}),W.on("seek_local_avail_upload_id",function(J){var ce=l.getFileId(B.Body,B.ChunkSize,D,N),ge=l.getUploadIdList.call(G,ce);if(!ce||!ge){W.emit("has_and_check_upload_id",J);return}var Ee=function Te(De){if(De>=ge.length){W.emit("has_and_check_upload_id",J);return}var te=ge[De];if(!d.isInArray(J,te)){l.removeUploadId.call(G,te),Te(De+1);return}if(l.using[te]){Te(De+1);return}A.call(G,{Bucket:D,Region:F,Key:N,UploadId:te,tracker:B.tracker},function(ae,H){G._isRunningTask(V)&&(ae?(l.removeUploadId.call(G,te),Te(De+1)):W.emit("upload_id_available",{UploadId:te,PartList:H.PartList}))})};Ee(0)}),W.on("get_remote_upload_id_list",function(){b.call(G,{Bucket:D,Region:F,Key:N,tracker:B.tracker},function(J,ce){if(G._isRunningTask(V)){if(J)return W.emit("error",J);var ge=d.filter(ce.UploadList,function(De){return De.Key===N&&(!K||De.StorageClass.toUpperCase()===K.toUpperCase())}).reverse().map(function(De){return De.UploadId||De.UploadID});if(ge.length)W.emit("seek_local_avail_upload_id",ge);else{var Ee=l.getFileId(B.Body,B.ChunkSize,D,N),Te;Ee&&(Te=l.getUploadIdList.call(G,Ee))&&d.each(Te,function(De){l.removeUploadId.call(G,De)}),W.emit("no_available_upload_id")}}})}),W.emit("get_remote_upload_id_list")}function b(B,_){var V=this,D=[],F={Bucket:B.Bucket,Region:B.Region,Prefix:B.Key,calledBySdk:B.calledBySdk||"sliceUploadFile",tracker:B.tracker},N=function K(){V.multipartList(F,function(G,q){if(G)return _(G);D.push.apply(D,q.Upload||[]),q.IsTruncated==="true"?(F.KeyMarker=q.NextKeyMarker,F.UploadIdMarker=q.NextUploadIdMarker,K()):_(null,{UploadList:D})})};N()}function A(B,_){var V=this,D=[],F={Bucket:B.Bucket,Region:B.Region,Key:B.Key,UploadId:B.UploadId,calledBySdk:"sliceUploadFile",tracker:B.tracker},N=function K(){V.multipartListPart(F,function(G,q){if(G)return _(G);D.push.apply(D,q.Part||[]),q.IsTruncated==="true"?(F.PartNumberMarker=q.NextPartNumberMarker,K()):_(null,{PartList:D})})};N()}function S(B,_){var V=this,D=B.TaskId,F=B.Bucket,N=B.Region,K=B.Key,G=B.UploadData,q=B.FileSize,O=B.SliceSize,U=Math.min(B.AsyncLimit||V.options.ChunkParallelLimit||1,256),$=B.Body,Y=Math.ceil(q/O),Q=0,xe=B.ServerSideEncryption,ue=B.Headers,W=d.filter(G.PartList,function(ce){return ce.Uploaded&&(Q+=ce.PartNumber>=Y&&q%O||O),!ce.Uploaded}),J=B.onProgress;c.eachLimit(W,U,function(ce,ge){if(V._isRunningTask(D)){var Ee=ce.PartNumber,Te=Math.min(q,ce.PartNumber*O)-(ce.PartNumber-1)*O,De=0;E.call(V,{TaskId:D,Bucket:F,Region:N,Key:K,SliceSize:O,FileSize:q,PartNumber:Ee,ServerSideEncryption:xe,Body:$,UploadData:G,Headers:ue,onProgress:function(ae){Q+=ae.loaded-De,De=ae.loaded,J({loaded:Q,total:q})},tracker:B.tracker},function(te,ae){V._isRunningTask(D)&&(!te&&!ae.ETag&&(te='get ETag error, please add "ETag" to CORS ExposeHeader setting.( 获取ETag失败,请在CORS ExposeHeader设置中添加ETag,请参考文档:https://cloud.tencent.com/document/product/436/13318 )'),te?Q-=De:(Q+=Te-De,ce.ETag=ae.ETag),J({loaded:Q,total:q}),ge(te||null,ae))})}},function(ce){if(V._isRunningTask(D)){if(ce)return _(ce);_(null,{UploadId:G.UploadId,SliceList:G.PartList})}})}function E(B,_){var V=this,D=B.TaskId,F=B.Bucket,N=B.Region,K=B.Key,G=B.FileSize,q=B.Body,O=B.PartNumber*1,U=B.SliceSize,$=B.ServerSideEncryption,Y=B.UploadData,Q=B.Headers||{},xe=V.options.ChunkRetryTimes+1,ue=U*(O-1),W=U,J=ue+U;J>G&&(J=G,W=J-ue);var ce=["x-cos-traffic-limit","x-cos-mime-limit"],ge={};d.each(Q,function(Te,De){ce.indexOf(De)>-1&&(ge[De]=Te)});var Ee=Y.PartList[O-1];c.retry(xe,function(Te){V._isRunningTask(D)&&d.fileSlice(q,ue,J,!0,function(De){V.multipartUpload({TaskId:D,Bucket:F,Region:N,Key:K,ContentLength:W,PartNumber:O,UploadId:Y.UploadId,ServerSideEncryption:$,Body:De,Headers:ge,onProgress:B.onProgress,calledBySdk:"sliceUploadFile",tracker:B.tracker},function(te,ae){if(V._isRunningTask(D))return te?Te(te):(Ee.Uploaded=!0,Te(null,ae))})})},function(Te,De){if(V._isRunningTask(D))return _(Te,De)})}function x(B,_){var V=B.Bucket,D=B.Region,F=B.Key,N=B.UploadId,K=B.SliceList,G=this,q=this.options.ChunkRetryTimes+1,O=B.Headers,U=K.map(function($){return{PartNumber:$.PartNumber,ETag:$.ETag}});c.retry(q,function($){G.multipartComplete({Bucket:V,Region:D,Key:F,UploadId:N,Parts:U,Headers:O,calledBySdk:"sliceUploadFile",tracker:B.tracker},$)},function($,Y){_($,Y)})}function P(B,_){var V=B.Bucket,D=B.Region,F=B.Key,N=B.UploadId,K=B.Level||"task",G=B.AsyncLimit,q=this,O=new u;if(O.on("error",function(U){return _(U)}),O.on("get_abort_array",function(U){C.call(q,{Bucket:V,Region:D,Key:F,Headers:B.Headers,AsyncLimit:G,AbortArray:U},_)}),K==="bucket")b.call(q,{Bucket:V,Region:D,calledBySdk:"abortUploadTask"},function(U,$){if(U)return _(U);O.emit("get_abort_array",$.UploadList||[])});else if(K==="file"){if(!F)return _(d.error(new Error("abort_upload_task_no_key")));b.call(q,{Bucket:V,Region:D,Key:F,calledBySdk:"abortUploadTask"},function(U,$){if(U)return _(U);O.emit("get_abort_array",$.UploadList||[])})}else if(K==="task"){if(!N)return _(d.error(new Error("abort_upload_task_no_id")));if(!F)return _(d.error(new Error("abort_upload_task_no_key")));O.emit("get_abort_array",[{Key:F,UploadId:N}])}else return _(d.error(new Error("abort_unknown_level")))}function C(B,_){var V=B.Bucket,D=B.Region,F=B.Key,N=B.AbortArray,K=B.AsyncLimit||1,G=this,q=0,O=new Array(N.length);c.eachLimit(N,K,function(U,$){var Y=q;if(F&&F!==U.Key){O[Y]={error:{KeyNotMatch:!0}},$(null);return}var Q=U.UploadId||U.UploadID;G.multipartAbort({Bucket:V,Region:D,Key:U.Key,Headers:B.Headers,UploadId:Q},function(xe){var ue={Bucket:V,Region:D,Key:U.Key,UploadId:Q};O[Y]={error:xe,task:ue},$(null)}),q++},function(U){if(U)return _(U);for(var $=[],Y=[],Q=0,xe=O.length;Q<xe;Q++){var ue=O[Q];ue.task&&(ue.error?Y.push(ue.task):$.push(ue.task))}return _(null,{successList:$,errorList:Y})})}function T(B,_){var V=this,D=B.SliceSize===void 0?V.options.SliceSize:B.SliceSize,F=[],N=B.Body,K=N.size||N.length||0,G={TaskId:""};if(V.options.EnableReporter){var q=V.options.UseAccelerate||typeof V.options.Domain=="string"&&V.options.Domain.includes("accelerate."),O=K>D?"sliceUploadFile":"putObject";B.tracker=new g({Beacon:V.options.BeaconReporter,clsReporter:V.options.ClsReporter,bucket:B.Bucket,region:B.Region,apiName:"uploadFile",realApi:O,fileKey:B.Key,fileSize:K,accelerate:q,deepTracker:V.options.DeepTracker,customId:V.options.CustomId,delay:V.options.TrackerDelay})}d.each(B,function(ue,W){a(ue)!=="object"&&typeof ue!="function"&&(G[W]=ue)});var U=B.onTaskReady,$=function(W){G.TaskId=W,U&&U(W)};B.onTaskReady=$;var Y=K>D?"sliceUploadFile":"putObject",Q=B.onFileFinish,xe=function(W,J){B.tracker&&B.tracker.report(W,J),Q&&Q(W,J,G),_&&_(W,J)};F.push({api:Y,params:B,callback:xe}),V._addTasks(F)}function k(B,_){var V=this,D=B.SliceSize===void 0?V.options.SliceSize:B.SliceSize,F=0,N=0,K=d.throttleOnProgress.call(V,N,B.onProgress),G=B.files.length,q=B.onFileFinish,O=Array(G),U=function(Q,xe,ue){K(null,!0),q&&q(Q,xe,ue),O[ue.Index]={options:ue,error:Q,data:xe},--G<=0&&_&&_(null,{files:O})},$=[];d.each(B.files,function(Y,Q){(function(){var xe=Y.Body,ue=xe.size||xe.length||0,W={Index:Q,TaskId:""};if(!V.options.UseRawKey&&Y.Key&&Y.Key.substr(0,1)==="/"&&(Y.Key=Y.Key.substr(1)),F+=ue,V.options.EnableReporter){var J=V.options.UseAccelerate||typeof V.options.Domain=="string"&&V.options.Domain.includes("accelerate."),ce=ue>D?"sliceUploadFile":"putObject";Y.tracker=new g({Beacon:V.options.BeaconReporter,clsReporter:V.options.ClsReporter,bucket:Y.Bucket,region:Y.Region,apiName:"uploadFiles",realApi:ce,fileKey:Y.Key,fileSize:ue,accelerate:J,deepTracker:V.options.DeepTracker,customId:V.options.CustomId,delay:V.options.TrackerDelay})}d.each(Y,function(pe,ee){a(pe)!=="object"&&typeof pe!="function"&&(W[ee]=pe)});var ge=Y.onTaskReady,Ee=function(ee){W.TaskId=ee,ge&&ge(ee)};Y.onTaskReady=Ee;var Te=0,De=Y.onProgress,te=function(ee){N=N-Te+ee.loaded,Te=ee.loaded,De&&De(ee),K({loaded:N,total:F})};Y.onProgress=te;var ae=ue>D?"sliceUploadFile":"putObject",H=Y.onFileFinish,ve=function(ee,ne){Y.tracker&&Y.tracker.report(ee,ne),H&&H(ee,ne),U&&U(ee,ne,W)};$.push({api:ae,params:Y,callback:ve})})()}),V._addTasks($)}function I(B,_){var V=new u,D=this,F=B.Bucket,N=B.Region,K=B.Key,G=B.CopySource,q=d.getSourceParams.call(this,G);if(!q){_(d.error(new Error("CopySource format error")));return}var O=q.Bucket,U=q.Region,$=decodeURIComponent(q.Key),Y=B.CopySliceSize===void 0?D.options.CopySliceSize:B.CopySliceSize;Y=Math.max(0,Y);var Q=B.CopyChunkSize||this.options.CopyChunkSize,xe=this.options.CopyChunkParallelLimit,ue=this.options.ChunkRetryTimes+1,W=0,J=0,ce,ge,Ee={},Te={},De={};V.on("copy_slice_complete",function(te){d.each(B.Headers,function(H,ve){ve.toLowerCase().indexOf("x-cos-meta-")});var ae=d.map(te.PartList,function(H){return{PartNumber:H.PartNumber,ETag:H.ETag}});c.retry(ue,function(H){D.multipartComplete({Bucket:F,Region:N,Key:K,UploadId:te.UploadId,Parts:ae,tracker:B.tracker,calledBySdk:"sliceCopyFile"},H)},function(H,ve){if(l.removeUsing(te.UploadId),H)return ge(null,!0),_(H);l.removeUploadId(te.UploadId),ge({loaded:ce,total:ce},!0),_(null,ve)})}),V.on("get_copy_data_finish",function(te){var ae=l.getCopyFileId(G,Ee,Q,F,K);ae&&l.saveUploadId(ae,te.UploadId,D.options.UploadIdCacheLimit),l.setUsing(te.UploadId);var H=d.filter(te.PartList,function(ve){return ve.Uploaded&&(J+=ve.PartNumber>=W&&ce%Q||Q),!ve.Uploaded});c.eachLimit(H,xe,function(ve,pe){var ee=ve.PartNumber,ne=ve.CopySourceRange,me=ve.end-ve.start;c.retry(ue,function(Be){M.call(D,{Bucket:F,Region:N,Key:K,CopySource:G,UploadId:te.UploadId,PartNumber:ee,CopySourceRange:ne,tracker:B.tracker,calledBySdk:"sliceCopyFile"},Be)},function(Be,oe){if(Be)return pe(Be);J+=me,ge({loaded:J,total:ce}),ve.ETag=oe.ETag,pe(Be||null,oe)})},function(ve){if(ve)return l.removeUsing(te.UploadId),ge(null,!0),_(ve);V.emit("copy_slice_complete",te)})}),V.on("get_chunk_size_finish",function(){var te=function(){D.multipartInit({Bucket:F,Region:N,Key:K,Headers:De,tracker:B.tracker,calledBySdk:"sliceCopyFile"},function(ee,ne){if(ee)return _(ee);B.UploadId=ne.UploadId,V.emit("get_copy_data_finish",{UploadId:B.UploadId,PartList:B.PartList})})},ae=l.getCopyFileId(G,Ee,Q,F,K),H=l.getUploadIdList(ae);if(!ae||!H)return te();var ve=function pe(ee){if(ee>=H.length)return te();var ne=H[ee];if(l.using[ne])return pe(ee+1);A.call(D,{Bucket:F,Region:N,Key:K,UploadId:ne,tracker:B.tracker,calledBySdk:"sliceCopyFile"},function(me,Be){if(me)l.removeUploadId(ne),pe(ee+1);else{if(l.using[ne])return pe(ee+1);var oe={},be=0;d.each(Be.PartList,function(Ie){var Re=parseInt(Ie.Size),Pe=be+Re-1;oe[Ie.PartNumber+"|"+be+"|"+Pe]=Ie.ETag,be+=Re}),d.each(B.PartList,function(Ie){var Re=oe[Ie.PartNumber+"|"+Ie.start+"|"+Ie.end];Re&&(Ie.ETag=Re,Ie.Uploaded=!0)}),V.emit("get_copy_data_finish",{UploadId:ne,PartList:B.PartList})}})};ve(0)}),V.on("get_file_size_finish",function(){if(function(){for(var ae=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],H=1024*1024,ve=0;ve<ae.length&&(H=ae[ve]*1024*1024,!(ce/H<=D.options.MaxPartNumber));ve++);B.ChunkSize=Q=Math.max(Q,H),W=Math.ceil(ce/Q);for(var pe=[],ee=1;ee<=W;ee++){var ne=(ee-1)*Q,me=ee*Q<ce?ee*Q-1:ce-1,Be={PartNumber:ee,start:ne,end:me,CopySourceRange:"bytes="+ne+"-"+me};pe.push(Be)}B.PartList=pe}(),B.Headers["x-cos-metadata-directive"]==="Replaced"?De=B.Headers:De=Te,De["x-cos-storage-class"]=B.Headers["x-cos-storage-class"]||Te["x-cos-storage-class"],De=d.clearKey(De),Te["x-cos-storage-class"]==="ARCHIVE"||Te["x-cos-storage-class"]==="DEEP_ARCHIVE"){var te=Te["x-cos-restore"];if(!te||te==='ongoing-request="true"'){_(d.error(new Error("Unrestored archive object is not allowed to be copied")));return}}delete De["x-cos-copy-source"],delete De["x-cos-metadata-directive"],delete De["x-cos-copy-source-If-Modified-Since"],delete De["x-cos-copy-source-If-Unmodified-Since"],delete De["x-cos-copy-source-If-Match"],delete De["x-cos-copy-source-If-None-Match"],V.emit("get_chunk_size_finish")}),D.headObject({Bucket:O,Region:U,Key:$,tracker:B.tracker,calledBySdk:"sliceCopyFile"},function(te,ae){if(te){te.statusCode&&te.statusCode===404?_(d.error(te,{ErrorStatus:$+" Not Exist"})):_(te);return}if(ce=B.FileSize=ae.headers["content-length"],ce===void 0||!ce){_(d.error(new Error('get Content-Length error, please add "Content-Length" to CORS ExposeHeader setting.( 获取Content-Length失败,请在CORS ExposeHeader设置中添加Content-Length,请参考文档:https://cloud.tencent.com/document/product/436/13318 )')));return}if(B.tracker&&B.tracker.setParams({httpSize:ce}),ge=d.throttleOnProgress.call(D,ce,B.onProgress),ce<=Y)B.Headers["x-cos-metadata-directive"]||(B.Headers["x-cos-metadata-directive"]="Copy"),D.putObjectCopy(Object.assign(B,{calledBySdk:"sliceCopyFile"}),function(ve,pe){if(ve)return ge(null,!0),_(ve);ge({loaded:ce,total:ce},!0),_(ve,pe)});else{var H=ae.headers;Ee=H,Te={"Cache-Control":H["cache-control"],"Content-Disposition":H["content-disposition"],"Content-Encoding":H["content-encoding"],"Content-Type":H["content-type"],Expires:H.expires,"x-cos-storage-class":H["x-cos-storage-class"]},d.each(H,function(ve,pe){var ee="x-cos-meta-";pe.indexOf(ee)===0&&pe.length>ee.length&&(Te[pe]=ve)}),V.emit("get_file_size_finish")}})}function M(B,_){var V=B.TaskId,D=B.Bucket,F=B.Region,N=B.Key,K=B.CopySource,G=B.UploadId,q=B.PartNumber*1,O=B.CopySourceRange,U=this.options.ChunkRetryTimes+1,$=this;c.retry(U,function(Y){$.uploadPartCopy({TaskId:V,Bucket:D,Region:F,Key:N,CopySource:K,UploadId:G,PartNumber:q,CopySourceRange:O,tracker:B.tracker,calledBySdk:B.calledBySdk},function(Q,xe){Y(Q||null,xe)})},function(Y,Q){return _(Y,Q)})}var R={sliceUploadFile:m,abortUploadTask:P,uploadFile:T,uploadFiles:k,sliceCopyFile:I};r.exports.init=function(B,_){_.transferToTaskMethod(R,"sliceUploadFile"),d.each(R,function(V,D){B.prototype[D]=d.apiWrapper(D,V)})}},"./src/async.js":function(r,s){var o=function(u,d,g,m){if(m=m||function(){},!u.length||d<=0)return m();var y=0,b=0,A=0;(function S(){if(y>=u.length)return m();for(;A<d&&b<u.length;)b+=1,A+=1,g(u[b-1],function(E){E?(m(E),m=function(){}):(y+=1,A-=1,y>=u.length?m():S())})})()},a=function(u,d,g){var m=function y(b){d(function(A,S){A&&b<u?y(b+1):g(A,S)})};u<1?g():m(1)},l={eachLimit:o,retry:a};r.exports=l},"./src/base.js":function(r,s,o){var a=o("./node_modules/@babel/runtime/helpers/typeof.js"),l=o("./lib/request.js"),c=o("./src/util.js");function u(z,fe){var Z=this.options.Protocol||(c.isBrowser&&(typeof location>"u"?"undefined":a(location))==="object"&&location.protocol==="http:"?"http:":"https:"),re=this.options.ServiceDomain,we=z.AppId||this.options.appId,Se=z.Region;re?(re=re.replace(/\{\{AppId\}\}/gi,we||"").replace(/\{\{Region\}\}/gi,Se||"").replace(/\{\{.*?\}\}/gi,""),/^[a-zA-Z]+:\/\//.test(re)||(re=Z+"//"+re),re.slice(-1)==="/"&&(re=re.slice(0,-1))):Se?re=Z+"//cos."+Se+".myqcloud.com":re=Z+"//service.cos.myqcloud.com";var Me="",Le=Se?"cos."+Se+".myqcloud.com":"service.cos.myqcloud.com",He=re.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");Le===He&&(Me=Le),qe.call(this,{Action:"name/cos:GetService",url:re,method:"GET",headers:z.Headers,SignHost:Me,tracker:z.tracker},function(at,rt){if(at)return fe(at);var ft=rt&&rt.ListAllMyBucketsResult&&rt.ListAllMyBucketsResult.Buckets&&rt.ListAllMyBucketsResult.Buckets.Bucket||[];ft=c.isArray(ft)?ft:[ft];var je=rt&&rt.ListAllMyBucketsResult&&rt.ListAllMyBucketsResult.Owner||{};fe(null,{Buckets:ft,Owner:je,statusCode:rt.statusCode,headers:rt.headers})})}function d(z,fe){var Z=this,re="";if(z.BucketAZConfig){var we={BucketAZConfig:z.BucketAZConfig};re=c.json2xml({CreateBucketConfiguration:we})}qe.call(this,{Action:"name/cos:PutBucket",method:"PUT",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,body:re,tracker:z.tracker},function(Se,Me){if(Se)return fe(Se);var Le=Oe({protocol:Z.options.Protocol,domain:Z.options.Domain,bucket:z.Bucket,region:z.Region,isLocation:!0});fe(null,{Location:Le,statusCode:Me.statusCode,headers:Me.headers})})}function g(z,fe){qe.call(this,{Action:"name/cos:HeadBucket",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,method:"HEAD",tracker:z.tracker},fe)}function m(z,fe){var Z={};Z.prefix=z.Prefix||"",Z.delimiter=z.Delimiter,Z.marker=z.Marker,Z["max-keys"]=z.MaxKeys,Z["encoding-type"]=z.EncodingType,qe.call(this,{Action:"name/cos:GetBucket",ResourceKey:Z.prefix,method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,qs:Z,tracker:z.tracker},function(re,we){if(re)return fe(re);var Se=we.ListBucketResult||{},Me=Se.Contents||[],Le=Se.CommonPrefixes||[];Me=c.isArray(Me)?Me:[Me],Le=c.isArray(Le)?Le:[Le];var He=c.clone(Se);c.extend(He,{Contents:Me,CommonPrefixes:Le,statusCode:we.statusCode,headers:we.headers}),fe(null,He)})}function y(z,fe){qe.call(this,{Action:"name/cos:DeleteBucket",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,method:"DELETE",tracker:z.tracker},function(Z,re){if(Z&&Z.statusCode===204)return fe(null,{statusCode:Z.statusCode});if(Z)return fe(Z);fe(null,{statusCode:re.statusCode,headers:re.headers})})}function b(z,fe){var Z=z.Headers,re="";if(z.AccessControlPolicy){var we=c.clone(z.AccessControlPolicy||{}),Se=we.Grants||we.Grant;Se=c.isArray(Se)?Se:[Se],delete we.Grant,delete we.Grants,we.AccessControlList={Grant:Se},re=c.json2xml({AccessControlPolicy:we}),Z["Content-Type"]="application/xml",Z["Content-MD5"]=c.b64(c.md5(re))}c.each(Z,function(Me,Le){Le.indexOf("x-cos-grant-")===0&&(Z[Le]=ke(Z[Le]))}),qe.call(this,{Action:"name/cos:PutBucketACL",method:"PUT",Bucket:z.Bucket,Region:z.Region,headers:Z,action:"acl",body:re,tracker:z.tracker},function(Me,Le){if(Me)return fe(Me);fe(null,{statusCode:Le.statusCode,headers:Le.headers})})}function A(z,fe){qe.call(this,{Action:"name/cos:GetBucketACL",method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"acl",tracker:z.tracker},function(Z,re){if(Z)return fe(Z);var we=re.AccessControlPolicy||{},Se=we.Owner||{},Me=we.AccessControlList.Grant||[];Me=c.isArray(Me)?Me:[Me];var Le=de(we);re.headers&&re.headers["x-cos-acl"]&&(Le.ACL=re.headers["x-cos-acl"]),Le=c.extend(Le,{Owner:Se,Grants:Me,statusCode:re.statusCode,headers:re.headers}),fe(null,Le)})}function S(z,fe){var Z=z.CORSConfiguration||{},re=Z.CORSRules||z.CORSRules||[];re=c.clone(c.isArray(re)?re:[re]),c.each(re,function(Le){c.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],function(He){var at=He+"s",rt=Le[at]||Le[He]||[];delete Le[at],Le[He]=c.isArray(rt)?rt:[rt]})});var we={CORSRule:re};z.ResponseVary&&(we.ResponseVary=z.ResponseVary);var Se=c.json2xml({CORSConfiguration:we}),Me=z.Headers;Me["Content-Type"]="application/xml",Me["Content-MD5"]=c.b64(c.md5(Se)),qe.call(this,{Action:"name/cos:PutBucketCORS",method:"PUT",Bucket:z.Bucket,Region:z.Region,body:Se,action:"cors",headers:Me,tracker:z.tracker},function(Le,He){if(Le)return fe(Le);fe(null,{statusCode:He.statusCode,headers:He.headers})})}function E(z,fe){qe.call(this,{Action:"name/cos:GetBucketCORS",method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"cors",tracker:z.tracker},function(Z,re){if(Z){if(Z.statusCode===404&&Z.error&&Z.error.Code==="NoSuchCORSConfiguration"){var we={CORSRules:[],statusCode:Z.statusCode};Z.headers&&(we.headers=Z.headers),fe(null,we)}else fe(Z);return}var Se=re.CORSConfiguration||{},Me=Se.CORSRules||Se.CORSRule||[];Me=c.clone(c.isArray(Me)?Me:[Me]);var Le=Se.ResponseVary;c.each(Me,function(He){c.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],function(at){var rt=at+"s",ft=He[rt]||He[at]||[];delete He[at],He[rt]=c.isArray(ft)?ft:[ft]})}),fe(null,{CORSRules:Me,ResponseVary:Le,statusCode:re.statusCode,headers:re.headers})})}function x(z,fe){qe.call(this,{Action:"name/cos:DeleteBucketCORS",method:"DELETE",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"cors",tracker:z.tracker},function(Z,re){if(Z&&Z.statusCode===204)return fe(null,{statusCode:Z.statusCode});if(Z)return fe(Z);fe(null,{statusCode:re.statusCode||Z.statusCode,headers:re.headers})})}function P(z,fe){qe.call(this,{Action:"name/cos:GetBucketLocation",method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"location",tracker:z.tracker},fe)}function C(z,fe){var Z=z.Policy;try{typeof Z=="string"&&(Z=JSON.parse(Z))}catch(Se){}if(!Z||typeof Z=="string")return fe(c.error(new Error("Policy format error")));var re=JSON.stringify(Z);Z.version||(Z.version="2.0");var we=z.Headers;we["Content-Type"]="application/json",we["Content-MD5"]=c.b64(c.md5(re)),qe.call(this,{Action:"name/cos:PutBucketPolicy",method:"PUT",Bucket:z.Bucket,Region:z.Region,action:"policy",body:re,headers:we,tracker:z.tracker},function(Se,Me){if(Se&&Se.statusCode===204)return fe(null,{statusCode:Se.statusCode});if(Se)return fe(Se);fe(null,{statusCode:Me.statusCode,headers:Me.headers})})}function T(z,fe){qe.call(this,{Action:"name/cos:GetBucketPolicy",method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"policy",rawBody:!0,tracker:z.tracker},function(Z,re){if(Z)return Z.statusCode&&Z.statusCode===403?fe(c.error(Z,{ErrorStatus:"Access Denied"})):Z.statusCode&&Z.statusCode===405?fe(c.error(Z,{ErrorStatus:"Method Not Allowed"})):Z.statusCode&&Z.statusCode===404?fe(c.error(Z,{ErrorStatus:"Policy Not Found"})):fe(Z);var we={};try{we=JSON.parse(re.body)}catch(Se){}fe(null,{Policy:we,statusCode:re.statusCode,headers:re.headers})})}function k(z,fe){qe.call(this,{Action:"name/cos:DeleteBucketPolicy",method:"DELETE",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"policy",tracker:z.tracker},function(Z,re){if(Z&&Z.statusCode===204)return fe(null,{statusCode:Z.statusCode});if(Z)return fe(Z);fe(null,{statusCode:re.statusCode||Z.statusCode,headers:re.headers})})}function I(z,fe){var Z=z.Tagging||{},re=Z.TagSet||Z.Tags||z.Tags||[];re=c.clone(c.isArray(re)?re:[re]);var we=c.json2xml({Tagging:{TagSet:{Tag:re}}}),Se=z.Headers;Se["Content-Type"]="application/xml",Se["Content-MD5"]=c.b64(c.md5(we)),qe.call(this,{Action:"name/cos:PutBucketTagging",method:"PUT",Bucket:z.Bucket,Region:z.Region,body:we,action:"tagging",headers:Se,tracker:z.tracker},function(Me,Le){if(Me&&Me.statusCode===204)return fe(null,{statusCode:Me.statusCode});if(Me)return fe(Me);fe(null,{statusCode:Le.statusCode,headers:Le.headers})})}function M(z,fe){qe.call(this,{Action:"name/cos:GetBucketTagging",method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"tagging",tracker:z.tracker},function(Z,re){if(Z){if(Z.statusCode===404&&Z.error&&(Z.error==="Not Found"||Z.error.Code==="NoSuchTagSet")){var we={Tags:[],statusCode:Z.statusCode};Z.headers&&(we.headers=Z.headers),fe(null,we)}else fe(Z);return}var Se=[];try{Se=re.Tagging.TagSet.Tag||[]}catch(Me){}Se=c.clone(c.isArray(Se)?Se:[Se]),fe(null,{Tags:Se,statusCode:re.statusCode,headers:re.headers})})}function R(z,fe){qe.call(this,{Action:"name/cos:DeleteBucketTagging",method:"DELETE",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"tagging",tracker:z.tracker},function(Z,re){if(Z&&Z.statusCode===204)return fe(null,{statusCode:Z.statusCode});if(Z)return fe(Z);fe(null,{statusCode:re.statusCode,headers:re.headers})})}function B(z,fe){var Z=z.LifecycleConfiguration||{},re=Z.Rules||z.Rules||[];re=c.clone(re);var we=c.json2xml({LifecycleConfiguration:{Rule:re}}),Se=z.Headers;Se["Content-Type"]="application/xml",Se["Content-MD5"]=c.b64(c.md5(we)),qe.call(this,{Action:"name/cos:PutBucketLifecycle",method:"PUT",Bucket:z.Bucket,Region:z.Region,body:we,action:"lifecycle",headers:Se,tracker:z.tracker},function(Me,Le){if(Me&&Me.statusCode===204)return fe(null,{statusCode:Me.statusCode});if(Me)return fe(Me);fe(null,{statusCode:Le.statusCode,headers:Le.headers})})}function _(z,fe){qe.call(this,{Action:"name/cos:GetBucketLifecycle",method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"lifecycle",tracker:z.tracker},function(Z,re){if(Z){if(Z.statusCode===404&&Z.error&&Z.error.Code==="NoSuchLifecycleConfiguration"){var we={Rules:[],statusCode:Z.statusCode};Z.headers&&(we.headers=Z.headers),fe(null,we)}else fe(Z);return}var Se=[];try{Se=re.LifecycleConfiguration.Rule||[]}catch(Me){}Se=c.clone(c.isArray(Se)?Se:[Se]),fe(null,{Rules:Se,statusCode:re.statusCode,headers:re.headers})})}function V(z,fe){qe.call(this,{Action:"name/cos:DeleteBucketLifecycle",method:"DELETE",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"lifecycle",tracker:z.tracker},function(Z,re){if(Z&&Z.statusCode===204)return fe(null,{statusCode:Z.statusCode});if(Z)return fe(Z);fe(null,{statusCode:re.statusCode,headers:re.headers})})}function D(z,fe){if(!z.VersioningConfiguration){fe(c.error(new Error("missing param VersioningConfiguration")));return}var Z=z.VersioningConfiguration||{},re=c.json2xml({VersioningConfiguration:Z}),we=z.Headers;we["Content-Type"]="application/xml",we["Content-MD5"]=c.b64(c.md5(re)),qe.call(this,{Action:"name/cos:PutBucketVersioning",method:"PUT",Bucket:z.Bucket,Region:z.Region,body:re,action:"versioning",headers:we,tracker:z.tracker},function(Se,Me){if(Se&&Se.statusCode===204)return fe(null,{statusCode:Se.statusCode});if(Se)return fe(Se);fe(null,{statusCode:Me.statusCode,headers:Me.headers})})}function F(z,fe){qe.call(this,{Action:"name/cos:GetBucketVersioning",method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"versioning",tracker:z.tracker},function(Z,re){Z||!re.VersioningConfiguration&&(re.VersioningConfiguration={}),fe(Z,re)})}function N(z,fe){var Z=c.clone(z.ReplicationConfiguration),re=c.json2xml({ReplicationConfiguration:Z});re=re.replace(/<(\/?)Rules>/gi,"<$1Rule>"),re=re.replace(/<(\/?)Tags>/gi,"<$1Tag>");var we=z.Headers;we["Content-Type"]="application/xml",we["Content-MD5"]=c.b64(c.md5(re)),qe.call(this,{Action:"name/cos:PutBucketReplication",method:"PUT",Bucket:z.Bucket,Region:z.Region,body:re,action:"replication",headers:we,tracker:z.tracker},function(Se,Me){if(Se&&Se.statusCode===204)return fe(null,{statusCode:Se.statusCode});if(Se)return fe(Se);fe(null,{statusCode:Me.statusCode,headers:Me.headers})})}function K(z,fe){qe.call(this,{Action:"name/cos:GetBucketReplication",method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"replication",tracker:z.tracker},function(Z,re){if(Z){if(Z.statusCode===404&&Z.error&&(Z.error==="Not Found"||Z.error.Code==="ReplicationConfigurationnotFoundError")){var we={ReplicationConfiguration:{Rules:[]},statusCode:Z.statusCode};Z.headers&&(we.headers=Z.headers),fe(null,we)}else fe(Z);return}!re.ReplicationConfiguration&&(re.ReplicationConfiguration={}),re.ReplicationConfiguration.Rule&&(re.ReplicationConfiguration.Rules=c.makeArray(re.ReplicationConfiguration.Rule),delete re.ReplicationConfiguration.Rule),fe(Z,re)})}function G(z,fe){qe.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"replication",tracker:z.tracker},function(Z,re){if(Z&&Z.statusCode===204)return fe(null,{statusCode:Z.statusCode});if(Z)return fe(Z);fe(null,{statusCode:re.statusCode,headers:re.headers})})}function q(z,fe){if(!z.WebsiteConfiguration){fe(c.error(new Error("missing param WebsiteConfiguration")));return}var Z=c.clone(z.WebsiteConfiguration||{}),re=Z.RoutingRules||Z.RoutingRule||[];re=c.isArray(re)?re:[re],delete Z.RoutingRule,delete Z.RoutingRules,re.length&&(Z.RoutingRules={RoutingRule:re});var we=c.json2xml({WebsiteConfiguration:Z}),Se=z.Headers;Se["Content-Type"]="application/xml",Se["Content-MD5"]=c.b64(c.md5(we)),qe.call(this,{Action:"name/cos:PutBucketWebsite",method:"PUT",Bucket:z.Bucket,Region:z.Region,body:we,action:"website",headers:Se,tracker:z.tracker},function(Me,Le){if(Me&&Me.statusCode===204)return fe(null,{statusCode:Me.statusCode});if(Me)return fe(Me);fe(null,{statusCode:Le.statusCode,headers:Le.headers})})}function O(z,fe){qe.call(this,{Action:"name/cos:GetBucketWebsite",method:"GET",Bucket:z.Bucket,Region:z.Region,Key:z.Key,headers:z.Headers,action:"website",tracker:z.tracker},function(Z,re){if(Z){if(Z.statusCode===404&&Z.error.Code==="NoSuchWebsiteConfiguration"){var we={WebsiteConfiguration:{},statusCode:Z.statusCode};Z.headers&&(we.headers=Z.headers),fe(null,we)}else fe(Z);return}var Se=re.WebsiteConfiguration||{};if(Se.RoutingRules){var Me=c.clone(Se.RoutingRules.RoutingRule||[]);Me=c.makeArray(Me),Se.RoutingRules=Me}fe(null,{WebsiteConfiguration:Se,statusCode:re.statusCode,headers:re.headers})})}function U(z,fe){qe.call(this,{Action:"name/cos:DeleteBucketWebsite",method:"DELETE",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"website",tracker:z.tracker},function(Z,re){if(Z&&Z.statusCode===204)return fe(null,{statusCode:Z.statusCode});if(Z)return fe(Z);fe(null,{statusCode:re.statusCode,headers:re.headers})})}function $(z,fe){if(!z.RefererConfiguration){fe(c.error(new Error("missing param RefererConfiguration")));return}var Z=c.clone(z.RefererConfiguration||{}),re=Z.DomainList||{},we=re.Domains||re.Domain||[];we=c.isArray(we)?we:[we],we.length&&(Z.DomainList={Domain:we});var Se=c.json2xml({RefererConfiguration:Z}),Me=z.Headers;Me["Content-Type"]="application/xml",Me["Content-MD5"]=c.b64(c.md5(Se)),qe.call(this,{Action:"name/cos:PutBucketReferer",method:"PUT",Bucket:z.Bucket,Region:z.Region,body:Se,action:"referer",headers:Me,tracker:z.tracker},function(Le,He){if(Le&&Le.statusCode===204)return fe(null,{statusCode:Le.statusCode});if(Le)return fe(Le);fe(null,{statusCode:He.statusCode,headers:He.headers})})}function Y(z,fe){qe.call(this,{Action:"name/cos:GetBucketReferer",method:"GET",Bucket:z.Bucket,Region:z.Region,Key:z.Key,headers:z.Headers,action:"referer",tracker:z.tracker},function(Z,re){if(Z){if(Z.statusCode===404&&Z.error.Code==="NoSuchRefererConfiguration"){var we={WebsiteConfiguration:{},statusCode:Z.statusCode};Z.headers&&(we.headers=Z.headers),fe(null,we)}else fe(Z);return}var Se=re.RefererConfiguration||{};if(Se.DomainList){var Me=c.makeArray(Se.DomainList.Domain||[]);Se.DomainList={Domains:Me}}fe(null,{RefererConfiguration:Se,statusCode:re.statusCode,headers:re.headers})})}function Q(z,fe){var Z=z.DomainConfiguration||{},re=Z.DomainRule||z.DomainRule||[];re=c.clone(re);var we=c.json2xml({DomainConfiguration:{DomainRule:re}}),Se=z.Headers;Se["Content-Type"]="application/xml",Se["Content-MD5"]=c.b64(c.md5(we)),qe.call(this,{Action:"name/cos:PutBucketDomain",method:"PUT",Bucket:z.Bucket,Region:z.Region,body:we,action:"domain",headers:Se,tracker:z.tracker},function(Me,Le){if(Me&&Me.statusCode===204)return fe(null,{statusCode:Me.statusCode});if(Me)return fe(Me);fe(null,{statusCode:Le.statusCode,headers:Le.headers})})}function xe(z,fe){qe.call(this,{Action:"name/cos:GetBucketDomain",method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"domain",tracker:z.tracker},function(Z,re){if(Z)return fe(Z);var we=[];try{we=re.DomainConfiguration.DomainRule||[]}catch(Se){}we=c.clone(c.isArray(we)?we:[we]),fe(null,{DomainRule:we,statusCode:re.statusCode,headers:re.headers})})}function ue(z,fe){qe.call(this,{Action:"name/cos:DeleteBucketDomain",method:"DELETE",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"domain",tracker:z.tracker},function(Z,re){if(Z&&Z.statusCode===204)return fe(null,{statusCode:Z.statusCode});if(Z)return fe(Z);fe(null,{statusCode:re.statusCode,headers:re.headers})})}function W(z,fe){var Z=z.OriginConfiguration||{},re=Z.OriginRule||z.OriginRule||[];re=c.clone(re);var we=c.json2xml({OriginConfiguration:{OriginRule:re}}),Se=z.Headers;Se["Content-Type"]="application/xml",Se["Content-MD5"]=c.b64(c.md5(we)),qe.call(this,{Action:"name/cos:PutBucketOrigin",method:"PUT",Bucket:z.Bucket,Region:z.Region,body:we,action:"origin",headers:Se,tracker:z.tracker},function(Me,Le){if(Me&&Me.statusCode===204)return fe(null,{statusCode:Me.statusCode});if(Me)return fe(Me);fe(null,{statusCode:Le.statusCode,headers:Le.headers})})}function J(z,fe){qe.call(this,{Action:"name/cos:GetBucketOrigin",method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"origin",tracker:z.tracker},function(Z,re){if(Z)return fe(Z);var we=[];try{we=re.OriginConfiguration.OriginRule||[]}catch(Se){}we=c.clone(c.isArray(we)?we:[we]),fe(null,{OriginRule:we,statusCode:re.statusCode,headers:re.headers})})}function ce(z,fe){qe.call(this,{Action:"name/cos:DeleteBucketOrigin",method:"DELETE",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"origin",tracker:z.tracker},function(Z,re){if(Z&&Z.statusCode===204)return fe(null,{statusCode:Z.statusCode});if(Z)return fe(Z);fe(null,{statusCode:re.statusCode,headers:re.headers})})}function ge(z,fe){var Z=c.json2xml({BucketLoggingStatus:z.BucketLoggingStatus||""}),re=z.Headers;re["Content-Type"]="application/xml",re["Content-MD5"]=c.b64(c.md5(Z)),qe.call(this,{Action:"name/cos:PutBucketLogging",method:"PUT",Bucket:z.Bucket,Region:z.Region,body:Z,action:"logging",headers:re,tracker:z.tracker},function(we,Se){if(we&&we.statusCode===204)return fe(null,{statusCode:we.statusCode});if(we)return fe(we);fe(null,{statusCode:Se.statusCode,headers:Se.headers})})}function Ee(z,fe){qe.call(this,{Action:"name/cos:GetBucketLogging",method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"logging",tracker:z.tracker},function(Z,re){if(Z)return fe(Z);fe(null,{BucketLoggingStatus:re.BucketLoggingStatus,statusCode:re.statusCode,headers:re.headers})})}function Te(z,fe,Z){var re=c.clone(fe.InventoryConfiguration);if(re.OptionalFields){var we=re.OptionalFields||[];re.OptionalFields={Field:we}}if(re.Destination&&re.Destination.COSBucketDestination&&re.Destination.COSBucketDestination.Encryption){var Se=re.Destination.COSBucketDestination.Encryption;Object.keys(Se).indexOf("SSECOS")>-1&&(Se["SSE-COS"]=Se.SSECOS,delete Se.SSECOS)}var Me=c.json2xml({InventoryConfiguration:re}),Le=fe.Headers;Le["Content-Type"]="application/xml",Le["Content-MD5"]=c.b64(c.md5(Me));var He=z==="PUT"?"name/cos:PutBucketInventory":"name/cos:PostBucketInventory";qe.call(this,{Action:He,method:z,Bucket:fe.Bucket,Region:fe.Region,body:Me,action:"inventory",qs:{id:fe.Id},headers:Le,tracker:fe.tracker},function(at,rt){if(at&&at.statusCode===204)return Z(null,{statusCode:at.statusCode});if(at)return Z(at);Z(null,{statusCode:rt.statusCode,headers:rt.headers})})}function De(z,fe){return Te.call(this,"PUT",z,fe)}function te(z,fe){return Te.call(this,"POST",z,fe)}function ae(z,fe){qe.call(this,{Action:"name/cos:GetBucketInventory",method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"inventory",qs:{id:z.Id},tracker:z.tracker},function(Z,re){if(Z)return fe(Z);var we=re.InventoryConfiguration;if(we&&we.OptionalFields&&we.OptionalFields.Field){var Se=we.OptionalFields.Field;c.isArray(Se)||(Se=[Se]),we.OptionalFields=Se}if(we.Destination&&we.Destination.COSBucketDestination&&we.Destination.COSBucketDestination.Encryption){var Me=we.Destination.COSBucketDestination.Encryption;Object.keys(Me).indexOf("SSE-COS")>-1&&(Me.SSECOS=Me["SSE-COS"],delete Me["SSE-COS"])}fe(null,{InventoryConfiguration:we,statusCode:re.statusCode,headers:re.headers})})}function H(z,fe){qe.call(this,{Action:"name/cos:ListBucketInventory",method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"inventory",qs:{"continuation-token":z.ContinuationToken},tracker:z.tracker},function(Z,re){if(Z)return fe(Z);var we=re.ListInventoryConfigurationResult,Se=we.InventoryConfiguration||[];Se=c.isArray(Se)?Se:[Se],delete we.InventoryConfiguration,c.each(Se,function(Me){if(Me&&Me.OptionalFields&&Me.OptionalFields.Field){var Le=Me.OptionalFields.Field;c.isArray(Le)||(Le=[Le]),Me.OptionalFields=Le}if(Me.Destination&&Me.Destination.COSBucketDestination&&Me.Destination.COSBucketDestination.Encryption){var He=Me.Destination.COSBucketDestination.Encryption;Object.keys(He).indexOf("SSE-COS")>-1&&(He.SSECOS=He["SSE-COS"],delete He["SSE-COS"])}}),we.InventoryConfigurations=Se,c.extend(we,{statusCode:re.statusCode,headers:re.headers}),fe(null,we)})}function ve(z,fe){qe.call(this,{Action:"name/cos:DeleteBucketInventory",method:"DELETE",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"inventory",qs:{id:z.Id},tracker:z.tracker},function(Z,re){if(Z&&Z.statusCode===204)return fe(null,{statusCode:Z.statusCode});if(Z)return fe(Z);fe(null,{statusCode:re.statusCode,headers:re.headers})})}function pe(z,fe){if(!z.AccelerateConfiguration){fe(c.error(new Error("missing param AccelerateConfiguration")));return}var Z={AccelerateConfiguration:z.AccelerateConfiguration||{}},re=c.json2xml(Z),we={};we["Content-Type"]="application/xml",we["Content-MD5"]=c.b64(c.md5(re)),qe.call(this,{Action:"name/cos:PutBucketAccelerate",method:"PUT",Bucket:z.Bucket,Region:z.Region,body:re,action:"accelerate",headers:we,tracker:z.tracker},function(Se,Me){if(Se)return fe(Se);fe(null,{statusCode:Me.statusCode,headers:Me.headers})})}function ee(z,fe){qe.call(this,{Action:"name/cos:GetBucketAccelerate",method:"GET",Bucket:z.Bucket,Region:z.Region,action:"accelerate",tracker:z.tracker},function(Z,re){Z||!re.AccelerateConfiguration&&(re.AccelerateConfiguration={}),fe(Z,re)})}function ne(z,fe){var Z=z.ServerSideEncryptionConfiguration||{},re=Z.Rule||Z.Rules||[],we=c.json2xml({ServerSideEncryptionConfiguration:{Rule:re}}),Se=z.Headers;Se["Content-Type"]="application/xml",Se["Content-MD5"]=c.b64(c.md5(we)),qe.call(this,{Action:"name/cos:PutBucketEncryption",method:"PUT",Bucket:z.Bucket,Region:z.Region,body:we,action:"encryption",headers:Se,tracker:z.tracker},function(Me,Le){if(Me&&Me.statusCode===204)return fe(null,{statusCode:Me.statusCode});if(Me)return fe(Me);fe(null,{statusCode:Le.statusCode,headers:Le.headers})})}function me(z,fe){qe.call(this,{Action:"name/cos:GetBucketEncryption",method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"encryption",tracker:z.tracker},function(Z,re){if(Z){if(Z.statusCode===404&&Z.code==="NoSuchEncryptionConfiguration"){var we={EncryptionConfiguration:{Rules:[]},statusCode:Z.statusCode};Z.headers&&(we.headers=Z.headers),fe(null,we)}else fe(Z);return}var Se=c.makeArray(re.EncryptionConfiguration&&re.EncryptionConfiguration.Rule||[]);re.EncryptionConfiguration={Rules:Se},fe(Z,re)})}function Be(z,fe){qe.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"encryption",tracker:z.tracker},function(Z,re){if(Z&&Z.statusCode===204)return fe(null,{statusCode:Z.statusCode});if(Z)return fe(Z);fe(null,{statusCode:re.statusCode,headers:re.headers})})}function oe(z,fe){qe.call(this,{Action:"name/cos:HeadObject",method:"HEAD",Bucket:z.Bucket,Region:z.Region,Key:z.Key,VersionId:z.VersionId,headers:z.Headers,tracker:z.tracker},function(Z,re){if(Z){var we=Z.statusCode;return z.Headers["If-Modified-Since"]&&we&&we===304?fe(null,{NotModified:!0,statusCode:we}):fe(Z)}re.ETag=c.attr(re.headers,"etag",""),fe(null,re)})}function be(z,fe){var Z={};Z.prefix=z.Prefix||"",Z.delimiter=z.Delimiter,Z["key-marker"]=z.KeyMarker,Z["version-id-marker"]=z.VersionIdMarker,Z["max-keys"]=z.MaxKeys,Z["encoding-type"]=z.EncodingType,qe.call(this,{Action:"name/cos:GetBucketObjectVersions",ResourceKey:Z.prefix,method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,qs:Z,action:"versions",tracker:z.tracker},function(re,we){if(re)return fe(re);var Se=we.ListVersionsResult||{},Me=Se.DeleteMarker||[];Me=c.isArray(Me)?Me:[Me];var Le=Se.Version||[];Le=c.isArray(Le)?Le:[Le];var He=c.clone(Se);delete He.DeleteMarker,delete He.Version,c.extend(He,{DeleteMarkers:Me,Versions:Le,statusCode:we.statusCode,headers:we.headers}),fe(null,He)})}function Ie(z,fe){if(this.options.ObjectKeySimplifyCheck){var Z=c.simplifyPath(z.Key);if(Z==="/"){fe(c.error(new Error("The Getobject Key is illegal")));return}}var re=z.Query||{},we=z.QueryString||"",Se=c.throttleOnProgress.call(this,0,z.onProgress),Me=z.tracker;Me&&Me.setParams({signStartTime:new Date().getTime()}),re["response-content-type"]=z.ResponseContentType,re["response-content-language"]=z.ResponseContentLanguage,re["response-expires"]=z.ResponseExpires,re["response-cache-control"]=z.ResponseCacheControl,re["response-content-disposition"]=z.ResponseContentDisposition,re["response-content-encoding"]=z.ResponseContentEncoding,qe.call(this,{Action:"name/cos:GetObject",method:"GET",Bucket:z.Bucket,Region:z.Region,Key:z.Key,VersionId:z.VersionId,DataType:z.DataType,headers:z.Headers,qs:re,qsStr:we,rawBody:!0,onDownloadProgress:Se,tracker:Me},function(Le,He){if(Se(null,!0),Le){var at=Le.statusCode;return z.Headers["If-Modified-Since"]&&at&&at===304?fe(null,{NotModified:!0}):fe(Le)}fe(null,{Body:He.body,ETag:c.attr(He.headers,"etag",""),statusCode:He.statusCode,headers:He.headers})})}function Re(z,fe){var Z=this,re=z.ContentLength,we=c.throttleOnProgress.call(Z,re,z.onProgress),Se=z.Headers;!Se["Cache-Control"]&&!Se["cache-control"]&&(Se["Cache-Control"]=""),!Se["Content-Type"]&&!Se["content-type"]&&(Se["Content-Type"]=z.Body&&z.Body.type||"");var Me=z.UploadAddMetaMd5||Z.options.UploadAddMetaMd5||Z.options.UploadCheckContentMd5,Le=z.tracker;Me&&Le&&Le.setParams({md5StartTime:new Date().getTime()}),c.getBodyMd5(Me,z.Body,function(He){He&&(Le&&Le.setParams({md5EndTime:new Date().getTime()}),Z.options.UploadCheckContentMd5&&(Se["Content-MD5"]=c.b64(He)),(z.UploadAddMetaMd5||Z.options.UploadAddMetaMd5)&&(Se["x-cos-meta-md5"]=He)),z.ContentLength!==void 0&&(Se["Content-Length"]=z.ContentLength),we(null,!0),qe.call(Z,{Action:"name/cos:PutObject",TaskId:z.TaskId,method:"PUT",Bucket:z.Bucket,Region:z.Region,Key:z.Key,headers:z.Headers,qs:z.Query,body:z.Body,onProgress:we,tracker:Le},function(at,rt){if(at)return we(null,!0),fe(at);we({loaded:re,total:re},!0);var ft=Oe({ForcePathStyle:Z.options.ForcePathStyle,protocol:Z.options.Protocol,domain:Z.options.Domain,bucket:z.Bucket,region:Z.options.UseAccelerate?"accelerate":z.Region,object:z.Key});ft=ft.substr(ft.indexOf("://")+3),rt.Location=ft,rt.ETag=c.attr(rt.headers,"etag",""),fe(null,rt)})},z.onHashProgress)}function Pe(z,fe){qe.call(this,{Action:"name/cos:DeleteObject",method:"DELETE",Bucket:z.Bucket,Region:z.Region,Key:z.Key,headers:z.Headers,VersionId:z.VersionId,action:z.Recursive?"recursive":"",tracker:z.tracker},function(Z,re){if(Z){var we=Z.statusCode;return we&&we===404?fe(null,{BucketNotFound:!0,statusCode:we}):fe(Z)}fe(null,{statusCode:re.statusCode,headers:re.headers})})}function he(z,fe){var Z={};z.VersionId&&(Z.versionId=z.VersionId),qe.call(this,{Action:"name/cos:GetObjectACL",method:"GET",Bucket:z.Bucket,Region:z.Region,Key:z.Key,headers:z.Headers,qs:Z,action:"acl",tracker:z.tracker},function(re,we){if(re)return fe(re);var Se=we.AccessControlPolicy||{},Me=Se.Owner||{},Le=Se.AccessControlList&&Se.AccessControlList.Grant||[];Le=c.isArray(Le)?Le:[Le];var He=de(Se);delete He.GrantWrite,we.headers&&we.headers["x-cos-acl"]&&(He.ACL=we.headers["x-cos-acl"]),He=c.extend(He,{Owner:Me,Grants:Le,statusCode:we.statusCode,headers:we.headers}),fe(null,He)})}function Ce(z,fe){var Z=z.Headers,re="";if(z.AccessControlPolicy){var we=c.clone(z.AccessControlPolicy||{}),Se=we.Grants||we.Grant;Se=c.isArray(Se)?Se:[Se],delete we.Grant,delete we.Grants,we.AccessControlList={Grant:Se},re=c.json2xml({AccessControlPolicy:we}),Z["Content-Type"]="application/xml",Z["Content-MD5"]=c.b64(c.md5(re))}c.each(Z,function(Me,Le){Le.indexOf("x-cos-grant-")===0&&(Z[Le]=ke(Z[Le]))}),qe.call(this,{Action:"name/cos:PutObjectACL",method:"PUT",Bucket:z.Bucket,Region:z.Region,Key:z.Key,action:"acl",headers:Z,body:re,tracker:z.tracker},function(Me,Le){if(Me)return fe(Me);fe(null,{statusCode:Le.statusCode,headers:Le.headers})})}function ye(z,fe){var Z=z.Headers;Z.Origin=z.Origin,Z["Access-Control-Request-Method"]=z.AccessControlRequestMethod,Z["Access-Control-Request-Headers"]=z.AccessControlRequestHeaders,qe.call(this,{Action:"name/cos:OptionsObject",method:"OPTIONS",Bucket:z.Bucket,Region:z.Region,Key:z.Key,headers:Z,tracker:z.tracker},function(re,we){if(re)return re.statusCode&&re.statusCode===403?fe(null,{OptionsForbidden:!0,statusCode:re.statusCode}):fe(re);var Se=we.headers||{};fe(null,{AccessControlAllowOrigin:Se["access-control-allow-origin"],AccessControlAllowMethods:Se["access-control-allow-methods"],AccessControlAllowHeaders:Se["access-control-allow-headers"],AccessControlExposeHeaders:Se["access-control-expose-headers"],AccessControlMaxAge:Se["access-control-max-age"],statusCode:we.statusCode,headers:we.headers})})}function Fe(z,fe){var Z=this,re=z.Headers;!re["Cache-Control"]&&!re["cache-control"]&&(re["Cache-Control"]="");var we=z.CopySource||"",Se=c.getSourceParams.call(this,we);if(!Se){fe(c.error(new Error("CopySource format error")));return}var Me=Se.Bucket,Le=Se.Region,He=decodeURIComponent(Se.Key);qe.call(this,{Scope:[{action:"name/cos:GetObject",bucket:Me,region:Le,prefix:He},{action:"name/cos:PutObject",bucket:z.Bucket,region:z.Region,prefix:z.Key}],method:"PUT",Bucket:z.Bucket,Region:z.Region,Key:z.Key,VersionId:z.VersionId,headers:z.Headers,tracker:z.tracker},function(at,rt){if(at)return fe(at);var ft=c.clone(rt.CopyObjectResult||{}),je=Oe({ForcePathStyle:Z.options.ForcePathStyle,protocol:Z.options.Protocol,domain:Z.options.Domain,bucket:z.Bucket,region:z.Region,object:z.Key,isLocation:!0});c.extend(ft,{Location:je,statusCode:rt.statusCode,headers:rt.headers}),fe(null,ft)})}function Ue(z,fe){var Z=z.CopySource||"",re=c.getSourceParams.call(this,Z);if(!re){fe(c.error(new Error("CopySource format error")));return}var we=re.Bucket,Se=re.Region,Me=decodeURIComponent(re.Key);qe.call(this,{Scope:[{action:"name/cos:GetObject",bucket:we,region:Se,prefix:Me},{action:"name/cos:PutObject",bucket:z.Bucket,region:z.Region,prefix:z.Key}],method:"PUT",Bucket:z.Bucket,Region:z.Region,Key:z.Key,VersionId:z.VersionId,qs:{partNumber:z.PartNumber,uploadId:z.UploadId},headers:z.Headers,tracker:z.tracker},function(Le,He){if(Le)return fe(Le);var at=c.clone(He.CopyPartResult||{});c.extend(at,{statusCode:He.statusCode,headers:He.headers}),fe(null,at)})}function Ye(z,fe){var Z=z.Objects||[],re=z.Quiet;Z=c.isArray(Z)?Z:[Z];var we=c.json2xml({Delete:{Object:Z,Quiet:re||!1}}),Se=z.Headers;Se["Content-Type"]="application/xml",Se["Content-MD5"]=c.b64(c.md5(we));var Me=c.map(Z,function(Le){return{action:"name/cos:DeleteObject",bucket:z.Bucket,region:z.Region,prefix:Le.Key}});qe.call(this,{Scope:Me,method:"POST",Bucket:z.Bucket,Region:z.Region,body:we,action:"delete",headers:Se,tracker:z.tracker},function(Le,He){if(Le)return fe(Le);var at=He.DeleteResult||{},rt=at.Deleted||[],ft=at.Error||[];rt=c.isArray(rt)?rt:[rt],ft=c.isArray(ft)?ft:[ft];var je=c.clone(at);c.extend(je,{Error:ft,Deleted:rt,statusCode:He.statusCode,headers:He.headers}),fe(null,je)})}function Ge(z,fe){var Z=z.Headers;if(!z.RestoreRequest){fe(c.error(new Error("missing param RestoreRequest")));return}var re=z.RestoreRequest||{},we=c.json2xml({RestoreRequest:re});Z["Content-Type"]="application/xml",Z["Content-MD5"]=c.b64(c.md5(we)),qe.call(this,{Action:"name/cos:RestoreObject",method:"POST",Bucket:z.Bucket,Region:z.Region,Key:z.Key,VersionId:z.VersionId,body:we,action:"restore",headers:Z,tracker:z.tracker},fe)}function Ke(z,fe){var Z=z.Tagging||{},re=Z.TagSet||Z.Tags||z.Tags||[];re=c.clone(c.isArray(re)?re:[re]);var we=c.json2xml({Tagging:{TagSet:{Tag:re}}}),Se=z.Headers;Se["Content-Type"]="application/xml",Se["Content-MD5"]=c.b64(c.md5(we)),qe.call(this,{Action:"name/cos:PutObjectTagging",method:"PUT",Bucket:z.Bucket,Key:z.Key,Region:z.Region,body:we,action:"tagging",headers:Se,VersionId:z.VersionId,tracker:z.tracker},function(Me,Le){if(Me&&Me.statusCode===204)return fe(null,{statusCode:Me.statusCode});if(Me)return fe(Me);fe(null,{statusCode:Le.statusCode,headers:Le.headers})})}function et(z,fe){qe.call(this,{Action:"name/cos:GetObjectTagging",method:"GET",Key:z.Key,Bucket:z.Bucket,Region:z.Region,headers:z.Headers,action:"tagging",VersionId:z.VersionId,tracker:z.tracker},function(Z,re){if(Z){if(Z.statusCode===404&&Z.error&&(Z.error==="Not Found"||Z.error.Code==="NoSuchTagSet")){var we={Tags:[],statusCode:Z.statusCode};Z.headers&&(we.headers=Z.headers),fe(null,we)}else fe(Z);return}var Se=[];try{Se=re.Tagging.TagSet.Tag||[]}catch(Me){}Se=c.clone(c.isArray(Se)?Se:[Se]),fe(null,{Tags:Se,statusCode:re.statusCode,headers:re.headers})})}function Ze(z,fe){qe.call(this,{Action:"name/cos:DeleteObjectTagging",method:"DELETE",Bucket:z.Bucket,Region:z.Region,Key:z.Key,headers:z.Headers,action:"tagging",VersionId:z.VersionId,tracker:z.tracker},function(Z,re){if(Z&&Z.statusCode===204)return fe(null,{statusCode:Z.statusCode});if(Z)return fe(Z);fe(null,{statusCode:re.statusCode,headers:re.headers})})}function st(z,fe){var Z=z.SelectType;if(!Z)return fe(c.error(new Error("missing param SelectType")));var re=z.SelectRequest||{},we=c.json2xml({SelectRequest:re}),Se=z.Headers;Se["Content-Type"]="application/xml",Se["Content-MD5"]=c.b64(c.md5(we)),qe.call(this,{Action:"name/cos:GetObject",method:"POST",Bucket:z.Bucket,Region:z.Region,Key:z.Key,headers:z.Headers,action:"select",qs:{"select-type":z.SelectType},VersionId:z.VersionId,body:we,DataType:"arraybuffer",rawBody:!0,tracker:z.tracker},function(Me,Le){if(Me&&Me.statusCode===204)return fe(null,{statusCode:Me.statusCode});if(Me)return fe(Me);var He=c.parseSelectPayload(Le.body);fe(null,{statusCode:Le.statusCode,headers:Le.headers,Body:He.body,Payload:He.payload})})}function vt(z,fe){var Z=this,re=z.Headers,we=z.tracker;!re["Cache-Control"]&&!re["cache-control"]&&(re["Cache-Control"]=""),!re["Content-Type"]&&!re["content-type"]&&(re["Content-Type"]=z.Body&&z.Body.type||"");var Se=z.Body&&(z.UploadAddMetaMd5||Z.options.UploadAddMetaMd5);Se&&we&&we.setParams({md5StartTime:new Date().getTime()}),c.getBodyMd5(Se,z.Body,function(Me){Me&&(z.Headers["x-cos-meta-md5"]=Me),Se&&we&&we.setParams({md5EndTime:new Date().getTime()}),qe.call(Z,{Action:"name/cos:InitiateMultipartUpload",method:"POST",Bucket:z.Bucket,Region:z.Region,Key:z.Key,action:"uploads",headers:z.Headers,qs:z.Query,tracker:we},function(Le,He){if(Le)return we&&we.parent&&we.parent.setParams({errorNode:"multipartInit"}),fe(Le);if(He=c.clone(He||{}),He&&He.InitiateMultipartUploadResult)return fe(null,c.extend(He.InitiateMultipartUploadResult,{statusCode:He.statusCode,headers:He.headers}));fe(null,He)})},z.onHashProgress)}function lt(z,fe){var Z=this;c.getFileSize("multipartUpload",z,function(){var re=z.tracker,we=Z.options.UploadCheckContentMd5;we&&re&&re.setParams({md5StartTime:new Date().getTime()}),c.getBodyMd5(we,z.Body,function(Se){Se&&(z.Headers["Content-MD5"]=c.b64(Se)),we&&re&&re.setParams({md5EndTime:new Date().getTime()}),re&&re.setParams({partNumber:z.PartNumber}),qe.call(Z,{Action:"name/cos:UploadPart",TaskId:z.TaskId,method:"PUT",Bucket:z.Bucket,Region:z.Region,Key:z.Key,qs:{partNumber:z.PartNumber,uploadId:z.UploadId},headers:z.Headers,onProgress:z.onProgress,body:z.Body||null,tracker:re},function(Me,Le){if(Me)return re&&re.parent&&re.parent.setParams({errorNode:"multipartUpload"}),fe(Me);fe(null,{ETag:c.attr(Le.headers,"etag",""),statusCode:Le.statusCode,headers:Le.headers})})})})}function dt(z,fe){for(var Z=this,re=z.UploadId,we=z.Parts,Se=z.tracker,Me=0,Le=we.length;Me<Le;Me++)we[Me].ETag&&we[Me].ETag.indexOf('"')===0||(we[Me].ETag='"'+we[Me].ETag+'"');var He=c.json2xml({CompleteMultipartUpload:{Part:we}});He=He.replace(/\n\s*/g,"");var at=z.Headers;at["Content-Type"]="application/xml",at["Content-MD5"]=c.b64(c.md5(He)),qe.call(this,{Action:"name/cos:CompleteMultipartUpload",method:"POST",Bucket:z.Bucket,Region:z.Region,Key:z.Key,qs:{uploadId:re},body:He,headers:at,tracker:Se},function(rt,ft){if(rt)return Se&&Se.parent&&Se.parent.setParams({errorNode:"multipartComplete"}),fe(rt);var je=Oe({ForcePathStyle:Z.options.ForcePathStyle,protocol:Z.options.Protocol,domain:Z.options.Domain,bucket:z.Bucket,region:z.Region,object:z.Key,isLocation:!0}),St=ft.CompleteMultipartUploadResult||{};St.ProcessResults&&St&&St.ProcessResults&&(St.UploadResult={OriginalInfo:{Key:St.Key,Location:je,ETag:St.ETag,ImageInfo:St.ImageInfo},ProcessResults:St.ProcessResults},delete St.ImageInfo,delete St.ProcessResults);var wt=c.extend(St,{Location:je,statusCode:ft.statusCode,headers:ft.headers});fe(null,wt)})}function Tt(z,fe){var Z={};Z.delimiter=z.Delimiter,Z["encoding-type"]=z.EncodingType,Z.prefix=z.Prefix||"",Z["max-uploads"]=z.MaxUploads,Z["key-marker"]=z.KeyMarker,Z["upload-id-marker"]=z.UploadIdMarker,Z=c.clearKey(Z);var re=z.tracker;re&&re.setParams({signStartTime:new Date().getTime()}),qe.call(this,{Action:"name/cos:ListMultipartUploads",ResourceKey:Z.prefix,method:"GET",Bucket:z.Bucket,Region:z.Region,headers:z.Headers,qs:Z,action:"uploads",tracker:re},function(we,Se){if(we)return re&&re.parent&&re.parent.setParams({errorNode:"multipartList"}),fe(we);if(Se&&Se.ListMultipartUploadsResult){var Me=Se.ListMultipartUploadsResult.Upload||[];Me=c.isArray(Me)?Me:[Me],Se.ListMultipartUploadsResult.Upload=Me}var Le=c.clone(Se.ListMultipartUploadsResult||{});c.extend(Le,{statusCode:Se.statusCode,headers:Se.headers}),fe(null,Le)})}function ut(z,fe){var Z={},re=z.tracker;Z.uploadId=z.UploadId,Z["encoding-type"]=z.EncodingType,Z["max-parts"]=z.MaxParts,Z["part-number-marker"]=z.PartNumberMarker,qe.call(this,{Action:"name/cos:ListParts",method:"GET",Bucket:z.Bucket,Region:z.Region,Key:z.Key,headers:z.Headers,qs:Z,tracker:re},function(we,Se){if(we)return re&&re.parent&&re.parent.setParams({errorNode:"multipartListPart"}),fe(we);var Me=Se.ListPartsResult||{},Le=Me.Part||[];Le=c.isArray(Le)?Le:[Le],Me.Part=Le;var He=c.clone(Me);c.extend(He,{statusCode:Se.statusCode,headers:Se.headers}),fe(null,He)})}function pt(z,fe){var Z={};Z.uploadId=z.UploadId,qe.call(this,{Action:"name/cos:AbortMultipartUpload",method:"DELETE",Bucket:z.Bucket,Region:z.Region,Key:z.Key,headers:z.Headers,qs:Z,tracker:z.tracker},function(re,we){if(re)return fe(re);fe(null,{statusCode:we.statusCode,headers:we.headers})})}function Ct(z,fe){qe.call(this,{method:z.Method,Bucket:z.Bucket,Region:z.Region,Key:z.Key,action:z.Action,headers:z.Headers,qs:z.Query,body:z.Body,Url:z.Url,rawBody:z.RawBody,DataType:z.DataType,tracker:z.tracker},function(Z,re){if(Z)return fe(Z);re&&re.body&&(re.Body=re.body,delete re.body),fe(Z,re)})}function Vt(z,fe){var Z=z.Headers;!Z["Cache-Control"]&&!Z["cache-control"]&&(Z["Cache-Control"]=""),!Z["Content-Type"]&&!Z["content-type"]&&(Z["Content-Type"]=z.Body&&z.Body.type||""),qe.call(this,{Action:"name/cos:AppendObject",method:"POST",Bucket:z.Bucket,Region:z.Region,action:"append",Key:z.Key,body:z.Body,qs:{position:z.Position},headers:z.Headers,tracker:z.tracker},function(re,we){if(re)return fe(re);fe(null,we)})}function Xe(z){var fe=this;return c.getAuth({SecretId:z.SecretId||this.options.SecretId||"",SecretKey:z.SecretKey||this.options.SecretKey||"",Bucket:z.Bucket,Region:z.Region,Method:z.Method,Key:z.Key,Query:z.Query,Headers:z.Headers,Expires:z.Expires,UseRawKey:fe.options.UseRawKey,SystemClockOffset:fe.options.SystemClockOffset})}function ie(z,fe){var Z=this,re=z.UseAccelerate===void 0?Z.options.UseAccelerate:z.UseAccelerate,we=Oe({ForcePathStyle:Z.options.ForcePathStyle,protocol:z.Protocol||Z.options.Protocol,domain:z.Domain||Z.options.Domain,bucket:z.Bucket,region:re?"accelerate":z.Region,object:z.Key}),Se="";z.Query&&(Se+=c.obj2str(z.Query)),z.QueryString&&(Se+=(Se?"&":"")+z.QueryString);var Me=we;if(z.Sign!==void 0&&!z.Sign)return Se&&(Me+="?"+Se),fe(null,{Url:Me}),Me;var Le=We.call(this,{Bucket:z.Bucket,Region:z.Region,UseAccelerate:z.UseAccelerate,Url:we}),He=nt.call(this,{Action:(z.Method||"").toUpperCase()==="PUT"?"name/cos:PutObject":"name/cos:GetObject",Bucket:z.Bucket||"",Region:z.Region||"",Method:z.Method||"get",Key:z.Key,Expires:z.Expires,Headers:z.Headers,Query:z.Query,SignHost:Le,ForceSignHost:z.ForceSignHost===!1?!1:Z.options.ForceSignHost},function(at,rt){if(fe){if(at){fe(at);return}var ft=function(wt){var Dt=wt.match(/q-url-param-list.*?(?=&)/g)[0],At="q-url-param-list="+encodeURIComponent(Dt.replace(/q-url-param-list=/,"")).toLowerCase(),Bt=new RegExp(Dt,"g"),_t=wt.replace(Bt,At);return _t},je=we;je+="?"+(rt.Authorization.indexOf("q-signature")>-1?ft(rt.Authorization):"sign="+encodeURIComponent(rt.Authorization)),rt.SecurityToken&&(je+="&x-cos-security-token="+rt.SecurityToken),rt.ClientIP&&(je+="&clientIP="+rt.ClientIP),rt.ClientUA&&(je+="&clientUA="+rt.ClientUA),rt.Token&&(je+="&token="+rt.Token),Se&&(je+="&"+Se),setTimeout(function(){fe(null,{Url:je})})}});return He?(Me+="?"+He.Authorization+(He.SecurityToken?"&x-cos-security-token="+He.SecurityToken:""),Se&&(Me+="&"+Se)):Se&&(Me+="?"+Se),Me}function de(z){var fe={GrantFullControl:[],GrantWrite:[],GrantRead:[],GrantReadAcp:[],GrantWriteAcp:[],ACL:""},Z={FULL_CONTROL:"GrantFullControl",WRITE:"GrantWrite",READ:"GrantRead",READ_ACP:"GrantReadAcp",WRITE_ACP:"GrantWriteAcp"},re=z&&z.AccessControlList||{},we=re.Grant;we&&(we=c.isArray(we)?we:[we]);var Se={READ:0,WRITE:0,FULL_CONTROL:0};return we&&we.length&&c.each(we,function(Me){Me.Grantee.ID==="qcs::cam::anyone:anyone"||Me.Grantee.URI==="http://cam.qcloud.com/groups/global/AllUsers"?Se[Me.Permission]=1:Me.Grantee.ID!==z.Owner.ID&&fe[Z[Me.Permission]].push('id="'+Me.Grantee.ID+'"')}),Se.FULL_CONTROL||Se.WRITE&&Se.READ?fe.ACL="public-read-write":Se.READ?fe.ACL="public-read":fe.ACL="private",c.each(Z,function(Me){fe[Me]=ke(fe[Me].join(","))}),fe}function ke(z){var fe=z.split(","),Z={},re,we;for(re=0;re<fe.length;)we=fe[re].trim(),Z[we]?fe.splice(re,1):(Z[we]=!0,fe[re]=we,re++);return fe.join(",")}function Oe(z){var fe=z.region||"",Z=z.bucket||"",re=Z.substr(0,Z.lastIndexOf("-")),we=Z.substr(Z.lastIndexOf("-")+1),Se=z.domain,Me=z.object;typeof Se=="function"&&(Se=Se({Bucket:Z,Region:fe})),["http","https"].includes(z.protocol)&&(z.protocol=z.protocol+":");var Le=z.protocol||(c.isBrowser&&(typeof location>"u"?"undefined":a(location))==="object"&&location.protocol==="http:"?"http:":"https:");Se||(["cn-south","cn-south-2","cn-north","cn-east","cn-southwest","sg"].indexOf(fe)>-1?Se="{Region}.myqcloud.com":Se="cos.{Region}.myqcloud.com",z.ForcePathStyle||(Se="{Bucket}."+Se)),Se=Se.replace(/\{\{AppId\}\}/gi,we).replace(/\{\{Bucket\}\}/gi,re).replace(/\{\{Region\}\}/gi,fe).replace(/\{\{.*?\}\}/gi,""),Se=Se.replace(/\{AppId\}/gi,we).replace(/\{BucketName\}/gi,re).replace(/\{Bucket\}/gi,Z).replace(/\{Region\}/gi,fe).replace(/\{.*?\}/gi,""),/^[a-zA-Z]+:\/\//.test(Se)||(Se=Le+"//"+Se),Se.slice(-1)==="/"&&(Se=Se.slice(0,-1));var He=Se;return z.ForcePathStyle&&(He+="/"+Z),He+="/",Me&&(He+=c.camSafeUrlEncode(Me).replace(/%2F/g,"/")),z.isLocation&&(He=He.replace(/^https?:\/\//,"")),He}var We=function(fe){if(!fe.Bucket||!fe.Region)return"";var Z=fe.UseAccelerate===void 0?this.options.UseAccelerate:fe.UseAccelerate,re=fe.Url||Oe({ForcePathStyle:this.options.ForcePathStyle,protocol:this.options.Protocol,domain:this.options.Domain,bucket:fe.Bucket,region:Z?"accelerate":fe.Region}),we=re.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");return we};function nt(z,fe){var Z=c.clone(z.Headers),re="";c.each(Z,function(ot,$e){(ot===""||["content-type","cache-control","expires"].indexOf($e.toLowerCase())>-1)&&delete Z[$e],$e.toLowerCase()==="host"&&(re=ot)});var we=z.ForceSignHost!==!1;!re&&z.SignHost&&we&&(Z.Host=z.SignHost);var Se=!1,Me=function($e,it){Se||(Se=!0,it&&it.XCosSecurityToken&&!it.SecurityToken&&(it=c.clone(it),it.SecurityToken=it.XCosSecurityToken,delete it.XCosSecurityToken),fe&&fe($e,it))},Le=this,He=z.Bucket||"",at=z.Region||"",rt=z.Key||"";Le.options.ForcePathStyle&&He&&(rt=He+"/"+rt);var ft="/"+rt,je={},St=z.Scope;if(!St){var wt=z.Action||"",Dt=z.ResourceKey||z.Key||"";St=z.Scope||[{action:wt,bucket:He,region:at,prefix:Dt}]}var At=c.md5(JSON.stringify(St));Le._StsCache=Le._StsCache||[],function(){var ot,$e;for(ot=Le._StsCache.length-1;ot>=0;ot--){$e=Le._StsCache[ot];var it=Math.round(c.getSkewTime(Le.options.SystemClockOffset)/1e3)+30;if($e.StartTime&&it<$e.StartTime||it>=$e.ExpiredTime){Le._StsCache.splice(ot,1);continue}if(!$e.ScopeLimit||$e.ScopeLimit&&$e.ScopeKey===At){je=$e;break}}}();var Bt=function(){var $e="";je.StartTime&&z.Expires?$e=je.StartTime+";"+(je.StartTime+z.Expires*1):je.StartTime&&je.ExpiredTime&&($e=je.StartTime+";"+je.ExpiredTime);var it=c.getAuth({SecretId:je.TmpSecretId,SecretKey:je.TmpSecretKey,Method:z.Method,Pathname:ft,Query:z.Query,Headers:Z,Expires:z.Expires,UseRawKey:Le.options.UseRawKey,SystemClockOffset:Le.options.SystemClockOffset,KeyTime:$e,ForceSignHost:we}),gt={Authorization:it,SecurityToken:je.SecurityToken||je.XCosSecurityToken||"",Token:je.Token||"",ClientIP:je.ClientIP||"",ClientUA:je.ClientUA||"",SignFrom:"client"};Me(null,gt)},_t=function($e){if($e.Authorization){var it=!1,gt=$e.Authorization;if(gt)if(gt.indexOf(" ")>-1)it=!1;else if(gt.indexOf("q-sign-algorithm=")>-1&&gt.indexOf("q-ak=")>-1&&gt.indexOf("q-sign-time=")>-1&&gt.indexOf("q-key-time=")>-1&&gt.indexOf("q-url-param-list=")>-1)it=!0;else try{gt=atob(gt),gt.indexOf("a=")>-1&&gt.indexOf("k=")>-1&&gt.indexOf("t=")>-1&&gt.indexOf("r=")>-1&&gt.indexOf("b=")>-1&&(it=!0)}catch(Rt){}if(!it)return c.error(new Error("getAuthorization callback params format error"))}else{if(!$e.TmpSecretId)return c.error(new Error('getAuthorization callback params missing "TmpSecretId"'));if(!$e.TmpSecretKey)return c.error(new Error('getAuthorization callback params missing "TmpSecretKey"'));if(!$e.SecurityToken&&!$e.XCosSecurityToken)return c.error(new Error('getAuthorization callback params missing "SecurityToken"'));if(!$e.ExpiredTime)return c.error(new Error('getAuthorization callback params missing "ExpiredTime"'));if($e.ExpiredTime&&$e.ExpiredTime.toString().length!==10)return c.error(new Error('getAuthorization callback params "ExpiredTime" should be 10 digits'));if($e.StartTime&&$e.StartTime.toString().length!==10)return c.error(new Error('getAuthorization callback params "StartTime" should be 10 StartTime'))}return!1};if(je.ExpiredTime&&je.ExpiredTime-c.getSkewTime(Le.options.SystemClockOffset)/1e3>60)Bt();else if(Le.options.getAuthorization)Le.options.getAuthorization.call(Le,{Bucket:He,Region:at,Method:z.Method,Key:rt,Pathname:ft,Query:z.Query,Headers:Z,Scope:St,SystemClockOffset:Le.options.SystemClockOffset,ForceSignHost:we},function(ot){typeof ot=="string"&&(ot={Authorization:ot});var $e=_t(ot);if($e)return Me($e);ot.Authorization?Me(null,ot):(je=ot||{},je.Scope=St,je.ScopeKey=At,Le._StsCache.push(je),Bt())});else if(Le.options.getSTS)Le.options.getSTS.call(Le,{Bucket:He,Region:at},function(ot){je=ot||{},je.Scope=St,je.ScopeKey=At,je.TmpSecretId||(je.TmpSecretId=je.SecretId),je.TmpSecretKey||(je.TmpSecretKey=je.SecretKey);var $e=_t(je);if($e)return Me($e);Le._StsCache.push(je),Bt()});else return function(){var ot=c.getAuth({SecretId:z.SecretId||Le.options.SecretId,SecretKey:z.SecretKey||Le.options.SecretKey,Method:z.Method,Pathname:ft,Query:z.Query,Headers:Z,Expires:z.Expires,UseRawKey:Le.options.UseRawKey,SystemClockOffset:Le.options.SystemClockOffset,ForceSignHost:we}),$e={Authorization:ot,SecurityToken:Le.options.SecurityToken||Le.options.XCosSecurityToken,SignFrom:"client"};return Me(null,$e),$e}();return""}function mt(z){var fe=this,Z=!1,re=!1,we=!1,Se=z.headers&&(z.headers.date||z.headers.Date)||z.error&&z.error.ServerTime;try{var Me=z.error.Code,Le=z.error.Message;(Me==="RequestTimeTooSkewed"||Me==="AccessDenied"&&Le==="Request has expired")&&(re=!0)}catch(at){}if(z)if(re&&Se){var He=Date.parse(Se);this.options.CorrectClockSkew&&Math.abs(c.getSkewTime(this.options.SystemClockOffset)-He)>=3e4&&(console.error("error: Local time is too skewed."),this.options.SystemClockOffset=He-Date.now(),Z=!0)}else Math.floor(z.statusCode/100)===5?Z=!0:z.message==="CORS blocked or network error"&&(we=!0,Z=fe.options.AutoSwitchHost);return{canRetry:Z,networkError:we}}function ht(z){var fe=z.requestUrl,Z=z.clientCalcSign,re=z.networkError;if(!this.options.AutoSwitchHost||!fe||!Z||!re)return!1;var we=/^https?:\/\/[^\/]*\.cos\.[^\/]*\.myqcloud\.com(\/.*)?$/,Se=/^https?:\/\/[^\/]*\.cos\.accelerate\.myqcloud\.com(\/.*)?$/,Me=we.test(fe)&&!Se.test(fe);return Me}function qe(z,fe){var Z=this;!z.headers&&(z.headers={}),!z.qs&&(z.qs={}),z.VersionId&&(z.qs.versionId=z.VersionId),z.qs=c.clearKey(z.qs),z.headers&&(z.headers=c.clearKey(z.headers)),z.qs&&(z.qs=c.clearKey(z.qs));var re=c.clone(z.qs);z.action&&(re[z.action]="");var we=z.url||z.Url,Se=z.SignHost||We.call(this,{Bucket:z.Bucket,Region:z.Region,Url:we}),Me=z.tracker,Le=function He(at){var rt=Z.options.SystemClockOffset;Me&&Me.setParams({signStartTime:new Date().getTime(),httpRetryTimes:at-1}),z.SwitchHost&&(Se=Se.replace(/myqcloud.com/,"tencentcos.cn")),nt.call(Z,{Bucket:z.Bucket||"",Region:z.Region||"",Method:z.method,Key:z.Key,Query:re,Headers:z.headers,SignHost:Se,Action:z.Action,ResourceKey:z.ResourceKey,Scope:z.Scope,ForceSignHost:Z.options.ForceSignHost,SwitchHost:z.SwitchHost},function(ft,je){if(ft){fe(ft);return}Me&&Me.setParams({signEndTime:new Date().getTime(),httpStartTime:new Date().getTime()}),z.AuthData=je,bt.call(Z,z,function(St,wt){Me&&Me.setParams({httpEndTime:new Date().getTime()});var Dt=!1,At=!1;if(St){var Bt=mt.call(Z,St);Dt=Bt.canRetry||rt!==Z.options.SystemClockOffset,At=Bt.networkError}if(St&&at<2&&Dt){z.headers&&(delete z.headers.Authorization,delete z.headers.token,delete z.headers.clientIP,delete z.headers.clientUA,z.headers["x-cos-security-token"]&&delete z.headers["x-cos-security-token"],z.headers["x-ci-security-token"]&&delete z.headers["x-ci-security-token"]);var _t=ht.call(Z,{requestUrl:(St==null?void 0:St.url)||"",clientCalcSign:je.SignFrom==="client",networkError:At});z.SwitchHost=_t,He(at+1)}else fe(St,wt)})})};Le(1)}function bt(z,fe){var Z=this,re=z.TaskId;if(!(re&&!Z._isRunningTask(re))){var we=z.Bucket,Se=z.Region,Me=z.Key,Le=z.method||"GET",He=z.Url||z.url,at=z.body,rt=z.rawBody;Z.options.UseAccelerate&&(Se="accelerate"),He=He||Oe({ForcePathStyle:Z.options.ForcePathStyle,protocol:Z.options.Protocol,domain:Z.options.Domain,bucket:we,region:Se,object:Me}),z.SwitchHost&&(He=He.replace(/myqcloud.com/,"tencentcos.cn"));var ft=Me?He:"";z.action&&(He=He+"?"+(c.isIOS_QQ?"".concat(z.action,"="):z.action)),z.qsStr&&(He.indexOf("?")>-1?He=He+"&"+z.qsStr:He=He+"?"+z.qsStr);var je={method:Le,url:He,headers:z.headers,qs:z.qs,body:at},St="x-cos-security-token";if(c.isCIHost(He)&&(St="x-ci-security-token"),je.headers.Authorization=z.AuthData.Authorization,z.AuthData.Token&&(je.headers.token=z.AuthData.Token),z.AuthData.ClientIP&&(je.headers.clientIP=z.AuthData.ClientIP),z.AuthData.ClientUA&&(je.headers.clientUA=z.AuthData.ClientUA),z.AuthData.SecurityToken&&(je.headers[St]=z.AuthData.SecurityToken),je.headers&&(je.headers=c.clearKey(je.headers)),je=c.clearKey(je),z.onProgress&&typeof z.onProgress=="function"){var wt=at&&(at.size||at.length)||0;je.onProgress=function(it){if(!(re&&!Z._isRunningTask(re))){var gt=it?it.loaded:0;z.onProgress({loaded:gt,total:wt})}}}z.onDownloadProgress&&(je.onDownloadProgress=z.onDownloadProgress),z.DataType&&(je.dataType=z.DataType),this.options.Timeout&&(je.timeout=this.options.Timeout),Z.options.ForcePathStyle&&(je.pathStyle=Z.options.ForcePathStyle),Z.emit("before-send",je);var Dt=je.url.includes("accelerate."),At=je.qs?Object.keys(je.qs).map(function(it){return"".concat(it,"=").concat(je.qs[it])}).join("&"):"",Bt=At?je.url+"?"+At:je.url;if(z.tracker){var _t;z.tracker.setParams({url:Bt,httpMethod:je.method,accelerate:Dt,httpSize:((_t=je.body)===null||_t===void 0?void 0:_t.size)||0}),z.tracker.parent&&!z.tracker.parent.params.url&&z.tracker.parent.setParams({url:ft,accelerate:Dt})}var ot=(Z.options.Request||l)(je,function(it){if(!(it&&it.error==="abort")){var gt={options:je,error:it&&it.error,statusCode:it&&it.statusCode||0,statusMessage:it&&it.statusMessage||"",headers:it&&it.headers||{},body:it&&it.body};Z.emit("after-receive",gt);var Rt=gt.error,kt=gt.body,Nt={statusCode:gt.statusCode,statusMessage:gt.statusMessage,headers:gt.headers},Ht,Ft=function($t,Xt){if(re&&Z.off("inner-kill-task",$e),!Ht){Ht=!0;var Jt={};Nt&&Nt.statusCode&&(Jt.statusCode=Nt.statusCode),Nt&&Nt.headers&&(Jt.headers=Nt.headers),$t?(je.url&&(Jt.url=je.url),je.method&&(Jt.method=je.method),$t=c.extend($t||{},Jt),fe($t,null)):(Xt=c.extend(Xt||{},Jt),fe(null,Xt)),ot=null}};if(Rt)return Ft(c.error(Rt));var Kt=Nt.statusCode,ni=Math.floor(Kt/100)===2;if(rt){if(ni)return Ft(null,{body:kt});if(kt instanceof Blob){c.readAsBinaryString(kt,function(hi){var $t=c.parseResBody(hi),Xt=$t.Error||$t;return Ft(c.error(new Error(Xt.Message||"response body error"),{code:Xt.Code,error:Xt}))});return}}var ri=c.parseResBody(kt),Yt=ri.Error||ri;ni?Ft(null,ri):Yt?Ft(c.error(new Error(Yt.Message),{code:Yt.Code,error:Yt})):Kt?Ft(c.error(new Error(Nt.statusMessage),{code:""+Kt})):Kt&&Ft(c.error(new Error("statusCode error")))}}),$e=function it(gt){gt.TaskId===re&&(ot&&ot.abort&&ot.abort(),Z.off("inner-kill-task",it))};re&&Z.on("inner-kill-task",$e)}}var Et={getService:u,putBucket:d,headBucket:g,getBucket:m,deleteBucket:y,putBucketAcl:b,getBucketAcl:A,putBucketCors:S,getBucketCors:E,deleteBucketCors:x,getBucketLocation:P,getBucketPolicy:T,putBucketPolicy:C,deleteBucketPolicy:k,putBucketTagging:I,getBucketTagging:M,deleteBucketTagging:R,putBucketLifecycle:B,getBucketLifecycle:_,deleteBucketLifecycle:V,putBucketVersioning:D,getBucketVersioning:F,putBucketReplication:N,getBucketReplication:K,deleteBucketReplication:G,putBucketWebsite:q,getBucketWebsite:O,deleteBucketWebsite:U,putBucketReferer:$,getBucketReferer:Y,putBucketDomain:Q,getBucketDomain:xe,deleteBucketDomain:ue,putBucketOrigin:W,getBucketOrigin:J,deleteBucketOrigin:ce,putBucketLogging:ge,getBucketLogging:Ee,putBucketInventory:De,postBucketInventory:te,getBucketInventory:ae,listBucketInventory:H,deleteBucketInventory:ve,putBucketAccelerate:pe,getBucketAccelerate:ee,putBucketEncryption:ne,getBucketEncryption:me,deleteBucketEncryption:Be,getObject:Ie,headObject:oe,listObjectVersions:be,putObject:Re,deleteObject:Pe,getObjectAcl:he,putObjectAcl:Ce,optionsObject:ye,putObjectCopy:Fe,deleteMultipleObject:Ye,restoreObject:Ge,putObjectTagging:Ke,getObjectTagging:et,deleteObjectTagging:Ze,selectObjectContent:st,appendObject:Vt,uploadPartCopy:Ue,multipartInit:vt,multipartUpload:lt,multipartComplete:dt,multipartList:Tt,multipartListPart:ut,multipartAbort:pt,request:Ct,getObjectUrl:ie,getAuth:Xe};function It(z,fe,Z){c.each(["Cors","Acl"],function(re){if(z.slice(-re.length)===re){var we=z.slice(0,-re.length)+re.toUpperCase(),Se=c.apiWrapper(z,fe),Me=!1;Z[we]=function(){!Me&&console.warn("warning: cos."+we+" has been deprecated. Please Use cos."+z+" instead."),Me=!0,Se.apply(this,arguments)}}})}r.exports.init=function(z,fe){fe.transferToTaskMethod(Et,"putObject"),c.each(Et,function(Z,re){z.prototype[re]=c.apiWrapper(re,Z),It(re,Z,z.prototype)})}},"./src/cos.js":function(r,s,o){var a=o("./src/util.js"),l=o("./src/event.js"),c=o("./src/task.js"),u=o("./src/base.js"),d=o("./src/advance.js"),g=o("./package.json"),m={AppId:"",SecretId:"",SecretKey:"",SecurityToken:"",ChunkRetryTimes:2,FileParallelLimit:3,ChunkParallelLimit:3,ChunkSize:1024*1024,SliceSize:1024*1024,CopyChunkParallelLimit:20,CopyChunkSize:1024*1024*10,CopySliceSize:1024*1024*10,MaxPartNumber:1e4,ProgressInterval:1e3,Domain:"",ServiceDomain:"",Protocol:"",CompatibilityMode:!1,ForcePathStyle:!1,UseRawKey:!1,Timeout:0,CorrectClockSkew:!0,SystemClockOffset:0,UploadCheckContentMd5:!1,UploadQueueSize:1e4,UploadAddMetaMd5:!1,UploadIdCacheLimit:50,UseAccelerate:!1,ForceSignHost:!0,AutoSwitchHost:!0,CopySourceParser:null,ObjectKeySimplifyCheck:!0,DeepTracker:!1,TrackerDelay:5e3,CustomId:"",BeaconReporter:null,ClsReporter:null},y=function(A){if(this.options=a.extend(a.clone(m),A||{}),this.options.FileParallelLimit=Math.max(1,this.options.FileParallelLimit),this.options.ChunkParallelLimit=Math.max(1,this.options.ChunkParallelLimit),this.options.ChunkRetryTimes=Math.max(0,this.options.ChunkRetryTimes),this.options.ChunkSize=Math.max(1024*1024,this.options.ChunkSize),this.options.CopyChunkParallelLimit=Math.max(1,this.options.CopyChunkParallelLimit),this.options.CopyChunkSize=Math.max(1024*1024,this.options.CopyChunkSize),this.options.CopySliceSize=Math.max(0,this.options.CopySliceSize),this.options.MaxPartNumber=Math.max(1024,Math.min(1e4,this.options.MaxPartNumber)),this.options.Timeout=Math.max(0,this.options.Timeout),this.options.EnableReporter=this.options.BeaconReporter||this.options.ClsReporter,this.options.AppId&&console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").'),this.options.SecretId&&this.options.SecretId.indexOf(" ")>-1&&(console.error("error: SecretId格式错误,请检查"),console.error("error: SecretId format is incorrect. Please check")),this.options.SecretKey&&this.options.SecretKey.indexOf(" ")>-1&&(console.error("error: SecretKey格式错误,请检查"),console.error("error: SecretKey format is incorrect. Please check")),a.isNode()&&(console.log("Tip: Next.js、Nuxt.js 等服务端渲染技术可正常使用JavaScript SDK,请忽略下方 nodejs 环境警告"),console.warn("warning: cos-js-sdk-v5 不支持 nodejs 环境使用,请改用 cos-nodejs-sdk-v5,参考文档: https://cloud.tencent.com/document/product/436/8629"),console.warn("warning: cos-js-sdk-v5 does not support nodejs environment. Please use cos-nodejs-sdk-v5 instead. See: https://cloud.tencent.com/document/product/436/8629")),this.options.ForcePathStyle)throw console.warn("cos-js-sdk-v5不再支持使用path-style,仅支持使用virtual-hosted-style,参考文档:https://cloud.tencent.com/document/product/436/96243"),new Error("ForcePathStyle is not supported");l.init(this),c.init(this)};u.init(y,c),d.init(y,c),y.util={md5:a.md5,xml2json:a.xml2json,json2xml:a.json2xml,encodeBase64:a.encodeBase64},y.getAuthorization=a.getAuth,y.version=g.version,r.exports=y},"./src/event.js":function(r,s){var o=function(c){var u={},d=function(m){return!u[m]&&(u[m]=[]),u[m]};c.on=function(g,m){g==="task-list-update"&&console.warn('warning: Event "'+g+'" has been deprecated. Please use "list-update" instead.'),d(g).push(m)},c.off=function(g,m){for(var y=d(g),b=y.length-1;b>=0;b--)m===y[b]&&y.splice(b,1)},c.emit=function(g,m){for(var y=d(g).map(function(A){return A}),b=0;b<y.length;b++)y[b](m)}},a=function(){o(this)};r.exports.init=o,r.exports.EventProxy=a},"./src/session.js":function(r,s,o){var a=o("./src/util.js"),l="cos_sdk_upload_cache",c=30*24*3600,u,d,g=function(){try{var E=JSON.parse(localStorage.getItem(l))}catch(x){}E||(E=[]),u=E},m=function(){try{u.length?localStorage.setItem(l,JSON.stringify(u)):localStorage.removeItem(l)}catch(E){}},y=function(){if(!u){g.call(this);for(var E=!1,x=Math.round(Date.now()/1e3),P=u.length-1;P>=0;P--){var C=u[P][2];(!C||C+c<x)&&(u.splice(P,1),E=!0)}E&&m()}},b=function(){d||(d=setTimeout(function(){m(),d=null},400))},A={using:{},setUsing:function(E){A.using[E]=!0},removeUsing:function(E){delete A.using[E]},getFileId:function(E,x,P,C){return E.name&&E.size&&E.lastModifiedDate&&x?a.md5([E.name,E.size,E.lastModifiedDate,x,P,C].join("::")):null},getCopyFileId:function(E,x,P,C,T){var k=x["content-length"],I=x.etag||"",M=x["last-modified"];return E&&P?a.md5([E,k,I,M,P,C,T].join("::")):null},getUploadIdList:function(E){if(!E)return null;y.call(this);for(var x=[],P=0;P<u.length;P++)u[P][0]===E&&x.push(u[P][1]);return x.length?x:null},saveUploadId:function(E,x,P){if(y.call(this),!!E){for(var C=u.length-1;C>=0;C--){var T=u[C];T[0]===E&&T[1]===x&&u.splice(C,1)}u.unshift([E,x,Math.round(Date.now()/1e3)]),u.length>P&&u.splice(P),b()}},removeUploadId:function(E){y.call(this),delete A.using[E];for(var x=u.length-1;x>=0;x--)u[x][1]===E&&u.splice(x,1);b()}};r.exports=A},"./src/task.js":function(r,s,o){var a=o("./src/session.js"),l=o("./src/util.js"),c={},u=function(m,y){c[y]=m[y],m[y]=function(b,A){b.SkipTask?c[y].call(this,b,A):this._addTask(y,b,A)}},d=function(m){var y=[],b={},A=0,S=0,E=function(M){var R={id:M.id,Bucket:M.Bucket,Region:M.Region,Key:M.Key,FilePath:M.FilePath,state:M.state,loaded:M.loaded,size:M.size,speed:M.speed,percent:M.percent,hashPercent:M.hashPercent,error:M.error};return M.FilePath&&(R.FilePath=M.FilePath),M._custom&&(R._custom=M._custom),R},x=function(){var I,M=function(){I=0,m.emit("task-list-update",{list:l.map(y,E)}),m.emit("list-update",{list:l.map(y,E)})};return function(){I||(I=setTimeout(M))}}(),P=function(){if(!(y.length<=m.options.UploadQueueSize)){for(var M=0;M<S&&M<y.length&&y.length>m.options.UploadQueueSize;){var R=y[M].state==="waiting"||y[M].state==="checking"||y[M].state==="uploading";!y[M]||!R?(b[y[M].id]&&delete b[y[M].id],y.splice(M,1),S--):M++}x()}},C=function I(){if(!(A>=m.options.FileParallelLimit)){for(;y[S]&&y[S].state!=="waiting";)S++;if(!(S>=y.length)){var M=y[S];S++,A++,M.state="checking",M.params.onTaskStart&&M.params.onTaskStart(E(M)),!M.params.UploadData&&(M.params.UploadData={});var R=l.formatParams(M.api,M.params);c[M.api].call(m,R,function(B,_){m._isRunningTask(M.id)&&((M.state==="checking"||M.state==="uploading")&&(M.state=B?"error":"success",B&&(M.error=B),A--,x(),I(),M.callback&&M.callback(B,_),M.state==="success"&&(M.params&&(delete M.params.UploadData,delete M.params.Body,delete M.params),delete M.callback)),P())}),x(),setTimeout(I)}}},T=function(M,R){var B=b[M];if(B){var _=B&&B.state==="waiting",V=B&&(B.state==="checking"||B.state==="uploading");if(R==="canceled"&&B.state!=="canceled"||R==="paused"&&_||R==="paused"&&V){B.state=R,m.emit("inner-kill-task",{TaskId:M,toState:R});try{var D=B&&B.params&&B.params.UploadData.UploadId}catch(F){}R==="canceled"&&D&&a.removeUsing(D),x(),V&&(A--,C()),R==="canceled"&&(B.params&&(delete B.params.UploadData,delete B.params.Body,delete B.params),delete B.callback)}P()}};m._addTasks=function(I){l.each(I,function(M){m._addTask(M.api,M.params,M.callback,!0)}),x()};var k=!0;m._addTask=function(I,M,R,B){M=l.formatParams(I,M);var _=l.uuid();M.TaskId=_,M.onTaskReady&&M.onTaskReady(_),M.TaskReady&&(M.TaskReady(_),k&&console.warn('warning: Param "TaskReady" has been deprecated. Please use "onTaskReady" instead.'),k=!1);var V={params:M,callback:R,api:I,index:y.length,id:_,Bucket:M.Bucket,Region:M.Region,Key:M.Key,FilePath:M.FilePath||"",state:"waiting",loaded:0,size:0,speed:0,percent:0,hashPercent:0,error:null,_custom:M._custom},D=M.onHashProgress;M.onHashProgress=function(N){m._isRunningTask(V.id)&&(V.hashPercent=N.percent,D&&D(N),x())};var F=M.onProgress;return M.onProgress=function(N){m._isRunningTask(V.id)&&(V.state==="checking"&&(V.state="uploading"),V.loaded=N.loaded,V.speed=N.speed,V.percent=N.percent,F&&F(N),x())},l.getFileSize(I,M,function(N,K){if(N)return R(l.error(N));b[_]=V,y.push(V),V.size=K,!B&&x(),C(),P()}),_},m._isRunningTask=function(I){var M=b[I];return!!(M&&(M.state==="checking"||M.state==="uploading"))},m.getTaskList=function(){return l.map(y,E)},m.cancelTask=function(I){T(I,"canceled")},m.pauseTask=function(I){T(I,"paused")},m.restartTask=function(I){var M=b[I];M&&(M.state==="paused"||M.state==="error")&&(M.state="waiting",x(),S=Math.min(S,M.index),C())},m.isUploadRunning=function(){return A||S<y.length}};r.exports.transferToTaskMethod=u,r.exports.init=d},"./src/tracker.js":function(r,s,o){var a=o("./node_modules/@babel/runtime/helpers/classCallCheck.js"),l=o("./node_modules/@babel/runtime/helpers/createClass.js"),c=o("./node_modules/@babel/runtime/helpers/typeof.js"),u=o("./package.json"),d=null,g=function(R,B){if(!d){if(typeof R!="function")throw new Error("Beacon not found");d=new R({appkey:"0WEB05PY6MHRGK0U",versionCode:u.version,channelID:"js_sdk",openid:"openid",unionid:"unid",strictMode:!1,delay:B,sessionDuration:60*1e3})}return d},m=function(R){return!R||R<0?0:(R/1e3).toFixed(3)},y={getUid:function(){var R=function(){return((1+Math.random())*65536|0).toString(16).substring(1)};return R()+R()+"-"+R()+"-"+R()+"-"+R()+"-"+R()+R()+R()},getNetType:function(){if((typeof navigator>"u"?"undefined":c(navigator))==="object"){var R=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return(R==null?void 0:R.type)||(R==null?void 0:R.effectiveType)||"unknown"}return"unknown"},getProtocol:function(){return(typeof location>"u"?"undefined":c(location))==="object"?location.protocol.replace(/:/,""):"unknown protocol"},getOsType:function(){if((typeof navigator>"u"?"undefined":c(navigator))!=="object")return"unknown os";var R=navigator.userAgent.toLowerCase(),B=/macintosh|mac os x/i.test(navigator.userAgent);return R.indexOf("win32")>=0||R.indexOf("wow32")>=0?"win32":R.indexOf("win64")>=0||R.indexOf("wow64")>=0?"win64":B?"mac":"unknown os"},isMobile:function(){var R=/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i;return!!((typeof navigator>"u"?"undefined":c(navigator))==="object"&&navigator.userAgent.match(R))},isAndroid:function(){var R=/(Android|Adr|Linux)/i;return!!((typeof navigator>"u"?"undefined":c(navigator))==="object"&&navigator.userAgent.match(R))},isIOS:function(){var R=/(iPhone|iPod|iPad|iOS)/i;return!!((typeof navigator>"u"?"undefined":c(navigator))==="object"&&navigator.userAgent.match(R))},isOtherMobile:function(){return b&&!isAndroid&&!isIOS},getUA:function(){if((typeof navigator>"u"?"undefined":c(navigator))!=="object")return"unknown device";var R=navigator.userAgent;return R}},b=y.isMobile(),A=y.isAndroid()?"android":y.isIOS?"ios":"other_mobile",S=y.getOsType(),E=b?A:S,x=y.getUA(),P=y.getProtocol(),C=function(R){return["putObject","sliceUploadFile","uploadFile","uploadFiles"].includes(R)?"UploadTask":R==="getObject"?"DownloadTask":["putObjectCopy","sliceCopyFile"].includes(R)?"CopyTask":R};function T(M){return M.replace(/([A-Z])/g,"_$1").toLowerCase()}function k(M){var R={},B=["sdkVersionName","sdkVersionCode","osName","networkType","requestName","requestResult","bucket","region","appid","accelerate","url","host","requestPath","userAgent","networkProtocol","httpMethod","httpSize","httpSpeed","httpTookTime","httpMd5","httpSign","httpFullTime","httpDomain","partNumber","httpRetryTimes","customId","traceId","realApi"],_=[].concat(B,["errorNode","errorCode","errorName","errorMessage","errorRequestId","errorHttpCode","errorServiceName","errorType","fullError"]),V=M.requestResult==="Success"?B:_;for(var D in M)if(V.includes(D)){var F=T(D);R[F]=M[D]}return R.request_name=M.realApi?C(M.realApi):M.requestName,R}var I=function(){function M(R){a(this,M);var B=R.parent,_=R.traceId,V=R.bucket,D=R.region,F=R.apiName,N=R.realApi,K=R.httpMethod,G=R.fileKey,q=R.fileSize,O=R.accelerate,U=R.customId,$=R.delay,Y=R.deepTracker,Q=R.Beacon,xe=R.clsReporter,ue=V&&V.substr(V.lastIndexOf("-")+1)||"";this.parent=B,this.deepTracker=Y,this.delay=$,xe&&!this.clsReporter&&(this.clsReporter=xe),this.params={sdkVersionName:"cos-js-sdk-v5",sdkVersionCode:u.version,osName:E,networkType:"",requestName:F||"",requestResult:"",realApi:N,bucket:V,region:D,accelerate:O,httpMethod:K,url:"",host:"",httpDomain:"",requestPath:G||"",userAgent:x,networkProtocol:P,errorType:"",errorCode:"",errorName:"",errorMessage:"",errorRequestId:"",errorHttpCode:0,errorServiceName:"",errorNode:"",httpTookTime:0,httpSize:q||0,httpMd5:0,httpSign:0,httpFullTime:0,httpSpeed:0,md5StartTime:0,md5EndTime:0,signStartTime:0,signEndTime:0,httpStartTime:0,httpEndTime:0,startTime:new Date().getTime(),endTime:0,traceId:_||y.getUid(),appid:ue,partNumber:0,httpRetryTimes:0,customId:U||"",partTime:0},Q&&(this.beacon=g(Q,$))}return l(M,[{key:"formatResult",value:function(B,_){var V,D,F,N,K,G,q=new Date().getTime(),O=y.getNetType(),U=B?(B==null?void 0:B.code)||(B==null||(V=B.error)===null||V===void 0?void 0:V.code)||(B==null||(D=B.error)===null||D===void 0?void 0:D.Code):"",$=B?(B==null?void 0:B.message)||(B==null||(F=B.error)===null||F===void 0?void 0:F.message)||(B==null||(N=B.error)===null||N===void 0?void 0:N.Message):"",Y=$,Q=B?(B==null?void 0:B.resource)||(B==null||(K=B.error)===null||K===void 0?void 0:K.resource)||(B==null||(G=B.error)===null||G===void 0?void 0:G.Resource):"",xe=B?B==null?void 0:B.statusCode:_.statusCode,ue=B?(B==null?void 0:B.headers)&&(B==null?void 0:B.headers["x-cos-request-id"]):(_==null?void 0:_.headers)&&(_==null?void 0:_.headers["x-cos-request-id"]),W=B?ue?"Server":"Client":"";this.params.requestName==="getObject"&&(this.params.httpSize=_?_.headers&&_.headers["content-length"]:0);var J=this.params.realApi==="sliceUploadFile",ce=this.params.realApi==="sliceCopyFile";if(J||ce){var ge=this.params.httpSize/1024/this.params.partTime;Object.assign(this.params,{httpSpeed:ge<0?0:ge.toFixed(3)})}else{var Ee=q-this.params.startTime,Te=this.params.httpEndTime-this.params.httpStartTime,De=this.params.httpSize/1024/(Te/1e3),te=this.params.md5EndTime-this.params.md5StartTime,ae=this.params.signEndTime-this.params.signStartTime;this.parent&&(this.parent.addParamValue("httpTookTime",m(Te)),this.parent.addParamValue("httpFullTime",m(Ee)),this.parent.addParamValue("httpMd5",m(te)),this.parent.addParamValue("httpSign",m(ae)),["multipartUpload","uploadPartCopy","putObjectCopy"].includes(this.params.requestName)&&this.parent.addParamValue("partTime",m(Te))),Object.assign(this.params,{httpFullTime:m(Ee),httpMd5:m(te),httpSign:m(ae),httpTookTime:m(Te),httpSpeed:De<0?0:De.toFixed(3)})}if(Object.assign(this.params,{networkType:O,requestResult:B?"Failure":"Success",errorType:W,errorCode:U,errorHttpCode:xe,errorName:Y,errorMessage:$,errorServiceName:Q,errorRequestId:ue}),B&&(!U||!$)&&(this.params.fullError=B?JSON.stringify(B):""),this.params.url){try{var H=/^http(s)?:\/\/(.*?)\//.exec(this.params.url);this.params.host=H[2]}catch(ve){this.params.host=this.params.url}this.params.httpDomain=this.params.host}}},{key:"report",value:function(B,_){if(!(!this.beacon&&!this.clsReporter)){this.formatResult(B,_);var V=k(this.params);this.beacon&&this.sendEventsToBeacon(V),this.clsReporter&&this.sendEventsToCLS(V)}}},{key:"setParams",value:function(B){Object.assign(this.params,B)}},{key:"addParamValue",value:function(B,_){this.params[B]=(+this.params[B]+ +_).toFixed(3)}},{key:"sendEventsToBeacon",value:function(B){var _=this.params.requestName==="sliceUploadFile"||this.params.realApi==="sliceUploadFile";if(!(_&&!this.deepTracker)){var V="qcloud_track_cos_sdk";this.delay===0?this.beacon&&this.beacon.onDirectUserAction(V,B):this.beacon&&this.beacon.onUserAction(V,B)}}},{key:"sendEventsToCLS",value:function(B){var _=this.delay===0;this.clsReporter.log(B,_)}},{key:"generateSubTracker",value:function(B){return Object.assign(B,{parent:this,deepTracker:this.deepTracker,traceId:this.params.traceId,bucket:this.params.bucket,region:this.params.region,accelerate:this.params.accelerate,fileKey:this.params.requestPath,customId:this.params.customId,delay:this.delay,clsReporter:this.clsReporter}),new M(B)}}]),M}();r.exports=I},"./src/util.js":function(r,s,o){(function(a){var l=o("./node_modules/@babel/runtime/helpers/typeof.js");function c(Pe,he){var Ce=typeof Symbol<"u"&&Pe[Symbol.iterator]||Pe["@@iterator"];if(!Ce){if(Array.isArray(Pe)||(Ce=u(Pe))||he&&Pe&&typeof Pe.length=="number"){Ce&&(Pe=Ce);var ye=0,Fe=function(){};return{s:Fe,n:function(){return ye>=Pe.length?{done:!0}:{done:!1,value:Pe[ye++]}},e:function(et){throw et},f:Fe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
  55. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ue=!0,Ye=!1,Ge;return{s:function(){Ce=Ce.call(Pe)},n:function(){var et=Ce.next();return Ue=et.done,et},e:function(et){Ye=!0,Ge=et},f:function(){try{!Ue&&Ce.return!=null&&Ce.return()}finally{if(Ye)throw Ge}}}}function u(Pe,he){if(Pe){if(typeof Pe=="string")return d(Pe,he);var Ce=Object.prototype.toString.call(Pe).slice(8,-1);if(Ce==="Object"&&Pe.constructor&&(Ce=Pe.constructor.name),Ce==="Map"||Ce==="Set")return Array.from(Pe);if(Ce==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ce))return d(Pe,he)}}function d(Pe,he){(he==null||he>Pe.length)&&(he=Pe.length);for(var Ce=0,ye=new Array(he);Ce<he;Ce++)ye[Ce]=Pe[Ce];return ye}var g=o("./lib/md5.js"),m=o("./lib/crypto.js"),y=o("./lib/xml2json.js"),b=o("./lib/json2xml.js"),A=o("./lib/base64.js"),S=o("./src/tracker.js");function E(Pe){return encodeURIComponent(Pe).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}function x(Pe,he){var Ce=[];for(var ye in Pe)Pe.hasOwnProperty(ye)&&Ce.push(he?E(ye).toLowerCase():ye);return Ce.sort(function(Fe,Ue){return Fe=Fe.toLowerCase(),Ue=Ue.toLowerCase(),Fe===Ue?0:Fe>Ue?1:-1})}var P=function(he,Ce){var ye,Fe,Ue,Ye=[],Ge=x(he);for(ye=0;ye<Ge.length;ye++)Fe=Ge[ye],Ue=he[Fe]===void 0||he[Fe]===null?"":""+he[Fe],Fe=Ce?E(Fe).toLowerCase():E(Fe),Ue=E(Ue)||"",Ye.push(Fe+"="+Ue);return Ye.join("&")},C=["cache-control","content-disposition","content-encoding","content-length","content-md5","expect","expires","host","if-match","if-modified-since","if-none-match","if-unmodified-since","origin","range","transfer-encoding","pic-operations"],T=function(he){var Ce={};for(var ye in he){var Fe=ye.toLowerCase();(Fe.indexOf("x-cos-")>-1||C.indexOf(Fe)>-1)&&(Ce[ye]=he[ye])}return Ce},k=function(he){he=he||{};var Ce=he.SecretId,ye=he.SecretKey,Fe=he.KeyTime,Ue=(he.method||he.Method||"get").toLowerCase(),Ye=O(he.Query||he.params||{}),Ge=T(O(he.Headers||he.headers||{})),Ke=he.Key||"",et;he.UseRawKey?et=he.Pathname||he.pathname||"/"+Ke:(et=he.Pathname||he.pathname||Ke,et.indexOf("/")!==0&&(et="/"+et));var Ze=he.ForceSignHost!==!1;if(!Ge.Host&&!Ge.host&&he.Bucket&&he.Region&&Ze&&(Ge.Host=he.Bucket+".cos."+he.Region+".myqcloud.com"),!Ce)throw new Error("missing param SecretId");if(!ye)throw new Error("missing param SecretKey");var st=Math.round(H(he.SystemClockOffset)/1e3)-1,vt=st,lt=he.Expires||he.expires;lt===void 0?vt+=900:vt+=lt*1||0;var dt="sha1",Tt=Ce,ut=Fe||st+";"+vt,pt=Fe||st+";"+vt,Ct=x(Ge,!0).join(";").toLowerCase(),Vt=x(Ye,!0).join(";").toLowerCase(),Xe=m.HmacSHA1(pt,ye).toString(),ie=[Ue,et,Re.obj2str(Ye,!0),Re.obj2str(Ge,!0),""].join(`
  56. `),de=["sha1",ut,m.SHA1(ie).toString(),""].join(`
  57. `),ke=m.HmacSHA1(de,Xe).toString(),Oe=["q-sign-algorithm="+dt,"q-ak="+Tt,"q-sign-time="+ut,"q-key-time="+pt,"q-header-list="+Ct,"q-url-param-list="+Vt,"q-signature="+ke].join("&");return Oe},I=function(he,Ce,ye){var Fe=Ce/8,Ue=he.slice(ye,ye+Fe);return new Uint8Array(Ue).reverse(),new{8:Uint8Array,16:Uint16Array,32:Uint32Array}[Ce](Ue)[0]},M=function(he,Ce,ye,Fe){var Ue=he.slice(Ce,ye),Ye="";return new Uint8Array(Ue).forEach(function(Ge){Ye+=String.fromCharCode(Ge)}),Fe&&(Ye=decodeURIComponent(escape(Ye))),Ye},R=function(he){for(var Ce={},ye=M(he),Fe={records:[]};he.byteLength;){var Ue=I(he,32,0),Ye=I(he,32,4),Ge=Ue-Ye-16,Ke=0,et;for(he=he.slice(12);Ke<Ye;){var Ze=I(he,8,Ke),st=M(he,Ke+1,Ke+1+Ze),vt=I(he,16,Ke+Ze+2),lt=M(he,Ke+Ze+4,Ke+Ze+4+vt);Ce[st]=lt,Ke+=Ze+4+vt}if(Ce[":event-type"]==="Records")et=M(he,Ke,Ke+Ge,!0),Fe.records.push(et);else if(Ce[":event-type"]==="Stats")et=M(he,Ke,Ke+Ge,!0),Fe.stats=Re.xml2json(et).Stats;else if(Ce[":event-type"]==="error"){var dt=Ce[":error-code"],Tt=Ce[":error-message"],ut=new Error(Tt);ut.message=Tt,ut.name=ut.code=dt,Fe.error=ut}he=he.slice(Ke+Ge+4)}return{payload:Fe.records.join(""),body:ye}},B=function(he){var Ce=this.options.CopySourceParser;if(Ce)return Ce(he);var ye=he.match(/^([^.]+-\d+)\.cos(v6|-cdc|-cdz|-internal)?\.([^.]+)\.((myqcloud\.com)|(tencentcos\.cn))\/(.+)$/);return ye?{Bucket:ye[1],Region:ye[3],Key:ye[7]}:null},_=function(){},V=function(he){var Ce={};for(var ye in he)he.hasOwnProperty(ye)&&he[ye]!==void 0&&he[ye]!==null&&(Ce[ye]=he[ye]);return Ce},D=function(he,Ce){var ye,Fe=new FileReader;FileReader.prototype.readAsBinaryString?(ye=FileReader.prototype.readAsBinaryString,Fe.onload=function(){Ce(this.result)}):FileReader.prototype.readAsArrayBuffer?ye=function(Ye){var Ge="",Ke=new FileReader;Ke.onload=function(et){for(var Ze=new Uint8Array(Ke.result),st=Ze.byteLength,vt=0;vt<st;vt++)Ge+=String.fromCharCode(Ze[vt]);Ce(Ge)},Ke.readAsArrayBuffer(Ye)}:console.error("FileReader not support readAsBinaryString"),ye.call(Fe,he)},F=function(){var Pe=function(ye,Fe){ye=ye.split("."),Fe=Fe.split(".");for(var Ue=0;Ue<Fe.length;Ue++)if(ye[Ue]!==Fe[Ue])return parseInt(ye[Ue])>parseInt(Fe[Ue])?1:-1;return 0},he=function(ye){if(!ye)return!1;var Fe=(ye.match(/Chrome\/([.\d]+)/)||[])[1],Ue=(ye.match(/QBCore\/([.\d]+)/)||[])[1],Ye=(ye.match(/QQBrowser\/([.\d]+)/)||[])[1],Ge=Fe&&Pe(Fe,"53.0.2785.116")<0&&Ue&&Pe(Ue,"3.53.991.400")<0&&Ye&&Pe(Ye,"9.0.2524.400")<=0||!1;return Ge};return he(typeof navigator<"u"&&navigator.userAgent)}(),N=function(he,Ce,ye,Fe,Ue){var Ye;if(he.slice?Ye=he.slice(Ce,ye):he.mozSlice?Ye=he.mozSlice(Ce,ye):he.webkitSlice&&(Ye=he.webkitSlice(Ce,ye)),Fe&&F){var Ge=new FileReader;Ge.onload=function(Ke){Ye=null,Ue(new Blob([Ge.result]))},Ge.readAsArrayBuffer(Ye)}else Ue(Ye)},K=function(he,Ce,ye,Fe){ye=ye||_,he?typeof Ce=="string"?ye(Re.md5(Ce,!0)):Blob&&Ce instanceof Blob?Re.getFileMd5(Ce,function(Ue,Ye){ye(Ye)},Fe):ye():ye()},G=1024*1024,q=function(he,Ce,ye){var Fe=he.size,Ue=0,Ye=g.getCtx(),Ge=function Ke(et){if(et>=Fe){var Ze=Ye.digest("hex");Ce(null,Ze);return}var st=Math.min(Fe,et+G);Re.fileSlice(he,et,st,!1,function(vt){D(vt,function(lt){vt=null,Ye=Ye.update(lt,!0),Ue+=lt.length,lt=null,ye&&ye({loaded:Ue,total:Fe,percent:Math.round(Ue/Fe*1e4)/1e4}),Ke(et+G)})})};Ge(0)};function O(Pe){return W(Pe,function(he){return l(he)==="object"&&he!==null?O(he):he})}function U(Pe,he,Ce){return Pe&&he in Pe?Pe[he]:Ce}function $(Pe,he){return ue(he,function(Ce,ye){Pe[ye]=he[ye]}),Pe}function Y(Pe){return Pe instanceof Array}function Q(Pe,he){for(var Ce=!1,ye=0;ye<Pe.length;ye++)if(he===Pe[ye]){Ce=!0;break}return Ce}function xe(Pe){return Y(Pe)?Pe:[Pe]}function ue(Pe,he){for(var Ce in Pe)Pe.hasOwnProperty(Ce)&&he(Pe[Ce],Ce)}function W(Pe,he){var Ce=Y(Pe)?[]:{};for(var ye in Pe)Pe.hasOwnProperty(ye)&&(Ce[ye]=he(Pe[ye],ye));return Ce}function J(Pe,he){var Ce=Y(Pe),ye=Ce?[]:{};for(var Fe in Pe)Pe.hasOwnProperty(Fe)&&he(Pe[Fe],Fe)&&(Ce?ye.push(Pe[Fe]):ye[Fe]=Pe[Fe]);return ye}var ce=function(he){var Ce,ye,Fe,Ue="";for(Ce=0,ye=he.length/2;Ce<ye;Ce++)Fe=parseInt(he[Ce*2]+he[Ce*2+1],16),Ue+=String.fromCharCode(Fe);return btoa(Ue)},ge=function(){var he=function(){return((1+Math.random())*65536|0).toString(16).substring(1)};return he()+he()+"-"+he()+"-"+he()+"-"+he()+"-"+he()+he()+he()},Ee=function(he,Ce){var ye=Ce.Bucket,Fe=Ce.Region,Ue=Ce.Key,Ye=this.options.Domain,Ge=!Ye||typeof Ye=="string"&&Ye.indexOf("{Bucket}")>-1,Ke=!Ye||typeof Ye=="string"&&Ye.indexOf("{Region}")>-1;if(he.indexOf("Bucket")>-1||he==="deleteMultipleObject"||he==="multipartList"||he==="listObjectVersions"){if(Ge&&!ye)return"Bucket";if(Ke&&!Fe)return"Region"}else if(he.indexOf("Object")>-1||he.indexOf("multipart")>-1||he==="sliceUploadFile"||he==="abortUploadTask"||he==="uploadFile"){if(Ge&&!ye)return"Bucket";if(Ke&&!Fe)return"Region";if(!Ue)return"Key"}return!1},Te=function(he,Ce){if(Ce=$({},Ce),he!=="getAuth"&&he!=="getV4Auth"&&he!=="getObjectUrl"){var ye=Ce.Headers||{};if(Ce&&l(Ce)==="object"){(function(){for(var Ue in Ce)Ce.hasOwnProperty(Ue)&&Ue.indexOf("x-cos-")>-1&&(ye[Ue]=Ce[Ue])})();var Fe={"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-traffic-limit":"TrafficLimit","x-cos-mime-limit":"MimeLimit","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext","Pic-Operations":"PicOperations"};Re.each(Fe,function(Ue,Ye){Ce[Ue]!==void 0&&(ye[Ye]=Ce[Ue])}),Ce.Headers=V(ye)}}return Ce},De=function(he,Ce){return function(ye,Fe){var Ue=this;typeof ye=="function"&&(Fe=ye,ye={}),ye=Te(he,ye);var Ye;if(Ue.options.EnableReporter)if(ye.calledBySdk==="sliceUploadFile"||ye.calledBySdk==="sliceCopyFile")Ye=ye.tracker&&ye.tracker.generateSubTracker({apiName:he});else if(["uploadFile","uploadFiles"].includes(he))Ye=null;else{var Ge=0;ye.Body&&(Ge=typeof ye.Body=="string"?ye.Body.length:ye.Body.size||ye.Body.byteLength||0);var Ke=Ue.options.UseAccelerate||typeof Ue.options.Domain=="string"&&Ue.options.Domain.includes("accelerate.");Ye=new S({Beacon:Ue.options.BeaconReporter,clsReporter:Ue.options.ClsReporter,bucket:ye.Bucket,region:ye.Region,apiName:he,realApi:he,accelerate:Ke,fileKey:ye.Key,fileSize:Ge,deepTracker:Ue.options.DeepTracker,customId:Ue.options.CustomId,delay:Ue.options.TrackerDelay})}ye.tracker=Ye;var et=function(ut){return ut&&ut.headers&&(ut.headers["x-cos-request-id"]&&(ut.RequestId=ut.headers["x-cos-request-id"]),ut.headers["x-ci-request-id"]&&(ut.RequestId=ut.headers["x-ci-request-id"]),ut.headers["x-cos-version-id"]&&(ut.VersionId=ut.headers["x-cos-version-id"]),ut.headers["x-cos-delete-marker"]&&(ut.DeleteMarker=ut.headers["x-cos-delete-marker"])),ut},Ze=function(ut,pt){Ye&&Ye.report(ut,pt),Fe&&Fe(et(ut),et(pt))},st=function(){if(he!=="getService"&&he!=="abortUploadTask"){var ut=Ee.call(Ue,he,ye);if(ut)return"missing param "+ut;if(ye.Region){if(Ue.options.CompatibilityMode){if(!/^([a-z\d-.]+)$/.test(ye.Region))return"Region format error."}else{if(ye.Region.indexOf("cos.")>-1)return'param Region should not be start with "cos."';if(!/^([a-z\d-]+)$/.test(ye.Region))return"Region format error."}!Ue.options.CompatibilityMode&&ye.Region.indexOf("-")===-1&&ye.Region!=="yfb"&&ye.Region!=="default"&&ye.Region!=="accelerate"&&console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(ye.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(ye.Bucket))if(ye.AppId)ye.Bucket=ye.Bucket+"-"+ye.AppId;else if(Ue.options.AppId)ye.Bucket=ye.Bucket+"-"+Ue.options.AppId;else return'Bucket should format as "test-1250000000".';ye.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete ye.AppId)}!Ue.options.UseRawKey&&ye.Key&&ye.Key.substr(0,1)==="/"&&(ye.Key=ye.Key.substr(1))}},vt=st(),lt=["getAuth","getObjectUrl"].includes(he);if(typeof Promise=="function"&&!lt&&!Fe)return new Promise(function(Tt,ut){if(Fe=function(Ct,Vt){Ct?ut(Ct):Tt(Vt)},vt)return Ze(Re.error(new Error(vt)));Ce.call(Ue,ye,Ze)});if(vt)return Ze(Re.error(new Error(vt)));var dt=Ce.call(Ue,ye,Ze);if(lt)return dt}},te=function(he,Ce){var ye=this,Fe=0,Ue=0,Ye=Date.now(),Ge,Ke;function et(){if(Ke=0,Ce&&typeof Ce=="function"){Ge=Date.now();var Ze=Math.max(0,Math.round((Ue-Fe)/((Ge-Ye)/1e3)*100)/100)||0,st;Ue===0&&he===0?st=1:st=Math.floor(Ue/he*100)/100||0,Ye=Ge,Fe=Ue;try{Ce({loaded:Ue,total:he,speed:Ze,percent:st})}catch(vt){}}}return function(Ze,st){if(Ze&&(Ue=Ze.loaded,he=Ze.total),st)clearTimeout(Ke),et();else{if(Ke)return;Ke=setTimeout(et,ye.options.ProgressInterval)}}},ae=function(he,Ce,ye){var Fe;if(typeof Ce.Body=="string"?Ce.Body=new Blob([Ce.Body],{type:"text/plain"}):Ce.Body instanceof ArrayBuffer&&(Ce.Body=new Blob([Ce.Body])),Ce.Body&&(Ce.Body instanceof Blob||Ce.Body.toString()==="[object File]"||Ce.Body.toString()==="[object Blob]"))Fe=Ce.Body.size;else{ye(Re.error(new Error("params body format error, Only allow File|Blob|String.")));return}Ce.ContentLength=Fe,ye(null,Fe)},H=function(he){return Date.now()+(he||0)},ve=function(he,Ce){var ye=he;return he.message=he.message||null,typeof Ce=="string"?(he.error=Ce,he.message=Ce):l(Ce)==="object"&&Ce!==null&&($(he,Ce),(Ce.code||Ce.name)&&(he.code=Ce.code||Ce.name),Ce.message&&(he.message=Ce.message),Ce.stack&&(he.stack=Ce.stack)),typeof Object.defineProperty=="function"&&(Object.defineProperty(he,"name",{writable:!0,enumerable:!1}),Object.defineProperty(he,"message",{enumerable:!0})),he.name=Ce&&Ce.name||he.name||he.code||"Error",he.code||(he.code=he.name),he.error||(he.error=O(ye)),he},pe=function(){return(typeof globalThis>"u"?"undefined":l(globalThis))==="object"&&(globalThis.constructor.name==="DedicatedWorkerGlobalScope"||globalThis.FileReaderSync)},ee=function(){return(typeof window>"u"?"undefined":l(window))!=="object"&&(typeof a>"u"?"undefined":l(a))==="object"&&!0&&!pe()},ne=function(he){return/^https?:\/\/([^/]+\.)?ci\.[^/]+/.test(he)},me=function(){if((typeof navigator>"u"?"undefined":l(navigator))!=="object")return!1;var Pe=navigator.userAgent,he=!!Pe.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return he}(),Be=function(){return(typeof navigator>"u"?"undefined":l(navigator))!=="object"?!1:/\sQQ/i.test(navigator.userAgent)}(),oe=function(he,Ce){var ye=A.encode(he);return Ce&&(ye=ye.replaceAll("+","-").replaceAll("/","_").replaceAll("=","")),ye},be=function(he){var Ce=he.split("/"),ye=[],Fe=c(Ce),Ue;try{for(Fe.s();!(Ue=Fe.n()).done;){var Ye=Ue.value;Ye===".."?ye.length&&ye.pop():Ye.length&&Ye!=="."&&ye.push(Ye)}}catch(Ge){Fe.e(Ge)}finally{Fe.f()}return"/"+ye.join("/")},Ie=function(he){var Ce;if(he&&typeof he=="string"){var ye=he.trim(),Fe=ye.indexOf("<")===0,Ue=ye.indexOf("{")===0;if(Fe)Ce=Re.xml2json(he)||{};else if(Ue)try{var Ye=he.replace(/\n/g," "),Ge=JSON.parse(Ye);Object.prototype.toString.call(Ge)==="[object Object]"?Ce=Ge:Ce=he}catch(Ke){Ce=he}else Ce=he}else Ce=he||{};return Ce},Re={noop:_,formatParams:Te,apiWrapper:De,xml2json:y,json2xml:b,md5:g,clearKey:V,fileSlice:N,getBodyMd5:K,getFileMd5:q,b64:ce,extend:$,isArray:Y,isInArray:Q,makeArray:xe,each:ue,map:W,filter:J,clone:O,attr:U,uuid:ge,camSafeUrlEncode:E,throttleOnProgress:te,getFileSize:ae,getSkewTime:H,error:ve,obj2str:P,getAuth:k,parseSelectPayload:R,getSourceParams:B,isBrowser:!0,isNode:ee,isCIHost:ne,isIOS_QQ:me&&Be,encodeBase64:oe,simplifyPath:be,readAsBinaryString:D,parseResBody:Ie};r.exports=Re}).call(this,o("./node_modules/process/browser.js"))}})})})(cosJsSdkV5);const COS=getDefaultExportFromCjs(cosJsSdkV5Exports),tencentBucket="daya-online-1303457149",ossType="tencent";async function fileUpload(i,e){const{data:r}=await getUploadSign(i);return await onOnlyFileUpload(r.signature,{fileName:i,file:e})}const getUploadSign=async i=>{const e="yjl/"+i;return request.post("/open/getUploadSign",{data:{postData:{key:e},pluginName:ossType,bucketName:tencentBucket,filename:e},requestType:"json",params:{pluginName:ossType}})},onOnlyFileUpload=async(i,e)=>{let r="",s=null;if(await new COS({Domain:"https://oss.dayaedu.com",Protocol:"https",getAuthorization:async(a,l)=>{l({Authorization:i})}}).uploadFile({Bucket:tencentBucket,Region:"ap-nanjing",Key:`yjl/${e.fileName}`,Body:e.file,SliceSize:1024*1024*500,onProgress:function(a){}}).then(a=>{var l;((l=a.Location)==null?void 0:l.indexOf("http"))>=0?r=a.Location:r="https://"+a.Location}).catch(a=>{s=a}),r)return r;throw new Error(s)},Recommendation=defineComponent({name:"recommendation",emits:["close"],setup(i,{emit:e}){const r=ref([]),s=reactive({message:"",suggestId:""}),o=ref([]),a=async()=>{try{const y=(await getSuggestionList({rows:9999,page:1,useClient:"SMART_PRACTICE"})).data.rows||[];r.value=y.map(b=>({text:b.name,value:b.id}))}catch(m){}},l=async()=>{var m;if(!s.message||!s.suggestId){const y=s.suggestId?"请先填写意见反馈":"请先选择反馈类型";showToast({message:y,position:"top"});return}try{const y=o.value.reduce((b,A)=>(A.url&&b.push(A.url),b),[]);await sysSuggestionAdd({content:s.message,type:"SMART_PRACTICE",suggestionTypeId:s.suggestId,mobileNo:(m=storeData.user)==null?void 0:m.phone,attachmentUrls:y.join(",")}),showToast({message:"意见反馈已提交",position:"top"}),e("close"),s.suggestId="",s.message="",o.value=[]}catch(y){}},c=computed(()=>r.value.find(y=>y.value===s.suggestId)),u=m=>{let y=[];Array.isArray(m)?y=m.map(b=>(b.status="uploading",b.message="上传中...",b.key=new Date().getTime()+b.file.name,b)):(m.status="uploading",m.message="上传中...",m.key=new Date().getTime()+m.file.name,y.push(m)),y.map(async b=>{try{const A=await fileUpload(b.key,b.file);b.status="",b.url=A}catch(A){b.status="failed",b.message="上传失败"}})},d=5,g=()=>{showToast(`文件大小不能超过 ${d}M`)};return onMounted(()=>{a()}),()=>createVNode("div",{class:[styles$o.recommendation]},[createVNode("div",{class:styles$o.head},[createVNode("img",{class:styles$o.headTit,src:headImg("recommendationName.png")},null),createVNode("img",{class:styles$o.closeImg,src:headImg("closeImg.png"),onClick:()=>{e("close")}},null)]),createVNode("div",{class:styles$o.content},[createVNode("div",{class:styles$o.conBox},[createVNode(DropdownMenu,{class:[styles$o.dropdownMenu,c.value&&styles$o.currItem],overlay:!1},{default:()=>[createVNode(DropdownItem,{class:["recommendationDropdownItem"],title:c.value?c.value.name:"请选择反馈类型",modelValue:s.suggestId,"onUpdate:modelValue":m=>s.suggestId=m,options:r.value},null)]}),createVNode(Field,{class:styles$o.field,modelValue:s.message,"onUpdate:modelValue":m=>s.message=m,border:!1,type:"textarea",maxlength:200,placeholder:"请详细描述您遇到的问题,以便我们尽快为您解决"},null),createVNode(Uploader,{accept:".jpg,jpeg,.png",class:styles$o.uploader,"max-size":d*1024*1024,onOversize:g,modelValue:o.value,"onUpdate:modelValue":m=>o.value=m,"after-read":u,multiple:!0,"max-count":4},{default:()=>[createVNode("div",{class:styles$o.uploaderbox},[createVNode("img",{class:styles$o.img,src:headImg("photo.png")},null),createVNode("div",null,[createTextVNode("上传图片")])])]}),createVNode("div",{class:styles$o.btnCon},[createVNode("img",{class:styles$o.img,src:headImg("qx.png"),onClick:()=>{e("close")}},null),createVNode("img",{class:styles$o.img,src:headImg("tj.png"),onClick:l},null)])])])])}}),Settting=defineComponent({name:"settting",setup(){const i=reactive({screenModelShow:!1,recommendationShow:!1}),e=s=>{const o=state$1.baseFrequency-10,a=state$1.baseFrequency+10;let l=state$1.setting.frequency;if(s===1){if(l-1<o)return showToast({message:`最低标准音高${o}HZ`});l=l-1}else{if(l+1>a)return showToast({message:`最高标准音高${a}HZ`});l=l+1}state$1.setting.frequency=l>=0?l:0},r=s=>s=String(Math.min(3e3,s));return()=>createVNode("div",{class:styles$p.settting},[createVNode("div",{class:styles$p.head},[createVNode("img",{class:styles$p.headTit,src:headImg("settingName.png")},null),createVNode("img",{class:styles$p.closeImg,src:headImg("closeImg.png"),onClick:()=>{headTopData.settingMode=!1}},null)]),createVNode("div",{class:styles$p.content},[createVNode("div",{class:styles$p.conBox},[createVNode("div",{class:styles$p.cellBox},[createVNode("div",{class:styles$p.tit},[createTextVNode("指法")]),createVNode(Switch$1,{modelValue:state$1.setting.displayFingering,"onUpdate:modelValue":s=>state$1.setting.displayFingering=s},null)]),createVNode("div",{class:styles$p.cellBox},[createVNode("div",{class:styles$p.tit},[createTextVNode("循环播放")]),createVNode(Switch$1,{modelValue:state$1.setting.repeatAutoPlay,"onUpdate:modelValue":s=>state$1.setting.repeatAutoPlay=s},null)]),createVNode("div",{class:styles$p.cellBox},[createVNode("div",{class:styles$p.tit},[createTextVNode("旋律线")]),createVNode(Switch$1,{modelValue:smoothAnimationState.isShow.value,"onUpdate:modelValue":s=>smoothAnimationState.isShow.value=s},null)]),createVNode("div",{class:styles$p.cellBox},[createVNode("div",{class:styles$p.tit},[createTextVNode("延迟检测")]),createVNode(Switch$1,{modelValue:state$1.setting.soundEffect,"onUpdate:modelValue":s=>state$1.setting.soundEffect=s},null)]),createVNode("div",{class:styles$p.cellBox},[createVNode("div",{class:styles$p.tit},[createTextVNode("摄像头")]),createVNode(Switch$1,{modelValue:state$1.setting.camera,"onUpdate:modelValue":s=>state$1.setting.camera=s,onChange:async s=>{var o;if(s){const a=await api_openCamera();(o=a==null?void 0:a.content)!=null&&o.reson&&(state$1.setting.camera=!1)}else api_closeCamera()}},null)]),createVNode("div",{class:styles$p.cellBox,style:{display:state$1.setting.camera?"":"none"}},[createVNode("div",{class:styles$p.tit},[createTextVNode("透明度")]),createVNode(Slider,{class:styles$p.slider,min:0,max:100,modelValue:state$1.setting.cameraOpacity,"onUpdate:modelValue":s=>state$1.setting.cameraOpacity=s},{button:()=>createVNode("div",{class:styles$p.sliderBtn},[state$1.setting.cameraOpacity])})]),createVNode("div",{class:styles$p.cellBox},[createVNode("div",{class:styles$p.tit},[createTextVNode("标准音高")]),createVNode("div",{class:styles$p.frequency},[createVNode("img",{src:headImg("cutImg.png"),class:[styles$p.btn],onClick:()=>e(1)},null),createVNode("div",{class:styles$p.frequencyNum},[state$1.setting.frequency,createTextVNode("HZ")]),createVNode("img",{src:headImg("addImg.png"),class:[styles$p.btn],onClick:()=>e(2)},null)])]),createVNode("div",{class:styles$p.cellBox},[createVNode("div",{class:styles$p.tit},[createTextVNode("反应时间")]),createVNode("div",{class:styles$p.reactionTimeBox},[createVNode(Field,{class:styles$p.reactionTime,type:"digit",placeholder:"最大可输入3000毫秒",formatter:r,"input-align":"center",modelValue:state$1.setting.reactionTimeMs,"onUpdate:modelValue":s=>state$1.setting.reactionTimeMs=s},null),createVNode("div",{class:styles$p.timeName},[createTextVNode("毫秒")])])]),state$1.modeType==="practise"?createVNode("div",{class:styles$p.cellBox},[createVNode("div",{class:styles$p.tit},[createTextVNode("切换谱面")]),createVNode("div",{class:styles$p.radioBox},[[{name:"单行谱",value:!0},{name:"多行谱",value:!1}].map(s=>createVNode("div",{class:state$1.isSingleLine===s.value&&styles$p.active,onClick:()=>{state$1.isSingleLine=s.value,headTopData.settingMode=!1,refreshMusicSvg()}},[s.name]))])]):null,createVNode("div",{class:styles$p.cellBox},[createVNode("div",{class:styles$p.tit},[createTextVNode("转谱")]),createVNode("div",{class:styles$p.radioBox},[[{name:"五线谱",value:"staff"},{name:"首调",value:"firstTone"},{name:"固定谱",value:"fixedTone"}].map(s=>createVNode("div",{class:state$1.musicRenderType===s.value&&styles$p.active,onClick:()=>{state$1.musicRenderType=s.value,headTopData.settingMode=!1,refreshMusicSvg()}},[s.name]))])]),createVNode("div",{class:styles$p.cellBtnBox},[createVNode("img",{src:headImg("tpbz.png")},null),createVNode("img",{src:headImg("yjfk.png"),onClick:()=>i.recommendationShow=!0},null)])])]),createVNode(Popup,{show:i.recommendationShow,"onUpdate:show":s=>i.recommendationShow=s,class:"popup-custom van-scale center-closeBtn recommenBoxClass_drag",transition:"van-scale",teleport:"body","overlay-style":{background:"rgba(0, 0, 0, 0.3)"}},{default:()=>[createVNode(Recommendation,{onClose:()=>{i.recommendationShow=!1}},null)]})])}});function autoCorrelate(i,e){for(var r=i.length,s=0,o=0;o<r;o++){var a=i[o];s+=a*a}if(s=Math.sqrt(s/r),s<.01)return-1;for(var l=0,c=r-1,u=.2,o=0;o<r/2;o++)if(Math.abs(i[o])<u){l=o;break}for(var o=1;o<r/2;o++)if(Math.abs(i[r-o])<u){c=r-o;break}i=i.slice(l,c),r=i.length;for(var d=new Array(r).fill(0),o=0;o<r;o++)for(var g=0;g<r-o;g++)d[o]=d[o]+i[g]*i[g+o];for(var m=0;d[m]>d[m+1];)m++;for(var y=-1,b=-1,o=m;o<r;o++)d[o]>y&&(y=d[o],b=o);var A=b,S=d[A-1],E=d[A],x=d[A+1];let P=(S+x-2*E)/2,C=(x-S)/2;return P&&(A=A-C/(2*P)),e/A}const audioRecorder={audioContext:null,mediaRecorder:null,recordeState:!1,progress:i=>{},init(){this.audioContext=new(window.AudioContext||window.webkitAudioContext)},toggleRecord(i){return new Promise((e,r)=>{i?navigator.mediaDevices.getUserMedia({audio:!0}).then(s=>{audioRecorder.mediaRecorder=s.getAudioTracks()[0],audioRecorder.recordeState=!0;const o=this.audioContext.createMediaStreamSource(s),a=this.audioContext.createAnalyser();a.fftSize=2048,o.connect(a);var l=new Float32Array(a.fftSize);const c=this.audioContext.sampleRate;function u(){if(!audioRecorder.recordeState)return;a.getFloatTimeDomainData(l);const d=autoCorrelate(l,c);audioRecorder.progress(d),setTimeout(()=>{u()},10)}u(),e(!0)}).catch(s=>{e(!1),console.error("Error accessing media devices:",s)}):audioRecorder.mediaRecorder.stop()})},checkSupport(){return new Promise((i,e)=>{if(navigator.mediaDevices.getUserMedia){const r={audio:!0};navigator.mediaDevices.getUserMedia(r).then(s=>{i(!0),console.log("授权成功!")},()=>{i(!1),console.error("授权失败!")})}else i(!1),console.error("浏览器不支持 getUserMedia")})}},query$3=getQuery(),followData=reactive({list:[],index:0,start:!1,rendered:!1,earphone:!1}),handleRecord$1=i=>{if(query$3.isCbs)return;i<0&&(i=0);const e=i/1e3,r={clientType:storeData.user.clientType,musicSheetId:state$1.examSongId,sysMusicScoreId:state$1.examSongId,feature:"FOLLOW_UP_TRAINING",practiceSource:"FOLLOW_UP_TRAINING",playTime:e,deviceType:browser().android?"ANDROID":"IOS",behaviorId:getBehaviorId()};api_musicPracticeRecordSave(r)},toggleFollow=(i=!0)=>{state$1.modeType=state$1.modeType==="follow"?"practise":"follow",i||(followData.start=!1,openToggleRecord(!1))},noteFrequency=ref(0),audioFrequency=ref(0),followTime=ref(0),openToggleRecord=async(i=!0)=>{if(i||api_cloudToggleFollow(i?"start":"end"),i)followTime.value=Date.now();else{const e=Date.now()-followTime.value;followTime.value!==0&&e>0&&(handleRecord$1(e),followTime.value=0)}storeData.isApp||!await(audioRecorder==null?void 0:audioRecorder.toggleRecord(i))&&followData.start&&(followData.earphone=!0,followData.start=!1)},onClear=()=>{state$1.times.forEach(i=>{const e=document.querySelector(`div[data-vf=vf${i.id}]`);e&&e.classList.remove("follow-up","follow-down","follow-error","follow-success");const r=document.getElementById(`vf-${i.id}`),s=document.getElementById(`vf-${i.id}-stem`);r&&(r.classList.remove("follow-up","follow-down","follow-success"),s==null||s.classList.remove("follow-up","follow-down","follow-success"))})},handleFollowStart=async()=>{var e;checking=!1;const i=await api_cloudToggleFollow("start");if(!((e=i==null?void 0:i.content)!=null&&e.reson)){if(followData.start=!0,!await handleStartTick())return followData.start=!1,!1;onClear(),followData.start=!0,followData.index=0,followData.list=[],resetPlaybackToStart(),openToggleRecord(!0),getNoteIndex();const s=getDuration(state$1.osmd);metronomeData.totalNumerator=s.numerator||2,metronomeData.followAudioIndex=1,state$1.beatStartTime=0,followBeatPaly()}},handleFollowEnd=()=>{onClear(),followData.start=!1,openToggleRecord(!1),followData.index=0,console.log("结束")},autoEndFollow=()=>{if(followData.index>=state$1.times.length){handleFollowEnd();return}if(followData.index+1,!state$1.times.slice(followData.index,state$1.times.length).some(r=>r.frequency>1)&&state$1.times[followData.index].frequency<1){handleFollowEnd();return}},next=()=>{followData.index<state$1.times.length&&gotoNext(state$1.times[followData.index]),autoEndFollow()},getNoteIndex=()=>{const i=state$1.times[followData.index];return i.frequency<=0?(followData.index=followData.index+1,next(),getNoteIndex()):(noteFrequency.value=i.frequency,{id:i.id,min:i.frequency-(i.frequency-i.prevFrequency)*.5,max:i.frequency+(i.nextFrequency-i.frequency)*.5,duration:i.duration,baseFrequency:i.frequency})};let checking=!1;const onFollowTime=i=>{var r;const e=(r=i==null?void 0:i.content)==null?void 0:r.frequency;followData.start&&e>0&&(audioFrequency.value=e,checked())};let startTime=0;const checked=()=>{if(checking)return;checking=!0;const i=getNoteIndex();if(audioFrequency.value<i.baseFrequency*.5){checking=!1;return}if(audioFrequency.value>=i.min&&audioFrequency.value<=i.max){if(startTime===0)startTime=Date.now();else if((Date.now()-startTime)/1e3>=i.duration*.6){startTime=0,followData.index=followData.index+1,setColor(i,"",!0),setTimeout(()=>{next(),checking=!1},3e3);return}}setColor(i,audioFrequency.value>i.baseFrequency?"follow-up":"follow-down"),checking=!1},setColor=(i,e,r=!1)=>{const s=document.querySelector(`div[data-vf=vf${i.id}]`);s&&(s.classList.remove("follow-up","follow-down","follow-error","follow-success"),r?s.classList.add("follow-success"):s.classList.add("follow-error",e));const o=document.getElementById(`vf-${i.id}`);if(o){const a=document.getElementById(`vf-${i.id}-stem`);o.classList.remove("follow-up","follow-down"),a==null||a.classList.remove("follow-up","follow-down","follow-success"),e&&(o.classList.add(e),a==null||a.classList.add(e)),r&&(o.classList.add("follow-success"),a==null||a.classList.add("follow-success"))}},skipNotePractice=()=>{followData.index=state$1.activeNoteIndex,Array.from(document.querySelectorAll(".follow-error")).forEach(e=>{e==null||e.classList.remove("follow-up","follow-down","follow-error")})};watch(()=>followData.index,()=>{skipNotePlay(followData.index)});const FollowPractice=defineComponent({name:"follow",setup(){return onMounted(async()=>{storeData.isApp?api_cloudFollowTime(onFollowTime):await audioRecorder.checkSupport()?(audioRecorder.init(),audioRecorder.progress=e=>{onFollowTime({api:"",content:{frequency:e}})}):followData.earphone=!0,console.log("进入跟练模式")}),onUnmounted(()=>{api_cloudFollowTime(onFollowTime,!1),resetPlaybackToStart(),onClear(),openToggleRecord(!1),console.log("退出跟练模式")}),()=>createVNode("div",null,null)}}),guidePopup="_guidePopup_x5pic_1",tipsContainer="_tipsContainer_x5pic_14",backBtn$2="_backBtn_x5pic_20",right$2="_right_x5pic_36",content$4="_content_x5pic_44",box$3="_box_x5pic_49",item$2="_item_x5pic_55",img$1="_img_x5pic_59",iconHead="_iconHead_x5pic_63",head2="_head2_x5pic_69",btns$4="_btns_x5pic_73",btn$5="_btn_x5pic_73",endBtn$2="_endBtn_x5pic_84",studentbtn="_studentbtn_x5pic_87",teacherBtn="_teacherBtn_x5pic_98",nextBtn="_nextBtn_x5pic_130",studentNext="_studentNext_x5pic_145",myscale="_myscale_x5pic_1",styles$n={guidePopup,tipsContainer,backBtn:backBtn$2,right:right$2,content:content$4,box:box$3,item:item$2,img:img$1,iconHead,head2,btns:btns$4,btn:btn$5,endBtn:endBtn$2,studentbtn,teacherBtn,nextBtn,studentNext,myscale},__vite_glob_0_0=""+new URL("../png/aiTeacher1-906c9519.png",import.meta.url).href,__vite_glob_0_1=""+new URL("../png/aiTeacher2-398558c8.png",import.meta.url).href,__vite_glob_0_2=""+new URL("../png/aiTeacher3-4ce7d3e9.png",import.meta.url).href,__vite_glob_0_3=""+new URL("../png/aiTeacher4-a64809b7.png",import.meta.url).href,__vite_glob_0_4=""+new URL("../png/endBtn-fbbc61e9.png",import.meta.url).href,__vite_glob_0_5="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAABoCAYAAACZmlKPAAAAAXNSR0IArs4c6QAACNNJREFUaEPNmgtsVMcVhv8zd+31AxvSlApSXjGBlpYo610bKGoFkagU1KcaAeZh4xDJSh8kkVInoaVBKaRJSluR0qclEvAav1CqKGqVSI0EqBUimLVdhZSGhwk4CaiQBuz4uXvnVHN37/p6c9dr323HHllrW3tnznfPzDlzzpkheGzrOjhKAoIZpIYggBkgIjAYZmuAcr0MbQ3mpa3v5F4w8uI4ACso68P6d7A1QEVexvUMtKGDrzOhCEpDahQFk1AVgJ7WAM3UCrS+k7vBuN1VKOHD1gDN1QvUwRcImGVrx1ZQQknXWkrpLt1AbxMwx00oA++1ltIXtQJt6OQIM0rchBKhqyVAIa1AFR18QgKLHUvZOWvnWktppW6gowykm5a3W0rpXq1AGzr5dQD3jBIadwFKU/9oCdB9WoHWt/OrRHBfJ4xIS5C+qRWoooOPgLA84RjVdmFrRznJN5tLaZ1WoA0d3EDAl9OY/d9bSmmLVqCKTj7ADGvhqg01ucnG19Cx5gA9qBvo92CscW5hyb8ZbzQH6btagTZ28D5mrLV3+xRre705SI9oBaqI8F4IfM1VqMRfmkNUqxvoGSJ8i10CGBJ4peke2qkVaGM7P8WE+ykRMSZiofgyYrzcFKSf6gXq5CchsSEZnNmaUkgCLU0Bek4vUDs/xsCmpFCHuRHQ2BSkX+oG2s6ESmfoKhiQ8bA63BSk/VqBKtr5IWJUW0IF4iT2bwMvNQXoj3qBOnkbScS9cUqQz4wDzUF6USvQ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rhNyPJAUTTTfgljifydPLr0jnwncFfO0j35hlZ4o3wqExABGWI1u24BbAnoHVfPr9r7OelcJp/m9ooJg0I3FAG3D66UoqqI8qVW/ukNJ3iHSdBPADK7t47ngNfyUKZMfT9l1oJBwfR1Ro6AdkyWBbTdo686VgW0Hdo61m4TrAao/HAP5XbppRHx7DBHPXQBTxDzyoD8RFV9TcsUwXMzgWET0CSi1ztV71wYES8Mu0Ot69dKwBOhlFJk8Fof2ABYD1D41ccn/MfUf029l7iZQK8EZG9preb0VSu6/2R47KPAw8AjESHDVC3b/wGTrTjxyhLnnAAAAABJRU5ErkJggg==",__vite_glob_0_7=""+new URL("../png/endBtn-fbbc61e9.png",import.meta.url).href,__vite_glob_0_8=""+new URL("../png/pc_teacherBottom1-7d7c0406.png",import.meta.url).href,__vite_glob_0_9=""+new URL("../png/pc_teacherBottom2-1041fb46.png",import.meta.url).href,__vite_glob_0_10=""+new URL("../png/pc_teacherBottom3-9e8e8dfa.png",import.meta.url).href,__vite_glob_0_11=""+new URL("../png/pc_teacherBottom4-06ba0f51.png",import.meta.url).href,__vite_glob_0_12=""+new URL("../png/pc_teacherBottom5-d02e3c8f.png",import.meta.url).href,__vite_glob_0_13=""+new URL("../png/pc_teacherBottom6-bc1100b9.png",import.meta.url).href,__vite_glob_0_14=""+new URL("../png/studentB1-cada9dc3.png",import.meta.url).href,__vite_glob_0_15=""+new URL("../png/studentB2-22f8c5b1.png",import.meta.url).href,__vite_glob_0_16=""+new URL("../png/studentB3-63e84adf.png",import.meta.url).href,__vite_glob_0_17=""+new URL("../png/studentBtn-cc71146a.png",import.meta.url).href,__vite_glob_0_18=""+new URL("../png/studnetT1-6bad1a7e.png",import.meta.url).href,__vite_glob_0_19=""+new URL("../png/studnetT2-a1c68390.png",import.meta.url).href,__vite_glob_0_20=""+new URL("../png/studnetT3-aea2d51e.png",import.meta.url).href,__vite_glob_0_21=""+new URL("../png/studnetT4-e9bcb3f4.png",import.meta.url).href,__vite_glob_0_22=""+new URL("../png/studnetT5-d98576d3.png",import.meta.url).href,__vite_glob_0_23=""+new URL("../png/studnetT6-e26e655b.png",import.meta.url).href,__vite_glob_0_24=""+new URL("../png/studnetT7-85b09492.png",import.meta.url).href,__vite_glob_0_25=""+new URL("../png/studnetT8-f4dec487.png",import.meta.url).href,__vite_glob_0_26=""+new URL("../png/teacherTop1-fac539f2.png",import.meta.url).href,__vite_glob_0_27=""+new URL("../png/teacherTop2-7139ad50.png",import.meta.url).href,__vite_glob_0_28=""+new URL("../png/teacherTop3-d5b41852.png",import.meta.url).href,__vite_glob_0_29=""+new URL("../png/teacherTop4-6b47a5e7.png",import.meta.url).href,__vite_glob_0_30=""+new URL("../png/teacherTop5-ce3e332a.png",import.meta.url).href,__vite_glob_0_31=""+new URL("../png/teacherTop6-7e748eed.png",import.meta.url).href,modules=Object.assign({"./aiTeacher1.png":__vite_glob_0_0,"./aiTeacher2.png":__vite_glob_0_1,"./aiTeacher3.png":__vite_glob_0_2,"./aiTeacher4.png":__vite_glob_0_3,"./endBtn.png":__vite_glob_0_4,"./indexDot.png":__vite_glob_0_5,"./nextBtn.png":__vite_glob_0_6,"./numbrBtn.png":__vite_glob_0_7,"./pc_teacherBottom1.png":__vite_glob_0_8,"./pc_teacherBottom2.png":__vite_glob_0_9,"./pc_teacherBottom3.png":__vite_glob_0_10,"./pc_teacherBottom4.png":__vite_glob_0_11,"./pc_teacherBottom5.png":__vite_glob_0_12,"./pc_teacherBottom6.png":__vite_glob_0_13,"./studentB1.png":__vite_glob_0_14,"./studentB2.png":__vite_glob_0_15,"./studentB3.png":__vite_glob_0_16,"./studentBtn.png":__vite_glob_0_17,"./studnetT1.png":__vite_glob_0_18,"./studnetT2.png":__vite_glob_0_19,"./studnetT3.png":__vite_glob_0_20,"./studnetT4.png":__vite_glob_0_21,"./studnetT5.png":__vite_glob_0_22,"./studnetT6.png":__vite_glob_0_23,"./studnetT7.png":__vite_glob_0_24,"./studnetT8.png":__vite_glob_0_25,"./teacherTop1.png":__vite_glob_0_26,"./teacherTop2.png":__vite_glob_0_27,"./teacherTop3.png":__vite_glob_0_28,"./teacherTop4.png":__vite_glob_0_29,"./teacherTop5.png":__vite_glob_0_30,"./teacherTop6.png":__vite_glob_0_31}),getImage=i=>modules[`./${i}`]||"",query$2=getQuery(),setGuidance=i=>query$2.isCbs?{}:request.post("/functionGuidance/save",{data:i,requestType:"json"}),getGuidance=i=>storeData.platformApi=="/cbs-app"?{data:null}:request.get("/functionGuidance/queryTagDetail",{data:i,params:i}),TeacherTop=defineComponent({name:"teacherTop-guide",emits:["close"],setup(i,{emit:e}){const r=reactive({box:{},show:!1,steps:state$1.platform===IPlatform.PC?[{ele:"",eleRect:{},img:getImage("pc_teacherBottom1.png"),handStyle:{top:"0.91rem"},imgStyle:{bottom:"2.5rem",width:"3.63rem",height:"2.28rem",left:"-0.45rem"},btnsStyle:{bottom:"2.72rem",left:"1.1rem",transform:"scale(.83)"}},{ele:"",img:getImage("pc_teacherBottom2.png"),handStyle:{top:"-1.39rem",left:"0.15rem",transform:"rotate(180deg)"},imgStyle:{bottom:"2.5rem",width:"4.20rem",height:"2.28rem",left:"-0.45rem"},btnsStyle:{bottom:"2.72rem",left:"1.1rem",transform:"scale(.83)"}},{ele:"",img:getImage("pc_teacherBottom3.png"),handStyle:{top:"-1.39rem",left:"0.17rem",transform:"rotate(180deg)"},imgStyle:{bottom:"2.5rem",width:"5.15rem",height:"2.28rem",left:"-0.45rem"},btnsStyle:{bottom:"2.72rem",left:"1.1rem",transform:"scale(.83)"}},{ele:"",img:getImage("pc_teacherBottom4.png"),handStyle:{top:"-1.39rem",left:"1.4rem",transform:"rotate(180deg)"},imgStyle:{bottom:"2.5rem",width:"4.39rem",height:"2.28rem",left:"-0.45rem"},btnsStyle:{bottom:"2.72rem",left:"1.1rem",transform:"scale(.83)"}},{ele:"",img:getImage("pc_teacherBottom5.png"),handStyle:{top:"-1.39rem",left:"1.4rem",transform:"rotate(180deg)"},imgStyle:{bottom:"2.5rem",width:"4.58rem",height:"2.28rem",left:"-0.45rem"},btnsStyle:{bottom:"2.72rem",left:"1.1rem",transform:"scale(.83)"}},{ele:"",img:getImage("pc_teacherBottom6.png"),handStyle:{top:"-1.39rem",left:"1.4rem",transform:"rotate(180deg)"},imgStyle:{bottom:"2.5rem",width:"4.01rem",height:"2.28rem",left:"-3.4rem"},btnsStyle:{bottom:"2.72rem",left:"-2.1rem",transform:"scale(.83)"}}]:[{ele:"",eleRect:{},img:getImage("teacherTop1.png"),handStyle:{top:"0.91rem"},imgStyle:{top:"1.32rem",width:"3.63rem",height:"2.28rem",left:"-2rem"},btnsStyle:{top:"2.8rem",left:"-0.5rem",transform:"scale(.83)"}},{ele:"",img:getImage("teacherTop2.png"),handStyle:{top:"-1.39rem",left:"0.15rem",transform:"rotate(180deg)"},imgStyle:{top:"1.32rem",width:"4.20rem",height:"2.28rem",left:"-2rem"},btnsStyle:{top:"2.8rem",left:"-0.5rem",transform:"scale(.83)"}},{ele:"",img:getImage("teacherTop3.png"),handStyle:{top:"-1.39rem",left:"0.17rem",transform:"rotate(180deg)"},imgStyle:{top:"1.32rem",width:"5.15rem",height:"2.28rem",left:"-2rem"},btnsStyle:{top:"2.8rem",left:"-0.5rem",transform:"scale(.83)"}},{ele:"",img:getImage("teacherTop4.png"),handStyle:{top:"-1.39rem",left:"1.4rem",transform:"rotate(180deg)"},imgStyle:{top:"1.32rem",width:"4.39rem",height:"2.28rem",left:"-2rem"},btnsStyle:{top:"2.8rem",left:"-0.5rem",transform:"scale(.83)"}},{ele:"",img:getImage("teacherTop5.png"),handStyle:{top:"-1.39rem",left:"1.4rem",transform:"rotate(180deg)"},imgStyle:{top:"1.32rem",width:"4.58rem",height:"2.28rem",left:"-2rem"},btnsStyle:{top:"2.8rem",left:"-0.5rem",transform:"scale(.83)"}},{ele:"",img:getImage("teacherTop6.png"),handStyle:{top:"-1.39rem",left:"1.4rem",transform:"rotate(180deg)"},imgStyle:{top:"1.32rem",width:"4.01rem",height:"2.28rem",left:"-3.4rem"},btnsStyle:{top:"2.8rem",left:"-2.1rem",transform:"scale(.83)"}}],step:0}),s=ref(!1);getQuery();const o=ref({});(async()=>{var d;try{if(state$1.guideInfo)o.value=state$1.guideInfo;else{const g=await getGuidance({guideTag:"guideInfo"});g.data?o.value=JSON.parse((d=g.data)==null?void 0:d.guideValue)||null:o.value={}}o.value&&o.value.teacherTop?s.value=!1:s.value=!0}catch(g){console.log(g)}})();const l=()=>{console.log(`teacherTop${r.step}`);const d=document.getElementById(`teacherTop-${r.step}`);if(d){if(d.style.display==="none"){c();return}const g=d.getBoundingClientRect();r.box={left:g.x+"px",top:g.y+"px",width:g.width+"px",height:g.height+"px"}}};onMounted(()=>{setTimeout(()=>{l()},1200)});const c=()=>{if(r.step>=5){u();return}r.step=r.step+1,l()},u=async()=>{o.value?o.value.teacherTop=!0:o.value={teacherTop:!0};try{const d=await setGuidance({guideTag:"guideInfo",guideValue:JSON.stringify(o.value)})}catch(d){console.log(d)}state$1.guideInfo=o.value,s.value=!1};return()=>createVNode(Popup,{teleport:"body",overlay:!1,closeOnClickOverlay:!1,class:["popup-custom",styles$n.guidePopup],show:s.value,"onUpdate:show":d=>s.value=d},{default:()=>[createVNode("div",{class:styles$n.content,onClick:()=>c()},[createVNode("div",{class:styles$n.backBtn,onClick:d=>{d.stopPropagation(),u()}},[createTextVNode("跳过")]),createVNode("div",{class:styles$n.box,style:r.box,id:`modeType-${r.step}`},[r.steps.map((d,g)=>{var m,y;return createVNode("div",{onClick:b=>b.stopPropagation(),class:styles$n.item,style:{display:g===r.step?"":"none",left:`${(m=d.eleRect)==null?void 0:m.left}px`,top:`${(y=d.eleRect)==null?void 0:y.top}px`}},[createVNode("img",{class:styles$n.img,style:d.imgStyle,src:d.img},null),createVNode("div",{class:styles$n.btns,style:d.btnsStyle},[r.step+1==r.steps.length?createVNode(Fragment,null,[createVNode("div",{class:[styles$n.endBtn],onClick:()=>u()},[createTextVNode("完成")]),createVNode("div",{class:[styles$n.nextBtn],style:{"border-color":"#fff"},onClick:()=>{r.step=0,l()}},[createTextVNode("再看一遍")])]):createVNode(Button$1,{class:styles$n.teacherBtn,round:!0,type:"primary",onClick:()=>c()},{default:()=>[createTextVNode("下一步 ("),r.step+1,createTextVNode("/"),r.steps.length,createTextVNode(")")]})])])})])])]})}}),StudentTop=defineComponent({name:"studnetT-guide",emits:["close"],setup(i,{emit:e}){const r=reactive({box:{},show:!1,steps:[{ele:"",eleRect:{},img:getImage("studnetT1.png"),handStyle:{top:"0.67rem",left:"0.1rem"},imgStyle:{top:"1.2rem",width:"5.64rem",height:"2.77rem",left:"-2rem"},btnsStyle:{top:"4.4rem",left:"-0.7rem"}},{ele:"",img:getImage("studnetT2.png"),handStyle:{top:"0.67rem",left:"0.1rem"},imgStyle:{top:"1.2rem",width:"5.46rem",height:"2.3rem",left:"-2rem"},btnsStyle:{top:"3.9rem",left:"-0.7rem"}},{ele:"",img:getImage("studnetT3.png"),handStyle:{top:"0.67rem",left:"0.1rem"},imgStyle:{top:"1.2rem",width:"5.46rem",height:"2.30rem",left:"-2rem"},btnsStyle:{top:"3.9rem",left:"-0.7rem"}},{ele:"",img:getImage("studnetT4.png"),handStyle:{top:"0.67rem",left:"0.1rem"},imgStyle:{top:"1.2rem",width:"5.46rem",height:"2.30rem",left:"-2rem"},btnsStyle:{top:"3.9rem",left:"-0.7rem"}},{ele:"",img:getImage("studnetT5.png"),handStyle:{top:"0.67rem",left:"0.1rem"},imgStyle:{top:"1.2rem",width:"5.46rem",height:"2.6rem",left:"-3rem"},btnsStyle:{top:"4.1rem",left:"-1.3rem"}},{ele:"",img:getImage("studnetT6.png"),handStyle:{top:"0.67rem",left:"0.1rem"},imgStyle:{top:"0.92rem",width:"5.46rem",height:"2.30rem",left:"-5.5rem"},btnsStyle:{top:"3.6rem",left:"-1.8rem"}},{ele:"",eleRect:{},img:getImage("studnetT7.png"),handStyle:{top:"0.67rem",left:"0.1rem"},imgStyle:{top:"0.92rem",width:"5.46rem",height:"2.3rem",left:"-5.5rem"},btnsStyle:{top:"3.6rem",left:"-3.7rem"}},{ele:"",eleRect:{},img:getImage("studnetT8.png"),handStyle:{top:"-1.38rem",left:".26rem",transform:"rotate(180deg)"},imgStyle:{top:"-3.8rem",width:"5.46rem",height:"2.28rem",left:"-5rem"},btnsStyle:{top:"-1.2rem",left:"-4.3rem"}}],step:0,initDone:!1}),s=ref(!1);getQuery();const o=ref({});(async()=>{var d;console.log("学生引导123");try{if(state$1.guideInfo)o.value=state$1.guideInfo;else{const g=await getGuidance({guideTag:"guideInfo"});g.data?o.value=JSON.parse((d=g.data)==null?void 0:d.guideValue)||null:o.value={}}o.value&&o.value.studnetT?s.value=!1:s.value=headTopData.modeType!=="init"}catch(g){console.log(g)}})();const l=()=>{console.log(`studnetT${r.step}`);const d=document.getElementById(`studnetT-${r.step}`);if(d){if(d.style.display==="none"){c();return}const g=d.getBoundingClientRect();r.box={left:g.x+"px",top:g.y+"px",width:g.width+"px",height:g.height+"px"}}};onMounted(()=>{setTimeout(()=>{l(),r.initDone=!0},1200)});const c=()=>{if(r.step>=7){u();return}r.step=r.step+1,l()},u=async()=>{o.value?o.value.studnetT=!0:o.value={studnetT:!0};try{const d=await setGuidance({guideTag:"guideInfo",guideValue:JSON.stringify(o.value)})}catch(d){console.log(d)}state$1.guideInfo=o.value,s.value=!1};return()=>createVNode(Popup,{teleport:"body",overlay:!1,closeOnClickOverlay:!1,class:["popup-custom",styles$n.guidePopup],show:s.value,"onUpdate:show":d=>s.value=d},{default:()=>[createVNode("div",{class:styles$n.content,onClick:()=>c()},[r.step!=r.steps.length-1&&createVNode("div",{class:styles$n.backBtn,onClick:d=>{d.stopPropagation(),u()}},[createTextVNode("跳过")]),r.initDone&&createVNode("div",{class:styles$n.box,style:r.box,id:`modeType-${r.step}`},[r.steps.map((d,g)=>{var m,y;return createVNode("div",{onClick:b=>b.stopPropagation(),class:styles$n.item,style:{display:g===r.step?"":"none",left:`${(m=d.eleRect)==null?void 0:m.left}px`,top:`${(y=d.eleRect)==null?void 0:y.top}px`}},[createVNode("img",{class:styles$n.img,style:d.imgStyle,src:d.img},null),createVNode("img",{class:styles$n.iconHead,style:d.handStyle,src:getImage("indexDot.png")},null),createVNode("div",{class:styles$n.btns,style:d.btnsStyle},[r.step+1==r.steps.length?createVNode(Fragment,null,[createVNode("div",{class:[styles$n.studentNext],onClick:()=>u()},[createTextVNode("完成")]),createVNode("div",{class:[styles$n.nextBtn],style:{"border-color":"#fff"},onClick:()=>{r.step=0,l()}},[createTextVNode("再看一遍")])]):createVNode(Button$1,{class:styles$n.studentNext,round:!0,type:"primary",onClick:()=>c()},{default:()=>[createTextVNode("下一步 ("),r.step+1,createTextVNode("/"),r.steps.length,createTextVNode(")")]})])])})])])]})}}),index_module={},container$3="_container_gzmjl_1",head$1="_head_gzmjl_1",headTit="_headTit_gzmjl_8",closeImg$1="_closeImg_gzmjl_16",pickerCon="_pickerCon_gzmjl_24",pickerBox="_pickerBox_gzmjl_33",picker="_picker_gzmjl_24",button="_button_gzmjl_65",styles$m={container:container$3,head:head$1,headTit,closeImg:closeImg$1,pickerCon,pickerBox,picker,button},changeName="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAAAoCAMAAAA11sNmAAAC7lBMVEUAAAAAdboBbbEAba0AbK4Bb68Ac68BbKwAbq8Abq4AbKwBbK0AbbAAbawBbK0Aaa4AbKz9/v8Aa6wAbKzw9vv///8BbK52sNIAbK3///8AbKwAa6wBbK37/f4AbKsAa6z///9Ck8IAa6wAbKvr9Pjq8/m/2uoAa6t8tNQAbKsBba0AbK4AbK/k8Pfq8vgEb68AbKz////Z6fP+/v82ir0BbKwBba32+/1Rm8YAa6ySwdz////////9/v/N4u8Abaz5/P35/P3e7PWx0eZ4stbz+Pz+///4+/y51+ng8Pn////1+fzq8/n6/P79/v/4+/3r9Pn3+v3A2+vf7fXZ6fN/tdbV5/L+///+///B3Ovn7/v9/v/7/f7z+Pzy9/vy9/vX6PLz+Pv+/v/r9PnB3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Av7HU5rCoRLscbcASiVrHJxihREERe+RMnhgXBbqGNoYY8hAeUJeYUGD7hjxwbtqiXC0E7A1qHyR6zc7QohLlGEyIrMnSSTVBGc1RzW6VVWkbhJC9bBYX20M7/+BfwN6788P3/x588AAAAAElFTkSuQmCC",ChoosePartName=defineComponent({name:"choosePartName",props:{partListNames:{type:Array,default:()=>[]},partIndex:{type:Number,default:0}},emits:["close"],setup(i,{emit:e}){const r=ref(!1),{partListNames:s,partIndex:o}=toRefs(i);let a=s.value.findIndex(g=>g.value===o.value);a=a>-1?a:0;const l=ref(a),c=computed(()=>s.value),u=ref([o.value]),d=ref();return onMounted(()=>{}),()=>{var g;return createVNode("div",{class:[styles$m.container,state$1.platform===IPlatform.PC&&styles$m.pcContainer]},[createVNode("div",{class:styles$m.head},[createVNode("img",{class:styles$m.headTit,src:changeName},null),createVNode("img",{class:styles$m.closeImg,src:headImg("closeImg.png"),onClick:()=>e("close")},null)]),state$1.platform===IPlatform.PC&&createVNode("div",{class:[!((g=state$1.guideInfo)!=null&&g.teacherDrag)&&styles$m.pcPartTopZIndex,styles$m.pcPartTop,"top_drag"]},null),createVNode("div",{class:styles$m.pickerCon},[createVNode("div",{class:styles$m.pickerBox},[createVNode(Picker,{ref:d,class:[styles$m.picker,state$1.platform===IPlatform.PC&&styles$m.pcPicker],defaultIndex:i.partIndex,modelValue:u.value,"onUpdate:modelValue":m=>u.value=m,showToolbar:!1,columns:c.value,visibleItemCount:Math.ceil(document.body.clientHeight/40/3),onChange:m=>{r.value||(r.value=!0),l.value=m.selectedValues[0]}},null),createVNode("div",{class:styles$m.button,onClick:()=>{r.value?e("close",l.value):e("close",o.value)}},null)])])])}}}),instruments={"Acoustic Grand Piano":"大钢琴","Bright Acoustic Piano":"明亮的钢琴","Electric Grand Piano":"电钢琴","Rhodes Piano":"柔和的电钢琴","Chorused Piano":"加合唱效果的电钢琴",Harpsichord:"羽管键琴",Clavichord:"科拉维科特琴",Celesta:"钢片琴",Glockenspiel:"钢片琴","Music box":"八音盒",Vibraphone:"颤音琴",Marimba:"马林巴",Xylophone:"木琴","Tubular Bells":"管钟",Dulcimer:"大扬琴","Hammond Organ":"击杆风琴","Percussive Organ":"打击式风琴","Rock Organ":"摇滚风琴","Church Organ":"教堂风琴","Reed Organ":"簧管风琴",Accordian:"手风琴",Harmonica:"口琴","Tango Accordian":"探戈手风琴","Acoustic Guitar":"钢弦吉他","Electric Guitar":"闷音电吉他","Overdriven Guitar":"加驱动效果的电吉他","Distortion Guitar":"加失真效果的电吉他","Guitar Harmonics":"吉他和音","Acoustic Bass":"大贝司","Electric Bass":"电贝司","Fretless Bass":"无品贝司","Slap Bass":"掌击","Synth Bass":"电子合成",Violin:"小提琴",Viola:"中提琴",Cello:"大提琴",Contrabass:"低音大提琴","Tremolo Strings":"弦乐群颤音音色","Pizzicato Strings":"弦乐群拨弦音色","Orchestral Harp":"竖琴",Timpani:"定音鼓","String Ensemble":"弦乐合奏音色","Synth Strings":"合成弦乐合奏音色","Choir Aahs":"人声合唱","Voice Oohs":"人声","Synth Voice":"合成人声","Orchestra Hit":"管弦乐敲击齐奏",Trumpet:"小号",Trombone:"长号",Tuba:"大号","Muted Trumpet":"加弱音器小号","French Horn":"法国号","Brass Section":"铜管组","Synth Brass":"合成铜管音色","Soprano Sax":"高音萨克斯管","Alto Sax":"中音萨克斯管","Tenor Sax":"次中音萨克斯管","Baritone Sax":"低音萨克斯管",Oboe:"双簧管","English Horn":"英国管",Bassoon:"巴松","Soprano Saxophone":"高音萨克斯管","Alto Saxophone":"中音萨克斯管","Tenor Saxophone":"次中音萨克斯管","Baritone Saxophone":"低音萨克斯管",Piccolo:"短笛",Flute:"长笛",Recorder:"竖笛","Soprano Recorder":"高音竖笛","Pan Flute":"排箫","Bottle Blow":"瓶木管",Whistle:"口哨声",Ocarina:"陶笛",Lead:"合成主音","Lead lead":"合成主音","Pad age":"合成音色",Pad:"合成音色",FX:"合成效果 科幻",Sitar:"西塔尔",Banjo:"班卓琴",Shamisen:"三昧线",Koto:"十三弦筝",Kalimba:"卡林巴",Bagpipe:"风笛",Fiddle:"民族提琴",Shanai:"山奈","Tinkle Bell":"叮当铃",Agogos:"阿戈戈铃","Steel Drums":"钢鼓","Taiko Drum":"太鼓","Melodic Toms":"嗵嗵鼓","Synth Drums":"合成鼓","Reverse Cymbals":"反向镲","Agogo Bells":"阿戈戈铃","Taiko Drums":"太鼓",Bongos:"邦戈鼓","Bongo Bell":"邦戈铃",Congas:"康加鼓",Guiro:"刮壶","Guitar Fret Noise":"吉他换把杂音","Breath Noise":"呼吸声",Seashore:"海浪声","Bird Tweet":"鸟鸣","Telephone Ring":"电话铃",Helicopter:"直升机",Applause:"鼓掌声",Gunshot:"枪声","Acoustic Bass Drum":"大鼓","Bass Drum":"大鼓","Side Drum":"小鼓鼓边","Acoustic Snare":"小鼓","Hand Claps":"拍手","Electric Snare":"小鼓","Low Floor Tom":"低音嗵鼓","Closed Hi-Hat":"闭合踩镲","High Floor Tom":"高音落地嗵鼓","Pedal Hi-Hat":"脚踏踩镲","Low Tom":"低音嗵鼓","Open Hi-Hat":"开音踩镲","Low-Mid Tom":"中低音嗵鼓","Hi Mid Tom":"高音鼓","Crash Cymbals":"对镲","High Tom":"高音嗵鼓","Ride Cymbals":"叮叮镲","Chinese Cymbals":"中国镲","Ride Bell":"圆铃",Tambourine:"铃鼓","Splash Cymbal":"溅音镲",Cowbell:"牛铃","Crash Cymbal":"强音钹","Vibra-Slap":"颤音器","Ride Cymbal":"打点钹","Hi Bongo":"高音邦戈鼓","Low Bongo":"低音邦戈鼓","Mute Hi Conga":"弱音高音康加鼓","Open Hi Conga":"强音高音康加鼓","Low Conga":"低音康加鼓","High Timbale":"高音天巴鼓","Low Timbale":"低音天巴鼓","High Agogo":"高音阿戈戈铃","Low Agogo":"低音阿戈戈铃",Cabasa:"卡巴萨",Maracas:"沙锤","Short Whistle":"短口哨","Long Whistle":"长口哨","Short Guiro":"短刮壶","Long Guiro":"长刮壶",Claves:"响棒","Hi Wood Block":"高音木鱼","Low Wood Block":"低音木鱼","Mute Triangle":"弱音三角铁","Open Triangle":"强音三角铁","Drum Set":"架子鼓","Hulusi flute":"葫芦丝",Melodica:"口风琴",Nai:"口风琴","Snare Drum":"小军鼓","Horn in F":"圆号",Triangle:"三角铁",Vibrato:"颤音琴","Suspend Cymbals":"吊镲","Suspended Cymbals":"吊镲","Tom-Toms":"嗵嗵鼓",Bell:"铃铛",Bells:"铃铛","Alto Clarinet":"中音单簧管","Bass Clarinet":"低音单簧管",Clarinet:"单簧管",Cornet:"短号",Euphonium:"上低音号","crash cymbals":"对镲",Castanets:"响板",Shaker:"沙锤","Mark tree":"音树",Chimes:"管钟","Mark Tree":"音树","Tom-toms":"嗵嗵鼓","Hi-Hat":"踩镲","Sleigh Bells":"雪橇铃",Flexatone:"弹音器","Brake drum":"闸鼓",Gong:"锣","concert tom":"音乐会嗵嗵鼓","brake drum":"车轮鼓","finger cymbal":"指钹","ride cymbal":"叮叮镲","Concert Toms":"音乐会嗵嗵鼓",Vibraslap:"弹音器","Wood Blocks":"木鱼","Temple Blocks":"木鱼","Wood Block":"木鱼","Field Drum":"军鼓","Quad-Toms":"筒鼓",Quads:"筒鼓","Drums set":"架子鼓","High Bongo":"邦戈",Timbales:"天巴鼓",Cymbal:"镲",Cymbals:"镲"},getInstrumentName=(i="")=>{if(i=i.toLocaleLowerCase().replace(/ /g,""),!i)return"";for(let e in instruments)if(e.toLocaleLowerCase().replace(/ /g,"").includes(i))return instruments[e];for(let e in instruments){const r=e.toLocaleLowerCase().replace(/ /g,"");if(i.includes(r))return instruments[e]}return""},sortMusical=(i,e)=>{let r=0;switch(i){case"长笛":r=1;break;case"单簧管":r=2;break;case"中音单簧管":r=3;break;case"低音单簧管":r=4;break;case"高音萨克斯风":r=5;break;case"中音萨克斯风":r=6;break;case"次中音萨克斯风":r=7;break;case"低音萨克斯风":r=8;break;case"小号":r=9;break;case"长号":r=10;break;case"圆号":r=11;break;case"大号":r=12;break;case"上低音号":r=13;break;default:r=e+14;break}return r};function useDrag$1(i,e,r,s){const o=ref({top:-1,left:-1}),a=s+e;watch(r,()=>{r.value?(c(),window.addEventListener("resize",u),nextTick(()=>{const d=document.querySelector(`.${e}`);d&&i.map(g=>{const m=document.querySelector(`.${g}`);m&&(m.style.cursor="move",drag$1(m,d,o))})})):(window.removeEventListener("resize",u),setCachePos$1(a,o.value))});const l=computed(()=>o.value.left===-1&&o.value.top===-1?{}:{position:"fixed",left:`${o.value.left}px`,top:`${o.value.top}px`,transform:"initial",transformOrigin:"initial",margin:"initial",transition:"initial"});function c(){const d=getCachePos$1(a);d&&(o.value=d,nextTick(()=>{u()}))}function u(){if(o.value.left===-1&&o.value.top===-1)return;const d=document.querySelector(`.${e}`);if(!d)return;const g=d.getBoundingClientRect(),m=document.documentElement.clientWidth,y=document.documentElement.clientHeight,{top:b,left:A}=o.value,S=m-g.width,E=y-g.height;let x=A,P=b;const C=0,T=0;x=x<C?C:x>S?S:x,P=P<T?T:P>E?E:P,o.value={top:P,left:x}}return{pos:o,styleDrag:l}}function drag$1(i,e,r){function s(o){const a=e.getBoundingClientRect(),l=o.clientX,c=o.clientY,u=document.documentElement.clientWidth,d=document.documentElement.clientHeight,g=u-a.width,m=d-a.height,y=0,b=0;function A(E){let x=a.left+(E.clientX-l),P=a.top+(E.clientY-c);x=x<y?y:x>g?g:x,P=P<b?b:P>m?m:P,r.value={top:P,left:x}}function S(){document.removeEventListener("mousemove",A),document.removeEventListener("mouseup",S)}document.addEventListener("mousemove",A),document.addEventListener("mouseup",S)}i.addEventListener("mousedown",s)}const localStorageName$1="dragCachePos";function getCachePos$1(i){const e=localStorage.getItem(localStorageName$1);if(e)try{return JSON.parse(e)[i]}catch(r){return null}return null}function setCachePos$1(i,e){const r=localStorage.getItem(localStorageName$1);let s={};if(r)try{s=JSON.parse(r)}catch(o){}s[i]=e,localStorage.setItem(localStorageName$1,JSON.stringify(s))}const dragBom$1="_dragBom_u8a8z_1",box$2="_box_u8a8z_9",right$1="_right_u8a8z_18",guide$1="_guide_u8a8z_23",guideBg$1="_guideBg_u8a8z_39",guideDone$1="_guideDone_u8a8z_47",guideTop$1="_guideTop_u8a8z_58",guideLeft$1="_guideLeft_u8a8z_66",guideRight$1="_guideRight_u8a8z_75",styles$l={dragBom:dragBom$1,box:box$2,right:right$1,guide:guide$1,guideBg:guideBg$1,guideDone:guideDone$1,guideTop:guideTop$1,guideLeft:guideLeft$1,guideRight:guideRight$1},Dragbom$1=defineComponent({name:"dragBom",emits:["guideDone"],props:{showGuide:{type:Boolean,default:!1}},setup(i,{emit:e}){const r=reactive({guidePos:"bottom"}),s=()=>{var g,m,y;const o=document.documentElement.clientHeight||document.body.clientHeight;document.documentElement.clientWidth||document.body.clientWidth;const a=((g=document.querySelector(".bom_guide"))==null?void 0:g.clientHeight)||0,l=((m=document.querySelector(".bom_guide"))==null?void 0:m.clientWidth)||0,c=(y=document.querySelector(".bom_drag"))==null?void 0:y.getBoundingClientRect(),u=(c==null?void 0:c.top)||0,d=(c==null?void 0:c.left)||0;o-u>a?r.guidePos="bottom":r.guidePos=d>l?"left":"right"};return onMounted(()=>{nextTick(()=>{setTimeout(()=>{s()},0)})}),()=>createVNode(Fragment,null,[createVNode("div",{class:[styles$l.dragBom,"bom_drag"]},[createVNode("div",{class:styles$l.box},null),createVNode("div",{class:[styles$l.box,styles$l.right]},null)]),i.showGuide&&createVNode("div",{class:[styles$l.guide,r.guidePos==="left"&&styles$l.guideLeft,r.guidePos==="right"&&styles$l.guideRight,"bom_guide"],onClick:()=>e("guideDone")},[createVNode("div",{class:styles$l.guideBg},null),createVNode("div",{class:styles$l.guideDone},null)])])}}),toggleMusicSheet=reactive({show:!1,toggle:(i=!0)=>{toggleMusicSheet.show=i}}),ToggleMusicSheet=defineComponent({name:"ToggleMusicSheet",setup(){var u,d;const i=getQuery(),e=computed(()=>{let g=state$1.partListNames||[];return g=g.filter(y=>{var b;return!((b=y==null?void 0:y.toLocaleUpperCase())!=null&&b.includes("COMMON"))}),g.map((y,b)=>{const A=!!(state$1.canSelectTracks.length==0||state$1.canSelectTracks.includes(y)),S=getInstrumentName(y),E=sortMusical(S,b);return{text:y+(S?`(${S})`:""),value:b,sortId:E,canselect:A}}).filter(y=>y.canselect).sort((y,b)=>y.sortId-b.sortId)}),r=computed(()=>{var g;if(e&&e.value.length){const m=((g=e.value.find(y=>y.value==state$1.partIndex))==null?void 0:g.value)||0;return console.log(3333,m),m}else return 0}),s=g=>{if(state$1.partIndex===g)return;togglePlay("paused"),postMessage({api:"cloudDestroy"}),postMessage({api:"cloudLoading",content:{show:!0,type:"fullscreen"}});const m=location.origin+location.pathname+"?"+queryString.stringify({...i,behaviorId:sessionStorage.getItem("behaviorId")||"",_t:new Date().valueOf(),"part-index":g});console.log(m),location.href=m},o="switchBoxClass_drag",a=(u=storeData.user)!=null&&u.id?String((d=storeData.user)==null?void 0:d.id):"",l=state$1.platform!==IPlatform.PC?{styleDrag:{value:null}}:useDrag$1([`${o} .top_drag`,`${o} .bom_drag`],o,toRef(toggleMusicSheet,"show"),a),c=async()=>{state$1.guideInfo.teacherDrag=!0;try{const g=await setGuidance({guideTag:"guideInfo",guideValue:JSON.stringify(state$1.guideInfo)})}catch(g){console.log(g)}};return()=>createVNode(Popup,{show:toggleMusicSheet.show,"onUpdate:show":g=>toggleMusicSheet.show=g,class:"popup-custom van-scale center-closeBtn switchBoxClass_drag",transition:"van-scale",teleport:"body",style:l.styleDrag.value,"overlay-style":{background:"rgba(0, 0, 0, 0.3)"}},{default:()=>{var g;return[createVNode(ChoosePartName,{partIndex:r.value||0,partListNames:e.value,onClose:m=>{console.log("🚀 ~ value:",m),toggleMusicSheet.show=!1,m!==void 0&&s(m)}},null),state$1.platform===IPlatform.PC&&createVNode(Dragbom$1,{showGuide:!((g=state$1.guideInfo)!=null&&g.teacherDrag),onGuideDone:c},null)]}})}}),icon_btn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMoAAABKCAMAAADNCztCAAAC+lBMV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tRDGjut1uFbhHwA+NZ1GGz1QqPMJO6adoep25WazzeRGuW4TzFy/iwmXArbgNlLkL4WKNYP4S93xWJomTQzswiVlHwqciEQk0sFSjC2Q4JA4V4Uzc2EFzSIKCbDo0qdTaZb1leSkiFxUqRhfUlIWL5ACGUMYP0ewC8o9Zk2nsucAFN3c+8pnwsRh8YGEqsEK4yKRiWWAwmRijk2eREdD59MtztL7l/sW5mHSgIQzF7IJYpELhXZxGkwFKJ5BkCqZROoBcLJpFFIpEs5jQG0UiF4EIV12DlE4rIAbmTqE0Ngm5pD7piyRcFJew6/lQZESsXLze8TFKp8wlJmZnUNr+O3Hsw0RkY0aYCV9hfIFJwQ34pki8P9spzZhNOPLgQtuewSVlKlZtr6RKRfm/VNK0vcfj7eymMMkjAvJQYzTWGM+FMxEO+LwMZ4JMVFMkWGXWJmkOFYjU/YxRVBdMRORnU/D6I2QqBBuYAJnygog66rb3eEQuzoSHty76moLsfJKCzKVUl4mWllZUVFi9d7n4TLB43KbGh4VbslMMPsxiWMTbChGwNJOkJjeLMgZePmc2ST5+aPgt9+IAd66oKpYRTMVmYIdlisXD4wV1E6sHKSMrl6QlfwnV6fjS3PqstAJCAvwmMNjjMijhTkJhN5aOjBuoA4XsHgZfvXXbOxvbBjqozpJ8YsWMbJpgqL+7rXrnbjF72b0Xi2cnu1JxhN1HsJLZdWQXVjqqm9u6+4doguwZRIYZU+kYZypEJMmbnkHHLBnT88hoKJiVsziLjjmyFufMKiD/Qf7MZTkTpo8bE0yfkLNsZtpO/wtEPqpW49UVJQAAAABJRU5ErkJggg==",container$2="_container_jp744_1",close$1="_close_jp744_11",title$6="_title_jp744_18",content$3="_content_jp744_23",btns$3="_btns_jp744_32",btn$4="_btn_jp744_32",btnCancel="_btnCancel_jp744_46",styles$k={container:container$2,close:close$1,title:title$6,content:content$3,btns:btns$3,btn:btn$4,btnCancel},TheVip=defineComponent({name:"TheVip",setup(){const i={dev:"https://dev.kt.colexiu.com",test:"https://test.lexiaoya.cn",online:"https://kt.colexiu.com"};let e=location.origin.includes("//dev")?"dev":location.origin.includes("//test")?"test":location.origin.includes("//online")||location.origin.includes("//kt")||location.origin.includes("//mec")?"online":"dev";const r=()=>{getQuery().modelType?api_goback():api_back()};return()=>createVNode(Popup,{teleport:"body",closeOnClickOverlay:!1,class:["popup-custom"],show:!0},{default:()=>[createVNode("div",{class:styles$k.container},[createVNode("div",{class:styles$k.content},[createTextVNode("立即开通"),createVNode("span",{style:{color:"#FF5A56"}},[createTextVNode('"乐器AI学练工具"')]),createTextVNode("服务,解锁更多专属权益,享受全新学习体验!")]),createVNode("div",{class:styles$k.btns},[createVNode("img",{class:[styles$k.btn,styles$k.btnCancel],src:icon_btn_cancel,onClick:r},null),createVNode("img",{class:styles$k.btn,src:icon_btn,onClick:()=>{postMessage$1({api:"openWebView",content:{url:`${location.origin.includes("192")?"https://test.lexiaoya.cn":i[e]}/classroom-app/#/member-center`,orientation:1}})}},null)])])]})}}),ModeView=defineComponent({name:"modeView",setup(){const i=getQuery(),e=reactive({showPC:!1,showStudent:!1,showVip:!1}),r=()=>{storeData.platformType!=="STUDENT"||storeData.user.clientType!=="STUDENT"?e.showPC=!0:storeData.user.vipMember||state$1.paymentType==="FREE"||i.showCourseMember==="true"?e.showStudent=!0:e.showVip=!0},s=async()=>{const a=await studentQueryUserInfo(),l=(a==null?void 0:a.data)||{};storeData.user.vipMember=l.vipMember,storeData.user.vipMember&&(e.showVip=!1,r())},o=usePageVisibility();return watch(()=>o.value,a=>{if(a==="visible"){if(storeData.user.vipMember)return;console.log("页面显示"),s()}}),onMounted(()=>{r()}),()=>createVNode("div",{class:[styles$r.modeView,headTopData.modeType!=="init"&&styles$r.hidden]},[createVNode("img",{src:backImg,class:styles$r.back,onClick:()=>{headTopData.modeType="show"}},null),createVNode("img",{src:nameImg,class:styles$r.name},null),createVNode("div",{class:[styles$r.modeBox,(!state$1.isPercussion&&!state$1.enableEvaluation||state$1.isPercussion&&state$1.enableEvaluation||state$1.isPercussion&&!state$1.enableEvaluation)&&styles$r.twoModeBox]},[createVNode("img",{src:lxImg,class:styles$r.modeImg,onClick:()=>headTopData.handleChangeModeType("practise")},null),!state$1.isPercussion&&createVNode("img",{src:glImg,class:styles$r.modeImg,onClick:()=>headTopData.handleChangeModeType("follow")},null),state$1.enableEvaluation&&createVNode("img",{src:pcImg,class:styles$r.modeImg,onClick:()=>headTopData.handleChangeModeType("evaluating")},null)]),e.showVip&&createVNode(TheVip,null,null)])}}),popup="_popup_1mmv3_1",tabs="_tabs_1mmv3_4",wrap="_wrap_1mmv3_60",searchBox="_searchBox_1mmv3_64",isFocus="_isFocus_1mmv3_73",searchBtn="_searchBtn_1mmv3_99",item$1="_item_1mmv3_120",itemActive="_itemActive_1mmv3_128",content$2="_content_1mmv3_133",name$1="_name_1mmv3_133",titleImg="_titleImg_1mmv3_136",iconType="_iconType_1mmv3_145",VIP="_VIP_1mmv3_154",detail$3="_detail_1mmv3_163",usedNum="_usedNum_1mmv3_168",author$1="_author_1mmv3_187",noData="_noData_1mmv3_193",styles$j={popup,tabs,wrap,searchBox,isFocus,searchBtn,item:item$1,itemActive,content:content$2,name:name$1,titleImg,iconType,VIP,detail:detail$3,usedNum,author:author$1,noData},searImg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAdVBMVEUAAAApov8pov8kpP8pov4oov8po/8po/8pov4qov8oov8po/8pov4pov8po/8qo/4oov4qo/8po/8pov8ppP8npP8qpf8iof8uov8oov4pov8pov4pov4qov8qov8ppP8oof8ppf8noP8oo/8np/8rnP8pov/KqiHjAAAAJnRSTlMA+u4c3NBJrogyxWj12aOZko2CdlsjGA8L5N7UtLKZcF8+OzoaEmDU9ZIAAAEBSURBVCjPdZDZtsIgDEUD1Q5QO1d7na8D//+JHii0CMv9ElY2SQjk+G8FZ+XxcntRSLpVDnbdf6kpUz7l4LlkLttWeZNxc8zXOu1YPfoDeid1z7+CFjp9N7VXtUvIQyKzm49ow1DnU8NKsx8ONX3zxrNOBFrIkQJymxTYgUKekHdEdKgiOUF2iEyvHIGSBqHUIQIlLcJRqSxye/tJF6V4JAfIFPFmYsAZH3NAfLF4l4dys6722SuHHVLFPLzEUfpOIFEt00H9XnqiDoXrTwKePye0Gc7KsEmc7dmc4SaGNkWrlarYeBbIkzUsw7gksDTeu6btU727tYJiFsvppxVcfgBP6SNcJ6sEZwAAAABJRU5ErkJggg==",huoimg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAWCAMAAAD+dOxOAAAAxlBMVEUAAAD/cWr/hV7/c2f/j1n/gmH/eV7/eGP/f1//dmT/cGf/emL/d2T/cGf/fWL/kFj/gF//cWj/h1z/fmH/gV3/dmT/jF3/jFr/iF3/e2L/bGj/iFv/gmD/hV3/dmT/jFr/e2P/iFz/c2b/hl3/eGX/fWH/kFn/bWf/cWb/lFf/cGf/bGj/b2f/jVn/dGb/gGH/iVz/f2D/l1n/aWn/hV7/e2H/hF3/fmD/iFv/eGP/gV//dmT/b2f/dGT/cmb/kFf/i1r/jVkmmW9mAAAANXRSTlMACZ1CLRsT+vr01M/FppmLg3NhOScOBfz48O3t7OTi3dzcysK5sbGvqKKPhIN5bmxsSkI/F17JNJMAAACvSURBVBjTZc5VEgJBDATQXsXd3d1lBRgYuP+lyGQpdineT3dS+QjYcWHihyVlDlGmlHKKiM2LRG96T1Irf+e9z3TYJpRS3Wcta1AEqXTcj5FLi6qdd0M6cNDb11D8jGzci9oh5XkOoc45QcNh6XyQfcQuzECWM4buTRkD1ZQqCczvJFFW/6mWhvEgBShDalsgI4SwoSyFSGqANhMCbC2SFpdC0+DMrDQEKicOHv+8AZLzJUTMW2tcAAAAAElFTkSuQmCC",List=defineComponent({name:"TheMusicList-list",props:{recentFlag:{type:Boolean,default:!1}},setup(i){const e=reactive({name:"",page:1,rows:20,musicSheetCategoriesId:state$1.bizMusicCategoryId,recentFlag:i.recentFlag?!0:null,excludeMusicId:i.recentFlag?null:state$1.examSongId}),r=reactive({isFocus:!1,list:[],finished:!1,loading:!1,hasNext:!0}),s=async()=>{var l,c,u,d;if(r.hasNext){r.loading=!0;try{const g=await api_musicSheetPage({...e});(g==null?void 0:g.code)===200&&Array.isArray((l=g.data)==null?void 0:l.rows)&&(r.list=[...r.list,...g.data.rows]),r.finished=((u=(c=g.data)==null?void 0:c.rows)==null?void 0:u.length)<e.rows,r.hasNext=((d=g.data)==null?void 0:d.total)>r.list.length}catch(g){console.log(g)}r.loading=!1}};function o(){e.page=1,e.rows=20,r.list=[],r.finished=!1,r.loading=!1,r.hasNext=!0,s()}watch(()=>i.recentFlag,()=>{r.hasNext=!0}),onMounted(()=>{s()});const a=l=>{l.id!==state$1.examSongId&&(togglePlay("paused"),postMessage$1({api:"cloudLoading",content:{show:!0,type:"fullscreen"}}),location.href=location.origin+location.pathname+"?"+queryString.stringify({id:l.id,_t:Date.now()}))};return()=>createVNode("div",{class:styles$j.wrap},[createVNode("div",{class:[styles$j.searchBox,r.isFocus&&styles$j.isFocus]},[createVNode("img",{src:searImg},null),createVNode(Field,{placeholder:"请输入曲目名称",modelValue:e.name,"onUpdate:modelValue":l=>e.name=l,autocomplete:"off",onFocus:()=>{r.isFocus=!0},onBlur:()=>{r.isFocus=!1}},null),createVNode("div",{class:styles$j.searchBtn,onClick:o},[createTextVNode("搜索")])]),createVNode(List$1,{loading:r.loading,finished:r.finished,immediateCheck:!1,onLoad:()=>{e.page++,s()}},{default:()=>[r.list.map(l=>createVNode("div",{class:[styles$j.item,state$1.examSongId==l.id&&styles$j.itemActive],onClick:()=>a(l)},[createVNode("div",{class:styles$j.titleImg},[createVNode("i",{class:[styles$j.iconType,styles$j[l.paymentType]]},null),createVNode(Image$1,{src:l.titleImg,class:styles$j.img},null)]),createVNode("div",{class:styles$j.content},[createVNode("p",{class:styles$j.name},[l.musicSheetName]),createVNode("div",{class:styles$j.detail},[l.usedNum&&createVNode("div",{class:styles$j.usedNum},[createVNode("img",{src:huoimg},null),createVNode("div",null,[l.usedNum])]),l.composer&&createVNode("p",{class:styles$j.author},[l.composer])])])])),!r.loading&&r.list.length===0&&createVNode("div",{class:styles$j.noData},[createTextVNode("暂无数据")])]})])}}),query$1=getQuery(),isMusicList=computed(()=>!(state$1.playState=="play"||followData.start||evaluatingData.startBegin||query$1.workRecord||query$1.modelType||state$1.platform===IPlatform.PC||query$1.isCbs)),musicListShow=ref(!1),TheMusicList=defineComponent({name:"TheMusicList",setup(){return()=>createVNode(Fragment,null,[createVNode(Popup,{class:styles$j.popup,position:"left",show:musicListShow.value,"onUpdate:show":i=>musicListShow.value=i,round:!0,"overlay-style":{background:"rgba(0, 0, 0, 0.3)"}},{default:()=>[createVNode("div",{class:styles$j.tabs},[createVNode(Tabs,null,{default:()=>[createVNode(Tab,{title:"其他曲谱"},{default:()=>[createVNode(List,null,null)]}),createVNode(Tab,{title:"最近练习"},{default:()=>[createVNode(List,{recentFlag:!0},null)]})]})])]})])}}),headTopData=reactive({modeType:"",showBack:!0,settingMode:!1,handleChangeModeType(i){if(!(i==="evaluating"&&!state$1.enableEvaluation)&&!(i==="follow"&&state$1.isPercussion)){if(i==="follow"&&metronomeData.cursorMode===2&&(metronomeData.cursorMode=1),i==="evaluating"){if(!evaluatingData.jsonLoadDone){evaluatingData.jsonLoading=!0,state$1.audioDone&&showToast("资源加载中,请稍后");return}if(state$1.platform===IPlatform.PC){showConfirmDialog({className:"modalTip",title:"温馨提示",message:"该功能暂未开放,敬请期待!",showCancelButton:!1});return}state$1.isSingleLine||(state$1.isSingleLine=!0,refreshMusicSvg()),state$1.playIngSpeed=state$1.originSpeed,handleStartEvaluat()}else i==="follow"&&(state$1.isSingleLine||(state$1.isSingleLine=!0,refreshMusicSvg()),smoothAnimationState.isShow.value=!1,toggleFollow());headTopData.modeType="show"}}}),headData=reactive({speedShow:!1,musicTypeShow:!1});let resetBtn$2;function handlerModeChange(i,e,r){const s=modeChangeHandleTimes(i,e);if(s){try{metronomeData.metro.calculation(state$1.times)}catch(o){}console.log("重新之后的times",state$1.times,state$1.fixtime)}(s||r)&&(handleRessetState(),resetBtn$2&&(resetBtn$2.value.display=!1))}function modeChangeHandleTimes(i,e){const r=state$1.playType,s=state$1.playSource,{notBeatFixtime:o,xmlMp3BeatFixTime:a,difftime:l}=state$1.times[0],{isOpenMetronome:c,isSingOpenMetronome:u}=state$1;if(i==="play"&&r==="sing"){if(s==="mingSong")return state$1.fixtime=l,state$1.times.map(d=>{d.time=d.xmlNoteTime+l,d.endtime=d.xmlNoteEndTime+l,d.fixtime=l}),!0;if(c&&!u)return state$1.fixtime=o,state$1.times.map(d=>{d.time=d.notBeatTime,d.endtime=d.notBeatEndTime,d.fixtime=o}),!0;if(!c&&u)return state$1.fixtime=o+a,state$1.times.map(d=>{d.time=d.notBeatTime+a,d.endtime=d.notBeatEndTime+a,d.fixtime=o+a}),!0}else if(i==="sing"&&r==="play"){if(e==="mingSong")return c?(state$1.fixtime=o+a,state$1.times.map(d=>{d.time=d.notBeatTime+a,d.endtime=d.notBeatEndTime+a,d.fixtime=o+a}),!0):(state$1.fixtime=o,state$1.times.map(d=>{d.time=d.notBeatTime,d.endtime=d.notBeatEndTime,d.fixtime=o}),!0);if(c&&!u)return state$1.fixtime=o+a,state$1.times.map(d=>{d.time=d.notBeatTime+a,d.endtime=d.notBeatEndTime+a,d.fixtime=o+a}),!0;if(!c&&u)return state$1.fixtime=o,state$1.times.map(d=>{d.time=d.notBeatTime,d.endtime=d.notBeatEndTime,d.fixtime=o}),!0}else if(i==="sing"&&r==="sing"){if(s==="mingSong")return state$1.fixtime=l,state$1.times.map(d=>{d.time=d.xmlNoteTime+l,d.endtime=d.xmlNoteEndTime+l,d.fixtime=l}),!0;if(e==="mingSong")return u?(state$1.fixtime=o+a,state$1.times.map(d=>{d.time=d.notBeatTime+a,d.endtime=d.notBeatEndTime+a,d.fixtime=o+a}),!0):(state$1.fixtime=o,state$1.times.map(d=>{d.time=d.notBeatTime,d.endtime=d.notBeatEndTime,d.fixtime=o}),!0)}return!1}const HeaderTop=defineComponent({name:"header-top",emits:["close"],setup(i,{emit:e}){var V,D;const r=getQuery(),s=ref(!1),o=ref(!1),a=computed(()=>state$1.playState==="play"?{display:!0,disabled:!0}:evaluatingData.startBegin||followData.start?{display:!0,disabled:!0}:{display:!0,disabled:!1}),l=computed(()=>state$1.playState==="play"?{display:!0,disabled:!0}:evaluatingData.startBegin||followData.start?{display:!0,disabled:!0}:{disabled:!1,display:!0}),c=computed(()=>headTopData.modeType!=="show"||state$1.modeType==="follow"?{display:!1,disabled:!0}:state$1.modeType==="evaluating"||state$1.playState==="play"?{display:!0,disabled:!0}:{disabled:!1,display:!0}),u=computed(()=>headTopData.modeType!=="show"?{display:!1,disabled:!0}:state$1.playState==="play"?{display:!0,disabled:!0}:{disabled:!1,display:!0}),d=computed(()=>state$1.isShowFingering?headTopData.modeType!=="show"||!state$1.fingeringInfo.name||["evaluating","follow"].includes(state$1.modeType)?{display:!1,disabled:!0}:state$1.playState==="play"?{display:!0,disabled:!0}:{disabled:!1,display:!0}:{display:!0,disabled:!0});computed(()=>headTopData.modeType!=="show"||state$1.modeType!=="evaluating"?{display:!1,disabled:!0}:state$1.playState==="play"?{display:!0,disabled:!0}:{disabled:!1,display:!0});const g=computed(()=>headTopData.modeType!=="show"||["evaluating","follow"].includes(state$1.modeType)?{display:!1,disabled:!0}:state$1.playState==="play"?{display:!0,disabled:!0}:{disabled:!1,display:!0}),m=computed(()=>{if(headTopData.modeType!=="show"||state$1.modeType==="follow")return{display:!1,disabled:!1};if(state$1.modeType==="evaluating")return{display:!1,disabled:!0};if(!state$1.isAppPlay)if(state$1.playType==="play"){if(state$1.music&&state$1.accompany)return{display:!0,disabled:!1}}else{if(state$1.playState==="play")return{display:!0,disabled:!0};let F=0;if(state$1.fanSong&&F++,state$1.banSong&&F++,state$1.mingSong&&F++,F>1)return{display:!0,disabled:!1}}return{disabled:!0,display:!0}}),y=computed(()=>{if(headTopData.modeType!=="show"||state$1.modeType==="follow")return{display:!1,disabled:!1};if(state$1.modeType==="evaluating")return{display:!1,disabled:!0};if(state$1.playState==="play")return{display:!0,disabled:!0};if(!state$1.isAppPlay){let F=0;state$1.music&&F++,state$1.accompany&&F++;let N=0;if(state$1.fanSong&&N++,state$1.banSong&&N++,state$1.mingSong&&N++,N>0&&F>0)return{display:!0,disabled:!1}}return{disabled:!0,display:!0}}),b=computed(()=>headTopData.modeType!=="show"||!headTopData.showBack?{display:!1,disabled:!1}:followData.start||evaluatingData.startBegin?{display:!0,disabled:!0}:{display:!0,disabled:!1}),A=computed(()=>headTopData.modeType!=="show"?{display:!1,disabled:!1}:["evaluating","follow"].includes(state$1.modeType)?{display:!1,disabled:!0}:state$1.isAppPlay&&state$1.midiPlayIniting?{display:!0,disabled:!0}:{display:!0,disabled:!1});resetBtn$2=computed(()=>{if(headTopData.modeType!=="show")return{display:!1,disabled:!1};if(["evaluating","follow"].includes(state$1.modeType))return{display:!1,disabled:!0};if(state$1.playState==="play")return{display:!1,disabled:!0};const F=getAudioCurrentTime();return state$1.isAppPlay&&state$1.midiPlayIniting?{display:!1,disabled:!0}:F?{display:!0,disabled:!1}:{display:!1,disabled:!0}});const S=computed(()=>l.value.display&&c.value.display&&g.value.display&&m.value.display&&b.value.display&&s.value),E=computed(()=>l.value.display&&c.value.display&&g.value.display&&m.value.display&&b.value.display&&o.value),x=computed(()=>!!(storeData.user.vipMember||state$1.paymentType==="FREE"||r.showCourseMember==="true")),P=browser(),C=()=>{if(HANDLE_WORK_ADD(),!storeData.isApp){window.close();return}if((P.iPhone||P.ios)&&r.workRecord){setTimeout(()=>{api_back()},550);return}api_back()},T=()=>{r.workRecord||(state$1.defaultModeType==1?(headTopData.handleChangeModeType("practise"),(state$1.platform===IPlatform.PC||state$1.isPreView)&&(headTopData.showBack=!1)):r.modelType?(r.modelType==="practise"?headTopData.handleChangeModeType("practise"):r.modelType==="evaluating"&&headTopData.handleChangeModeType("evaluating"),headTopData.showBack=!1):setTimeout(()=>{headTopData.modeType="init"},500))},k=F=>{var N,K;((N=F==null?void 0:F.data)==null?void 0:N.api)==="setPlayState"&&togglePlay("paused","courseware"),((K=F==null?void 0:F.data)==null?void 0:K.api)==="imagePos"&&F!=null&&F.data.data&&(state$1.playBtnDirection=F.data.data==="right"?"right":"left",state$1.musicScoreBtnDirection=state$1.playBtnDirection)},I="settingBoxClass_drag",M=(V=storeData.user)!=null&&V.id?String((D=storeData.user)==null?void 0:D.id):"",R=state$1.platform!==IPlatform.PC?{styleDrag:{value:null}}:useDrag$1([`${I} .top_drag`,`${I} .bom_drag`],I,toRef(headTopData,"settingMode"),M);onMounted(()=>{T(),window.addEventListener("message",k),state$1.platform===IPlatform.PC?s.value=!0:o.value=!0}),onUnmounted(()=>{window.removeEventListener("message",k)}),watch(state$1.setting,()=>{console.log(state$1.setting,"state.setting"),store_legacy.set("musicscoresetting",state$1.setting)}),(async()=>{var N;let F=null;try{const K=await getGuidance({guideTag:"guideInfo"});K.data?F=JSON.parse((N=K.data)==null?void 0:N.guideValue)||null:F={},state$1.guideInfo=F}catch(K){console.log(K)}})();const _=async()=>{state$1.guideInfo.teacherDrag=!0;try{const F=await setGuidance({guideTag:"guideInfo",guideValue:JSON.stringify(state$1.guideInfo)})}catch(F){console.log(F)}};return()=>createVNode(Fragment,null,[createVNode("div",{class:[styles$r.headerTop],onClick:F=>{F.stopPropagation(),state$1.platform===IPlatform.PC&&window.parent.postMessage({api:"onAttendToggleMenu"},"*")}},[createVNode("div",{class:styles$r.headTopLeftBox},[createVNode("img",{src:iconBack,class:["headTopBackBtn",styles$r.img,!headTopData.showBack&&styles$r.hidenBack],onClick:C},null),state$1.modeType==="practise"&&smoothAnimationState.isShow.value?createVNode("div",{class:styles$r.title,onClick:()=>{isMusicList.value&&(musicListShow.value=!0)}},[createVNode(NoticeBar,{text:state$1.examSongName,background:"none"},null)]):createVNode("img",{src:listImg,class:[styles$r.img],onClick:()=>{isMusicList.value&&(musicListShow.value=!0)}},null)]),state$1.playType==="play"&&createVNode("div",{id:state$1.platform===IPlatform.PC?"teacherTop-0":"studnetT-0",style:{display:b.value.display?"":"none"},class:[styles$r.modeChangeBox,b.value.disabled&&styles$r.disabled],onClick:()=>{handleRessetState(),headTopData.modeType="init"}},[createVNode("img",{class:styles$r.img,src:iconMode},null),createVNode("div",{class:styles$r.title},[state$1.modeType==="practise"?"练习模式":state$1.modeType==="follow"?"跟练模式":state$1.modeType==="evaluating"?"评测模式":""])]),createVNode("div",{class:[styles$r.headRight],onClick:F=>{F.stopPropagation()}},[createVNode("div",{style:{display:y.value.display?"":"none"},class:[styles$r.btn,y.value.disabled&&styles$r.disabled],onClick:()=>{const F=state$1.playType,N=state$1.playSource;state$1.playType==="play"?(state$1.playType="sing",state$1.playSource=state$1.fanSong?"music":state$1.banSong?"background":"mingSong"):(state$1.playType="play",state$1.playSource=state$1.music?"music":"background"),handlerModeChange(F,N,!0)}},[createVNode("img",{style:{display:state$1.playType==="play"?"":"none"},class:styles$r.iconBtn,src:headImg("perform.png")},null),createVNode("img",{style:{display:state$1.playType==="play"?"none":""},class:styles$r.iconBtn,src:headImg("sing.png")},null),createVNode("span",null,[state$1.playType==="play"?"演奏":"演唱"])]),createVNode("div",{id:state$1.platform===IPlatform.PC?"teacherTop-1":"studnetT-1",style:{display:m.value.display?"":"none"},class:[styles$r.btn,m.value.disabled&&styles$r.disabled],onClick:()=>{const F=state$1.playType,N=state$1.playSource;state$1.playType==="play"?state$1.playSource=state$1.playSource==="music"?"background":"music":state$1.playSource==="music"?state$1.playSource=state$1.banSong?"background":"mingSong":state$1.playSource==="background"?state$1.playSource=state$1.mingSong?"mingSong":"music":state$1.playSource=state$1.fanSong?"music":"background",handlerModeChange(F,N)}},[createVNode("img",{style:{display:state$1.playSource==="music"?"":"none"},class:styles$r.iconBtn,src:state$1.playType==="play"?headImg("music.png"):headImg("music1.png")},null),createVNode("img",{style:{display:state$1.playSource==="background"?"":"none"},class:styles$r.iconBtn,src:state$1.playType==="play"?headImg("background.png"):headImg("background1.png")},null),createVNode("img",{style:{display:state$1.playSource==="mingSong"?"":"none"},class:styles$r.iconBtn,src:headImg("mingsong.png")},null),createVNode("span",null,[state$1.playSource==="music"?state$1.playType==="play"?"原声":"范唱":state$1.playSource==="background"?state$1.playType==="play"?"伴奏":"伴唱":"唱名"])]),createVNode("div",{id:state$1.platform===IPlatform.PC?"teacherTop-2":"studnetT-2",style:{display:g.value.display?"":"none"},class:[styles$r.btn,g.value.disabled&&styles$r.disabled],onClick:()=>handleChangeSection()},[createVNode("img",{style:{display:state$1.section.length===0?"":"none"},class:styles$r.iconBtn,src:headImg("section0.png")},null),createVNode("img",{style:{display:state$1.section.length===1?"":"none"},class:styles$r.iconBtn,src:headImg("section1.png")},null),createVNode("img",{style:{display:state$1.section.length===2?"":"none"},class:styles$r.iconBtn,src:headImg("section2.png")},null),createVNode("span",null,[createTextVNode("选段")])]),state$1.modeType!=="evaluating"&&createVNode(Fragment,null,[createVNode("div",{style:{display:u.value.display?"":"none"},class:[styles$r.btn,styles$r.metronomeBtn,u.value.disabled&&styles$r.disabled],onClick:async()=>{headData.speedShow=!headData.speedShow}},[createVNode("img",{style:{display:metronomeData.disable?"block":"none"},class:styles$r.iconBtn,src:headImg("tickon.png")},null),createVNode("img",{style:{display:metronomeData.disable?"none":"block"},class:styles$r.iconBtn,src:headImg("tickoff.png")},null),createVNode("span",{style:{whiteSpace:"nowrap"}},[createTextVNode("节拍")]),createVNode("div",{class:styles$r.speedCon},[createVNode("img",{src:headImg("speed.png")},null),createVNode("div",null,[state$1.speed])])]),createVNode(Popup,{show:headData.speedShow,"onUpdate:show":F=>headData.speedShow=F,class:"popup-custom van-scale center-closeBtn settingBoxClass_drag",transition:"van-scale",teleport:"body",style:R.styleDrag.value,"overlay-style":{background:"rgba(0, 0, 0, 0.3)"}},{default:()=>{var F;return[createVNode(Speed,null,null),state$1.platform===IPlatform.PC&&createVNode(Dragbom$1,{showGuide:!((F=state$1.guideInfo)!=null&&F.teacherDrag),onGuideDone:_},null)]}})]),state$1.musicRendered&&!r.lessonTrainingId&&!r.questionId&&state$1.isConcert&&createVNode("div",{class:[styles$r.btn,state$1.playState==="play"&&d.value.disabled&&styles$r.disabled],onClick:()=>{toggleMusicSheet.toggle(!0)}},[createVNode("img",{class:styles$r.iconBtn,src:headImg("shenggui.png")},null),createVNode("span",null,[createTextVNode("声轨")])]),createVNode("div",{id:state$1.platform===IPlatform.PC?"teacherTop-6":"studnetT-6",style:{display:a.value.display?"":"none"},class:[styles$r.btn,a.value.disabled&&styles$r.disabled],onClick:()=>headTopData.settingMode=!0},[createVNode("img",{class:styles$r.iconBtn,src:headImg("icon_menu.png")},null),createVNode("span",null,[createTextVNode("设置")])])])]),createVNode("div",{id:"studnetT-7",style:{display:A.value.display?"":"none"},class:[styles$r.playBtn,A.value.disabled&&styles$r.disabled,state$1.platform===IPlatform.PC&&state$1.musicScoreBtnDirection==="left"?styles$r.playLeftButton:state$1.platform===IPlatform.PC&&state$1.musicScoreBtnDirection==="right"?styles$r.playRightButton:""],onClick:()=>togglePlay()},[createVNode("div",{class:styles$r.btnWrap},[createVNode("img",{style:{display:state$1.playState==="play"?"none":""},class:styles$r.iconBtn,src:headImg("icon_play.png")},null),createVNode("img",{style:{display:state$1.playState==="play"?"":"none"},class:styles$r.iconBtn,src:headImg("icon_pause.png")},null),createVNode(Circle,{style:{opacity:state$1.playState==="play"?1:0},class:styles$r.progress,"stroke-width":80,currentRate:state$1.playProgress,rate:100,color:"#FFED78","layer-color":"rgba(0,0,0,0)"},null)])]),createVNode("div",{id:"tips-step-9",style:{display:resetBtn$2.value.display?"":"none"},class:[styles$r.resetBtn,resetBtn$2.value.disabled&&styles$r.disabled,state$1.platform===IPlatform.PC&&state$1.musicScoreBtnDirection==="left"?styles$r.pauseLeftButton:state$1.platform===IPlatform.PC&&state$1.musicScoreBtnDirection==="right"?styles$r.pauseRightButton:""],onClick:()=>handleResetPlay()},[createVNode("img",{class:styles$r.iconBtn,src:headImg("icon_reset.png")},null)]),createVNode(Popup,{show:headTopData.settingMode,"onUpdate:show":F=>headTopData.settingMode=F,class:"popup-custom van-scale center-closeBtn settingBoxClass_drag",transition:"van-scale",teleport:"body",style:R.styleDrag.value,"overlay-style":{background:"rgba(0, 0, 0, 0.3)"}},{default:()=>{var F;return[createVNode(Settting,null,null),state$1.platform===IPlatform.PC&&createVNode(Dragbom$1,{showGuide:!((F=state$1.guideInfo)!=null&&F.teacherDrag),onGuideDone:_},null)]}}),createVNode(ModeView,null,null),S.value&&!r.isCbs&&x.value&&createVNode(TeacherTop,null,null),E.value&&!r.isCbs&&x.value&&createVNode(StudentTop,null,null)])}}),workHomeRef=ref(),data=reactive({trainingType:"",worke:{}}),HANDLE_WORK_ADD=()=>{var i;data.trainingType==="PRACTICE"&&((i=workHomeRef.value)==null||i.handleAdd())},WorkIndex=defineComponent({name:"workIndex",setup(i){const e=getQuery(),r=()=>{if(!data.trainingType)return;const o=data.trainingType==="PRACTICE"?"practise":"evaluating";headTopData.handleChangeModeType(o)},s=async()=>{const o=await api_lessonTrainingTrainingStudentDetail(e.workRecord);(o==null?void 0:o.code)===200&&(data.trainingType=o.data.trainingType,data.worke=o.data,r())};return watch(()=>evaluatingData.jsonLoadDone,()=>{data.trainingType==="EVALUATION"&&evaluatingData.jsonLoading&&evaluatingData.jsonLoadDone&&headTopData.handleChangeModeType("evaluating")}),onMounted(()=>{s()}),()=>createVNode(Fragment,null,[data.trainingType==="PRACTICE"&&createVNode(WorkHome,{ref:workHomeRef,workeData:data.worke},null),data.trainingType==="EVALUATION"&&createVNode(WorkEaluating,{workeData:data.worke},null)])}}),countdown="_countdown_j2yeo_1",step1="_step1_j2yeo_13",step2="_step2_j2yeo_16",step3="_step3_j2yeo_19",isAnimating="_isAnimating_j2yeo_22",styles$i={countdown,step1,step2,step3,isAnimating},soundWav=""+new URL("../mp3/timer-f5d3d904.mp3",import.meta.url).href;let soundVIdeo;const countdownData=reactive({isShow:!1,step:3,isAnimating:!1});let _countdownTIme;function startCountdown(){Object.assign(countdownData,{isShow:!0,step:3,isAnimating:!1});let i;return _countdownTIme=setInterval(()=>{if(countdownData.step<=0)clearInterval(_countdownTIme),countdownData.isShow=!1,i(!0);else{countdownData.isAnimating=!0;const e=setTimeout(()=>{clearTimeout(e),countdownData.isAnimating=!1,countdownData.step--},300)}},1e3),new Promise(e=>{i=e})}const Countdown=defineComponent({name:"countdown",setup(){return soundVIdeo||(soundVIdeo=new Audio(soundWav),soundVIdeo.load()),onMounted(()=>{soundVIdeo==null||soundVIdeo.pause()}),()=>createVNode(Fragment,null,[countdownData.isShow&&createVNode("div",{class:[styles$i.countdown,countdownData.isAnimating&&styles$i.isAnimating,styles$i[`step${countdownData.step}`]]},null)])}}),browserInfo$2=browser();let socketStartTime=0;const popImgs={icon_bg,icon_close,icon_btn:icon_btn$1,icon_success},evaluatingData=reactive({contentData:{},rendered:!1,earphone:!1,soundEffect:!1,soundEffectFrequency:0,checkStep:0,checkEnd:!1,earphoneMode:!1,earPhoneType:"",soundEffectMode:!1,websocketState:!1,startBegin:!1,backtime:0,evaluatings:{},resultData:{},resulstMode:!1,isComplete:!1,isDisabledPlayMusic:!1,socketErrorPop:!1,errorContents:"",socketErrorStatus:0,delayCheckSocketError:!1,isErrorState:!1,accompanyErrorType:"",isAudioPlayEnd:!1,preloadJson:!0,jsonLoading:!0,jsonLoadDone:!0,hideResultModal:!1,oneselfCancleEvaluating:!1}),sendOffsetTime=async i=>{var r;const e=await api_getDeviceDelay();api_midiMicDelay({header:{commond:"audioPlayStart",type:"SOUND_COMPARE"},body:{offsetTime:i,micDelay:(r=e==null?void 0:e.content)==null?void 0:r.value}})},handleStartEvaluat=async()=>{var i;if(state$1.modeType==="evaluating")handleCancelEvaluat();else if(state$1.platform!=="PC"){const e=await api_checkSocketStatus();((i=e==null?void 0:e.content)==null?void 0:i.status)==="connected"&&handleStopPlay()}else handleStopPlay();state$1.modeType=state$1.modeType==="evaluating"?"practise":"evaluating",state$1.modeType!=="evaluating"&&(evaluatingData.rendered=!1)},startCheckDelay=async()=>{var e;const i=await api_checkSocketStatus();return((e=i==null?void 0:i.content)==null?void 0:e.status)==="connected"?new Promise(r=>{r({checked:!0})}):(socketStartTime=+new Date,evaluatingData.socketErrorPop=!0,evaluatingData.socketErrorStatus=1,new Promise(r=>{r({checked:!1})}))},check_currentTime=()=>{let i=0;if(state$1.isSelectMeasureMode&&(i=state$1.section[0].time*1e3),getAudioCurrentTime()*1e3-i>=500){sendEvaluatingOffsetTime(500);return}setTimeout(()=>{check_currentTime()},10)},sendEvaluatingOffsetTime=async i=>{if(!evaluatingData.backtime)return;const r=Date.now()-evaluatingData.backtime-i;console.error("真正播放延迟",r,"currentTime:",i),await api_proxyServiceMessage({header:{commond:"audioPlayStart",type:"SOUND_COMPARE"},body:{offsetTime:r<0?0:r,micDelay:0}})},checkUseEarphone=async()=>{var e;const i=await getEarphone();return((e=i==null?void 0:i.content)==null?void 0:e.checkIsWired)||!1},handleEndSoundCheck=()=>{endSoundCheck()},connectWebsocket=async i=>{evaluatingData.contentData=i,evaluatingData.websocketState=!0},handlePerformDetection=async()=>{if(!evaluatingData.checkEnd){if(evaluatingData.checkStep===0){if(evaluatingData.checkStep=5,state$1.setting.soundEffect){evaluatingData.soundEffectMode=!0;return}const i=await api_getDeviceDelay();if(console.log("🚀 ~ delayTime:",i),!i){evaluatingData.soundEffectMode=!0;return}handlePerformDetection();return}if(evaluatingData.checkStep=5){if(evaluatingData.checkStep=10,!await checkUseEarphone()){evaluatingData.earphoneMode=!0;return}handlePerformDetection();return}evaluatingData.checkStep===10&&(evaluatingData.checkEnd=!0)}},addMeasureScore=(i,e=!0)=>{for(let r in evaluatingData.evaluatings)evaluatingData.evaluatings[r].show=!1;evaluatingData.evaluatings[i.measureRenderIndex]={...i,leve:getLeveByScoreMeasure(i.score),show:e}},handleScoreResult=i=>{if(console.log("返回",i,evaluatingData.oneselfCancleEvaluating),!evaluatingData.oneselfCancleEvaluating&&i!=null&&i.content){const{header:e,body:r}=i.content;e.commond==="checking"&&(evaluatingData.soundEffectFrequency=r.frequency),(e==null?void 0:e.commond)==="measureScore"&&(console.log("🚀 ~ 评测返回:",i),addMeasureScore(r)),(e==null?void 0:e.commond)==="overall"&&(console.log("🚀 ~ 评测返回:",i),console.log("评测结束",r),state$1.isHideEvaluatReportSaveBtn=!1,setTimeout(()=>{data.trainingType==="EVALUATION"&&!evaluatingData.isComplete?evaluatingData.hideResultModal=!0:evaluatingData.hideResultModal=!1,evaluatingData.resulstMode=!evaluatingData.isErrorState},200),evaluatingData.resultData={...r,...getLeveByScore(r.score)},closeToast())}},handleStartBegin=async i=>{var s,o;state$1.isAppPlay&&await api_cloudSetCurrentTime({currentTime:0,songID:state$1.examSongId}),evaluatingData.isComplete=!1,evaluatingData.evaluatings={},evaluatingData.resultData={},evaluatingData.backtime=0,resetPlaybackToStart(),evaluatingData.isAudioPlayEnd=!1;const e=await startEvaluating(evaluatingData.contentData);if((e==null?void 0:e.api)!=="startEvaluating"){Snackbar$1.error("请在APP端进行评测"),evaluatingData.startBegin=!1;return}if((s=e==null?void 0:e.content)!=null&&s.reson){showToast((o=e.content)==null?void 0:o.des),evaluatingData.startBegin=!1;return}if(evaluatingData.startBegin=!0,evaluatingData.isDisabledPlayMusic){if(await startCountdown(),state$1.playState=state$1.playState==="paused"?"play":"paused",state$1.playState==="play"&&state$1.playType==="play"&&state$1.needTick||state$1.playType==="sing"&&state$1.needSingTick)if(state$1.playType==="play"&&!state$1.isOpenMetronome||state$1.playType==="sing"&&!state$1.isSingOpenMetronome){const a=await handleStartTick();if(console.log("🚀 ~ tickend:",a),!a){state$1.playState="paused",evaluatingData.startBegin=!1;return}}else handleStartTick();onPlay()}if(evaluatingData.isErrorState)return;let r=state$1.speed/state$1.originSpeed;r=parseFloat(r.toFixed(2)),await api_startRecordingCb({accompanimentState:state$1.setting.enableAccompaniment?1:0,firstNoteTime:i||0,speedRate:r},()=>{state$1.isAppPlay&&setTimeout(()=>{sendOffsetTime(0)},300)}),state$1.setting.camera&&(console.log("开始录制视频"),await api_startCapture()),state$1.isAppPlay&&(await api_cloudChangeSpeed({speed:state$1.originSpeed,originalSpeed:state$1.originSpeed,songID:state$1.examSongId}),audioData$1.progress=0,audioListStart(state$1.playState)),evaluatingData.oneselfCancleEvaluating=!1},playMusic=async()=>{if(!await togglePlay("play")){evaluatingData.startBegin=!1,handleCancelEvaluat();return}check_currentTime(),state$1.setting.camera&&(console.log("开始录制视频"),api_startCapture())},recordStartTimePoint=async i=>{var r;if(console.error("开始录音"),!evaluatingData.startBegin)return;let e=((r=i==null?void 0:i.content)==null?void 0:r.inteveral)||0;browserInfo$2.ios&&(e*=1e3),evaluatingData.backtime=e||Date.now(),console.log("🚀 ~ 开始时间点:",evaluatingData.backtime,"已经录的时间:",Date.now()-e,"记录时间点:",Date.now()),!evaluatingData.isDisabledPlayMusic&&playMusic()},handleEndEvaluat=(i=!1)=>{!evaluatingData.startBegin||state$1.modeType!=="evaluating"||(console.log("评测结束1"),endEvaluating({musicScoreId:state$1.examSongId}),!i&&data.trainingType==="EVALUATION"?showToast({message:"完整演奏结束才算作业分数!"}):showLoadingToast({message:"评分中",duration:0,overlay:!0,overlayClass:styles$v.scoreMode}),setTimeout(()=>{evaluatingData.startBegin=!1},500),evaluatingData.isComplete=i,state$1.setting.camera&&(console.log("结束录制视频"),api_endCapture()))},handleEndBegin=()=>{handleEndEvaluat(),handleStopPlay()},handleCancelEvaluat=i=>{evaluatingData.evaluatings={},evaluatingData.startBegin=!1,closeToast(),api_proxyServiceMessage({header:{commond:"recordCancel",type:"SOUND_COMPARE",status:200}}),cancelEvaluating(),handleStopPlay(),console.log("评测结束2"),endEvaluating({musicScoreId:state$1.examSongId}),state$1.setting.camera&&(console.log("结束录制视频"),api_endCapture())},handleViewReport=(i,e)=>{var o;const r=((o=evaluatingData.resultData)==null?void 0:o[i])||"";let s="";switch(e){case"gym":s=location.origin+location.pathname+"#/report/"+r;break;case"orchestra":s=location.origin+location.pathname+"report-share.html?id="+r;break;case"instrument":s=location.origin+location.pathname+"#/evaluat-report?id="+r+"&musicRenderType="+state$1.musicRenderType;break;default:s=location.origin+location.pathname+"report-share.html?id="+r;break}api_openWebView({url:s,orientation:0,isHideTitle:!0,statusBarTextColor:!1,isOpenLight:!0,c_orientation:0})},handleComplexButton=i=>{console.log("监听是否隐藏保存按钮",i),i!=null&&i.content&&(i.content,state$1.isHideEvaluatReportSaveBtn=!0)},handleAccompanyError=i=>{if(console.log("异常信息返回",i),i!=null&&i.content){const{type:e,reson:r}=i.content;switch(e){case"enterBackground":case"playError":case"socketError":if(evaluatingData.soundEffectMode){evaluatingData.socketErrorStatus=0,evaluatingData.delayCheckSocketError=!0,evaluatingData.socketErrorPop=e==="socketError",evaluatingData.accompanyErrorType=e;return}state$1.modeType==="evaluating"&&evaluatingData.startBegin&&handleCancelEvaluat(),closeTick(),evaluatingData.socketErrorStatus=0,evaluatingData.socketErrorPop=e==="socketError",evaluatingData.isErrorState=!0,evaluatingData.accompanyErrorType=e,resetPlaybackToStart();break}}},handleSocketStatus=i=>{var e;if(((e=i==null?void 0:i.content)==null?void 0:e.status)==="connected"){const r=+new Date;evaluatingData.delayCheckSocketError=!1;const s=r-socketStartTime;if(s<1e3){const o=1e3-s;console.log(o,99999),setTimeout(()=>{evaluatingData.socketErrorStatus=2},o)}}},hanldeConfirmPop=async()=>{api_checkSocketStatus(),evaluatingData.socketErrorStatus=1,socketStartTime=+new Date},hanldeClosePop=()=>{evaluatingData.socketErrorPop=!1,evaluatingData.socketErrorStatus=0},Evaluating=defineComponent({name:"evaluating",setup(){const i=usePageVisibility(),e=reactive({finger:!1,play_mode:"",enableAccompaniment:!0}),r=()=>{e.finger=state$1.setting.displayFingering,state$1.setting.displayFingering=!1,e.play_mode=state$1.playSource,e.enableAccompaniment=state$1.setting.enableAccompaniment,e.enableAccompaniment||(console.log("关闭伴奏"),toggleMutePlayAudio(e.play_mode==="music"?"music":e.play_mode==="background"?"background":"mingSong",!0))},s=()=>{state$1.setting.displayFingering=e.finger,state$1.playSource=e.play_mode,e.enableAccompaniment||toggleMutePlayAudio(e.play_mode==="music"?"music":e.play_mode==="background"?"background":"mingSong",!1)};return watch(i,o=>{o=="hidden"&&evaluatingData.startBegin}),watch(()=>evaluatingData.socketErrorStatus,()=>{evaluatingData.socketErrorStatus===2&&setTimeout(()=>{evaluatingData.socketErrorPop=!1},1e3)}),watch(()=>evaluatingData.socketErrorPop,()=>{evaluatingData.socketErrorPop&&state$1.setting.soundEffect&&api_closeDelayCheck({})}),onMounted(()=>{resetPlaybackToStart(),r(),evaluatingData.resultData={},evaluatingData.evaluatings={},evaluatingData.soundEffectFrequency=0,evaluatingData.checkStep=0,evaluatingData.rendered=!0,sendResult(handleScoreResult),hideComplexButton(handleComplexButton,!0),api_recordStartTime(recordStartTimePoint),addAccompanyError(handleAccompanyError),addSocketStatus(handleSocketStatus),state$1.isSelectMeasureMode||clearSelection(),console.log("加载评测模块成功")}),onUnmounted(()=>{evaluatingData.checkEnd=!1,evaluatingData.rendered=!1,resetPlaybackToStart(),removeResult(handleScoreResult),hideComplexButton(()=>{},!1),api_remove_recordStartTime(recordStartTimePoint),s(),removeAccompanyError(handleAccompanyError),removeSocketStatus(handleSocketStatus),api_disconnectSocket(),console.log("卸载评测模块成功")}),()=>createVNode("div",null,[createVNode("div",{class:styles$v.hiddenPop},[createVNode("img",{src:popImgs.icon_bg},null),createVNode("img",{src:popImgs.icon_btn},null),createVNode("img",{src:popImgs.icon_success},null),createVNode("img",{src:popImgs.icon_close},null)]),createVNode(Popup,{teleport:"body",closeOnClickOverlay:!1,class:["popup-custom","van-scale"],transition:"van-scale",show:evaluatingData.socketErrorPop,"onUpdate:show":o=>evaluatingData.socketErrorPop=o},{default:()=>[createVNode(AbnormalPop,{onConfirm:hanldeConfirmPop,onClose:hanldeClosePop},null)]})])}}),initMidi=(i,e)=>{const r=ref(!1);if(e){console.log("曲谱为midi,使用app播放"),r.value=!0,state$1.midiPlayIniting=!0;const s=getDuration(state$1.osmd);api_cloudDestroy(),api_cloudDetail({midi:e,denominator:s.denominator,numerator:s.numerator,originalSpeed:state$1.originSpeed,interval:50,duration:i*1e3},()=>{state$1.midiPlayIniting=!1,r.value=!1,e&&changeMode("music")}),state$1.durationNum=i}return{initial:r}},getActiveMidiId=()=>{var i,e,r,s,o,a,l;return(l=(a=(o=(s=(r=(e=(i=state$1.osmd)==null?void 0:i.sheet)==null?void 0:e.instruments)==null?void 0:r[0])==null?void 0:s.subInstruments)==null?void 0:o[0])==null?void 0:a.midiInstrumentID)!=null?l:0},changeMode=async(i,e)=>{var s,o,a,l;const r=i==="background"?"music":"background";if(console.log(!state$1.songs[i],i,r),state$1.isAppPlay){const c=new Map;for(const u of state$1.partListNames)c.set(u,60);api_cloudVolume({activeMidiId:getActiveMidiId(),activeMidiVolume:r==="background"?100:0,parts:Array.from(c.keys()).map(u=>({name:u,volume:c.get(u)}))})}state$1.playSource=i,e==="all"?((s=state$1.audiosInstance)==null||s.setMute(!0,state$1.songs[r]),(o=state$1.audiosInstance)==null||o.setMute(!0,state$1.songs[i])):((a=state$1.audiosInstance)==null||a.setMute(!0,state$1.songs[r]),(l=state$1.audiosInstance)==null||l.setMute(!1,state$1.songs[i]))},cloudToggleState=async i=>{const e=await api_cloudGetMediaStatus(),r=e==null?void 0:e.content.status;if(r==="init"||r==="suspend"&&i==="paused")return;r==="suspend"?(state$1.isSelectMeasureMode&&(audioData$1.progress=state$1.midiSectionStart),await api_cloudPlay({songID:state$1.examSongId,startTime:audioData$1.progress*1e3,originalSpeed:state$1.originSpeed,speed:state$1.modeType==="evaluating"?state$1.originSpeed:state$1.speed,hertz:440}),onPlay()):(await api_cloudSuspend({songID:state$1.examSongId}),state$1.modeType==="evaluating"&&(audioData$1.progress=0));const s=await api_cloudGetMediaStatus();state$1.playState=(s==null?void 0:s.content.status)==="suspend"?"paused":"play",console.log(s,"cloudGetMediaStatused")},Loading=defineComponent({name:"loading",props:{tipText:{type:String,default:""}},setup(i){function e(s=2e3,o){let a=Date.now(),l=0;const c=setInterval(()=>{let u=Date.now()-a;if(u>=s){clearInterval(c),o(96);return}l=Math.min(100,u/s*100),o(l)},300)}const r=ref(0);return e(2e3,s=>{r.value=s}),watch(()=>state$1.audioDone,()=>{state$1.audioDone||(r.value=0)}),()=>!state$1.audioDone&&createVNode("div",{class:styles$w.loadingPop},[createVNode(Vue3Lottie,{animationData:animBg},null),createVNode("div",{class:styles$w.loadingTip},[i.tipText])])}}),audioData$1=reactive({songEle:null,backgroundEle:null,mingSongEle:null,songCollection:{songEle:null,backgroundEle:null,fanSongEle:null,banSongEle:null,mingSongEle:null,beatSongEle:null,betaBackgroundEle:null,betaFanSongEle:null,betaBanSongEle:null,betaMingSongEle:null},midiRender:!1,progress:0,duration:0}),midiRef=ref(),audioListStart=i=>{var e,r,s,o,a,l;if(i==="play"&&state$1.originSpeed!==0&&setAudioPlaybackRate(state$1.speed/state$1.originSpeed),state$1.isAppPlay){cloudToggleState(i);return}i==="play"?((e=audioData$1.songEle)==null||e.play(),(r=audioData$1.backgroundEle)==null||r.play(),(s=audioData$1.mingSongEle)==null||s.play()):i==="paused"&&((o=audioData$1.songEle)==null||o.pause(),(a=audioData$1.backgroundEle)==null||a.pause(),(l=audioData$1.mingSongEle)==null||l.pause())},setAudioPlaybackRate=i=>{if(state$1.isAppPlay){if(state$1.modeType==="evaluating")return;hanldeSetMidiPlaybackRate(i);return}audioData$1.songEle&&(audioData$1.songEle.playbackRate=i),audioData$1.backgroundEle&&(audioData$1.backgroundEle.playbackRate=i),audioData$1.mingSongEle&&(audioData$1.mingSongEle.playbackRate=i)},getAudioCurrentTime=()=>{var i,e,r,s;return state$1.isAppPlay?audioData$1.progress:state$1.playSource==="music"?((i=audioData$1.songEle)==null?void 0:i.currentTime)||audioData$1.progress:state$1.playSource==="background"?((e=audioData$1.backgroundEle)==null?void 0:e.currentTime)||audioData$1.progress:state$1.playSource==="mingSong"?((r=audioData$1.mingSongEle)==null?void 0:r.currentTime)||audioData$1.progress:((s=audioData$1.songEle)==null?void 0:s.currentTime)||audioData$1.progress},getAudioDuration=()=>{var i,e,r,s;if(state$1.isAppPlay){const o=((i=state$1.times[state$1.times.length-1||0])==null?void 0:i.endtime)||0;return audioData$1.duration||o}return((e=audioData$1.songEle)==null?void 0:e.duration)||((r=audioData$1.backgroundEle)==null?void 0:r.duration)||((s=audioData$1.mingSongEle)==null?void 0:s.duration)||audioData$1.duration},setAudioCurrentTime=(i,e=0)=>{if(state$1.isAppPlay){setMidiCurrentTime(e);return}audioData$1.songEle&&(audioData$1.songEle.currentTime=i),audioData$1.backgroundEle&&(audioData$1.backgroundEle.currentTime=i),audioData$1.mingSongEle&&(audioData$1.mingSongEle.currentTime=i),audioData$1.progress=i},toggleMutePlayAudio=(i,e)=>{i==="music"?audioData$1.songEle&&(audioData$1.songEle.muted=e):i==="background"?audioData$1.backgroundEle&&(audioData$1.backgroundEle.muted=e):i==="mingSong"&&audioData$1.mingSongEle&&(audioData$1.mingSongEle.muted=e)},changeSongSourceByBate=i=>{var o,a,l;const e=((o=audioData$1.songEle)==null?void 0:o.currentTime)||0,r=((a=audioData$1.backgroundEle)==null?void 0:a.currentTime)||0,s=((l=audioData$1.mingSongEle)==null?void 0:l.currentTime)||0;i?state$1.playType==="play"?(audioData$1.songEle=audioData$1.songCollection.songEle,audioData$1.backgroundEle=audioData$1.songCollection.backgroundEle):(audioData$1.songEle=audioData$1.songCollection.fanSongEle,audioData$1.backgroundEle=audioData$1.songCollection.banSongEle,audioData$1.mingSongEle=audioData$1.songCollection.mingSongEle):state$1.playType==="play"?(audioData$1.songEle=audioData$1.songCollection.beatSongEle||audioData$1.songCollection.songEle,audioData$1.backgroundEle=audioData$1.songCollection.betaBackgroundEle||audioData$1.songCollection.backgroundEle):(audioData$1.songEle=audioData$1.songCollection.betaFanSongEle||audioData$1.songCollection.fanSongEle,audioData$1.backgroundEle=audioData$1.songCollection.betaBanSongEle||audioData$1.songCollection.banSongEle,audioData$1.mingSongEle=audioData$1.songCollection.betaMingSongEle||audioData$1.songCollection.mingSongEle),audioData$1.songEle&&(audioData$1.songEle.currentTime=e),audioData$1.backgroundEle&&(audioData$1.backgroundEle.currentTime=r),audioData$1.mingSongEle&&(audioData$1.mingSongEle.currentTime=s),state$1.playSource==="music"?(audioData$1.songEle&&(audioData$1.songEle.muted=!1),audioData$1.backgroundEle&&(audioData$1.backgroundEle.muted=!0),audioData$1.mingSongEle&&(audioData$1.mingSongEle.muted=!0)):state$1.playSource==="background"?(audioData$1.songEle&&(audioData$1.songEle.muted=!0),audioData$1.backgroundEle&&(audioData$1.backgroundEle.muted=!1),audioData$1.mingSongEle&&(audioData$1.mingSongEle.muted=!0)):(audioData$1.songEle&&(audioData$1.songEle.muted=!0),audioData$1.backgroundEle&&(audioData$1.backgroundEle.muted=!0),audioData$1.mingSongEle&&(audioData$1.mingSongEle.muted=!1))},AudioList=defineComponent({name:"audio-list",setup(){const i=()=>{midiRef.value.contentWindow.handleRendered=()=>{audioData$1.midiRender=!0},hanldeInitMidiData(midiRef.value)};watch(()=>state$1.playSource,()=>{if(state$1.modeType==="evaluating"&&!state$1.setting.enableAccompaniment){console.log("评测模式设置了关闭伴奏,不切换原音伴奏");return}state$1.playSource==="music"?(audioData$1.songEle&&(audioData$1.songEle.muted=!1),audioData$1.backgroundEle&&(audioData$1.backgroundEle.muted=!0),audioData$1.mingSongEle&&(audioData$1.mingSongEle.muted=!0)):state$1.playSource==="background"?(audioData$1.songEle&&(audioData$1.songEle.muted=!0),audioData$1.backgroundEle&&(audioData$1.backgroundEle.muted=!1),audioData$1.mingSongEle&&(audioData$1.mingSongEle.muted=!0)):(audioData$1.songEle&&(audioData$1.songEle.muted=!0),audioData$1.backgroundEle&&(audioData$1.backgroundEle.muted=!0),audioData$1.mingSongEle&&(audioData$1.mingSongEle.muted=!1))});const e=c=>new Promise(u=>{const d=new Audio(c+"?v="+Date.now());d.load(),d.onloadedmetadata=()=>{u(d)},d.onerror=()=>{u(null)}}),r=c=>{var m,y,b;const u=(c==null?void 0:c.currentTime)||((m=c==null?void 0:c.content)==null?void 0:m.currentTime),d=(c==null?void 0:c.totalDuration)||((y=c==null?void 0:c.content)==null?void 0:y.totalDuration),g=u/1e3;if(audioData$1.progress=g,audioData$1.songEle&&(audioData$1.songEle.currentTime=g),audioData$1.backgroundEle&&(audioData$1.backgroundEle.currentTime=g),audioData$1.mingSongEle&&(audioData$1.mingSongEle.currentTime=g),audioData$1.duration=d/1e3,((b=c==null?void 0:c.content)==null?void 0:b.totalDuration)>1e3&&u>=d){if(evaluatingData.isAudioPlayEnd)return;evaluatingData.isAudioPlayEnd=!0,onEnded()}},s=c=>{var g,m,y;if(audioData$1.duration==0){const b=((g=state$1.times[state$1.times.length-1||0])==null?void 0:g.endtime)||0;audioData$1.duration=b}const u=(c==null?void 0:c.currentTime)||((m=c==null?void 0:c.content)==null?void 0:m.currentTime);c!=null&&c.totalDuration||((y=c==null?void 0:c.content)==null||y.totalDuration);const d=u/1e3;audioData$1.progress=d,state$1.sectionStatus&&state$1.section.length==2&&u>=state$1.section},o=c=>{c&&(console.log("midi结束"),audioData$1.progress=0,onEnded())};function a(){return Promise.all([e(state$1.music),e(state$1.accompany),e(state$1.fanSong),e(state$1.banSong),e(state$1.mingSong)])}function l(){return Promise.all([e(state$1.beatSong.music),e(state$1.beatSong.accompany),e(state$1.beatSong.fanSong),e(state$1.beatSong.banSong),e(state$1.beatSong.mingSong)])}return onMounted(async()=>{var c;if(state$1.playMode!=="MIDI"){console.time("音频加载时间");const[u,d,g,m,y]=await a();audioData$1.backgroundEle=d,audioData$1.songEle=u,Object.assign(audioData$1.songCollection,{songEle:u,backgroundEle:d,fanSongEle:g,banSongEle:m,mingSongEle:y}),u?(u.addEventListener("play",onPlay),u.addEventListener("ended",onEnded),d&&(d.muted=!0)):d&&(d.addEventListener("play",onPlay),d.addEventListener("ended",onEnded)),g?(g.addEventListener("play",onPlay),g.addEventListener("ended",onEnded),m&&(m.muted=!0),y&&(y.muted=!0)):m?(m.addEventListener("play",onPlay),m.addEventListener("ended",onEnded),y&&(y.muted=!0)):y&&(y.addEventListener("play",onPlay),y.addEventListener("ended",onEnded));const[b,A,S,E,x]=await l();Object.assign(audioData$1.songCollection,{beatSongEle:b,betaBackgroundEle:A,betaFanSongEle:S,betaBanSongEle:E,betaMingSongEle:x}),b?(b.addEventListener("play",onPlay),b.addEventListener("ended",onEnded),A&&(A.muted=!0)):A&&(A.addEventListener("play",onPlay),A.addEventListener("ended",onEnded)),S?(S.addEventListener("play",onPlay),S.addEventListener("ended",onEnded),E&&(E.muted=!0),x&&(x.muted=!0)):E?(E.addEventListener("play",onPlay),E.addEventListener("ended",onEnded),x&&(x.muted=!0)):x&&(x.addEventListener("play",onPlay),x.addEventListener("ended",onEnded)),state$1.audioDone=!0,console.timeEnd("音频加载时间"),console.log("音频数据:",audioData$1),api_playProgress(r)}else{state$1.audioDone=!0;const u=((c=state$1.times[state$1.times.length-1||0])==null?void 0:c.endtime)||0;audioData$1.duration=u,api_cloudTimeUpdae(s),api_cloudplayed(o)}}),onUnmounted(()=>{api_remove_cloudplayed(o),api_remove_cloudTimeUpdae(s)}),()=>createVNode(Fragment,null,[createVNode(Loading,{tipText:state$1.loadingText},null),createVNode("div",{class:styles$w.audioList},[state$1.playMode==="MIDI"&&state$1.speed!=0&&createVNode("iframe",{style:{display:"none"},ref:midiRef,src:"/midi/index.html",onLoad:i},null)])])}}),browserInfo$1=browser();let tipsTimer=null;const audioData=reactive({tick:null,tock:null}),metronomeData=reactive({disable:!0,initPlayerState:!1,lineShow:!1,isClick:!1,metro:null,metroList:[],activeList:[],metroMeasure:[],activeIndex:null,activeMetro:{},cursorMode:1,cursorTips:"",followAudioIndex:1,totalNumerator:2});watch(()=>metronomeData.cursorMode,()=>{const i=document.querySelector("#cursorImg-0");if(i){switch(metronomeData.cursorMode){case 1:i.classList.remove("lineHide"),i.style.opacity="inherit",metronomeData.cursorTips="您已切换到指针跟随音符播放",i.style.opacity="inherit";break;case 2:i.classList.add("lineHide"),i.style.opacity="inherit",metronomeData.cursorTips="您已切换到指针跟随节拍播放";break;case 3:i.style.opacity="0",metronomeData.cursorTips="您已关闭指针显示";break}hideCursorTip()}});watch(()=>metronomeData.lineShow,()=>{const i=document.querySelector("#cursorImg-0");i&&(metronomeData.lineShow?i.classList.add("lineHide"):i.classList.remove("lineHide"))});class Metronome{constructor(e){ii(this,"playType","tick");ii(this,"source",null);ii(this,"source1",null);ii(this,"source2",null);ii(this,"createAudio",e=>new Promise(r=>{const s=new Audio(e);s.load(),s.onloadedmetadata=()=>{r(s)},s.onerror=()=>{r(null)}}));ii(this,"sound",e=>{state$1.sectionStatus||(e=setCurrentTime(e));let r=-1,s=-1;for(let o=0;o<metronomeData.metroList.length;o++){const a=metronomeData.metroList[o];if(e>=a)r=o,s=a;else break}if(r>-1&&metronomeData.activeIndex!==r){metronomeData.activeIndex=r,metronomeData.activeMetro=this.getStep(s),this.playAudio(),metronomeData.isClick=!1;return}metronomeData.isClick=!1});ii(this,"playAudio",()=>{var r;if(state$1.modeType==="practise"&&state$1.playMode!=="MIDI"&&(state$1.playType==="play"&&state$1.playSource==="music"&&audioData$1.songCollection.beatSongEle||state$1.playType==="play"&&state$1.playSource==="background"&&audioData$1.songCollection.betaBackgroundEle||state$1.playType==="sing"&&state$1.playSource==="music"&&audioData$1.songCollection.betaFanSongEle||state$1.playType==="sing"&&state$1.playSource==="background"&&audioData$1.songCollection.betaBanSongEle||state$1.playType==="sing"&&state$1.playSource==="mingSong"&&audioData$1.songCollection.betaMingSongEle)||(console.log("播放自带的节拍器 233333"),!metronomeData.initPlayerState||state$1.playState==="paused"))return;const e=state$1.setting.beatVolume/100;this.source=((r=metronomeData.activeMetro)==null?void 0:r.index)===0?audioData.tick:audioData.tock,this.source.volume=metronomeData.disable?0:e,this.source.volume<=0?this.source.muted=!0:this.source.muted=!1,this.source.play()});ii(this,"simulatePlayAudio",()=>{if(!metronomeData.initPlayerState)return;const e=state$1.setting.beatVolume/100;this.source=metronomeData.followAudioIndex===1?audioData.tick:audioData.tock,this.source.volume=metronomeData.disable?0:e,this.source.volume<=0?this.source.muted=!0:this.source.muted=!1,this.source.play(),metronomeData.followAudioIndex+=1,metronomeData.followAudioIndex=metronomeData.followAudioIndex>metronomeData.totalNumerator?1:metronomeData.followAudioIndex});ii(this,"loadAudio1",()=>new howler.Howl({src:tockAndTick.tick}));ii(this,"loadAudio2",()=>new howler.Howl({src:tockAndTick.tock}))}init(e){this.calculation(e),metronomeData.activeList=[],this.initPlayer()}initPlayer(){metronomeData.initPlayerState||Promise.all([this.createAudio(tickWav),this.createAudio(tockWav)]).then(([e,r])=>{e&&(audioData.tick=e),r&&(audioData.tock=r),metronomeData.initPlayerState=!0})}selectPlay(){}getStep(e){for(let r=0;r<metronomeData.metroMeasure.length;r++){const o=metronomeData.metroMeasure[r].find(a=>a.time===e);if(o)return o}return{}}calculation(e){var l,c,u,d,g,m,y,b,A,S,E,x,P,C;const r=[];let s=-1;for(let T=0;T<e.length;T++){const k=e[T],I=(c=(l=k==null?void 0:k.noteElement)==null?void 0:l.sourceMeasure)==null?void 0:c.MeasureNumberXML,M=(d=(u=k==null?void 0:k.noteElement)==null?void 0:u.sourceMeasure)==null?void 0:d.measureListIndex;if(I>-1&&I!=s){const R={measureNumberXML:I,measureNumberIndex:M,numerator:((y=(m=(g=k==null?void 0:k.noteElement)==null?void 0:g.sourceMeasure)==null?void 0:m.ActiveTimeSignature)==null?void 0:y.numerator)||0,start:k.measures[0].time,end:k.measures[k.measures.length-1].endtime,time:k.measures[k.measures.length-1].endtime-k.measures[0].time,stave_x:((x=(E=(S=(A=(b=k==null?void 0:k.noteElement)==null?void 0:b.sourceMeasure)==null?void 0:A.verticalMeasureList)==null?void 0:S[0])==null?void 0:E.stave)==null?void 0:x.x)||0,end_x:((P=k==null?void 0:k.stave)==null?void 0:P.end_x)||0||0,stepList:[],svgs:[],isRestFlag:k.isRestFlag};if([121].includes(state$1.subjectId)){const B=e.filter(_=>{var V,D;return((D=(V=_==null?void 0:_.noteElement)==null?void 0:V.sourceMeasure)==null?void 0:D.measureListIndex)==M});k.measures=B,R.start=k.measures[0].time,R.end=k.measures[k.measures.length-1].endtime,R.time=k.measures[k.measures.length-1].endtime-k.measures[0].time;try{const _=k.noteElement.sourceMeasure.verticalMeasureList.reduce((D,F)=>(D.push(...F.vfVoices[1].tickables),D),[]),V=[];R.svgs=_.map(D=>{const F=D.getBoundingBox().x;if(!V.includes(F)&&D.duration!=="w")return V.push(F),D._start_x=F,D}).filter(Boolean).sort((D,F)=>D._start_x-F._start_x)}catch(_){console.log(_)}R.stepList=calculateMutilpleMetroStep(k.measures,R)}else{let B=k.measures;state$1.isCombineRender&&(B=B.filter(_=>_.MeasureNumberXML===R.measureNumberXML)),R.stepList=calculateMetroStep(B,R)}r.push(R),s=I}}let o=[];const a=[];try{for(let T=0;T<r.length;T++){const k=r[T],I=k.time/k.numerator,R=([121].includes(state$1.subjectId)?95:100)/(k.numerator+1);a[T]=[];for(let B=0;B<k.numerator;B++){const _=I*B+k.start;o.push(_);let V="";if(k.stepList[B])V=k.stepList[B]+"px";else{const D=k.stepList[B-1];V=D?D.toString().indexOf("%")>-1?`${D} + ${R}%`:`${D}px + ${R}%`:`${R}%`,k.stepList[B]=V}a[T].push({index:B,time:_,left:(V==null?void 0:V.indexOf("%"))>-1?`calc(${V})`:V,measureNumberXML:k.measureNumberXML,isRestFlag:k.isRestFlag})}}}catch(T){console.log(T)}console.log("节拍器",o,a),metronomeData.metroList=o,metronomeData.metroMeasure=a,metronomeData.activeMetro=((C=a[0])==null?void 0:C[0])||{}}}function calculateMetroStep(i,e){var c,u,d,g,m,y,b,A,S,E,x,P,C,T,k,I,M,R,B,_,V,D,F,N,K,G,q,O,U,$,Y,Q,xe,ue,W,J,ce,ge,Ee,Te,De,te,ae,H,ve,pe,ee,ne,me,Be,oe,be,Ie,Re,Pe,he,Ce,ye,Fe,Ue,Ye,Ge,Ke,et,Ze,st,vt;const s=i.reduce((lt,dt)=>(lt+=dt._noteLength,lt),0)/e.numerator;if(i.length===1){const lt=i[0].svgElement;if(lt&&!lt.isRest()){const dt=((m=(g=(d=(u=(c=lt==null?void 0:lt.attrs)==null?void 0:c.el)==null?void 0:u.parentElement)==null?void 0:d.parentElement)==null?void 0:g.getBoundingClientRect)==null?void 0:m.call(g))||{x:0,right:0};let Tt=((A=(b=(y=lt==null?void 0:lt.attrs)==null?void 0:y.el)==null?void 0:b.getBoundingClientRect)==null?void 0:A.call(b))||{x:0},ut=Math.abs(dt.right-Tt.x)/e.numerator,pt=[];for(let Ct=0;Ct<e.numerator;Ct++)pt.push(Tt.x-dt.x+Ct*ut);return pt}try{if(e.measureNumberXML===1&&lt&&lt.isRest()){const dt=((C=(P=(x=(E=(S=lt==null?void 0:lt.attrs)==null?void 0:S.el)==null?void 0:E.parentElement)==null?void 0:x.parentElement)==null?void 0:P.getBoundingClientRect)==null?void 0:C.call(P))||{x:0,right:0};let Tt=((I=(k=(T=lt==null?void 0:lt.attrs)==null?void 0:T.el)==null?void 0:k.getBoundingClientRect)==null?void 0:I.call(k))||{x:0},ut=Math.abs(dt.right-Tt.x)/e.numerator,pt=[];const Ct=100/(e.numerator+1);return pt}}catch(dt){console.log("🚀 ~ error:",dt)}return[]}let o=0,a=[],l=[];for(let lt=0;lt<i.length;lt++){const dt=i[lt];dt.index=lt;const Tt=dt._noteLength;o+=Tt;const ut=Math.floor(o/s);if(ut>=1){o-=s;let pt=((D=(V=(_=(B=(R=(M=dt==null?void 0:dt.svgElement)==null?void 0:M.attrs)==null?void 0:R.el)==null?void 0:B.parentElement)==null?void 0:_.parentElement)==null?void 0:V.getBoundingClientRect)==null?void 0:D.call(V))||{x:0};if(state$1.musicRenderType!=="staff"&&(pt=((U=(O=(q=(G=(K=(N=(F=dt==null?void 0:dt.svgElement)==null?void 0:F.attrs)==null?void 0:N.el)==null?void 0:K.parentElement)==null?void 0:G.parentElement)==null?void 0:q.querySelector(".vf-stave"))==null?void 0:O.getBoundingClientRect)==null?void 0:U.call(O))||{x:0}),!pt.width&&a.length>0&&(pt=state$1.musicRenderType!=="staff"?((ce=(J=(W=(ue=(xe=(Q=(Y=($=a[0])==null?void 0:$.svgElement)==null?void 0:Y.attrs)==null?void 0:Q.el)==null?void 0:xe.parentElement)==null?void 0:ue.parentElement)==null?void 0:W.querySelector(".vf-stave"))==null?void 0:J.getBoundingClientRect)==null?void 0:ce.call(J))||{x:0}:((H=(ae=(te=(De=(Te=(Ee=(ge=a[0])==null?void 0:ge.svgElement)==null?void 0:Ee.attrs)==null?void 0:Te.el)==null?void 0:De.parentElement)==null?void 0:te.parentElement)==null?void 0:ae.getBoundingClientRect)==null?void 0:H.call(ae))||{x:0}),a.length>0){let ie=((me=(ne=(ee=(pe=(ve=a[0])==null?void 0:ve.svgElement)==null?void 0:pe.attrs)==null?void 0:ee.el)==null?void 0:ne.getBoundingClientRect)==null?void 0:me.call(ne))||{x:0},de=ie.x-pt.x;if(a[0]._noteLength/s>=1){const ke=((Re=(Ie=(be=(oe=(Be=i[a[0].index+1])==null?void 0:Be.svgElement)==null?void 0:oe.attrs)==null?void 0:be.el)==null?void 0:Ie.getBoundingClientRect)==null?void 0:Re.call(Ie))||{x:pt.right},Oe=Math.abs(ie.x-ke.x)/2;de=ie.x-pt.x+Oe}l.push(de)}else{let de=(((ye=(Ce=(he=(Pe=dt==null?void 0:dt.svgElement)==null?void 0:Pe.attrs)==null?void 0:he.el)==null?void 0:Ce.getBoundingClientRect)==null?void 0:ye.call(Ce))||{x:0}).x-pt.x;l.push(de)}a=[];let Ct=((Ge=(Ye=(Ue=(Fe=dt==null?void 0:dt.svgElement)==null?void 0:Fe.attrs)==null?void 0:Ue.el)==null?void 0:Ye.getBoundingClientRect)==null?void 0:Ge.call(Ye))||{x:0},Vt=Ct.x-pt.x,Xe=0;if(ut>1){const ie=((vt=(st=(Ze=(et=(Ke=i[lt+1])==null?void 0:Ke.svgElement)==null?void 0:et.attrs)==null?void 0:Ze.el)==null?void 0:st.getBoundingClientRect)==null?void 0:vt.call(st))||{x:pt.right};Xe=Math.abs(Ct.x-ie.x)/ut}for(let ie=1;ie<ut;ie++)o-=s,l.push(Vt+Xe*ie)}o>Number.EPSILON&&o>0&&a.push(dt)}return l=l.reduce((lt,dt)=>(lt.includes(dt)?lt.push(void 0):lt.push(dt),lt),[]),l}function calculateMutilpleMetroStep(i,e){var c,u,d,g,m,y,b,A,S,E,x,P,C,T,k,I,M,R,B;const r=e.time/e.numerator,s=((b=(y=(m=(g=(d=(u=(c=i[0])==null?void 0:c.svgElement)==null?void 0:u.attrs)==null?void 0:d.el)==null?void 0:g.parentElement)==null?void 0:m.parentElement)==null?void 0:y.getBoundingClientRect)==null?void 0:b.call(y))||{x:0};if(i.length===1){const _=e.svgs[0];let V=((E=(S=(A=_==null?void 0:_.attrs)==null?void 0:A.el)==null?void 0:S.getBoundingClientRect)==null?void 0:E.call(S))||{x:0};return _&&!_.isRest()?[V.x-s.x]:[]}let o=0,a=[],l=[];for(let _=0;_<i.length;_++){const V=i[_];V._index=_;const D=V.endtime-V.time;o+=D;let F=(P=(x=e.svgs[_])==null?void 0:x.attrs)==null?void 0:P.el,N=((C=F==null?void 0:F.getBoundingClientRect)==null?void 0:C.call(F))||{x:0};if(D>r){o-=r;let K=N.x-s.x;a.length>0&&(F=(k=(T=e.svgs[a[0]._index])==null?void 0:T.attrs)==null?void 0:k.el,N=((I=F==null?void 0:F.getBoundingClientRect)==null?void 0:I.call(F))||{x:0},K=N.x-s.x),l.push(K),a=[]}else a.push(V);if(Math.abs(o-r)<.001){let K=N.x-s.x;a.length>0&&(F=(R=(M=e.svgs[a[0]._index])==null?void 0:M.attrs)==null?void 0:R.el,N=((B=F==null?void 0:F.getBoundingClientRect)==null?void 0:B.call(F))||{x:0},K=N.x-s.x),l.push(K),o=0,a=[]}}return l=l.reduce((_,V)=>(_.includes(V)?_.push(void 0):_.push(V),_),[]),l}function setCurrentTime(i){return browserInfo$1.huawei||browserInfo$1.xiaomi?i+=.125:browserInfo$1.android?i+=.11:browserInfo$1.ios&&(i+=.01),i}function hideCursorTip(){tipsTimer?(clearTimeout(tipsTimer),tipsTimer=setTimeout(()=>{metronomeData.cursorTips="",clearTimeout(tipsTimer),tipsTimer=null},2e3)):tipsTimer=setTimeout(()=>{metronomeData.cursorTips="",clearTimeout(tipsTimer),tipsTimer=null},2e3)}var GradualVersion=(i=>(i[i.BASE=0]="BASE",i[i.ENSEMBLE=1]="ENSEMBLE",i))(GradualVersion||{});const scriptRel="modulepreload",assetsURL=function(i,e){return new URL(i,e).href},seen={},__vitePreload=function i(e,r,s){if(!r||r.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=assetsURL(a,s),a in seen)return;seen[a]=!0;const l=a.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(!!s)for(let g=o.length-1;g>=0;g--){const m=o[g];if(m.href===a&&(!l||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${c}`))return;const d=document.createElement("link");if(d.rel=l?"stylesheet":scriptRel,l||(d.as="script",d.crossOrigin=""),d.href=a,document.head.appendChild(d),l)return new Promise((g,m)=>{d.addEventListener("load",g),d.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>e())},relationships={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]},"up-bass-horn":{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:[4,2,6],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:{60:[11,2,33,4,5,6,7,8],61:[11,2,33,4,5,6,7,88],62:[11,2,33,4,5,6,7],63:[11,2,33,4,5,6,77],64:[11,2,33,4,5,6],65:[11,2,33,4,5],66:[11,2,33,4,6,7],67:[11,2,33,4],68:[11,2,33,5,6,77],69:[11,2,33],70:[[11,2,4,5],[1,11,2,4,6,7]],71:[[11,2],[11,33,4]],72:[11,33],73:[[2,33],[11]],74:[33],75:[33,4,5,6,7],76:[1,2,33,4,5,6],77:[1,2,33,4,5],78:[1,2,33,4,6,8],79:[1,2,33,4],80:[1,2,33,4,6,7,8],81:[1,2,33],82:[1,2,33,5,6,7],83:[1,2,33,5,6],84:[1,2,5,6],85:[1,2,4,5,7,8,100],86:[1,2,4,5,7,8]},"small-drum":{0:["active","active-left","active-right"],64:["left","right"]},hulusi:{64:[7,6,5,4,3,2,11,91],65:[7,6,5,4,3,2,1,91],66:[7,6,5,4,3,2,91],67:[7,6,5,4,3,2,11,92],68:[7,6,5,4,3,2,1,92],69:[7,6,5,4,3,2,93],70:[7,6,5,4,3,11,93],71:[7,6,5,4,3,93],72:[7,6,5,4,95],73:[7,6,5,3,2,95],74:[7,6,5,95],75:[7,6,4,3,95],76:[7,6,95],77:[7,5,4,3,2,94],78:[7,5,4,94],79:[7,94],80:[6,94],81:[96]},pan:{55:[21],57:[20],59:[19],60:[18],62:[17],64:[16],65:[15],67:[14],69:[13],71:[12],72:[11],74:[10],76:[9],77:[8],79:[7],81:[6],83:[5],84:[4],86:[3],88:[2],89:[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,7,8,9,10,11,12],60:[1,2,4,5,6,8,9,10,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,9,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,6,9,11,12],71:[1,6,11,12],72:[6,11,12],73:[6,9,12],74:[6,12],75:[6,9],76:[6],77:[]},melodica:{53:[1],54:[101],55:[2],56:[102],57:[3],58:[103],59:[4],60:[5],61:[104],62:[6],63:[105],64:[7],65:[8],66:[106],67:[9],68:[107],69:[10],70:[108],71:[11],72:[12],73:[109],74:[13],75:[110],76:[14],77:[15],78:[111],79:[16],80:[112],81:[17],82:[113],83:[18],84:[19]},baroqueRecorder:{60:[11,2,33,4,5,6,7,8],61:[11,2,33,4,5,6,7,88],62:[11,2,33,4,5,6,7],63:[11,2,33,4,5,6,77],64:[11,2,33,4,5,6],65:[11,2,33,4,5,7,8],66:[11,2,33,4,6,7],67:[11,2,33,4],68:[11,2,33,5,6,77],69:[11,2,33],70:[11,2,4,5],71:[11,2],72:[11,33],73:[2,33],74:[33],75:[33,4,5,6,7],76:[1,2,33,4,5,6],77:[1,2,33,4,5,7],78:[1,2,33,4,6],79:[1,2,33,4],80:[1,2,33,5],81:[1,2,33],82:[1,2,33,5,6,7],83:[1,2,33,5,6],84:[1,2,5,6],85:[1,2,4,5,7,8,100],86:[1,2,4,5,7,8],87:[1,2,4],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]}},mappingVoicePart=(i,e)=>{if(e==="GYM")return Number(i);if(e==="COLEXIU")return{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}[i];if(e==="ORCHESTRA")return{1:23,2:2,3:5,4:4,5:12,6:14,7:13,8:15,9:17}[i];if(e==="INSTRUMENT"){let r=i;return typeof r=="string"&&(r=r.toLocaleLowerCase().replace(/ /g,"")),{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,recorder:120,ukulele:130,mouthorgan:140,piano:150,baroquerecorder:"baroque-recorder",4:"piccolo",3:"hulusi-flute",1:"pan-flute",2:"ocarina",5:"melodica",23:2,24:6,25:4,26:12,27:14,28:13,29:15,30:17,tenorrecorder:"piccolo",woodwind:"hulusi-flute",panpipes:"pan-flute",ocarina:"ocarina",whistling:"whistling",nai:"melodica",15:"baroque-recorder",16:"baroque-recorder"}[r]||0}else if(e==="ENSEMBLE"){let r=i;const s={Piccolo:"piccolo",Flute:2,"Flute 1":2,"Flute 2":2,Oboe:1,"Clarinet in Bb 1":4,"Clarinet in Bb 2":4,"Alto Clarinet in Eb":4,"Bass Clarinet in Bb":4,Bassoon:1,"Alto Saxophone":5,"Tenor Saxophone":5,"Baritone Saxophone":5,"Trumpet in Bb 1":12,"Trumpet in Bb 2":12,"Horn in F":13,"Horn in F 1":13,"Horn in F 2":13,"Trombone 1":14,"Trombone 2":14,"Trombone 3":14,Euphonium:15,Tuba:17,Chimes:1,Bells:1,Xylophone:1,"Snare Drum":1,"Bass Drum":1,Triangle:1,"Suspended Cymbal":1,"Crash Cymbals":1,"Concert Toms":1,Timpani:1,flute:2,oboe:4,clarinet:4,trombone:14,tuba:17,trumpet:12,horn:13,altosaxophone:6,tenorsaxophone:6,saxophone:6,upbasshorn:15,melodica:137,hulusiFlute:136,panflute:135,recorder:120,ukulele:130,mouthorgan:140,piano:150,4:"piccolo",3:"hulusi-flute",1:"pan-flute",2:"ocarina",5:"melodica",26:12,tenorrecorder:"piccolo",woodwind:"hulusi-flute",panpipes:"pan-flute",ocarina:"ocarina",nai:"melodica",BaroqueRecorder:"baroque-recorder"};let o;if(typeof r=="string"){for(let a in s)if(a===r){o=s[a];break}}else o=s.code;return o}return 0},matchVoicePart=(i,e)=>{if(e==="SINGLE")return{33:"pan-flute",34:"ocarina",35:"hulusi-flute",37:"piccolo",36:"melodica",38:"baroque-recorder",39:"whistling",1:2,5:5,3:4,11:12,13:14,12:13,14:15,16:17}[i];{let r=i;const s={Piccolo:"piccolo",Flute:2,"Flute 1":2,"Flute 2":2,Oboe:1,"Clarinet in Bb":4,"Clarinet in Bb 1":4,"Clarinet in Bb 2":4,"Alto Clarinet in Eb":4,"Bass Clarinet in Bb":4,Bassoon:1,"Alto Saxophone":5,"Tenor Saxophone":5,"Baritone Saxophone":5,"Trumpet in Bb 1":12,"Trumpet in Bb 2":12,"Horn in F":13,"Horn in F 1":13,"Horn in F 2":13,"Trombone 1":14,"Trombone 2":14,"Trombone 3":14,Euphonium:15,Tuba:17,Chimes:1,Bells:1,Xylophone:1,"Snare Drum":1,"Bass Drum":1,Triangle:1,"Suspended Cymbal":1,"Crash Cymbals":1,"Concert Toms":1,Timpani:1,flute:2,oboe:4,clarinet:4,trombone:14,tuba:17,trumpet:12,horn:13,altosaxophone:6,tenorsaxophone:6,saxophone:6,upbasshorn:15,melodica:137,hulusiFlute:136,panflute:135,recorder:120,ukulele:130,mouthorgan:140,piano:150,4:"piccolo",3:"hulusi-flute",1:"pan-flute",2:"ocarina",5:"melodica",26:12,tenorrecorder:"piccolo",woodwind:"hulusi-flute",panpipes:"pan-flute",ocarina:"ocarina",whistling:"whistling",nai:"melodica",BaroqueRecorder:"baroque-recorder","Drum Set":24,Marimba:26,Vibraphone:27,"Tubular Bells":30,Mallets:32};let o;if(typeof r=="string"){r=r.toLocaleLowerCase().replace(/ /g,"");for(let a in s){let l=a;if(typeof a=="string"&&(l=l.toLocaleLowerCase().replace(/ /g,"")),l===r){o=s[a];break}}}else o=s.code;return o}},subjectFingering=i=>{switch(i){case 2:return{name:"flute",direction:"transverse",height:"1.6rem",scaleData:{scale:"0.8",offset:"3.64rem"},hasTizhi:!0,id:1};case 4:return{name:"clarinet",direction:"vertical",width:"3rem",hasTizhi:!0,id:3};case 5:case 6:return{name:"saxophone",direction:"vertical",width:"4.34rem",hasTizhi:!0,id:5};case 12:return{name:"trumpet",direction:"transverse",height:"1.6rem",scaleData:{scale:"0.8",offset:"3.64rem"},hasTizhi:!1,id:11};case 13:return{name:"horn",direction:"vertical",width:"4.98rem",hasTizhi:!1,id:12};case 14:return{name:"trombone",direction:"transverse",height:"1.6rem",scaleData:{scale:"0.8",offset:"3.64rem"},hasTizhi:!1,id:13};case 15:return{name:"up-bass-horn",direction:"vertical",width:"4.34rem",hasTizhi:!1,id:14};case 17:return{name:"tuba",direction:"vertical",width:"4.34rem",hasTizhi:!1,id:16};case 120:return{name:"piccolo",direction:"vertical",width:"3rem",orientation:0,hasTizhi:!0,id:2};case"piccolo":return{name:"piccolo",direction:"vertical",width:"3rem",orientation:0,code:"竖笛",hasTizhi:!0,id:37};case"hulusi-flute":return{name:"hulusi-flute",direction:"vertical",width:"3rem",orientation:0,code:"葫芦丝",hasTizhi:!1,id:35};case"pan-flute":return{name:"pan-flute",direction:"transverse",height:"2rem",scaleData:{scale:"0.8",offset:"3.64rem"},disabledFinger:!0,orientation:0,code:"排箫",hasTizhi:!1,id:33};case"ocarina":return{name:"ocarina",direction:"vertical",width:"3rem",disabledFinger:!0,orientation:0,code:"陶笛",hasTizhi:!1,id:34};case"whistling":return{name:"whistling",direction:"vertical",width:"3rem",disabledFinger:!0,orientation:0,code:"陶笛",hasTizhi:!1,id:39};case"melodica":return{name:"melodica",direction:"transverse",height:"2rem",scaleData:{scale:"0.8",offset:"3.64rem"},orientation:0,code:"口风琴",hasTizhi:!1,id:36};case"baroque-recorder":return{name:"baroque-recorder",direction:"vertical",width:"3rem",orientation:0,code:"竖笛",hasTizhi:!0,id:38};default:return typeof i=="number"?{id:i}:{}}},getFingeringConfig=async i=>{switch(i){case"flute":return{json:(await __vitePreload(()=>import("./index-7f22768f.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-991877f6.js"),[],import.meta.url)).default,relationship:relationships.piccolo};case"piccolo1":return{json:(await __vitePreload(()=>import("./index-0bbf84fb.js"),[],import.meta.url)).default,relationship:relationships.piccolo};case"piccolo2":return{json:(await __vitePreload(()=>import("./index-f5dd9e1d.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["up-bass-horn"]};case"trombone":return{json:(await __vitePreload(()=>import("./index-f23e3dbf.js"),[],import.meta.url)).default,relationship:relationships.trombone};case"saxophone":return{json:(await __vitePreload(()=>import("./index-cef965b9.js"),[],import.meta.url)).default,relationship:relationships.saxophone,styles:{marginLeft:".2rem",marginRight:".3rem"}};case"small-drum":return{json:(await __vitePreload(()=>import("./index-7ad0b9f0.js"),[],import.meta.url)).default,relationship:relationships["up-bass-horn"],width:"180px"};case"hulusi-flute":return{json:(await __vitePreload(()=>import("./index-71a277d3.js"),[],import.meta.url)).default,relationship:relationships.hulusi,styles:{marginLeft:".6rem",marginRight:".7rem"}};case"hulusi-flute1":return{json:(await __vitePreload(()=>import("./index-03bddf2b.js"),[],import.meta.url)).default,relationship:relationships.hulusi,styles:{marginLeft:".6rem",marginRight:".7rem"}};case"hulusi-flute2":return{json:(await __vitePreload(()=>import("./index-97e45cdd.js"),[],import.meta.url)).default,relationship:relationships.hulusi,styles:{marginLeft:".6rem",marginRight:".7rem"}};case"pan-flute":return{json:(await __vitePreload(()=>import("./index-0bc55d54.js"),[],import.meta.url)).default,relationship:relationships.pan};case"pan-flute1":return{json:(await __vitePreload(()=>import("./index-97c2723f.js"),[],import.meta.url)).default,relationship:relationships.pan};case"pan-flute2":return{json:(await __vitePreload(()=>import("./index-589cb412.js"),[],import.meta.url)).default,relationship:relationships.pan};case"pan-flute3":return{json:(await __vitePreload(()=>import("./index-e427d448.js"),[],import.meta.url)).default,relationship:relationships.pan};case"ocarina":return{json:(await __vitePreload(()=>import("./index-8848f89c.js"),[],import.meta.url)).default,relationship:relationships.ocarina,width:"180px",styles:{marginTop:"auto"}};case"ocarina1":return{json:(await __vitePreload(()=>import("./index-ad04d4cf.js"),[],import.meta.url)).default,relationship:relationships.ocarina,width:"180px",styles:{marginTop:"auto"}};case"ocarina2":return{json:(await __vitePreload(()=>import("./index-c7652d9b.js"),[],import.meta.url)).default,relationship:relationships.ocarina,width:"180px",styles:{marginTop:"auto"}};case"whistling":return{json:(await __vitePreload(()=>import("./index-c5bb109e.js"),[],import.meta.url)).default,relationship:relationships.ocarina,width:"180px",styles:{marginTop:"auto"}};case"whistling1":return{json:(await __vitePreload(()=>import("./index-38262e39.js"),[],import.meta.url)).default,relationship:relationships.ocarina,width:"180px",styles:{marginTop:"auto"}};case"whistling2":return{json:(await __vitePreload(()=>import("./index-6972bb98.js"),[],import.meta.url)).default,relationship:relationships.ocarina,width:"180px",styles:{marginTop:"auto"}};case"melodica":return{json:(await __vitePreload(()=>import("./index-55a98a41.js"),[],import.meta.url)).default,relationship:relationships.melodica,height:"80px",styles:{marginTop:"auto"}};case"melodica1":return{json:(await __vitePreload(()=>import("./index-b6d2ab3b.js"),[],import.meta.url)).default,relationship:relationships.melodica,height:"80px",styles:{marginTop:"auto"}};case"baroque-recorder":return{json:(await __vitePreload(()=>import("./index-7908a008.js"),[],import.meta.url)).default,relationship:relationships.baroqueRecorder};case"baroque-recorder1":return{json:(await __vitePreload(()=>import("./index-142fdf16.js"),[],import.meta.url)).default,relationship:relationships.baroqueRecorder};case"baroque-recorder2":return{json:(await __vitePreload(()=>import("./index-d13c0247.js"),[],import.meta.url)).default,relationship:relationships.baroqueRecorder};default:return null}},getMusicSheetDetail=(i,e)=>{const r=e==="open"?`/open/musicSheet/cbsDetail/${i}`:`/musicSheet/cbsDetail/${i}`;return request.get(r,{noToken:e==="open"})};class AJAX{static ajax(e,r=9e3){let s;const o=e.indexOf(".mxl")>-1?"text/plain; charset=x-user-defined":"application/xml";if(XMLHttpRequest)s=new XMLHttpRequest;else if(ActiveXObject)s=new ActiveXObject("Microsoft.XMLHTTP");else return Promise.reject(new Error("XMLHttp not supported."));return s.timeout=r,new Promise((a,l)=>{s.onreadystatechange=()=>{s.readyState===XMLHttpRequest.DONE&&(s.status===200||s.status===0&&s.responseText?a(s.responseText):l(new Error("Could not retrieve requested URL "+s.status)))},s.ontimeout=c=>{l(new Error("Server request Timeout"))},s.overrideMimeType(o),s.open("GET",e,!0),s.send()})}}const _Fraction=class{constructor(i=0,e=1,r=0,s=!0){this.numerator=0,this.denominator=1,this.wholeValue=0,this.numerator=i,this.denominator=e,this.wholeValue=r,s&&this.simplify(),this.setRealValue()}static max(i,e){return i.RealValue>e.RealValue?i:e}static Equal(i,e){return i.wholeValue===e.wholeValue&&i.Denominator===e.Denominator&&i.Numerator===e.Numerator}static createFromFraction(i){return new _Fraction(i.numerator,i.denominator,i.wholeValue,!1)}static plus(i,e){const r=i.clone();return r.Add(e),r}static minus(i,e){const r=i.clone();return r.Sub(e),r}static multiply(i,e){return new _Fraction((i.wholeValue*i.denominator+i.numerator)*(e.wholeValue*e.denominator+e.numerator),i.denominator*e.denominator)}static greatestCommonDenominator(i,e){if(i===0)return e;if(e===1)return 1;for(;Math.abs(e)>=1&&Math.abs(i)>=1;)i>e?i-=e:e-=i;const r=Math.round(i);return Math.max(r,1)}toString(){let i=this.numerator+"/"+this.denominator;return this.wholeValue!==0&&(i=this.wholeValue+" "+i),i}clone(){return new _Fraction(this.numerator,this.denominator,this.wholeValue,!1)}get Numerator(){return this.numerator}set Numerator(i){this.numerator!==i&&(this.numerator=i,this.simplify(),this.setRealValue())}get Denominator(){return this.denominator}set Denominator(i){this.denominator!==i&&(this.denominator=i,this.numerator!==0&&this.simplify(),this.setRealValue())}get WholeValue(){return this.wholeValue}set WholeValue(i){this.wholeValue!==i&&(this.wholeValue=i,this.setRealValue())}GetExpandedNumerator(){return this.wholeValue*this.denominator+this.numerator}calculateNumberOfNeededDots(){let i=1,e=2;const r=this.GetExpandedNumerator();for(;e<r;)i++,e=Math.pow(2,i);return Math.min(3,i-1)}IsNegative(){return this.realValue<0}get RealValue(){return this.realValue}expand(i){this.numerator*=i,this.denominator*=i,this.wholeValue!==0&&(this.numerator+=this.wholeValue*this.denominator,this.wholeValue=0)}Add(i){return this.numerator=(this.wholeValue*this.denominator+this.numerator)*i.denominator+(i.wholeValue*i.denominator+i.numerator)*this.denominator,this.denominator=this.denominator*i.denominator,this.wholeValue=0,this.simplify(),this.setRealValue(),this}Sub(i){return this.numerator=(this.wholeValue*this.denominator+this.numerator)*i.denominator-(i.wholeValue*i.denominator+i.numerator)*this.denominator,this.denominator=this.denominator*i.denominator,this.wholeValue=0,this.simplify(),this.setRealValue(),this}getHalfLength(){return new _Fraction(this.WholeValue,2).Add(new _Fraction(this.Numerator,this.Denominator*2))}Quantize(i){if(this.denominator<=i)return this;const e=new _Fraction(this.numerator+1,this.denominator,this.wholeValue);for(;e.Denominator>i;)e.Numerator++;if(this.numerator>this.denominator){const r=new _Fraction(this.numerator-1,this.denominator,this.wholeValue);for(;r.Denominator>i;)r.Numerator--;if(r.Denominator<e.Denominator)return r}return e}Equals(i){return this.realValue===(i==null?void 0:i.realValue)}CompareTo(i){const e=this.realValue-i.realValue;return e?e<0?-1:1:0}lt(i){return this.realValue<i.realValue}lte(i){return this.realValue<=i.realValue}gt(i){return!this.lte(i)}gte(i){return!this.lt(i)}setRealValue(){this.realValue=this.wholeValue+this.numerator/this.denominator}simplify(){if(this.numerator===0){this.denominator=1;return}const i=_Fraction.greatestCommonDenominator(Math.abs(this.numerator),Math.abs(this.denominator));this.numerator/=i,this.denominator/=i;const e=Math.floor(this.numerator/this.denominator);if(e!==0&&(this.wholeValue+=e,this.numerator-=e*this.denominator,this.numerator===0&&(this.denominator=1)),this.denominator>_Fraction.maximumAllowedNumber){const r=this.denominator/_Fraction.maximumAllowedNumber;this.numerator=Math.round(this.numerator/r),this.denominator=Math.round(this.denominator/r)}if(this.numerator>_Fraction.maximumAllowedNumber){const r=this.numerator/_Fraction.maximumAllowedNumber;this.numerator=Math.round(this.numerator/r),this.denominator=Math.round(this.denominator/r)}}isOnBeat(i){const e=this.distanceFromBeat(i);return Math.abs(e)<_Fraction.FloatInaccuracyTolerance}distanceFromBeat(i){const e=new _Fraction(1,i.Denominator);return this.RealValue%e.RealValue}};let Fraction$1=_Fraction;Fraction$1.maximumAllowedNumber=46340;Fraction$1.FloatInaccuracyTolerance=1e-4;class AbstractExpression{constructor(e){this.placement=e}static isStringInStringList(e,r){for(let s=0,o=e.length;s<o;++s){const a=e[s];if(r.toLowerCase()===a.toLowerCase().trim())return!0}return!1}get Placement(){return this.placement}static PlacementEnumFromString(e){switch(e.toLowerCase()){case"above":return 0;case"below":return 1;case"aboveorbelow":case"abovebelow":return 5;case"left":return 2;case"right":return 3;case"auto":default:return 4}}}var PlacementEnum=(i=>(i[i.Above=0]="Above",i[i.Below=1]="Below",i[i.Left=2]="Left",i[i.Right=3]="Right",i[i.NotYetDefined=4]="NotYetDefined",i[i.AboveOrBelow=5]="AboveOrBelow",i))(PlacementEnum||{});const _ContinuousDynamicExpression=class extends AbstractExpression{constructor(i,e,r,s,o,a,l=""){super(e),super.parentMeasure=s,this.NumberXml=a,this.dynamicType=i,this.label=l,this.staffNumber=r,this.activeInstantaneousDynamic=o,this.startVolume=1,this.endVolume=1,this.setStartAndEndVolume(),l!==""&&this.setType()}setStartAndEndVolume(){this.activeInstantaneousDynamic&&(this.dynamicType===0&&(this.startVolume=this.activeInstantaneousDynamic.Volume,this.endVolume=this.activeInstantaneousDynamic.Volume*1.2),this.dynamicType===1&&(this.startVolume=this.activeInstantaneousDynamic.Volume,this.endVolume=this.activeInstantaneousDynamic.Volume*.8))}get DynamicType(){return this.dynamicType}set DynamicType(i){this.dynamicType=i}get StartMultiExpression(){return this.startMultiExpression}set StartMultiExpression(i){this.startMultiExpression=i}get EndMultiExpression(){return this.endMultiExpression}set EndMultiExpression(i){this.endMultiExpression=i}get Placement(){return this.placement}set Placement(i){this.placement=i}get StartVolume(){return this.startVolume}set StartVolume(i){this.startVolume=i}get EndVolume(){return this.endVolume}set EndVolume(i){this.endVolume=i}get StaffNumber(){return this.staffNumber}set StaffNumber(i){this.staffNumber=i}get Label(){return this.label}set Label(i){this.label=i,this.setType()}static isInputStringContinuousDynamic(i){return i?_ContinuousDynamicExpression.isStringInStringList(_ContinuousDynamicExpression.listContinuousDynamicIncreasing,i)||_ContinuousDynamicExpression.isStringInStringList(_ContinuousDynamicExpression.listContinuousDynamicDecreasing,i):!1}getInterpolatedDynamic(i){const e=this.StartMultiExpression.AbsoluteTimestamp;let r;if(this.EndMultiExpression?r=this.EndMultiExpression.AbsoluteTimestamp:r=Fraction$1.plus(this.startMultiExpression.SourceMeasureParent.AbsoluteTimestamp,this.startMultiExpression.SourceMeasureParent.Duration),i.lt(e))return-1;if(r.lt(i))return-2;const s=Fraction$1.minus(i,e).RealValue/Fraction$1.minus(r,e).RealValue;return Math.max(0,Math.min(99.9,this.startVolume+(this.endVolume-this.startVolume)*s))}isWedge(){return!this.label}setType(){_ContinuousDynamicExpression.isStringInStringList(_ContinuousDynamicExpression.listContinuousDynamicIncreasing,this.label)?this.dynamicType=0:_ContinuousDynamicExpression.isStringInStringList(_ContinuousDynamicExpression.listContinuousDynamicDecreasing,this.label)&&(this.dynamicType=1)}};let ContinuousDynamicExpression=_ContinuousDynamicExpression;ContinuousDynamicExpression.listContinuousDynamicIncreasing=["crescendo","cresc","cresc.","cres."];ContinuousDynamicExpression.listContinuousDynamicDecreasing=["decrescendo","decresc","decr.","diminuendo","dim.","dim"];var ContDynamicEnum=(i=>(i[i.crescendo=0]="crescendo",i[i.diminuendo=1]="diminuendo",i))(ContDynamicEnum||{}),DynamicExpressionSymbolEnum=(i=>(i[i.p=0]="p",i[i.f=1]="f",i[i.s=2]="s",i[i.z=3]="z",i[i.m=4]="m",i[i.r=5]="r",i))(DynamicExpressionSymbolEnum||{});class MusicSheetReadingException{constructor(e,r){this.message=e,r&&(this.message+=" "+r.toString())}}class ArgumentOutOfRangeException{constructor(e){this.message=e}}class InvalidEnumArgumentException{constructor(e){this.message=e}}var loglevelExports={},loglevel={get exports(){return loglevelExports},set exports(i){loglevelExports=i}};(function(i){(function(e,r){i.exports?i.exports=r():e.log=r()})(commonjsGlobal,function(){var e=function(){},r="undefined",s=typeof window!==r&&typeof window.navigator!==r&&/Trident\/|MSIE /.test(window.navigator.userAgent),o=["trace","debug","info","warn","error"];function a(S,E){var x=S[E];if(typeof x.bind=="function")return x.bind(S);try{return Function.prototype.bind.call(x,S)}catch(P){return function(){return Function.prototype.apply.apply(x,[S,arguments])}}}function l(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function c(S){return S==="debug"&&(S="log"),typeof console===r?!1:S==="trace"&&s?l:console[S]!==void 0?a(console,S):console.log!==void 0?a(console,"log"):e}function u(S,E){for(var x=0;x<o.length;x++){var P=o[x];this[P]=x<S?e:this.methodFactory(P,S,E)}this.log=this.debug}function d(S,E,x){return function(){typeof console!==r&&(u.call(this,E,x),this[S].apply(this,arguments))}}function g(S,E,x){return c(S)||d.apply(this,arguments)}function m(S,E,x){var P=this,C;E=E==null?"WARN":E;var T="loglevel";typeof S=="string"?T+=":"+S:typeof S=="symbol"&&(T=void 0);function k(B){var _=(o[B]||"silent").toUpperCase();if(!(typeof window===r||!T)){try{window.localStorage[T]=_;return}catch(V){}try{window.document.cookie=encodeURIComponent(T)+"="+_+";"}catch(V){}}}function I(){var B;if(!(typeof window===r||!T)){try{B=window.localStorage[T]}catch(D){}if(typeof B===r)try{var _=window.document.cookie,V=_.indexOf(encodeURIComponent(T)+"=");V!==-1&&(B=/^([^;]+)/.exec(_.slice(V))[1])}catch(D){}return P.levels[B]===void 0&&(B=void 0),B}}function M(){if(!(typeof window===r||!T)){try{window.localStorage.removeItem(T);return}catch(B){}try{window.document.cookie=encodeURIComponent(T)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(B){}}}P.name=S,P.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},P.methodFactory=x||g,P.getLevel=function(){return C},P.setLevel=function(B,_){if(typeof B=="string"&&P.levels[B.toUpperCase()]!==void 0&&(B=P.levels[B.toUpperCase()]),typeof B=="number"&&B>=0&&B<=P.levels.SILENT){if(C=B,_!==!1&&k(B),u.call(P,B,S),typeof console===r&&B<P.levels.SILENT)return"No console available for logging"}else throw"log.setLevel() called with invalid level: "+B},P.setDefaultLevel=function(B){E=B,I()||P.setLevel(B,!1)},P.resetLevel=function(){P.setLevel(E,!1),M()},P.enableAll=function(B){P.setLevel(P.levels.TRACE,B)},P.disableAll=function(B){P.setLevel(P.levels.SILENT,B)};var R=I();R==null&&(R=E),P.setLevel(R,!1)}var y=new m,b={};y.getLogger=function(E){if(typeof E!="symbol"&&typeof E!="string"||E==="")throw new TypeError("You must supply a name when creating a logger.");var x=b[E];return x||(x=b[E]=new m(E,y.getLevel(),y.methodFactory)),x};var A=typeof window!==r?window.log:void 0;return y.noConflict=function(){return typeof window!==r&&window.log===y&&(window.log=A),y},y.getLoggers=function(){return b},y.default=y,y})})(loglevel);var lib$3={},arrays$4={},util$b={};(function(i){Object.defineProperty(i,"__esModule",{value:!0});var e=Object.prototype.hasOwnProperty;i.has=function(m,y){return e.call(m,y)};function r(m,y){return m<y?-1:m===y?0:1}i.defaultCompare=r;function s(m,y){return m===y}i.defaultEquals=s;function o(m){return m===null?"COLLECTION_NULL":c(m)?"COLLECTION_UNDEFINED":u(m)?"$s"+m:"$o"+m.toString()}i.defaultToString=o;function a(m,y){if(y===void 0&&(y=","),m===null)return"COLLECTION_NULL";if(c(m))return"COLLECTION_UNDEFINED";if(u(m))return m.toString();var b="{",A=!0;for(var S in m)i.has(m,S)&&(A?A=!1:b=b+y,b=b+S+":"+m[S]);return b+"}"}i.makeString=a;function l(m){return typeof m=="function"}i.isFunction=l;function c(m){return typeof m>"u"}i.isUndefined=c;function u(m){return Object.prototype.toString.call(m)==="[object String]"}i.isString=u;function d(m){return c(m)||!l(m)?function(y,b){return y<b?1:y===b?0:-1}:function(y,b){return m(y,b)*-1}}i.reverseCompareFunction=d;function g(m){return function(y,b){return m(y,b)===0}}i.compareToEquals=g})(util$b);Object.defineProperty(arrays$4,"__esModule",{value:!0});var util$a=util$b;function indexOf$1(i,e,r){for(var s=r||util$a.defaultEquals,o=i.length,a=0;a<o;a++)if(s(i[a],e))return a;return-1}arrays$4.indexOf=indexOf$1;function lastIndexOf(i,e,r){for(var s=r||util$a.defaultEquals,o=i.length,a=o-1;a>=0;a--)if(s(i[a],e))return a;return-1}arrays$4.lastIndexOf=lastIndexOf;function contains(i,e,r){return indexOf$1(i,e,r)>=0}arrays$4.contains=contains;function remove(i,e,r){var s=indexOf$1(i,e,r);return s<0?!1:(i.splice(s,1),!0)}arrays$4.remove=remove;function frequency(i,e,r){for(var s=r||util$a.defaultEquals,o=i.length,a=0,l=0;l<o;l++)s(i[l],e)&&a++;return a}arrays$4.frequency=frequency;function equals(i,e,r){var s=r||util$a.defaultEquals;if(i.length!==e.length)return!1;for(var o=i.length,a=0;a<o;a++)if(!s(i[a],e[a]))return!1;return!0}arrays$4.equals=equals;function copy(i){return i.concat()}arrays$4.copy=copy;function swap(i,e,r){if(e<0||e>=i.length||r<0||r>=i.length)return!1;var s=i[e];return i[e]=i[r],i[r]=s,!0}arrays$4.swap=swap;function toString$1(i){return"["+i.toString()+"]"}arrays$4.toString=toString$1;function forEach(i,e){for(var r=0,s=i;r<s.length;r++){var o=s[r];if(e(o)===!1)return}}arrays$4.forEach=forEach;var Bag$1={},Dictionary$2={};Object.defineProperty(Dictionary$2,"__esModule",{value:!0});var util$9=util$b,Dictionary$1=function(){function i(e){this.table={},this.nElements=0,this.toStr=e||util$9.defaultToString}return i.prototype.getValue=function(e){var r=this.table["$"+this.toStr(e)];if(!util$9.isUndefined(r))return r.value},i.prototype.setValue=function(e,r){if(!(util$9.isUndefined(e)||util$9.isUndefined(r))){var s,o="$"+this.toStr(e),a=this.table[o];return util$9.isUndefined(a)?(this.nElements++,s=void 0):s=a.value,this.table[o]={key:e,value:r},s}},i.prototype.remove=function(e){var r="$"+this.toStr(e),s=this.table[r];if(!util$9.isUndefined(s))return delete this.table[r],this.nElements--,s.value},i.prototype.keys=function(){var e=[];for(var r in this.table)if(util$9.has(this.table,r)){var s=this.table[r];e.push(s.key)}return e},i.prototype.values=function(){var e=[];for(var r in this.table)if(util$9.has(this.table,r)){var s=this.table[r];e.push(s.value)}return e},i.prototype.forEach=function(e){for(var r in this.table)if(util$9.has(this.table,r)){var s=this.table[r],o=e(s.key,s.value);if(o===!1)return}},i.prototype.containsKey=function(e){return!util$9.isUndefined(this.getValue(e))},i.prototype.clear=function(){this.table={},this.nElements=0},i.prototype.size=function(){return this.nElements},i.prototype.isEmpty=function(){return this.nElements<=0},i.prototype.toString=function(){var e="{";return this.forEach(function(r,s){e+=`
  58. `+r+" : "+s}),e+`
  59. }`},i}(),_default=Dictionary$2.default=Dictionary$1,_Set={};Object.defineProperty(_Set,"__esModule",{value:!0});var util$8=util$b,arrays$3=arrays$4,Dictionary_1$5=Dictionary$2,Set$1=function(){function i(e){this.dictionary=new Dictionary_1$5.default(e)}return i.prototype.contains=function(e){return this.dictionary.containsKey(e)},i.prototype.add=function(e){return this.contains(e)||util$8.isUndefined(e)?!1:(this.dictionary.setValue(e,e),!0)},i.prototype.intersection=function(e){var r=this;this.forEach(function(s){return e.contains(s)||r.remove(s),!0})},i.prototype.union=function(e){var r=this;e.forEach(function(s){return r.add(s),!0})},i.prototype.difference=function(e){var r=this;e.forEach(function(s){return r.remove(s),!0})},i.prototype.isSubsetOf=function(e){if(this.size()>e.size())return!1;var r=!0;return this.forEach(function(s){return e.contains(s)?!0:(r=!1,!1)}),r},i.prototype.remove=function(e){return this.contains(e)?(this.dictionary.remove(e),!0):!1},i.prototype.forEach=function(e){this.dictionary.forEach(function(r,s){return e(s)})},i.prototype.toArray=function(){return this.dictionary.values()},i.prototype.isEmpty=function(){return this.dictionary.isEmpty()},i.prototype.size=function(){return this.dictionary.size()},i.prototype.clear=function(){this.dictionary.clear()},i.prototype.toString=function(){return arrays$3.toString(this.toArray())},i}();_Set.default=Set$1;Object.defineProperty(Bag$1,"__esModule",{value:!0});var util$7=util$b,Dictionary_1$4=Dictionary$2,Set_1$1=_Set,Bag=function(){function i(e){this.toStrF=e||util$7.defaultToString,this.dictionary=new Dictionary_1$4.default(this.toStrF),this.nElements=0}return i.prototype.add=function(e,r){if(r===void 0&&(r=1),util$7.isUndefined(e)||r<=0)return!1;if(this.contains(e))this.dictionary.getValue(e).copies+=r;else{var s={value:e,copies:r};this.dictionary.setValue(e,s)}return this.nElements+=r,!0},i.prototype.count=function(e){return this.contains(e)?this.dictionary.getValue(e).copies:0},i.prototype.contains=function(e){return this.dictionary.containsKey(e)},i.prototype.remove=function(e,r){if(r===void 0&&(r=1),util$7.isUndefined(e)||r<=0)return!1;if(this.contains(e)){var s=this.dictionary.getValue(e);return r>s.copies?this.nElements-=s.copies:this.nElements-=r,s.copies-=r,s.copies<=0&&this.dictionary.remove(e),!0}else return!1},i.prototype.toArray=function(){for(var e=[],r=this.dictionary.values(),s=0,o=r;s<o.length;s++)for(var a=o[s],l=a.value,c=a.copies,u=0;u<c;u++)e.push(l);return e},i.prototype.toSet=function(){for(var e=new Set_1$1.default(this.toStrF),r=this.dictionary.values(),s=0,o=r;s<o.length;s++){var a=o[s],l=a.value;e.add(l)}return e},i.prototype.forEach=function(e){this.dictionary.forEach(function(r,s){for(var o=s.value,a=s.copies,l=0;l<a;l++)if(e(o)===!1)return!1;return!0})},i.prototype.size=function(){return this.nElements},i.prototype.isEmpty=function(){return this.nElements===0},i.prototype.clear=function(){this.nElements=0,this.dictionary.clear()},i}();Bag$1.default=Bag;var BSTree$1={},BSTreeKV$1={},Queue$1={},LinkedList$1={};Object.defineProperty(LinkedList$1,"__esModule",{value:!0});var util$6=util$b,arrays$2=arrays$4,LinkedList=function(){function i(){this.firstNode=null,this.lastNode=null,this.nElements=0}return i.prototype.add=function(e,r){if(util$6.isUndefined(r)&&(r=this.nElements),r<0||r>this.nElements||util$6.isUndefined(e))return!1;var s=this.createNode(e);if(this.nElements===0||this.lastNode===null)this.firstNode=s,this.lastNode=s;else if(r===this.nElements)this.lastNode.next=s,this.lastNode=s;else if(r===0)s.next=this.firstNode,this.firstNode=s;else{var o=this.nodeAtIndex(r-1);if(o===null)return!1;s.next=o.next,o.next=s}return this.nElements++,!0},i.prototype.first=function(){if(this.firstNode!==null)return this.firstNode.element},i.prototype.last=function(){if(this.lastNode!==null)return this.lastNode.element},i.prototype.elementAtIndex=function(e){var r=this.nodeAtIndex(e);if(r!==null)return r.element},i.prototype.indexOf=function(e,r){var s=r||util$6.defaultEquals;if(util$6.isUndefined(e))return-1;for(var o=this.firstNode,a=0;o!==null;){if(s(o.element,e))return a;a++,o=o.next}return-1},i.prototype.contains=function(e,r){return this.indexOf(e,r)>=0},i.prototype.remove=function(e,r){var s=r||util$6.defaultEquals;if(this.nElements<1||util$6.isUndefined(e))return!1;for(var o=null,a=this.firstNode;a!==null;){if(s(a.element,e))return o===null?(this.firstNode=a.next,a===this.lastNode&&(this.lastNode=null)):a===this.lastNode?(this.lastNode=o,o.next=a.next,a.next=null):(o.next=a.next,a.next=null),this.nElements--,!0;o=a,a=a.next}return!1},i.prototype.clear=function(){this.firstNode=null,this.lastNode=null,this.nElements=0},i.prototype.equals=function(e,r){var s=r||util$6.defaultEquals;return!(e instanceof i)||this.size()!==e.size()?!1:this.equalsAux(this.firstNode,e.firstNode,s)},i.prototype.equalsAux=function(e,r,s){for(;e!==null&&r!==null;){if(!s(e.element,r.element))return!1;e=e.next,r=r.next}return!0},i.prototype.removeElementAtIndex=function(e){if(!(e<0||e>=this.nElements||this.firstNode===null||this.lastNode===null)){var r;if(this.nElements===1)r=this.firstNode.element,this.firstNode=null,this.lastNode=null;else{var s=this.nodeAtIndex(e-1);s===null?(r=this.firstNode.element,this.firstNode=this.firstNode.next):s.next===this.lastNode&&(r=this.lastNode.element,this.lastNode=s),s!==null&&s.next!==null&&(r=s.next.element,s.next=s.next.next)}return this.nElements--,r}},i.prototype.forEach=function(e){for(var r=this.firstNode;r!==null&&e(r.element)!==!1;)r=r.next},i.prototype.reverse=function(){for(var e=null,r=this.firstNode,s=null;r!==null;)s=r.next,r.next=e,e=r,r=s;s=this.firstNode,this.firstNode=this.lastNode,this.lastNode=s},i.prototype.toArray=function(){for(var e=[],r=this.firstNode;r!==null;)e.push(r.element),r=r.next;return e},i.prototype.size=function(){return this.nElements},i.prototype.isEmpty=function(){return this.nElements<=0},i.prototype.toString=function(){return arrays$2.toString(this.toArray())},i.prototype.nodeAtIndex=function(e){if(e<0||e>=this.nElements)return null;if(e===this.nElements-1)return this.lastNode;for(var r=this.firstNode,s=0;s<e&&r!==null;s++)r=r.next;return r},i.prototype.createNode=function(e){return{element:e,next:null}},i}();LinkedList$1.default=LinkedList;Object.defineProperty(Queue$1,"__esModule",{value:!0});var LinkedList_1$2=LinkedList$1,Queue=function(){function i(){this.list=new LinkedList_1$2.default}return i.prototype.enqueue=function(e){return this.list.add(e)},i.prototype.add=function(e){return this.list.add(e)},i.prototype.dequeue=function(){if(this.list.size()!==0){var e=this.list.first();return this.list.removeElementAtIndex(0),e}},i.prototype.peek=function(){if(this.list.size()!==0)return this.list.first()},i.prototype.size=function(){return this.list.size()},i.prototype.contains=function(e,r){return this.list.contains(e,r)},i.prototype.isEmpty=function(){return this.list.size()<=0},i.prototype.clear=function(){this.list.clear()},i.prototype.forEach=function(e){this.list.forEach(e)},i}();Queue$1.default=Queue;Object.defineProperty(BSTreeKV$1,"__esModule",{value:!0});var util$5=util$b,Queue_1$1=Queue$1,BSTreeKV=function(){function i(e){this.root=null,this.compare=e||util$5.defaultCompare,this.nElements=0}return i.prototype.add=function(e){return util$5.isUndefined(e)?!1:this.insertNode(this.createNode(e))!==null?(this.nElements++,!0):!1},i.prototype.clear=function(){this.root=null,this.nElements=0},i.prototype.isEmpty=function(){return this.nElements===0},i.prototype.size=function(){return this.nElements},i.prototype.contains=function(e){return util$5.isUndefined(e)?!1:this.searchNode(this.root,e)!==null},i.prototype.search=function(e){var r=this.searchNode(this.root,e);if(r!==null)return r.element},i.prototype.remove=function(e){var r=this.searchNode(this.root,e);return r===null?!1:(this.removeNode(r),this.nElements--,!0)},i.prototype.inorderTraversal=function(e){this.inorderTraversalAux(this.root,e,{stop:!1})},i.prototype.preorderTraversal=function(e){this.preorderTraversalAux(this.root,e,{stop:!1})},i.prototype.postorderTraversal=function(e){this.postorderTraversalAux(this.root,e,{stop:!1})},i.prototype.levelTraversal=function(e){this.levelTraversalAux(this.root,e)},i.prototype.minimum=function(){if(!(this.isEmpty()||this.root===null))return this.minimumAux(this.root).element},i.prototype.maximum=function(){if(!(this.isEmpty()||this.root===null))return this.maximumAux(this.root).element},i.prototype.forEach=function(e){this.inorderTraversal(e)},i.prototype.toArray=function(){var e=[];return this.inorderTraversal(function(r){return e.push(r),!0}),e},i.prototype.height=function(){return this.heightAux(this.root)},i.prototype.searchNode=function(e,r){for(var s=1;e!==null&&s!==0;)s=this.compare(r,e.element),s<0?e=e.leftCh:s>0&&(e=e.rightCh);return e},i.prototype.transplant=function(e,r){e.parent===null?this.root=r:e===e.parent.leftCh?e.parent.leftCh=r:e.parent.rightCh=r,r!==null&&(r.parent=e.parent)},i.prototype.removeNode=function(e){if(e.leftCh===null)this.transplant(e,e.rightCh);else if(e.rightCh===null)this.transplant(e,e.leftCh);else{var r=this.minimumAux(e.rightCh);r.parent!==e&&(this.transplant(r,r.rightCh),r.rightCh=e.rightCh,r.rightCh.parent=r),this.transplant(e,r),r.leftCh=e.leftCh,r.leftCh.parent=r}},i.prototype.inorderTraversalAux=function(e,r,s){e===null||s.stop||(this.inorderTraversalAux(e.leftCh,r,s),!s.stop&&(s.stop=r(e.element)===!1,!s.stop&&this.inorderTraversalAux(e.rightCh,r,s)))},i.prototype.levelTraversalAux=function(e,r){var s=new Queue_1$1.default;for(e!==null&&s.enqueue(e),e=s.dequeue()||null;e!=null;){if(r(e.element)===!1)return;e.leftCh!==null&&s.enqueue(e.leftCh),e.rightCh!==null&&s.enqueue(e.rightCh),e=s.dequeue()||null}},i.prototype.preorderTraversalAux=function(e,r,s){e===null||s.stop||(s.stop=r(e.element)===!1,!s.stop&&(this.preorderTraversalAux(e.leftCh,r,s),!s.stop&&this.preorderTraversalAux(e.rightCh,r,s)))},i.prototype.postorderTraversalAux=function(e,r,s){e===null||s.stop||(this.postorderTraversalAux(e.leftCh,r,s),!s.stop&&(this.postorderTraversalAux(e.rightCh,r,s),!s.stop&&(s.stop=r(e.element)===!1)))},i.prototype.minimumAux=function(e){for(;e!=null&&e.leftCh!==null;)e=e.leftCh;return e},i.prototype.maximumAux=function(e){for(;e!=null&&e.rightCh!==null;)e=e.rightCh;return e},i.prototype.heightAux=function(e){return e===null?-1:Math.max(this.heightAux(e.leftCh),this.heightAux(e.rightCh))+1},i.prototype.insertNode=function(e){for(var r=null,s=this.root;s!==null;){var o=this.compare(e.element,s.element);if(o===0)return null;o<0?(r=s,s=s.leftCh):(r=s,s=s.rightCh)}return e.parent=r,r===null?this.root=e:this.compare(e.element,r.element)<0?r.leftCh=e:r.rightCh=e,e},i.prototype.createNode=function(e){return{element:e,leftCh:null,rightCh:null,parent:null}},i}();BSTreeKV$1.default=BSTreeKV;var __extends$2=commonjsGlobal&&commonjsGlobal.__extends||function(){var i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var s in r)r.hasOwnProperty(s)&&(e[s]=r[s])};return function(e,r){i(e,r);function s(){this.constructor=e}e.prototype=r===null?Object.create(r):(s.prototype=r.prototype,new s)}}();Object.defineProperty(BSTree$1,"__esModule",{value:!0});var BSTreeKV_1$1=BSTreeKV$1,BSTree=function(i){__extends$2(e,i);function e(){return i!==null&&i.apply(this,arguments)||this}return e}(BSTreeKV_1$1.default);BSTree$1.default=BSTree;var Heap$1={};Object.defineProperty(Heap$1,"__esModule",{value:!0});var collections=util$b,arrays$1=arrays$4,Heap=function(){function i(e){this.data=[],this.compare=e||collections.defaultCompare}return i.prototype.leftChildIndex=function(e){return 2*e+1},i.prototype.rightChildIndex=function(e){return 2*e+2},i.prototype.parentIndex=function(e){return Math.floor((e-1)/2)},i.prototype.minIndex=function(e,r){return r>=this.data.length?e>=this.data.length?-1:e:this.compare(this.data[e],this.data[r])<=0?e:r},i.prototype.siftUp=function(e){for(var r=this.parentIndex(e);e>0&&this.compare(this.data[r],this.data[e])>0;)arrays$1.swap(this.data,r,e),e=r,r=this.parentIndex(e)},i.prototype.siftDown=function(e){for(var r=this.minIndex(this.leftChildIndex(e),this.rightChildIndex(e));r>=0&&this.compare(this.data[e],this.data[r])>0;)arrays$1.swap(this.data,r,e),e=r,r=this.minIndex(this.leftChildIndex(e),this.rightChildIndex(e))},i.prototype.peek=function(){if(this.data.length>0)return this.data[0]},i.prototype.add=function(e){return collections.isUndefined(e)?!1:(this.data.push(e),this.siftUp(this.data.length-1),!0)},i.prototype.removeRoot=function(){if(this.data.length>0){var e=this.data[0];return this.data[0]=this.data[this.data.length-1],this.data.splice(this.data.length-1,1),this.data.length>0&&this.siftDown(0),e}},i.prototype.contains=function(e){var r=collections.compareToEquals(this.compare);return arrays$1.contains(this.data,e,r)},i.prototype.size=function(){return this.data.length},i.prototype.isEmpty=function(){return this.data.length<=0},i.prototype.clear=function(){this.data.length=0},i.prototype.forEach=function(e){arrays$1.forEach(this.data,e)},i}();Heap$1.default=Heap;var LinkedDictionary$1={},__extends$1=commonjsGlobal&&commonjsGlobal.__extends||function(){var i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var s in r)r.hasOwnProperty(s)&&(e[s]=r[s])};return function(e,r){i(e,r);function s(){this.constructor=e}e.prototype=r===null?Object.create(r):(s.prototype=r.prototype,new s)}}();Object.defineProperty(LinkedDictionary$1,"__esModule",{value:!0});var Dictionary_1$3=Dictionary$2,util$4=util$b,LinkedDictionaryPair=function(){function i(e,r){this.key=e,this.value=r}return i.prototype.unlink=function(){this.prev.next=this.next,this.next.prev=this.prev},i}(),HeadOrTailLinkedDictionaryPair=function(){function i(){this.key=null,this.value=null}return i.prototype.unlink=function(){this.prev.next=this.next,this.next.prev=this.prev},i}();function isHeadOrTailLinkedDictionaryPair(i){return!i.next}var LinkedDictionary=function(i){__extends$1(e,i);function e(r){var s=i.call(this,r)||this;return s.head=new HeadOrTailLinkedDictionaryPair,s.tail=new HeadOrTailLinkedDictionaryPair,s.head.next=s.tail,s.tail.prev=s.head,s}return e.prototype.appendToTail=function(r){var s=this.tail.prev;s.next=r,r.prev=s,r.next=this.tail,this.tail.prev=r},e.prototype.getLinkedDictionaryPair=function(r){if(!util$4.isUndefined(r)){var s="$"+this.toStr(r),o=this.table[s];return o}},e.prototype.getValue=function(r){var s=this.getLinkedDictionaryPair(r);if(!util$4.isUndefined(s))return s.value},e.prototype.remove=function(r){var s=this.getLinkedDictionaryPair(r);if(!util$4.isUndefined(s))return i.prototype.remove.call(this,r),s.unlink(),s.value},e.prototype.clear=function(){i.prototype.clear.call(this),this.head.next=this.tail,this.tail.prev=this.head},e.prototype.replace=function(r,s){var o="$"+this.toStr(s.key);s.next=r.next,s.prev=r.prev,this.remove(r.key),s.prev.next=s,s.next.prev=s,this.table[o]=s,++this.nElements},e.prototype.setValue=function(r,s){if(!(util$4.isUndefined(r)||util$4.isUndefined(s))){var o=this.getLinkedDictionaryPair(r),a=new LinkedDictionaryPair(r,s),l="$"+this.toStr(r);if(util$4.isUndefined(o)){this.appendToTail(a),this.table[l]=a,++this.nElements;return}else return this.replace(o,a),o.value}},e.prototype.keys=function(){var r=[];return this.forEach(function(s,o){r.push(s)}),r},e.prototype.values=function(){var r=[];return this.forEach(function(s,o){r.push(o)}),r},e.prototype.forEach=function(r){for(var s=this.head.next;!isHeadOrTailLinkedDictionaryPair(s);){var o=r(s.key,s.value);if(o===!1)return;s=s.next}},e}(Dictionary_1$3.default);LinkedDictionary$1.default=LinkedDictionary;var MultiDictionary$1={};Object.defineProperty(MultiDictionary$1,"__esModule",{value:!0});var util$3=util$b,Dictionary_1$2=Dictionary$2,arrays=arrays$4,MultiDictionary=function(){function i(e,r,s){s===void 0&&(s=!1),this.dict=new Dictionary_1$2.default(e),this.equalsF=r||util$3.defaultEquals,this.allowDuplicate=s}return i.prototype.getValue=function(e){var r=this.dict.getValue(e);return util$3.isUndefined(r)?[]:arrays.copy(r)},i.prototype.setValue=function(e,r){if(util$3.isUndefined(e)||util$3.isUndefined(r))return!1;var s=this.dict.getValue(e);return util$3.isUndefined(s)?(this.dict.setValue(e,[r]),!0):!this.allowDuplicate&&arrays.contains(s,r,this.equalsF)?!1:(s.push(r),!0)},i.prototype.remove=function(e,r){if(util$3.isUndefined(r)){var s=this.dict.remove(e);return!util$3.isUndefined(s)}var o=this.dict.getValue(e);return!util$3.isUndefined(o)&&arrays.remove(o,r,this.equalsF)?(o.length===0&&this.dict.remove(e),!0):!1},i.prototype.keys=function(){return this.dict.keys()},i.prototype.values=function(){for(var e=this.dict.values(),r=[],s=0,o=e;s<o.length;s++)for(var a=o[s],l=0,c=a;l<c.length;l++){var u=c[l];r.push(u)}return r},i.prototype.containsKey=function(e){return this.dict.containsKey(e)},i.prototype.clear=function(){this.dict.clear()},i.prototype.size=function(){return this.dict.size()},i.prototype.isEmpty=function(){return this.dict.isEmpty()},i}();MultiDictionary$1.default=MultiDictionary;var FactoryDictionary$1={},__extends=commonjsGlobal&&commonjsGlobal.__extends||function(){var i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var s in r)r.hasOwnProperty(s)&&(e[s]=r[s])};return function(e,r){i(e,r);function s(){this.constructor=e}e.prototype=r===null?Object.create(r):(s.prototype=r.prototype,new s)}}();Object.defineProperty(FactoryDictionary$1,"__esModule",{value:!0});var Dictionary_1$1=Dictionary$2,util$2=util$b,FactoryDictionary=function(i){__extends(e,i);function e(r,s){var o=i.call(this,s)||this;return o.defaultFactoryFunction=r,o}return e.prototype.setDefault=function(r,s){var o=i.prototype.getValue.call(this,r);return util$2.isUndefined(o)?(this.setValue(r,s),s):o},e.prototype.getValue=function(r){return this.setDefault(r,this.defaultFactoryFunction())},e}(Dictionary_1$1.default);FactoryDictionary$1.default=FactoryDictionary;var PriorityQueue$1={};Object.defineProperty(PriorityQueue$1,"__esModule",{value:!0});var util$1=util$b,Heap_1$1=Heap$1,PriorityQueue=function(){function i(e){this.heap=new Heap_1$1.default(util$1.reverseCompareFunction(e))}return i.prototype.enqueue=function(e){return this.heap.add(e)},i.prototype.add=function(e){return this.heap.add(e)},i.prototype.dequeue=function(){if(this.heap.size()!==0){var e=this.heap.peek();return this.heap.removeRoot(),e}},i.prototype.peek=function(){return this.heap.peek()},i.prototype.contains=function(e){return this.heap.contains(e)},i.prototype.isEmpty=function(){return this.heap.isEmpty()},i.prototype.size=function(){return this.heap.size()},i.prototype.clear=function(){this.heap.clear()},i.prototype.forEach=function(e){this.heap.forEach(e)},i}();PriorityQueue$1.default=PriorityQueue;var Stack$1={};Object.defineProperty(Stack$1,"__esModule",{value:!0});var LinkedList_1$1=LinkedList$1,Stack=function(){function i(){this.list=new LinkedList_1$1.default}return i.prototype.push=function(e){return this.list.add(e,0)},i.prototype.add=function(e){return this.list.add(e,0)},i.prototype.pop=function(){return this.list.removeElementAtIndex(0)},i.prototype.peek=function(){return this.list.first()},i.prototype.size=function(){return this.list.size()},i.prototype.contains=function(e,r){return this.list.contains(e,r)},i.prototype.isEmpty=function(){return this.list.isEmpty()},i.prototype.clear=function(){this.list.clear()},i.prototype.forEach=function(e){this.list.forEach(e)},i}();Stack$1.default=Stack;var MultiRootTree$1={};Object.defineProperty(MultiRootTree$1,"__esModule",{value:!0});var Direction;(function(i){i[i.BEFORE=0]="BEFORE",i[i.AFTER=1]="AFTER",i[i.INSIDE_AT_END=2]="INSIDE_AT_END",i[i.INSIDE_AT_START=3]="INSIDE_AT_START"})(Direction||(Direction={}));var MultiRootTree=function(){function i(e,r){e===void 0&&(e=[]),r===void 0&&(r={}),this.rootIds=e,this.nodes=r,this.initRootIds(),this.initNodes()}return i.prototype.initRootIds=function(){for(var e=0,r=this.rootIds;e<r.length;e++){var s=r[e];this.createEmptyNodeIfNotExist(s)}},i.prototype.initNodes=function(){for(var e in this.nodes)if(this.nodes.hasOwnProperty(e))for(var r=0,s=this.nodes[e];r<s.length;r++){var o=s[r];this.createEmptyNodeIfNotExist(o)}},i.prototype.createEmptyNodeIfNotExist=function(e){this.nodes[e]||(this.nodes[e]=[])},i.prototype.getRootIds=function(){var e=this.rootIds.slice();return e},i.prototype.getNodes=function(){var e={};for(var r in this.nodes)this.nodes.hasOwnProperty(r)&&(e[r]=this.nodes[r].slice());return e},i.prototype.getObject=function(){return{rootIds:this.getRootIds(),nodes:this.getNodes()}},i.prototype.toObject=function(){return this.getObject()},i.prototype.flatten=function(){for(var e=this,r=[],s=0;s<this.rootIds.length;s++){var o=this.rootIds[s];r.push({id:o,level:0,hasParent:!1,childrenCount:0}),d(o,this.nodes,r,0)}for(var a=0,l=r;a<l.length;a++){var c=l[a];c.childrenCount=u(c.id)}return r;function u(g){if(e.nodes[g]){var m=e.nodes[g].length;return m}else return 0}function d(g,m,y,b){if(b===void 0&&(b=0),!(!g||!m||!y||!m[g])){b++;for(var A=m[g],S=0;S<A.length;S++){var E=A[S];y.push({id:E,level:b,hasParent:!0}),d(E,m,y,b)}b--}}},i.prototype.moveIdBeforeId=function(e,r){return this.moveId(e,r,Direction.BEFORE)},i.prototype.moveIdAfterId=function(e,r){return this.moveId(e,r,Direction.AFTER)},i.prototype.moveIdIntoId=function(e,r,s){return s===void 0&&(s=!0),s?this.moveId(e,r,Direction.INSIDE_AT_START):this.moveId(e,r,Direction.INSIDE_AT_END)},i.prototype.swapRootIdWithRootId=function(e,r){var s=this.findRootId(e),o=this.findRootId(r);this.swapRootPositionWithRootPosition(s,o)},i.prototype.swapRootPositionWithRootPosition=function(e,r){var s=this.rootIds[r];this.rootIds[r]=this.rootIds[e],this.rootIds[e]=s},i.prototype.deleteId=function(e){this.rootDeleteId(e),this.nodeAndSubNodesDelete(e),this.nodeRefrencesDelete(e)},i.prototype.insertIdBeforeId=function(e,r){var s=this.findRootId(e);s>-1&&this.insertIdIntoRoot(r,s);for(var o in this.nodes)if(this.nodes.hasOwnProperty(o)){var a=this.findNodeId(o,e);a>-1&&this.insertIdIntoNode(o,r,a)}},i.prototype.insertIdAfterId=function(e,r){var s=this.findRootId(e);s>-1&&this.insertIdIntoRoot(r,s+1);for(var o in this.nodes)if(this.nodes.hasOwnProperty(o)){var a=this.findNodeId(o,e);a>-1&&this.insertIdIntoNode(o,r,a+1)}},i.prototype.insertIdIntoId=function(e,r){this.nodeInsertAtEnd(e,r),this.nodes[r]=[]},i.prototype.insertIdIntoRoot=function(e,r){if(r===void 0)this.rootInsertAtEnd(e);else if(r<0){var s=this.rootIds.length;this.rootIds.splice(r+s+1,0,e)}else this.rootIds.splice(r,0,e);this.nodes[e]=this.nodes[e]||[]},i.prototype.insertIdIntoNode=function(e,r,s){if(this.nodes[e]=this.nodes[e]||[],this.nodes[r]=this.nodes[r]||[],s===void 0)this.nodeInsertAtEnd(e,r);else if(s<0){var o=this.nodes[e].length;this.nodes[e].splice(s+o+1,0,r)}else this.nodes[e].splice(s,0,r)},i.prototype.moveId=function(e,r,s){var o=e,a=this.findRootId(o);this.nodes[r];for(var l in this.nodes)if(this.nodes.hasOwnProperty(l)){this.findNodeId(l,r);break}var c=r,u=this.findRootId(c);this.nodes[r];for(var l in this.nodes)if(this.nodes.hasOwnProperty(l)){this.findNodeId(l,r);break}if(a>-1)if(u>-1)switch(this.rootDelete(a),u>a&&u--,s){case Direction.BEFORE:this.insertIdIntoRoot(o,u);break;case Direction.AFTER:this.insertIdIntoRoot(o,u+1);break;case Direction.INSIDE_AT_START:this.nodeInsertAtStart(c,o);break;case Direction.INSIDE_AT_END:this.nodeInsertAtEnd(c,o);break}else{this.rootDelete(a);for(var l in this.nodes)if(this.nodes.hasOwnProperty(l)){var d=this.findNodeId(l,c);if(d>-1){switch(s){case Direction.BEFORE:this.insertIdIntoNode(l,o,d);break;case Direction.AFTER:this.insertIdIntoNode(l,o,d+1);break;case Direction.INSIDE_AT_START:this.nodeInsertAtStart(c,o);break;case Direction.INSIDE_AT_END:this.nodeInsertAtEnd(c,o);break}break}}}else if(u>-1){for(var l in this.nodes)if(this.nodes.hasOwnProperty(l)){var d=this.findNodeId(l,o);if(d>-1){this.nodeDeleteAtIndex(l,d);break}}switch(s){case Direction.BEFORE:this.insertIdIntoRoot(o,u);break;case Direction.AFTER:this.insertIdIntoRoot(o,u+1);break;case Direction.INSIDE_AT_START:this.nodeInsertAtStart(c,o);break;case Direction.INSIDE_AT_END:this.nodeInsertAtEnd(c,o);break}}else{for(var l in this.nodes)if(this.nodes.hasOwnProperty(l)){var d=this.findNodeId(l,o);if(d>-1){this.nodeDeleteAtIndex(l,d);break}}for(var l in this.nodes)if(this.nodes.hasOwnProperty(l)){var d=this.findNodeId(l,c);if(d>-1){switch(s){case Direction.BEFORE:this.insertIdIntoNode(l,o,d);break;case Direction.AFTER:this.insertIdIntoNode(l,o,d+1);break;case Direction.INSIDE_AT_START:this.nodeInsertAtStart(c,o);break;case Direction.INSIDE_AT_END:this.nodeInsertAtEnd(c,o);break}break}}}},i.prototype.swapArrayElements=function(e,r,s){var o=e[r];return e[r]=e[s],e[s]=o,e},i.prototype.rootDeleteId=function(e){var r=this.findRootId(e);r>-1&&this.rootDelete(r)},i.prototype.nodeAndSubNodesDelete=function(e){for(var r=[],s=0;s<this.nodes[e].length;s++){var o=this.nodes[e][s];this.nodeAndSubNodesDelete(o),r.push(e)}this.nodeDelete(e);for(var s=0;s<r.length;s++)this.nodeDelete(r[s])},i.prototype.nodeRefrencesDelete=function(e){for(var r in this.nodes)if(this.nodes.hasOwnProperty(r))for(var s=0;s<this.nodes[r].length;s++){var o=this.nodes[r][s];o===e&&this.nodeDeleteAtIndex(r,s)}},i.prototype.nodeDelete=function(e){delete this.nodes[e]},i.prototype.findRootId=function(e){return this.rootIds.indexOf(e)},i.prototype.findNodeId=function(e,r){return this.nodes[e].indexOf(r)},i.prototype.findNode=function(e){return this.nodes[e]},i.prototype.nodeInsertAtStart=function(e,r){this.nodes[e].unshift(r)},i.prototype.nodeInsertAtEnd=function(e,r){this.nodes[e].push(r)},i.prototype.rootDelete=function(e){this.rootIds.splice(e,1)},i.prototype.nodeDeleteAtIndex=function(e,r){this.nodes[e].splice(r,1)},i.prototype.rootInsertAtStart=function(e){this.rootIds.unshift(e)},i.prototype.rootInsertAtEnd=function(e){this.rootIds.push(e)},i}();MultiRootTree$1.default=MultiRootTree;Object.defineProperty(lib$3,"__esModule",{value:!0});var _arrays=arrays$4;lib$3.arrays=_arrays;var Bag_1=Bag$1;lib$3.Bag=Bag_1.default;var BSTree_1=BSTree$1;lib$3.BSTree=BSTree_1.default;var BSTreeKV_1=BSTreeKV$1;lib$3.BSTreeKV=BSTreeKV_1.default;var Dictionary_1=Dictionary$2,Dictionary=lib$3.Dictionary=Dictionary_1.default,Heap_1=Heap$1;lib$3.Heap=Heap_1.default;var LinkedDictionary_1=LinkedDictionary$1;lib$3.LinkedDictionary=LinkedDictionary_1.default;var LinkedList_1=LinkedList$1;lib$3.LinkedList=LinkedList_1.default;var MultiDictionary_1=MultiDictionary$1;lib$3.MultiDictionary=MultiDictionary_1.default;var FactoryDictionary_1=FactoryDictionary$1;lib$3.FactoryDictionary=FactoryDictionary_1.default;var FactoryDictionary_2=FactoryDictionary$1;lib$3.DefaultDictionary=FactoryDictionary_2.default;var Queue_1=Queue$1;lib$3.Queue=Queue_1.default;var PriorityQueue_1=PriorityQueue$1;lib$3.PriorityQueue=PriorityQueue_1.default;var Set_1=_Set;lib$3.Set=Set_1.default;var Stack_1=Stack$1;lib$3.Stack=Stack_1.default;var MultiRootTree_1=MultiRootTree$1;lib$3.MultiRootTree=MultiRootTree_1.default;var _util=util$b;lib$3.util=_util;const _InstantaneousDynamicExpression=class extends AbstractExpression{constructor(i,e,r,s,o){super(r),super.parentMeasure=o,this.dynamicEnum=DynamicEnum[i.toLowerCase()],this.soundDynamic=e,this.staffNumber=s}static staticConstructor(){_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(13,127/127),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(12,126/127),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(11,125/127),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(10,124/127),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(9,122/127),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(8,108/127),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(7,76/127),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(14,.5),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(16,.5),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(17,.5),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(18,.5),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(19,.5),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(20,.5),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(21,.5),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(22,.5),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(23,.5),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(6,60/127),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(5,28/127),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(4,12/127),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(3,10/127),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(2,7/127),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(1,5/127),_InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.setValue(0,4/127)}get ParentMultiExpression(){return this.multiExpression}set ParentMultiExpression(i){this.multiExpression=i}get DynEnum(){return this.dynamicEnum}set DynEnum(i){this.dynamicEnum=i}get SoundDynamic(){return this.soundDynamic}set SoundDynamic(i){this.soundDynamic=i}get Placement(){return this.placement}set Placement(i){this.placement=i}get StaffNumber(){return this.staffNumber}set StaffNumber(i){this.staffNumber=i}get Length(){return Math.abs(this.length)<1e-4&&(this.length=this.calculateLength()),this.length}get MidiVolume(){return this.Volume*127}get Volume(){return _InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.getValue(this.dynamicEnum)}static isInputStringInstantaneousDynamic(i){return i?_InstantaneousDynamicExpression.isStringInStringList(_InstantaneousDynamicExpression.listInstantaneousDynamics,i):!1}getDynamicExpressionSymbol(i){switch(i){case"p":return DynamicExpressionSymbolEnum.p;case"f":return DynamicExpressionSymbolEnum.f;case"s":return DynamicExpressionSymbolEnum.s;case"z":return DynamicExpressionSymbolEnum.z;case"m":return DynamicExpressionSymbolEnum.m;case"r":return DynamicExpressionSymbolEnum.r;default:throw new InvalidEnumArgumentException("unknown DynamicExpressionSymbolEnum: "+i)}}calculateLength(){return loglevelExports.debug("[Andrea] instantaneousDynamicExpression: not implemented: calculateLength!"),0}};let InstantaneousDynamicExpression=_InstantaneousDynamicExpression;InstantaneousDynamicExpression.dynamicToRelativeVolumeDict=new Dictionary;InstantaneousDynamicExpression.listInstantaneousDynamics=["pppppp","ppppp","pppp","ppp","pp","p","ffffff","fffff","ffff","fff","ff","f","mf","mp","sf","sff","sp","spp","fp","rf","rfz","sfz","sffz","fz"];var DynamicEnum=(i=>(i[i.pppppp=0]="pppppp",i[i.ppppp=1]="ppppp",i[i.pppp=2]="pppp",i[i.ppp=3]="ppp",i[i.pp=4]="pp",i[i.p=5]="p",i[i.mp=6]="mp",i[i.mf=7]="mf",i[i.f=8]="f",i[i.ff=9]="ff",i[i.fff=10]="fff",i[i.ffff=11]="ffff",i[i.fffff=12]="fffff",i[i.ffffff=13]="ffffff",i[i.sf=14]="sf",i[i.sff=15]="sff",i[i.sfp=16]="sfp",i[i.sfpp=17]="sfpp",i[i.fp=18]="fp",i[i.rf=19]="rf",i[i.rfz=20]="rfz",i[i.sfz=21]="sfz",i[i.sffz=22]="sffz",i[i.fz=23]="fz",i[i.other=24]="other",i))(DynamicEnum||{});InstantaneousDynamicExpression.staticConstructor();class DynamicsContainer{constructor(e,r){e instanceof ContinuousDynamicExpression?this.continuousDynamicExpression=e:e instanceof InstantaneousDynamicExpression&&(this.instantaneousDynamicExpression=e),this.staffNumber=r}static Compare(e,r){return e.parMultiExpression().AbsoluteTimestamp.CompareTo(r.parMultiExpression().AbsoluteTimestamp)}parMultiExpression(){if(this.continuousDynamicExpression)return this.continuousDynamicExpression.StartMultiExpression;if(this.instantaneousDynamicExpression)return this.instantaneousDynamicExpression.ParentMultiExpression}}class AbstractNotationInstruction{constructor(e){this.printObject=!0,this.parent=e}get Parent(){return this.parent}set Parent(e){this.parent=e}get PrintObject(){return this.printObject}set PrintObject(e){this.printObject=e}}class RhythmInstruction extends AbstractNotationInstruction{constructor(e,r){super(void 0),this.rhythm=e,this.numerator=e.Numerator,this.denominator=e.Denominator,this.symbolEnum=r}get Rhythm(){return this.rhythm}set Rhythm(e){this.rhythm=e}get SymbolEnum(){return this.symbolEnum}set SymbolEnum(e){this.symbolEnum=e}clone(){return new RhythmInstruction(this.rhythm.clone(),this.symbolEnum)}OperatorEquals(e){const r=this;return r===e?!0:!r||!e?!1:r.numerator===e.numerator&&r.denominator===e.denominator}OperatorNotEqual(e){return this!==e}ToString(){return"Rhythm: "+this.rhythm.toString()}}var RhythmSymbolEnum=(i=>(i[i.NONE=0]="NONE",i[i.COMMON=1]="COMMON",i[i.CUT=2]="CUT",i))(RhythmSymbolEnum||{});class MusicPartManagerIterator{constructor(e,r,s){this.currentMeasureIndex=0,this.currentPartIndex=0,this.currentVoiceEntryIndex=-1,this.currentDynamicEntryIndex=0,this.currentTempoEntryIndex=0,this.currentDynamicChangingExpressions=[],this.repetitionIterationCountDictKeys=[],this.repetitionIterationCountDictValues=[],this.currentRepetition=void 0,this.endReached=!1,this.frontReached=!1,this.currentTimeStamp=new Fraction$1(0,1),this.currentEnrolledMeasureTimestamp=new Fraction$1(0,1),this.currentRelativeInMeasureTimestamp=new Fraction$1(0,1),this.currentVerticalContainerInMeasureTimestamp=new Fraction$1(0,1),this.jumpResponsibleRepetition=void 0,this.activeDynamicExpressions=[],this.SkipInvisibleNotes=!0,this.testNoteIdx=0;try{this.frontReached=!0,this.musicSheet=e,this.currentBpm=e.userStartTempoInBPM,this.currentVoiceEntries=void 0,this.frontReached=!1;for(const o of this.musicSheet.Repetitions)this.setRepetitionIterationCount(o,1);for(let o=0;o<e.getCompleteNumberOfStaves();o++)this.ActiveDynamicExpressions.push(void 0);this.currentMeasure=this.musicSheet.SourceMeasures[0],r||(r=new Fraction$1);do this.moveToNext();while((!this.currentVoiceEntries||this.currentTimeStamp.lt(r))&&!this.endReached);for(let o=0;o<this.activeDynamicExpressions.length;o++)if(this.activeDynamicExpressions[o])if(this.activeDynamicExpressions[o]instanceof ContinuousDynamicExpression){const a=this.activeDynamicExpressions[o];this.currentDynamicChangingExpressions.push(new DynamicsContainer(a,o))}else{const a=this.activeDynamicExpressions[o];this.currentDynamicChangingExpressions.push(new DynamicsContainer(a,o))}this.currentTempoChangingExpression=this.activeTempoExpression}catch(o){loglevelExports.info("MusicPartManagerIterator: "+o)}}get EndReached(){return this.endReached}get FrontReached(){return this.frontReached}get CurrentMeasure(){return this.currentMeasure}get CurrentRepetition(){return this.currentRepetition}get CurrentRepetitionIteration(){return this.CurrentRepetition?this.getRepetitionIterationCount(this.CurrentRepetition):0}get CurrentJumpResponsibleRepetitionIterationBeforeJump(){return this.jumpResponsibleRepetition?this.getRepetitionIterationCount(this.jumpResponsibleRepetition)-1:0}get CurrentBpm(){return this.currentBpm}get CurrentVoiceEntries(){return this.currentVoiceEntries}get CurrentMeasureIndex(){return this.currentMeasureIndex}get CurrentEnrolledTimestamp(){return Fraction$1.plus(this.currentEnrolledMeasureTimestamp,this.currentVerticalContainerInMeasureTimestamp)}get CurrentSourceTimestamp(){return this.currentTimeStamp}get CurrentRelativeInMeasureTimestamp(){return this.currentRelativeInMeasureTimestamp}get JumpOccurred(){return this.backJumpOccurred||this.forwardJumpOccurred}get ActiveTempoExpression(){return this.activeTempoExpression}get ActiveDynamicExpressions(){return this.activeDynamicExpressions}get CurrentTempoChangingExpression(){return this.currentTempoChangingExpression}get JumpResponsibleRepetition(){return this.jumpResponsibleRepetition}clone(e=void 0,r=void 0){const s=new MusicPartManagerIterator(this.musicSheet,e!=null?e:this.currentTimeStamp,r);return s.currentVoiceEntryIndex=this.currentVoiceEntryIndex,s.currentMappingPart=this.currentMappingPart,s.currentPartIndex=this.currentPartIndex,s.currentVoiceEntries=this.currentVoiceEntries,s.endReached=this.endReached,s.frontReached=this.frontReached,s}CurrentVisibleVoiceEntries(e){const r=[];if(!this.currentVoiceEntries)return r;if(e){for(const s of this.currentVoiceEntries)if(s.ParentVoice.Parent.IdString===e.IdString)return this.getVisibleEntries(s,r),r}else for(const s of this.currentVoiceEntries)this.getVisibleEntries(s,r);return r}CurrentAudibleVoiceEntries(e){const r=[];if(this.currentVoiceEntries)if(e){for(const s of this.currentVoiceEntries)if(s.ParentVoice.Parent.IdString===e.IdString)return this.getAudibleEntries(s,r),r}else for(const s of this.currentVoiceEntries)this.getAudibleEntries(s,r);return r}getCurrentDynamicChangingExpressions(){return this.currentDynamicChangingExpressions}CurrentScoreFollowingVoiceEntries(e){const r=[];if(!this.currentVoiceEntries)return r;if(e){for(const s of this.currentVoiceEntries)if(s.ParentVoice.Parent.IdString===e.IdString)return this.getScoreFollowingEntries(s,r),r}else for(const s of this.currentVoiceEntries)this.getScoreFollowingEntries(s,r);return r}currentPlaybackSettings(){return this.musicSheet.SheetPlaybackSetting}moveToPrevious(){this.frontReached||(this.currentVoiceEntries&&(this.currentVoiceEntries=[]),this.recursiveMoveBack())}moveToPreviousVisibleVoiceEntry(e){for(;!this.frontReached;)if(this.moveToPrevious(),this.checkEntries(e))return}moveToNext(){this.forwardJumpOccurred=this.backJumpOccurred=!1,!this.endReached&&(this.frontReached&&(this.frontReached=!1,this.currentVoiceEntryIndex=-1),this.currentVoiceEntries&&(this.currentVoiceEntries.length=0),this.recursiveMove(),this.currentMeasure||(this.currentTimeStamp=new Fraction$1(99999,1),this.currentMeasure=this.musicSheet.SourceMeasures.last()),this.CurrentTempoChangingExpression!==void 0&&(this.CurrentTempoChangingExpression.ContinuousTempo!==void 0?this.currentBpm=this.CurrentTempoChangingExpression.ContinuousTempo.getInterpolatedTempo(this.CurrentSourceTimestamp):this.currentBpm=this.CurrentTempoChangingExpression.InstantaneousTempo.TempoInBpm))}moveToNextVisibleVoiceEntry(e){for(;!this.endReached;)if(this.moveToNext(),this.checkEntries(e))return}resetRepetitionIterationCount(e){return this.setRepetitionIterationCount(e,1),1}incrementRepetitionIterationCount(e){return this.repetitionIterationCountDictKeys.indexOf(e)===-1?this.setRepetitionIterationCount(e,1):this.setRepetitionIterationCount(e,this.getRepetitionIterationCount(e)+1)}setRepetitionIterationCount(e,r){const s=this.repetitionIterationCountDictKeys.indexOf(e);return s===-1?(this.repetitionIterationCountDictKeys.push(e),this.repetitionIterationCountDictValues.push(r)):this.repetitionIterationCountDictValues[s]=r,r}getRepetitionIterationCount(e){const r=this.repetitionIterationCountDictKeys.indexOf(e);if(r!==-1)return this.repetitionIterationCountDictValues[r]}handleRepetitionsAtMeasureBegin(){for(let e=0,r=this.currentMeasure.FirstRepetitionInstructions.length;e<r;++e){const s=this.currentMeasure.FirstRepetitionInstructions[e];if(!s.parentRepetition)continue;const o=s.parentRepetition;this.currentRepetition=o,o.StartIndex===this.currentMeasureIndex&&this.JumpResponsibleRepetition!==void 0&&o!==this.JumpResponsibleRepetition&&o.StartIndex>=this.JumpResponsibleRepetition.StartIndex&&o.EndIndex<=this.JumpResponsibleRepetition.EndIndex&&this.resetRepetitionIterationCount(o)}}handleRepetitionsAtMeasureEnd(){for(let e=0,r=this.currentMeasure.LastRepetitionInstructions.length;e<r;++e){const s=this.currentMeasure.LastRepetitionInstructions[e],o=s.parentRepetition;if(o){if(o.BackwardJumpInstructions.indexOf(s)>-1&&this.getRepetitionIterationCount(o)<o.UserNumberOfRepetitions){this.doBackJump(o);return}if(s===o.forwardJumpInstruction&&(this.JumpResponsibleRepetition!==void 0&&o!==this.JumpResponsibleRepetition&&o.StartIndex>=this.JumpResponsibleRepetition.StartIndex&&o.EndIndex<=this.JumpResponsibleRepetition.EndIndex&&this.resetRepetitionIterationCount(o),this.repetitionIterationCountDictKeys.contains(o))){const a=o.getForwardJumpTargetForIteration(this.getRepetitionIterationCount(o));if(a>=0){this.currentMeasureIndex=a,this.currentMeasure=this.musicSheet.SourceMeasures[this.currentMeasureIndex],this.currentVoiceEntryIndex=-1,this.jumpResponsibleRepetition=o,this.forwardJumpOccurred=!0;return}a===-2&&(this.endReached=!0)}}}this.currentMeasureIndex++,this.JumpResponsibleRepetition!==void 0&&this.currentMeasureIndex>this.JumpResponsibleRepetition.EndIndex&&(this.jumpResponsibleRepetition=void 0)}doBackJump(e){this.currentMeasureIndex=e.getBackwardJumpTarget(),this.currentMeasure=this.musicSheet.SourceMeasures[this.currentMeasureIndex],this.currentVoiceEntryIndex=-1,this.incrementRepetitionIterationCount(e),this.jumpResponsibleRepetition=e,this.backJumpOccurred=!0}activateCurrentRhythmInstructions(){if(this.currentMeasure!==void 0&&this.currentMeasure.FirstInstructionsStaffEntries.length>0&&this.currentMeasure.FirstInstructionsStaffEntries[0]!==void 0){const e=this.currentMeasure.FirstInstructionsStaffEntries[0].Instructions;for(let r=0,s=e.length;r<s;++r){const o=e[r];o instanceof RhythmInstruction&&(this.musicSheet.SheetPlaybackSetting.rhythm=o.Rhythm)}}}activateCurrentDynamicOrTempoInstructions(){const e=this.musicSheet.TimestampSortedDynamicExpressionsList;for(;this.currentDynamicEntryIndex>0&&(this.currentDynamicEntryIndex>=e.length||e[this.currentDynamicEntryIndex].parMultiExpression().AbsoluteTimestamp.gte(this.CurrentSourceTimestamp));)this.currentDynamicEntryIndex--;for(;this.currentDynamicEntryIndex<e.length&&e[this.currentDynamicEntryIndex].parMultiExpression().AbsoluteTimestamp.lt(this.CurrentSourceTimestamp);)this.currentDynamicEntryIndex++;for(;this.currentDynamicEntryIndex<e.length&&e[this.currentDynamicEntryIndex].parMultiExpression().AbsoluteTimestamp.Equals(this.CurrentSourceTimestamp);){const s=e[this.currentDynamicEntryIndex],o=s.staffNumber;this.CurrentSourceTimestamp.Equals(s.parMultiExpression().AbsoluteTimestamp)&&(s.continuousDynamicExpression?this.activeDynamicExpressions[o]=s.continuousDynamicExpression:s.instantaneousDynamicExpression&&(this.activeDynamicExpressions[o]=s.instantaneousDynamicExpression)),this.currentDynamicEntryIndex++}this.currentDynamicChangingExpressions.length=0;for(let s=0;s<this.activeDynamicExpressions.length;s++)if(this.activeDynamicExpressions[s]){let o,a;if(this.activeDynamicExpressions[s]instanceof ContinuousDynamicExpression){const l=this.activeDynamicExpressions[s];o=l.StartMultiExpression.AbsoluteTimestamp,a=l.EndMultiExpression.AbsoluteTimestamp,this.CurrentSourceTimestamp.gte(o)&&this.CurrentSourceTimestamp.lte(a)&&this.currentDynamicChangingExpressions.push(new DynamicsContainer(l,s))}else{const l=this.activeDynamicExpressions[s];this.CurrentSourceTimestamp.Equals(l.ParentMultiExpression.AbsoluteTimestamp)&&this.currentDynamicChangingExpressions.push(new DynamicsContainer(l,s))}}const r=this.musicSheet.TimestampSortedTempoExpressionsList;for(;this.currentTempoEntryIndex>0&&(this.currentTempoEntryIndex>=r.length||r[this.currentTempoEntryIndex].AbsoluteTimestamp.gte(this.CurrentSourceTimestamp));)this.currentTempoEntryIndex--;for(;this.currentTempoEntryIndex<r.length&&r[this.currentTempoEntryIndex].AbsoluteTimestamp.lt(this.CurrentSourceTimestamp);)this.currentTempoEntryIndex++;for(;this.currentTempoEntryIndex<r.length&&r[this.currentTempoEntryIndex].AbsoluteTimestamp.Equals(this.CurrentSourceTimestamp);)this.activeTempoExpression=r[this.currentTempoEntryIndex],this.currentTempoEntryIndex++;if(this.currentTempoChangingExpression=void 0,this.activeTempoExpression){let s=this.activeTempoExpression.AbsoluteTimestamp;this.activeTempoExpression.ContinuousTempo&&(s=this.activeTempoExpression.ContinuousTempo.AbsoluteEndTimestamp),(this.CurrentSourceTimestamp.gte(this.activeTempoExpression.AbsoluteTimestamp)||this.CurrentSourceTimestamp.lte(s))&&(this.currentTempoChangingExpression=this.activeTempoExpression)}}recursiveMoveBack(){if(this.currentVoiceEntryIndex>0){this.currentVoiceEntryIndex--;const e=this.currentMeasure.VerticalSourceStaffEntryContainers[this.currentVoiceEntryIndex];this.currentVoiceEntries=this.getVoiceEntries(e),this.currentVerticalContainerInMeasureTimestamp=e.Timestamp,this.currentTimeStamp=Fraction$1.plus(this.currentMeasure.AbsoluteTimestamp,this.currentVerticalContainerInMeasureTimestamp),this.activateCurrentDynamicOrTempoInstructions();const r=this.musicSheet.SelectionEnd;r&&this.currentTimeStamp.lt(r)&&(this.endReached=!1),this.currentMeasureIndex=this.musicSheet.SourceMeasures.indexOf(this.CurrentMeasure);return}else if(this.currentVoiceEntryIndex===0&&this.currentMeasureIndex!==0){const e=this.musicSheet.SourceMeasures[this.currentMeasureIndex-1];this.currentMeasureIndex--,this.currentMeasure=this.musicSheet.SourceMeasures[this.currentMeasureIndex];const r=e.VerticalSourceStaffEntryContainers[e.VerticalSourceStaffEntryContainers.length-1];this.currentVoiceEntries=this.getVoiceEntries(r),this.currentVerticalContainerInMeasureTimestamp=r.Timestamp,this.currentVoiceEntryIndex=e.VerticalSourceStaffEntryContainers.length-1,this.currentTimeStamp=Fraction$1.plus(this.currentMeasure.AbsoluteTimestamp,r.Timestamp),this.activateCurrentDynamicOrTempoInstructions();const s=this.musicSheet.SelectionEnd;s&&this.currentTimeStamp.lt(s)&&(this.endReached=!1);return}this.frontReached=!0,this.currentTimeStamp=new Fraction$1(-1,1)}recursiveMove(){var e,r,s,o;if(this.currentVoiceEntryIndex++,this.currentVoiceEntryIndex===0&&(this.handleRepetitionsAtMeasureBegin(),this.activateCurrentRhythmInstructions()),this.currentVoiceEntryIndex>=0&&this.currentVoiceEntryIndex<this.currentMeasure.VerticalSourceStaffEntryContainers.length){const a=this.currentMeasure.VerticalSourceStaffEntryContainers[this.currentVoiceEntryIndex];this.currentVoiceEntries=this.getVoiceEntries(a),this.currentVerticalContainerInMeasureTimestamp=a.Timestamp,Cursor.noteGraphicalId=((o=(s=(r=(e=this.currentVoiceEntries)==null?void 0:e[0])==null?void 0:r.notes)==null?void 0:s[0])==null?void 0:o.NoteToGraphicalNoteObjectId)||0,this.currentTimeStamp=Fraction$1.plus(this.currentMeasure.AbsoluteTimestamp,this.currentVerticalContainerInMeasureTimestamp);const l=this.musicSheet.SelectionEnd;l&&this.currentTimeStamp.gte(l)&&(this.endReached=!0),this.activateCurrentDynamicOrTempoInstructions();return}if(this.currentEnrolledMeasureTimestamp.Add(this.currentMeasure.Duration),this.handleRepetitionsAtMeasureEnd(),this.currentMeasureIndex>=0&&this.currentMeasureIndex<this.musicSheet.SourceMeasures.length){this.currentMeasure=this.musicSheet.SourceMeasures[this.currentMeasureIndex],this.currentTimeStamp=Fraction$1.plus(this.currentMeasure.AbsoluteTimestamp,this.currentVerticalContainerInMeasureTimestamp),this.currentVoiceEntryIndex=-1,this.recursiveMove();return}this.currentVerticalContainerInMeasureTimestamp=new Fraction$1,this.currentMeasure=void 0,this.currentVoiceEntries=void 0,this.endReached=!0}checkEntries(e){const r=this.CurrentVisibleVoiceEntries();if(r.length>0){if(!e)return!0;for(let s=0,o=r.length;s<o;++s)if(r[s].Notes[0].Pitch)return!0}return!1}getVisibleEntries(e,r){if(e.ParentVoice.Visible){let s=!1;for(const o of e.Notes){s=!0;break}if(!s&&this.SkipInvisibleNotes)return;r.push(e)}}getAudibleEntries(e,r){if(e.hasTie()){const s=e.Notes[0];if(s.NoteTie!==void 0&&s.NoteTie.StartNote!==s)return}e.ParentVoice.Audible&&r.push(e)}getScoreFollowingEntries(e,r){e.ParentVoice.Following&&e.ParentVoice.Parent.Following&&r.push(e)}getVoiceEntries(e){var s,o;const r=[];for(const a of e.StaffEntries)(o=(s=a==null?void 0:a.ParentStaff)==null?void 0:s.ParentInstrument)!=null&&o.Visible&&a.VoiceEntries[0]&&r.push(...a.VoiceEntries);return r}}class Cursor{constructor(e,r,s){this.hidden=!1,this.currentPageNumber=1,this.skipInvisibleNotes=!0,this.ScrollPosition="center",this.noteGraphicalId=0,this.container=e,this.openSheetMusicDisplay=r,this.rules=this.openSheetMusicDisplay.EngravingRules,this.cursorOptions=s;let o=0;for(this.cursorElementId="cursorImg-0";document.getElementById(this.cursorElementId);)o++,this.cursorElementId=`cursorImg-${o}`;this.noteGraphicalId=0;const a=document.createElement("img");a.id=this.cursorElementId,a.style.position="absolute",this.cursorOptions.follow===!0?(this.wantedZIndex="-1",a.style.zIndex=this.wantedZIndex):(this.wantedZIndex="-2",a.style.zIndex=this.wantedZIndex),this.cursorElement=a,this.container.appendChild(a)}cursorPositionChanged(e,r){for(;this.iterator.currentTimeStamp.lt(e)&&!this.iterator.EndReached;)this.iterator.moveToNext();this.iterator.CurrentEnrolledTimestamp.gt(e)&&(this.iterator=new MusicPartManagerIterator(this.manager.MusicSheet,e)),this.updateWithTimestamp(r.PredictedPosition)}pauseOccurred(e){}selectionEndReached(e){}resetOccurred(e){this.reset()}notesPlaybackEventOccurred(e){}adjustToBackgroundColor(){let e;this.rules.PageBackgroundColor?e="1":e=this.wantedZIndex,this.cursorElement.style.zIndex=e}init(e,r){this.manager=e,this.graphic=r,this.reset(),this.hidden=!1}show(){this.hidden=!1,this.update(),this.adjustToBackgroundColor()}resetIterator(){if(!this.openSheetMusicDisplay.Sheet||!this.openSheetMusicDisplay.Sheet.SourceMeasures){console.log("OSMD.Cursor.resetIterator(): sheet or measures were null/undefined.");return}const e=this.openSheetMusicDisplay.Sheet.SourceMeasures.length-1;let r=this.rules.MinMeasureToDrawIndex;r=Math.min(r,e);let s=this.rules.MaxMeasureToDrawIndex;if(s=Math.min(s,e),this.openSheetMusicDisplay.Sheet&&(!this.openSheetMusicDisplay.Sheet.SelectionStart||this.openSheetMusicDisplay.Sheet.SelectionStart.WholeValue<r)&&this.openSheetMusicDisplay.Sheet.SourceMeasures.length>r,this.openSheetMusicDisplay.Sheet.SelectionStart=this.openSheetMusicDisplay.Sheet.SourceMeasures[r].AbsoluteTimestamp,this.openSheetMusicDisplay.Sheet&&this.openSheetMusicDisplay.Sheet.SourceMeasures.length>s){const o=this.openSheetMusicDisplay.Sheet.SourceMeasures[s];this.openSheetMusicDisplay.Sheet.SelectionEnd=Fraction$1.plus(o.AbsoluteTimestamp,o.Duration)}this.iterator=this.manager.getIterator(),this.iterator.SkipInvisibleNotes=this.skipInvisibleNotes}getStaffEntryFromVoiceEntry(e){const r=e.ParentSourceStaffEntry.VerticalContainerParent.ParentMeasure.measureListIndex,s=e.ParentSourceStaffEntry.ParentStaff.idInMusicSheet;return this.graphic.findGraphicalStaffEntryFromMeasureList(s,r,e.ParentSourceStaffEntry)}updateWithTimestamp(e){const r=this.manager.absoluteEnrolledToSheetTimestamp(e),s=this.graphic.calculateXPositionFromTimestamp(r),o=s[0],a=s[1];this.updateCurrentPageFromSystem(a);const l=s[2];if(!l)return;const c=Math.max(l.parentMeasure.MeasureNumber,1);let u;for(const y of this.graphic.MeasureList[c-1])if(y){u=y;break}const d=this.graphic.calculateCursorPoints(o,a),g=d[0].y,m=d[1].y-g;if(u){if(this.updateWidthAndStyle(u.PositionAndShape,o,g,m),this.openSheetMusicDisplay.FollowCursor){const y=this.cursorElement.getBoundingClientRect().top;this.cursorElement.scrollIntoView({behavior:y<1e3?"smooth":"auto",block:this.ScrollPosition})}this.cursorElement.style.display=""}}update(){if(this.hidden||this.hidden===void 0||this.hidden===null)return;this.updateCurrentPage();const e=this.Iterator;let r=e.CurrentVisibleVoiceEntries(),s=e.CurrentMeasureIndex,o=0,a=0,l=0,c;if(r.length===0&&!e.FrontReached&&!e.EndReached&&(e.moveToPrevious(),r=e.CurrentVisibleVoiceEntries(),e.moveToNext()),e.FrontReached&&r.length===0){e.moveToNext(),r=e.CurrentVisibleVoiceEntries();const y=this.findVisibleGraphicalMeasure(e.CurrentMeasureIndex);o=y.PositionAndShape.AbsolutePosition.x,c=y.ParentMusicSystem,e.moveToPrevious()}else if(e.EndReached||!e.CurrentVoiceEntries||r.length===0){e.moveToPrevious(),r=e.CurrentVisibleVoiceEntries(),s=e.CurrentMeasureIndex;const y=this.findVisibleGraphicalMeasure(e.CurrentMeasureIndex);o=y.PositionAndShape.AbsolutePosition.x+y.PositionAndShape.Size.width,c=y.ParentMusicSystem,e.moveToNext()}else if(e.CurrentMeasure.isReducedToMultiRest){const y=this.findVisibleGraphicalMeasure(e.CurrentMeasureIndex),b=y.parentSourceMeasure.multipleRestMeasures,S=e.CurrentMeasure.multipleRestMeasureNumber/(b+1),E=y.PositionAndShape.Size.width-y.beginInstructionsWidth;o=y.PositionAndShape.AbsolutePosition.x+y.beginInstructionsWidth+S*E,c=y.ParentMusicSystem}else{const b=r.map(A=>this.getStaffEntryFromVoiceEntry(A)).sort((A,S)=>{var E,x,P,C;return((x=(E=A==null?void 0:A.PositionAndShape)==null?void 0:E.AbsolutePosition)==null?void 0:x.x)<=((C=(P=S==null?void 0:S.PositionAndShape)==null?void 0:P.AbsolutePosition)==null?void 0:C.x)?-1:1})[0];b&&(o=b.PositionAndShape.AbsolutePosition.x,c=b.parentMeasure.ParentMusicSystem)}if(!c)return;a=c.PositionAndShape.AbsolutePosition.y+c.StaffLines[0].PositionAndShape.RelativePosition.y;let u=c.PositionAndShape.AbsolutePosition.y;const d=c.StaffLines[c.StaffLines.length-1];d&&(u+=d.PositionAndShape.RelativePosition.y+d.StaffHeight),l=u-a;const g=this.findVisibleGraphicalMeasure(s);if(!g)return;const m=g.PositionAndShape;if(this.updateWidthAndStyle(m,o,a,l),this.openSheetMusicDisplay.FollowCursor&&this.cursorOptions.follow)if(this.openSheetMusicDisplay.EngravingRules.RenderSingleHorizontalStaffline)this.cursorElement.scrollIntoView({behavior:"smooth",inline:"center"});else{const y=this.cursorElement.getBoundingClientRect().top;this.cursorElement.scrollIntoView({behavior:y<1e3?"smooth":"auto",block:"center"})}this.cursorElement.style.display=""}findVisibleGraphicalMeasure(e){for(let r=0;r<this.graphic.NumberOfStaves;r++){const s=this.graphic.findGraphicalMeasure(this.iterator.CurrentMeasureIndex,r);if(s!=null&&s.ParentStaff.ParentInstrument.Visible)return s}}updateWidthAndStyle(e,r,s,o){var u;const a=this.cursorElement;let l=0,c=o;switch(this.cursorOptions.type){case 1:a.style.top=s*10*this.openSheetMusicDisplay.zoom+"px",a.style.left=(r-1.5)*10*this.openSheetMusicDisplay.zoom+"px",c=o*10*this.openSheetMusicDisplay.zoom,a.height=c,a.style.height=c+"px",l=5*this.openSheetMusicDisplay.zoom;break;case 2:a.style.top=(s-2.5)*10*this.openSheetMusicDisplay.zoom+"px",a.style.left=r*10*this.openSheetMusicDisplay.zoom+"px",c=1.5*10*this.openSheetMusicDisplay.zoom,a.height=c,a.style.height=c+"px",l=5*this.openSheetMusicDisplay.zoom;break;case 3:a.style.top=e.AbsolutePosition.y*10*this.openSheetMusicDisplay.zoom+"px",a.style.left=e.AbsolutePosition.x*10*this.openSheetMusicDisplay.zoom+"px",c=o*10*this.openSheetMusicDisplay.zoom,a.height=c,a.style.height=c+"px",l=e.Size.width*10*this.openSheetMusicDisplay.zoom;break;case 4:a.style.top=e.AbsolutePosition.y*10*this.openSheetMusicDisplay.zoom+"px",a.style.left=e.AbsolutePosition.x*10*this.openSheetMusicDisplay.zoom+"px",c=o*10*this.openSheetMusicDisplay.zoom,a.height=c,a.style.height=c+"px",l=(r-e.AbsolutePosition.x)*10*this.openSheetMusicDisplay.zoom;break;default:a.style.top=s*10*this.openSheetMusicDisplay.zoom+"px",a.style.left=(r-1.5)*10*this.openSheetMusicDisplay.zoom+"px",c=o*10*this.openSheetMusicDisplay.zoom,a.height=c,a.style.height=c+"px",l=3*10*this.openSheetMusicDisplay.zoom;break}(u=window.GYM)!=null&&u.multitrack&&(a.height=c+24,a.style.height=c+24+"px"),a.width=l,this.cursorOptionsRendered!==this.cursorOptions&&this.updateStyle(l,this.cursorOptions)}hide(){this.cursorElement.style.display="none",this.hidden=!0}previous(){this.iterator.moveToPreviousVisibleVoiceEntry(!1),this.update()}next(){this.Iterator.moveToNextVisibleVoiceEntry(!1),this.update()}reset(){this.resetIterator();const e=this.manager.getIterator(this.graphic.ParentMusicSheet.SelectionStart);this.updateWithTimestamp(e.CurrentEnrolledTimestamp)}updateStyle(e,r=void 0){r!==void 0&&(this.cursorOptions=r);const s=document.createElement("canvas");s.width=this.cursorElement.width,s.height=1;const o=s.getContext("2d");o.globalAlpha=this.cursorOptions.alpha;const a=o.createLinearGradient(0,0,this.cursorElement.width,0);switch(this.cursorOptions.type){case 1:case 2:case 3:case 4:a.addColorStop(1,this.cursorOptions.color);break;default:a.addColorStop(0,"white"),a.addColorStop(.2,this.cursorOptions.color),a.addColorStop(.8,this.cursorOptions.color),a.addColorStop(1,"white");break}o.fillStyle=a,o.fillRect(0,0,e,1),this.cursorOptionsRendered={...this.cursorOptions},this.cursorElement.src=s.toDataURL("image/png")}get Iterator(){return this.iterator}get Hidden(){return this.hidden}VoicesUnderCursor(e){return this.Iterator.CurrentVisibleVoiceEntries(e)}NotesUnderCursor(e){const r=this.VoicesUnderCursor(e),s=[];return r.forEach(o=>{s.push.apply(s,o.Notes)}),s}GNotesUnderCursor(e){const r=this.VoicesUnderCursor(e),s=[];return r.forEach(o=>{s.push(...o.Notes.map(a=>this.rules.GNote(a)))}),s}updateCurrentPage(){let e=this.iterator.currentTimeStamp;e.RealValue<0&&(e=new Fraction$1(0,0));for(const r of this.graphic.MusicPages)if(r.MusicSystems.last().GetSystemsLastTimeStamp().gt(e)){const o=r.PageNumber;return o!==this.currentPageNumber&&(this.container.removeChild(this.cursorElement),this.container=document.getElementById(this.rules.DYContainerId+o),this.container.appendChild(this.cursorElement)),this.currentPageNumber=o}return 1}get SkipInvisibleNotes(){return this.skipInvisibleNotes}set SkipInvisibleNotes(e){this.skipInvisibleNotes=e,this.iterator.SkipInvisibleNotes=e}get CursorOptions(){return this.cursorOptions}set CursorOptions(e){this.cursorOptions=e}updateCurrentPageFromSystem(e){if(e!=null&&e.Parent){const r=e.Parent.PageNumber;return r!==this.currentPageNumber&&(this.container.removeChild(this.cursorElement),this.container=document.getElementById(this.rules.DYContainerId+r),this.container.appendChild(this.cursorElement)),this.currentPageNumber=r}return 1}Dispose(){this.rules=void 0,this.openSheetMusicDisplay=void 0,this.cursorOptions=void 0}}var DrawingParametersEnum=(i=>(i.allon="allon",i.compact="compact",i.compacttight="compacttight",i.default="default",i.leadsheet="leadsheet",i.preview="preview",i.thumbnail="thumbnail",i))(DrawingParametersEnum||{}),CursorType=(i=>(i[i.Standard=0]="Standard",i[i.ThinLeft=1]="ThinLeft",i[i.ShortThinTopLeft=2]="ShortThinTopLeft",i[i.CurrentArea=3]="CurrentArea",i[i.CurrentAreaLeft=4]="CurrentAreaLeft",i))(CursorType||{}),AlignRestOption=(i=>(i[i.Never=0]="Never",i[i.Always=1]="Always",i[i.Auto=2]="Auto",i))(AlignRestOption||{}),FillEmptyMeasuresWithWholeRests=(i=>(i[i.No=0]="No",i[i.YesVisible=1]="YesVisible",i[i.YesInvisible=2]="YesInvisible",i))(FillEmptyMeasuresWithWholeRests||{}),BackendType=(i=>(i[i.SVG=0]="SVG",i[i.Canvas=1]="Canvas",i))(BackendType||{}),SkyBottomLineBatchCalculatorBackendType=(i=>(i[i.Plain=0]="Plain",i[i.WebGL=1]="WebGL",i))(SkyBottomLineBatchCalculatorBackendType||{});class OSMDOptions{static OSMDOptionsStandard(){return{autoResize:!0,backend:"svg",drawingParameters:DrawingParametersEnum.default}}static BackendTypeFromString(e){return e&&e.toLowerCase()==="canvas"?1:0}}class IXmlElement{constructor(e){if(this.hasAttributes=!1,!e)throw new Error("IXmlElement: expected Element, got undefined");this.elem=e,this.name=e.nodeName.toLowerCase(),e.hasAttributes()&&(this.hasAttributes=!0,this.firstAttribute=e.attributes[0]),this.hasElements=e.hasChildNodes(),e.childNodes.length===1&&e.childNodes[0].nodeType===Node.TEXT_NODE?this.value=e.childNodes[0].nodeValue:this.value=""}attribute(e){return this.elem.attributes.getNamedItem(e)}attributes(){if(!this.attrs){const e=this.elem.attributes,r=[];for(let s=0;s<e.length;s+=1)r.push(e[s]);this.attrs=r}return this.attrs}element(e){const r=this.elem.childNodes;for(let s=0,o=r.length;s<o;s+=1){const a=r[s];if(a.nodeType===Node.ELEMENT_NODE&&a.nodeName.toLowerCase()===e)return new IXmlElement(a)}}elements(e){const r=this.elem.childNodes,s=[],o=!e;o||(e=e.toLowerCase());for(let a=0;a<r.length;a+=1){const l=r[a];l.nodeType===Node.ELEMENT_NODE&&(o||l.nodeName.toLowerCase()===e)&&s.push(new IXmlElement(l))}return s}combinedElement(e){const r=this.elem.childNodes;if(r.length>0){let s;for(let o=0,a=r.length;o<a;o+=1){const l=r[o];if(l.nodeType===Node.ELEMENT_NODE&&l.nodeName.toLowerCase()===e)if(s){const c=l.childNodes;for(let u=0,d=c.length;u<d;u+=1){const g=c[u];s.appendChild(g.cloneNode(!0))}}else s=l}if(s)return new IXmlElement(s)}}}class VerticalGraphicalStaffEntryContainer{constructor(e,r){this.staffEntries=[],this.absoluteTimestamp=r,this.staffEntries=new Array(e)}get Index(){return this.index}set Index(e){this.index=e}get AbsoluteTimestamp(){return this.absoluteTimestamp}get StaffEntries(){return this.staffEntries}set StaffEntries(e){this.staffEntries=e}static compareByTimestamp(e,r){const s=e.absoluteTimestamp.RealValue,o=r.absoluteTimestamp.RealValue;return s<o?-1:s>o?1:0}getFirstNonNullStaffEntry(){for(let e=0,r=this.staffEntries.length;e<r;++e){const s=this.staffEntries[e];if(s)return s}}}var OutlineAndFillStyleEnum=(i=>(i[i.BaseWritingColor=0]="BaseWritingColor",i[i.FollowingCursor=1]="FollowingCursor",i[i.AlternativeFollowingCursor=2]="AlternativeFollowingCursor",i[i.PlaybackCursor=3]="PlaybackCursor",i[i.Highlighted=4]="Highlighted",i[i.ErrorUnderlay=5]="ErrorUnderlay",i[i.Selected=6]="Selected",i[i.SelectionSymbol=7]="SelectionSymbol",i[i.DebugColor1=8]="DebugColor1",i[i.DebugColor2=9]="DebugColor2",i[i.DebugColor3=10]="DebugColor3",i[i.SplitScreenDivision=11]="SplitScreenDivision",i[i.GreyTransparentOverlay=12]="GreyTransparentOverlay",i[i.MarkedArea1=13]="MarkedArea1",i[i.MarkedArea2=14]="MarkedArea2",i[i.MarkedArea3=15]="MarkedArea3",i[i.MarkedArea4=16]="MarkedArea4",i[i.MarkedArea5=17]="MarkedArea5",i[i.MarkedArea6=18]="MarkedArea6",i[i.MarkedArea7=19]="MarkedArea7",i[i.MarkedArea8=20]="MarkedArea8",i[i.MarkedArea9=21]="MarkedArea9",i[i.MarkedArea10=22]="MarkedArea10",i[i.Comment1=23]="Comment1",i[i.Comment2=24]="Comment2",i[i.Comment3=25]="Comment3",i[i.Comment4=26]="Comment4",i[i.Comment5=27]="Comment5",i[i.Comment6=28]="Comment6",i[i.Comment7=29]="Comment7",i[i.Comment8=30]="Comment8",i[i.Comment9=31]="Comment9",i[i.Comment10=32]="Comment10",i))(OutlineAndFillStyleEnum||{});const OUTLINE_AND_FILL_STYLE_DICT=new Dictionary;OUTLINE_AND_FILL_STYLE_DICT.setValue(0,"Thistle");OUTLINE_AND_FILL_STYLE_DICT.setValue(1,"Aqua");OUTLINE_AND_FILL_STYLE_DICT.setValue(2,"Azure");OUTLINE_AND_FILL_STYLE_DICT.setValue(3,"Bisque");OUTLINE_AND_FILL_STYLE_DICT.setValue(4,"CadetBlue");OUTLINE_AND_FILL_STYLE_DICT.setValue(5,"DarkBlue");OUTLINE_AND_FILL_STYLE_DICT.setValue(6,"DarkGoldenRod");OUTLINE_AND_FILL_STYLE_DICT.setValue(7,"BlanchedAlmond");OUTLINE_AND_FILL_STYLE_DICT.setValue(8,"Chartreuse");OUTLINE_AND_FILL_STYLE_DICT.setValue(9,"DarkGreen");OUTLINE_AND_FILL_STYLE_DICT.setValue(10,"DarkOrange");OUTLINE_AND_FILL_STYLE_DICT.setValue(11,"FireBrick");OUTLINE_AND_FILL_STYLE_DICT.setValue(12,"DarkSalmon");OUTLINE_AND_FILL_STYLE_DICT.setValue(13,"DarkSeaGreen");OUTLINE_AND_FILL_STYLE_DICT.setValue(14,"DarkOrchid");OUTLINE_AND_FILL_STYLE_DICT.setValue(15,"Aquamarine");OUTLINE_AND_FILL_STYLE_DICT.setValue(16,"DarkKhaki");OUTLINE_AND_FILL_STYLE_DICT.setValue(17,"ForestGreen");OUTLINE_AND_FILL_STYLE_DICT.setValue(18,"AliceBlue");OUTLINE_AND_FILL_STYLE_DICT.setValue(19,"DeepPink");OUTLINE_AND_FILL_STYLE_DICT.setValue(20,"Coral");OUTLINE_AND_FILL_STYLE_DICT.setValue(21,"DarkOliveGreen");OUTLINE_AND_FILL_STYLE_DICT.setValue(22,"Chocolate");OUTLINE_AND_FILL_STYLE_DICT.setValue(23,"DodgerBlue");OUTLINE_AND_FILL_STYLE_DICT.setValue(24,"Blue");OUTLINE_AND_FILL_STYLE_DICT.setValue(25,"Beige");OUTLINE_AND_FILL_STYLE_DICT.setValue(26,"Crimson");OUTLINE_AND_FILL_STYLE_DICT.setValue(27,"Fuchsia");OUTLINE_AND_FILL_STYLE_DICT.setValue(28,"Brown");OUTLINE_AND_FILL_STYLE_DICT.setValue(29,"BlanchedAlmond");OUTLINE_AND_FILL_STYLE_DICT.setValue(30,"CornflowerBlue");OUTLINE_AND_FILL_STYLE_DICT.setValue(31,"Cornsilk");OUTLINE_AND_FILL_STYLE_DICT.setValue(32,"DarkGrey");var GraphicalLayers=(i=>(i[i.Background=0]="Background",i[i.Highlight=1]="Highlight",i[i.MeasureError=2]="MeasureError",i[i.SelectionSymbol=3]="SelectionSymbol",i[i.Cursor=4]="Cursor",i[i.PSI_Debug=5]="PSI_Debug",i[i.Notes=6]="Notes",i[i.Comment=7]="Comment",i[i.Debug_above=8]="Debug_above",i))(GraphicalLayers||{}),NoteState=(i=>(i[i.Normal=0]="Normal",i[i.Selected=1]="Selected",i[i.Follow_Confirmed=2]="Follow_Confirmed",i[i.QFeedback_NotFound=3]="QFeedback_NotFound",i[i.QFeedback_OK=4]="QFeedback_OK",i[i.QFeedback_Perfect=5]="QFeedback_Perfect",i[i.Debug1=6]="Debug1",i[i.Debug2=7]="Debug2",i[i.Debug3=8]="Debug3",i))(NoteState||{}),AutoColorSet=(i=>(i.C="#d82c6b",i.D="#F89D15",i.E="#FFE21A",i.F="#4dbd5c",i.G="#009D96",i.A="#43469d",i.B="#76429c",i.Rest="#000000",i))(AutoColorSet||{});class GraphicalLine{constructor(e,r,s=0,o=OutlineAndFillStyleEnum.BaseWritingColor,a=void 0){this.start=e,this.end=r,this.width=s,this.styleId=o,this.colorHex=a}get Start(){return this.start}set Start(e){this.start=e}get End(){return this.end}set End(e){this.end=e}get Width(){return this.width}set Width(e){this.width=e}}class PointF2D{constructor(e=0,r=0){this.x=0,this.y=0,this.x=e,this.y=r}static get Empty(){return new PointF2D}static pointsAreEqual(e,r){return e.x===r.x&&e.y===r.y}ToString(){return"["+this.x+", "+this.y+"]"}}var NoteEnum=(i=>(i[i.C=0]="C",i[i.D=2]="D",i[i.E=4]="E",i[i.F=5]="F",i[i.G=7]="G",i[i.A=9]="A",i[i.B=11]="B",i))(NoteEnum||{}),AccidentalEnum=(i=>(i[i.SHARP=0]="SHARP",i[i.FLAT=1]="FLAT",i[i.NONE=2]="NONE",i[i.NATURAL=3]="NATURAL",i[i.DOUBLESHARP=4]="DOUBLESHARP",i[i.DOUBLEFLAT=5]="DOUBLEFLAT",i[i.TRIPLESHARP=6]="TRIPLESHARP",i[i.TRIPLEFLAT=7]="TRIPLEFLAT",i[i.QUARTERTONESHARP=8]="QUARTERTONESHARP",i[i.QUARTERTONEFLAT=9]="QUARTERTONEFLAT",i[i.SLASHFLAT=10]="SLASHFLAT",i[i.THREEQUARTERSSHARP=11]="THREEQUARTERSSHARP",i[i.THREEQUARTERSFLAT=12]="THREEQUARTERSFLAT",i[i.SLASHQUARTERSHARP=13]="SLASHQUARTERSHARP",i[i.SLASHSHARP=14]="SLASHSHARP",i[i.DOUBLESLASHFLAT=15]="DOUBLESLASHFLAT",i[i.SORI=16]="SORI",i[i.KORON=17]="KORON",i))(AccidentalEnum||{});const _Pitch=class{constructor(i,e,r,s=void 0,o=!1){this.accidental=2,this.fundamentalNote=i,this.octave=e,this.accidental=r,this.accidentalXml=s,this.halfTone=i+(e+_Pitch.octXmlDiff)*12+_Pitch.HalfTonesFromAccidental(r),o||(this.frequency=_Pitch.calcFrequency(this),this.nextFrequency=_Pitch.calcFrequency(this,"next"),this.prevFrequency=_Pitch.calcFrequency(this,"prev"))}static getNoteEnumString(i){switch(i){case 0:return"C";case 2:return"D";case 4:return"E";case 5:return"F";case 7:return"G";case 9:return"A";case 11:return"B";default:return""}}static lineShiftFromNoteEnum(i,e){if(e===0)return[i,0];const r=_Pitch.pitchEnumValues,s=r.indexOf(i);let o=0,a=(s+e)%r.length;return s+e>r.length-1&&(o=1),a<0&&(a=r.length+a,o=-1),[r[a],o]}static CalculateTransposedHalfTone(i,e){const r=i.fundamentalNote+i.AccidentalHalfTones+e;return _Pitch.WrapAroundCheck(r,12)}static WrapAroundCheck(i,e){let r=0;for(;i<0;)i+=e,r--;for(;i>=e;)i-=e,r++;return{overflow:r,halftone:i}}static calcFrequency(i,e){const r=window.DYProjectName==="musicScore"?{"-2":[11,3],"-7":[12],"-9":[5],12:[33,34,35,37,38,2],24:[39]}:{"-2":[4,12,23],"-7":[13],"-9":[6],12:[5,116,55]};let s=0,o;if(i instanceof _Pitch){const d=i;s=d.octave-1,o=d.fundamentalNote-9+d.AccidentalHalfTones}else typeof i=="number"&&(o=i-57);const a=window.DYSubjectId;let l=0;if(window.DYEnvironment==="COLEXIU"&&(r[12]=[120]),window.xmlNeedAdjustVoice){for(const d in r)if(Object.prototype.hasOwnProperty.call(r,d)&&r[d].includes(a)){l=parseFloat(d);break}}let c=o+l;return e==="next"&&c++,e==="prev"&&c--,442*Math.pow(2,s)*Math.pow(2,c/12)}static calcFractionalKey(i){return Math.log(i/440)/Math.LN10*_Pitch.halftoneFactor+57}static fromFrequency(i){const e=_Pitch.calcFractionalKey(i)+.5,r=Math.floor(e/12)-_Pitch.octXmlDiff,s=Math.floor(e)%12;let o=s,a=2;return this.pitchEnumValues.indexOf(o)===-1&&(o=s-1,a=0),new _Pitch(o,r,a)}static fromHalftone(i){const e=Math.floor(i/12)-_Pitch.octXmlDiff,r=i%12;let s=r,o=2;return this.pitchEnumValues.indexOf(s)===-1&&(s=r-1,o=0),new _Pitch(s,e,o)}static ceiling(i){i=i%12;let e=i;return this.pitchEnumValues.indexOf(e)===-1&&(e=i+1),e}static floor(i){i=i%12;let e=i;return this.pitchEnumValues.indexOf(e)===-1&&(e=i-1),e}static HalfTonesFromAccidental(i){switch(i){case 2:return 0;case 0:return 1;case 1:return-1;case 3:return 0;case 4:return 2;case 5:return-2;case 6:return 3;case 7:return-3;case 8:return .5;case 9:return-.5;case 10:return-.51;case 11:return 1.5;case 12:return-1.5;case 13:return .0013;case 14:return .0014;case 15:return-.0015;case 16:return .0016;case 17:return .0017;default:throw new Error("Unhandled AccidentalEnum value")}}static AccidentalFromHalfTones(i){switch(i){case 0:return 2;case 1:return 0;case-1:return 1;case 2:return 4;case-2:return 5;case 3:return 6;case-3:return 7;case .5:return 8;case-.5:return 9;case 1.5:return 11;case-1.5:return 12;default:return i>0&&i<1?8:i<0&&i>-1?9:8}}static accidentalVexflow(i){let e;switch(i){case 3:e="n";break;case 1:e="b";break;case 0:e="#";break;case 4:e="##";break;case 6:e="###";break;case 5:e="bb";break;case 7:e="bbs";break;case 8:e="+";break;case 9:e="d";break;case 10:e="bs";break;case 11:e="++";break;case 12:e="db";break;case 13:e="+-";break;case 14:e="++-";break;case 15:e="bss";break;case 16:e="o";break;case 17:e="k";break}return e}get AccidentalHalfTones(){return _Pitch.HalfTonesFromAccidental(this.accidental)}get Octave(){return this.octave}get FundamentalNote(){return this.fundamentalNote}get Accidental(){return this.accidental}get AccidentalXml(){return this.accidentalXml}get Frequency(){return this.frequency}static get OctaveXmlDifference(){return _Pitch.octXmlDiff}getHalfTone(){return this.halfTone}getTransposedPitch(i){if(i>12)throw new Error("rewrite this method to handle bigger octave changes or don't use is with bigger octave changes!");return i>0?this.getHigherPitchByTransposeFactor(i):i<0?this.getLowerPitchByTransposeFactor(-i):this}DoEnharmonicChange(){switch(this.accidental){case 1:case 5:this.fundamentalNote=this.getPreviousFundamentalNote(this.fundamentalNote),this.accidental=_Pitch.AccidentalFromHalfTones(this.halfTone-(this.fundamentalNote+(this.octave+_Pitch.octXmlDiff)*12));break;case 0:case 4:this.fundamentalNote=this.getNextFundamentalNote(this.fundamentalNote),this.accidental=_Pitch.AccidentalFromHalfTones(this.halfTone-(this.fundamentalNote+(this.octave+_Pitch.octXmlDiff)*12));break;default:return}}ToString(){let i=_Pitch.accidentalVexflow(this.accidental);return i||(i=""),"Key: "+_Pitch.getNoteEnumString(this.fundamentalNote)+i+", Note: "+this.fundamentalNote+", octave: "+this.octave.toString()}ToStringShort(i=0){let e=_Pitch.accidentalVexflow(this.accidental);e||(e="");const r=this.octave+i;return _Pitch.getNoteEnumString(this.fundamentalNote)+e+r}get ToStringShortGet(){return this.ToStringShort(0)}OperatorEquals(i){const e=this;return!e||!i?!1:e.FundamentalNote===i.FundamentalNote&&e.Octave===i.Octave&&e.Accidental===i.Accidental}OperatorNotEqual(i){return this!==i}OperatorFundamentalGreaterThan(i){const e=this;return e.Octave===i.Octave?e.FundamentalNote>i.FundamentalNote:e.Octave>i.Octave}OperatorFundamentalLessThan(i){const e=this;return e.Octave===i.Octave?e.FundamentalNote<i.FundamentalNote:e.Octave<i.Octave}getHigherPitchByTransposeFactor(i){const e=_Pitch.pitchEnumValues.indexOf(this.fundamentalNote);let r=this.octave,s;return e+i>_Pitch.pitchEnumValues.length-1?(s=_Pitch.pitchEnumValues[e+i-_Pitch.pitchEnumValues.length],r++):s=_Pitch.pitchEnumValues[e+i],new _Pitch(s,r,2)}getLowerPitchByTransposeFactor(i){const e=_Pitch.pitchEnumValues.indexOf(this.fundamentalNote);let r=this.octave,s;return e-i<0?(s=_Pitch.pitchEnumValues[_Pitch.pitchEnumValues.length+e-i],r--):s=_Pitch.pitchEnumValues[e-i],new _Pitch(s,r,2)}getNextFundamentalNote(i){let e=_Pitch.pitchEnumValues.indexOf(i);return e=(e+1)%_Pitch.pitchEnumValues.length,_Pitch.pitchEnumValues[e]}getPreviousFundamentalNote(i){const e=_Pitch.pitchEnumValues.indexOf(i);return e>0?_Pitch.pitchEnumValues[e-1]:_Pitch.pitchEnumValues[_Pitch.pitchEnumValues.length-1]}};let Pitch=_Pitch;Pitch.pitchEnumValues=[0,2,4,5,7,9,11];Pitch.halftoneFactor=12/(Math.LN2/Math.LN10);Pitch.octXmlDiff=3;class ClefInstruction extends AbstractNotationInstruction{constructor(e=0,r=0,s=2){super(void 0),this.clefType=0,this.line=2,this.octaveOffset=0,this.line=s,this.clefType=e,this.octaveOffset=r,this.calcParameters()}static getDefaultClefFromMidiInstrument(e){switch(e){case 0:return new ClefInstruction(1,0,4);case 33:return new ClefInstruction(1,0,4);case 34:return new ClefInstruction(1,0,4);case 35:return new ClefInstruction(1,0,4);case 36:return new ClefInstruction(1,0,4);case 37:return new ClefInstruction(1,0,4);case 38:return new ClefInstruction(1,0,4);case 39:return new ClefInstruction(1,0,4);case 43:return new ClefInstruction(1,0,4);default:return new ClefInstruction(0,0,2)}}static getAllPossibleClefs(){const e=[];for(let r=0;r<=2;r++){const s=new ClefInstruction(0,r,2);e.push(s)}for(let r=-2;r<=0;r++){const s=new ClefInstruction(1,r,4);e.push(s)}return e}static isSupportedClef(e){switch(e){case 0:case 1:case 2:case 3:case 4:return!0;default:return!1}}get ClefType(){return this.clefType}set ClefType(e){this.clefType=e}get Line(){return this.line}set Line(e){this.line=e}get OctaveOffset(){return this.octaveOffset}set OctaveOffset(e){this.octaveOffset=e}get ClefPitch(){return this.clefPitch}set ClefPitch(e){this.clefPitch=e}get ReferenceCyPosition(){return this.referenceCyPosition}set ReferenceCyPosition(e){this.referenceCyPosition=e}Equals(e){return this===e?!0:!this||!e?!1:this.clefPitch===e.clefPitch&&this.Line===e.Line}NotEqual(e){return!this.Equals(e)}ToString(){return"ClefType: "+this.clefType}calcParameters(){switch(this.clefType){case 0:this.clefPitch=new Pitch(NoteEnum.G,1+this.octaveOffset,AccidentalEnum.NONE),this.referenceCyPosition=5-this.line+2;break;case 1:this.clefPitch=new Pitch(NoteEnum.F,0+this.octaveOffset,AccidentalEnum.NONE),this.referenceCyPosition=5-this.line+1.5;break;case 2:this.clefPitch=new Pitch(NoteEnum.C,1+this.octaveOffset,AccidentalEnum.NONE),this.referenceCyPosition=5-this.line;break;case 3:this.clefPitch=new Pitch(NoteEnum.C,2,AccidentalEnum.NONE),this.referenceCyPosition=2;break;case 4:this.clefPitch=new Pitch(NoteEnum.G,0,AccidentalEnum.NONE),this.referenceCyPosition=0;break;default:throw new ArgumentOutOfRangeException("clefType")}}}var ClefEnum=(i=>(i[i.G=0]="G",i[i.F=1]="F",i[i.C=2]="C",i[i.percussion=3]="percussion",i[i.TAB=4]="TAB",i))(ClefEnum||{}),MidiInstrument=(i=>(i[i.None=-1]="None",i[i.Acoustic_Grand_Piano=0]="Acoustic_Grand_Piano",i[i.Bright_Acoustic_Piano=1]="Bright_Acoustic_Piano",i[i.Electric_Grand_Piano=2]="Electric_Grand_Piano",i[i.Honky_tonk_Piano=3]="Honky_tonk_Piano",i[i.Electric_Piano_1=4]="Electric_Piano_1",i[i.Electric_Piano_2=5]="Electric_Piano_2",i[i.Harpsichord=6]="Harpsichord",i[i.Clavinet=7]="Clavinet",i[i.Celesta=8]="Celesta",i[i.Glockenspiel=9]="Glockenspiel",i[i.Music_Box=10]="Music_Box",i[i.Vibraphone=11]="Vibraphone",i[i.Marimba=12]="Marimba",i[i.Xylophone=13]="Xylophone",i[i.Tubular_Bells=14]="Tubular_Bells",i[i.Dulcimer=15]="Dulcimer",i[i.Drawbar_Organ=16]="Drawbar_Organ",i[i.Percussive_Organ=17]="Percussive_Organ",i[i.Rock_Organ=18]="Rock_Organ",i[i.Church_Organ=19]="Church_Organ",i[i.Reed_Organ=20]="Reed_Organ",i[i.Accordion=21]="Accordion",i[i.Harmonica=22]="Harmonica",i[i.Tango_Accordion=23]="Tango_Accordion",i[i.Acoustic_Guitar_nylon=24]="Acoustic_Guitar_nylon",i[i.Acoustic_Guitar_steel=25]="Acoustic_Guitar_steel",i[i.Electric_Guitar_jazz=26]="Electric_Guitar_jazz",i[i.Electric_Guitar_clean=27]="Electric_Guitar_clean",i[i.Electric_Guitar_muted=28]="Electric_Guitar_muted",i[i.Overdriven_Guitar=29]="Overdriven_Guitar",i[i.Distortion_Guitar=30]="Distortion_Guitar",i[i.Guitar_harmonics=31]="Guitar_harmonics",i[i.Acoustic_Bass=32]="Acoustic_Bass",i[i.Electric_Bass_finger=33]="Electric_Bass_finger",i[i.Electric_Bass_pick=34]="Electric_Bass_pick",i[i.Fretless_Bass=35]="Fretless_Bass",i[i.Slap_Bass_1=36]="Slap_Bass_1",i[i.Slap_Bass_2=37]="Slap_Bass_2",i[i.Synth_Bass_1=38]="Synth_Bass_1",i[i.Synth_Bass_2=39]="Synth_Bass_2",i[i.Violin=40]="Violin",i[i.Viola=41]="Viola",i[i.Cello=42]="Cello",i[i.Contrabass=43]="Contrabass",i[i.Tremolo_Strings=44]="Tremolo_Strings",i[i.Pizzicato_Strings=45]="Pizzicato_Strings",i[i.Orchestral_Harp=46]="Orchestral_Harp",i[i.Timpani=47]="Timpani",i[i.String_Ensemble_1=48]="String_Ensemble_1",i[i.String_Ensemble_2=49]="String_Ensemble_2",i[i.Synth_Strings_1=50]="Synth_Strings_1",i[i.Synth_Strings_2=51]="Synth_Strings_2",i[i.Choir_Aahs=52]="Choir_Aahs",i[i.Voice_Oohs=53]="Voice_Oohs",i[i.Synth_Voice=54]="Synth_Voice",i[i.Orchestra_Hit=55]="Orchestra_Hit",i[i.Trumpet=56]="Trumpet",i[i.Trombone=57]="Trombone",i[i.Tuba=58]="Tuba",i[i.Muted_Trumpet=59]="Muted_Trumpet",i[i.French_Horn=60]="French_Horn",i[i.Brass_Section=61]="Brass_Section",i[i.Synth_Brass_1=62]="Synth_Brass_1",i[i.Synth_Brass_2=63]="Synth_Brass_2",i[i.Soprano_Sax=64]="Soprano_Sax",i[i.Alto_Sax=65]="Alto_Sax",i[i.Tenor_Sax=66]="Tenor_Sax",i[i.Baritone_Sax=67]="Baritone_Sax",i[i.Oboe=68]="Oboe",i[i.English_Horn=69]="English_Horn",i[i.Bassoon=70]="Bassoon",i[i.Clarinet=71]="Clarinet",i[i.Piccolo=72]="Piccolo",i[i.Flute=73]="Flute",i[i.Recorder=74]="Recorder",i[i.Pan_Flute=75]="Pan_Flute",i[i.Blown_Bottle=76]="Blown_Bottle",i[i.Shakuhachi=77]="Shakuhachi",i[i.Whistle=78]="Whistle",i[i.Ocarina=79]="Ocarina",i[i.Lead_1_square=80]="Lead_1_square",i[i.Lead_2_sawtooth=81]="Lead_2_sawtooth",i[i.Lead_3_calliope=82]="Lead_3_calliope",i[i.Lead_4_chiff=83]="Lead_4_chiff",i[i.Lead_5_charang=84]="Lead_5_charang",i[i.Lead_6_voice=85]="Lead_6_voice",i[i.Lead_7_fifths=86]="Lead_7_fifths",i[i.Lead_8_bass_lead=87]="Lead_8_bass_lead",i[i.Pad_1_new_age=88]="Pad_1_new_age",i[i.Pad_2_warm=89]="Pad_2_warm",i[i.Pad_3_polysynth=90]="Pad_3_polysynth",i[i.Pad_4_choir=91]="Pad_4_choir",i[i.Pad_5_bowed=92]="Pad_5_bowed",i[i.Pad_6_metallic=93]="Pad_6_metallic",i[i.Pad_7_halo=94]="Pad_7_halo",i[i.Pad_8_sweep=95]="Pad_8_sweep",i[i.FX_1_rain=96]="FX_1_rain",i[i.FX_2_soundtrack=97]="FX_2_soundtrack",i[i.FX_3_crystal=98]="FX_3_crystal",i[i.FX_4_atmosphere=99]="FX_4_atmosphere",i[i.FX_5_brightness=100]="FX_5_brightness",i[i.FX_6_goblins=101]="FX_6_goblins",i[i.FX_7_echoes=102]="FX_7_echoes",i[i.FX_8_scifi=103]="FX_8_scifi",i[i.Sitar=104]="Sitar",i[i.Banjo=105]="Banjo",i[i.Shamisen=106]="Shamisen",i[i.Koto=107]="Koto",i[i.Kalimba=108]="Kalimba",i[i.Bag_pipe=109]="Bag_pipe",i[i.Fiddle=110]="Fiddle",i[i.Shanai=111]="Shanai",i[i.Tinkle_Bell=112]="Tinkle_Bell",i[i.Agogo=113]="Agogo",i[i.Steel_Drums=114]="Steel_Drums",i[i.Woodblock=115]="Woodblock",i[i.Taiko_Drum=116]="Taiko_Drum",i[i.Melodic_Tom=117]="Melodic_Tom",i[i.Synth_Drum=118]="Synth_Drum",i[i.Reverse_Cymbal=119]="Reverse_Cymbal",i[i.Guitar_Fret_Noise=120]="Guitar_Fret_Noise",i[i.Breath_Noise=121]="Breath_Noise",i[i.Seashore=122]="Seashore",i[i.Bird_Tweet=123]="Bird_Tweet",i[i.Telephone_Ring=124]="Telephone_Ring",i[i.Helicopter=125]="Helicopter",i[i.Applause=126]="Applause",i[i.Gunshot=127]="Gunshot",i[i.Percussion=128]="Percussion",i))(MidiInstrument||{});const _KeyInstruction=class extends AbstractNotationInstruction{constructor(i=void 0,e=0,r=0){super(i),this.isTransposedBy=0,this.Key=e,this.keyTypeOriginal=e,this.mode=r,this.alteratedNotes=this.calcAlteratedNotes()}static copy(i){const e=new _KeyInstruction(i.parent,i.Key,i.Mode);return e.keyTypeOriginal=i.keyTypeOriginal,e}static getAllPossibleMajorKeyInstructions(){const i=[];for(let e=-7;e<7;e++){const r=new _KeyInstruction(void 0,e,0);i.push(r)}return i}get Key(){return this.keyType}set Key(i){this.keyType=i,this.alteratedNotes=this.calcAlteratedNotes()}get Mode(){return this.mode}set Mode(i){this.mode=i}get AlteratedNotes(){return this.alteratedNotes}calcAlteratedNotes(){const i=[];if(this.keyType>0)for(let e=0;e<this.keyType;e++)i.push(_KeyInstruction.sharpPositionList[e]);else if(this.keyType<0)for(let e=0;e<-this.keyType;e++)i.push(_KeyInstruction.flatPositionList[e]);return i}willAlterateNote(i){return this.alteratedNotes.indexOf(i)>=0}getAlterationForPitch(i){return this.keyType>0&&this.alteratedNotes.indexOf(i.FundamentalNote)<=this.keyType?AccidentalEnum.SHARP:this.keyType<0&&this.alteratedNotes.indexOf(i.FundamentalNote)<=Math.abs(this.keyType)?AccidentalEnum.FLAT:AccidentalEnum.NONE}ToString(){return"Key: "+this.keyType+this.mode}OperatorEquals(i){const e=this;return e===i?!0:!e||!i?!1:e.Key===i.Key&&e.Mode===i.Mode}OperatorNotEqual(i){return!this.OperatorEquals(i)}};let KeyInstruction=_KeyInstruction;KeyInstruction.sharpPositionList=[NoteEnum.F,NoteEnum.C,NoteEnum.G,NoteEnum.D,NoteEnum.A,NoteEnum.E,NoteEnum.B];KeyInstruction.flatPositionList=[NoteEnum.B,NoteEnum.E,NoteEnum.A,NoteEnum.D,NoteEnum.G,NoteEnum.C,NoteEnum.F];var KeyEnum=(i=>(i[i.major=0]="major",i[i.minor=1]="minor",i[i.none=2]="none",i[i.dorian=3]="dorian",i[i.phrygian=4]="phrygian",i[i.lydian=5]="lydian",i[i.mixolydian=6]="mixolydian",i[i.aeolian=7]="aeolian",i[i.ionian=8]="ionian",i[i.locrian=9]="locrian",i))(KeyEnum||{});class SizeF2D{constructor(e=0,r=0){this.width=e,this.height=r}}class RectangleF2D{constructor(e,r,s,o){this.x=0,this.y=0,this.width=0,this.height=0,this.x=e,this.y=r,this.width=s,this.height=o}static createFromLocationAndSize(e,r){return new RectangleF2D(e.x,e.y,r.width,r.height)}get Location(){return new PointF2D(this.x,this.y)}get Size(){return new SizeF2D(this.width,this.height)}}class AClassHierarchyTrackable{isInstanceOfClass(e){let r=this.constructor.prototype;for(;r;){if(e===r.constructor.name)return!0;r=r.__proto__}return!1}}class GraphicalObject extends AClassHierarchyTrackable{get PositionAndShape(){return this.boundingBox}set PositionAndShape(e){this.boundingBox=e}}class Clickable extends GraphicalObject{}let BoundingBox$1=class{constructor(e=void 0,r=void 0,s=!1){this.isSymbol=!1,this.relativePositionHasBeenSet=!1,this.xBordersHaveBeenSet=!1,this.yBordersHaveBeenSet=!1,this.absolutePosition=new PointF2D,this.relativePosition=new PointF2D,this.size=new SizeF2D,this.marginSize=new SizeF2D,this.upperLeftCorner=new PointF2D,this.upperLeftMarginCorner=new PointF2D,this.borderLeft=0,this.borderRight=0,this.borderTop=0,this.borderBottom=0,this.borderMarginLeft=0,this.borderMarginRight=0,this.borderMarginTop=0,this.borderMarginBottom=0,this.childElements=[],this.parent=r,this.dataObject=e,this.isSymbol=s,this.xBordersHaveBeenSet=!1,this.yBordersHaveBeenSet=!1,r&&(this.Parent=r)}get RelativePositionHasBeenSet(){return this.relativePositionHasBeenSet}get XBordersHaveBeenSet(){return this.xBordersHaveBeenSet}set XBordersHaveBeenSet(e){this.xBordersHaveBeenSet=e}get YBordersHaveBeenSet(){return this.yBordersHaveBeenSet}set YBordersHaveBeenSet(e){this.yBordersHaveBeenSet=e}get AbsolutePosition(){return this.absolutePosition}set AbsolutePosition(e){this.absolutePosition=e}get RelativePosition(){return this.relativePosition}set RelativePosition(e){this.relativePosition=e,this.relativePositionHasBeenSet=!0}get Size(){return this.size}set Size(e){this.size=e}get MarginSize(){return this.marginSize}get UpperLeftCorner(){return this.upperLeftCorner}get UpperLeftMarginCorner(){return this.upperLeftMarginCorner}get BorderLeft(){return this.borderLeft}set BorderLeft(e){this.borderLeft=e,this.calculateRectangle()}get BorderRight(){return this.borderRight}set BorderRight(e){this.borderRight=e,this.calculateRectangle()}get BorderTop(){return this.borderTop}set BorderTop(e){this.borderTop=e,this.calculateRectangle()}get BorderBottom(){return this.borderBottom}set BorderBottom(e){this.borderBottom=e,this.calculateRectangle()}get BorderMarginLeft(){return this.borderMarginLeft>this.borderLeft?this.borderLeft:this.borderMarginLeft}set BorderMarginLeft(e){this.borderMarginLeft=e,this.calculateMarginRectangle()}get BorderMarginRight(){return this.borderMarginRight<this.borderRight?this.borderRight:this.borderMarginRight}set BorderMarginRight(e){this.borderMarginRight=e,this.calculateMarginRectangle()}get BorderMarginTop(){return this.borderMarginTop>this.borderTop?this.borderTop:this.borderMarginTop}set BorderMarginTop(e){this.borderMarginTop=e,this.calculateMarginRectangle()}get BorderMarginBottom(){return this.borderMarginBottom<this.borderBottom?this.borderBottom:this.borderMarginBottom}set BorderMarginBottom(e){this.borderMarginBottom=e,this.calculateMarginRectangle()}get BoundingRectangle(){return this.boundingRectangle}get BoundingMarginRectangle(){return this.boundingMarginRectangle}get ChildElements(){return this.childElements}set ChildElements(e){this.childElements=e}get Parent(){return this.parent}set Parent(e){var r,s,o,a;if(this.parent){const l=this.parent.ChildElements.indexOf(this,0);l>-1&&this.parent.ChildElements.splice(l,1)}this.parent=e,((s=(r=this.parent)==null?void 0:r.ChildElements)==null?void 0:s.indexOf(this))>-1?loglevelExports.error("BoundingBox of "+this.dataObject.constructor.name+" already in children list of "+this.parent.dataObject.constructor.name+"'s BoundingBox"):(a=(o=this.parent)==null?void 0:o.ChildElements)==null||a.push(this)}get DataObject(){return this.dataObject}get Center(){return new PointF2D(this.RelativePosition.x+(this.BorderMarginRight+this.BorderMarginLeft),this.RelativePosition.y+(this.BorderMarginBottom+this.BorderMarginTop))}setAbsolutePositionFromParent(){this.parent?(this.absolutePosition.x=this.parent.AbsolutePosition.x+this.relativePosition.x,this.absolutePosition.y=this.parent.AbsolutePosition.y+this.relativePosition.y):this.absolutePosition=this.relativePosition}calculateAbsolutePosition(){this.absolutePosition.x=this.relativePosition.x,this.absolutePosition.y=this.relativePosition.y;let e=this.parent;for(;e;)this.absolutePosition.x+=e.relativePosition.x,this.absolutePosition.y+=e.relativePosition.y,e=e.parent}calculateAbsolutePositionsRecursiveWithoutTopelement(){this.absolutePosition.x=0,this.absolutePosition.y=0;for(let e=0,r=this.ChildElements.length;e<r;++e)this.ChildElements[e].calculateAbsolutePositionsRecursive(this.absolutePosition.x,this.absolutePosition.y)}calculateAbsolutePositionsRecursive(e,r){this.absolutePosition.x=this.relativePosition.x+e,this.absolutePosition.y=this.relativePosition.y+r;for(let s=0,o=this.ChildElements.length;s<o;++s)this.ChildElements[s].calculateAbsolutePositionsRecursive(this.absolutePosition.x,this.absolutePosition.y)}calculateAbsolutePositionsOfChildren(){for(let e=0,r=this.ChildElements.length;e<r;++e)this.ChildElements[e].calculateAbsolutePositionsRecursive(this.absolutePosition.x,this.absolutePosition.y)}calculateBoundingBox(){if(this.childElements.length===0)return;for(let d=0,g=this.ChildElements.length;d<g;++d)this.ChildElements[d].calculateBoundingBox();let e=Number.MAX_VALUE,r=Number.MIN_VALUE,s=Number.MAX_VALUE,o=Number.MIN_VALUE,a=Number.MAX_VALUE,l=Number.MIN_VALUE,c=Number.MAX_VALUE,u=Number.MIN_VALUE;this.isSymbol&&(e=this.borderLeft,r=this.borderRight,s=this.borderTop,o=this.borderBottom,a=this.borderMarginLeft,l=this.borderMarginRight,c=this.borderMarginTop,u=this.borderMarginBottom);for(let d=0,g=this.ChildElements.length;d<g;++d){const m=this.ChildElements[d];e=Math.min(e,m.relativePosition.x+m.borderLeft),r=Math.max(r,m.relativePosition.x+m.borderRight),s=Math.min(s,m.relativePosition.y+m.borderTop),o=Math.max(o,m.relativePosition.y+m.borderBottom),a=Math.min(a,m.relativePosition.x+m.borderMarginLeft),l=Math.max(l,m.relativePosition.x+m.borderMarginRight),c=Math.min(c,m.relativePosition.y+m.borderMarginTop),u=Math.max(u,m.relativePosition.y+m.borderMarginBottom)}this.borderLeft=e,this.borderRight=r,this.borderTop=s,this.borderBottom=o,this.borderMarginLeft=a,this.borderMarginRight=l,this.borderMarginTop=c,this.borderMarginBottom=u,this.calculateRectangle(),this.calculateMarginRectangle(),this.xBordersHaveBeenSet=!0,this.yBordersHaveBeenSet=!0}calculateTopBottomBorders(){if(this.childElements.length===0)return;for(let a=0,l=this.ChildElements.length;a<l;++a)this.ChildElements[a].calculateTopBottomBorders();let e=Number.MAX_VALUE,r=Number.MIN_VALUE,s=Number.MAX_VALUE,o=Number.MIN_VALUE;this.yBordersHaveBeenSet&&(e=this.borderTop,r=this.borderBottom,s=this.borderMarginTop,o=this.borderMarginBottom);for(let a=0,l=this.ChildElements.length;a<l;++a){const c=this.ChildElements[a];e=Math.min(e,c.relativePosition.y+c.borderTop),r=Math.max(r,c.relativePosition.y+c.borderBottom),s=Math.min(s,c.relativePosition.y+c.borderMarginTop),o=Math.max(o,c.relativePosition.y+c.borderMarginBottom)}this.borderTop=e,this.borderBottom=r,this.borderMarginTop=s,this.borderMarginBottom=o,this.calculateRectangle(),this.calculateMarginRectangle()}computeNonOverlappingPositionWithMargin(e,r,s){this.RelativePosition=new PointF2D(s.x,s.y),this.setAbsolutePositionFromParent();let o=0,a=!1;do switch(r){case 0:case 1:o=this.relativePosition.x,e.calculateMarginPositionAlongDirection(this,r),a=Math.abs(o-this.relativePosition.x)>.001;break;case 2:case 3:o=this.relativePosition.y,e.calculateMarginPositionAlongDirection(this,r),a=Math.abs(o-this.relativePosition.y)>.001;break;default:throw new ArgumentOutOfRangeException("direction")}while(a)}collisionDetection(e){const r=Math.min(this.AbsolutePosition.x+this.borderRight,e.absolutePosition.x+e.borderRight)-Math.max(this.AbsolutePosition.x+this.borderLeft,e.absolutePosition.x+e.borderLeft),s=Math.min(this.AbsolutePosition.y+this.borderBottom,e.absolutePosition.y+e.borderBottom)-Math.max(this.AbsolutePosition.y+this.borderTop,e.absolutePosition.y+e.borderTop);return r>0&&s>0}liesInsideBorders(e){const r=this.AbsolutePosition.x+this.borderLeft<=e.absolutePosition.x+e.borderLeft&&e.absolutePosition.x+e.borderLeft<=this.AbsolutePosition.x+this.borderRight,s=this.AbsolutePosition.x+this.borderLeft<=e.absolutePosition.x+e.borderRight&&e.absolutePosition.x+e.borderRight<=this.AbsolutePosition.x+this.borderRight;if(r&&s){const o=this.AbsolutePosition.y+this.borderTop<=e.absolutePosition.y+e.borderTop&&e.absolutePosition.y+e.borderTop<=this.AbsolutePosition.y+this.borderBottom,a=this.AbsolutePosition.y+this.borderTop<=e.absolutePosition.y+e.borderBottom&&e.absolutePosition.y+e.borderBottom<=this.AbsolutePosition.y+this.borderBottom;if(o&&a)return!0}return!1}pointLiesInsideBorders(e){return this.AbsolutePosition.x+this.borderLeft<=e.x&&e.x<=this.AbsolutePosition.x+this.borderRight&&this.AbsolutePosition.y+this.borderTop<=e.y&&e.y<=this.AbsolutePosition.y+this.borderBottom}marginCollisionDetection(e){const r=Math.min(this.AbsolutePosition.x+this.borderMarginRight,e.absolutePosition.x+e.borderMarginRight)-Math.max(this.AbsolutePosition.x+this.borderMarginLeft,e.absolutePosition.x+e.borderMarginLeft),s=Math.min(this.AbsolutePosition.y+this.borderMarginBottom,e.absolutePosition.y+e.borderMarginBottom)-Math.max(this.AbsolutePosition.y+this.borderMarginTop,e.absolutePosition.y+e.borderMarginTop);return r>0&&s>0}liesInsideMargins(e){const r=this.AbsolutePosition.x+this.borderMarginLeft<=e.absolutePosition.x+e.borderMarginLeft&&e.absolutePosition.x+e.borderMarginLeft<=this.AbsolutePosition.x+this.borderMarginRight,s=this.AbsolutePosition.x+this.borderMarginLeft<=e.absolutePosition.x+e.borderMarginRight&&e.absolutePosition.x+e.borderMarginRight<=this.AbsolutePosition.x+this.borderMarginRight;if(r&&s){const o=this.AbsolutePosition.y+this.borderMarginTop<=e.absolutePosition.y+e.borderMarginTop&&e.absolutePosition.y+e.borderMarginTop<=this.AbsolutePosition.y+this.borderMarginBottom,a=this.AbsolutePosition.y+this.borderMarginTop<=e.absolutePosition.y+e.borderMarginBottom&&e.absolutePosition.y+e.borderMarginBottom<=this.AbsolutePosition.y+this.borderMarginBottom;if(o&&a)return!0}return!1}pointLiesInsideMargins(e){return this.AbsolutePosition.x+this.borderMarginLeft<=e.x&&e.x<=this.AbsolutePosition.x+this.borderMarginRight&&this.AbsolutePosition.y+this.borderMarginTop<=e.y&&e.y<=this.AbsolutePosition.y+this.borderMarginBottom}computeNonOverlappingPosition(e,r,s){this.RelativePosition=new PointF2D(s.x,s.y),this.setAbsolutePositionFromParent();let o=0,a=!1;do switch(r){case 0:case 1:o=this.relativePosition.x,e.calculatePositionAlongDirection(this,r),a=Math.abs(o-this.relativePosition.x)>1e-4;break;case 2:case 3:o=this.relativePosition.y,e.calculatePositionAlongDirection(this,r),a=Math.abs(o-this.relativePosition.y)>1e-4;break;default:throw new ArgumentOutOfRangeException("direction")}while(a)}getClickedObjectOfType(e){const r=this.dataObject;if(this.pointLiesInsideBorders(e)&&r)return r;for(let s=0,o=this.childElements.length;s<o;++s){const l=this.childElements[s].getClickedObjectOfType(e);if(l)return l}}getClickedClickable(e){const r=this.dataObject;if(this.pointLiesInsideBorders(e)&&r&&r instanceof Clickable)return r;for(let s=0,o=this.childElements.length;s<o;++s){const l=this.childElements[s].getClickedClickable(e);if(l&&l instanceof Clickable)return l}}getObjectsInRegion(e,r=!0,s=GraphicalObject.name){let o=[];for(const a of this.childElements)o=o.concat(a.getObjectsInRegion(e,r,s));return this.dataObject&&this.dataObject.isInstanceOfClass(s)&&(r?e.liesInsideBorders(this)&&o.push(this.dataObject):e.collisionDetection(this)&&o.push(this.dataObject)),o}calculateRectangle(){this.upperLeftCorner=new PointF2D(this.BorderLeft,this.BorderTop),this.size=new SizeF2D(this.BorderRight-this.BorderLeft,this.BorderBottom-this.BorderTop),this.boundingRectangle=RectangleF2D.createFromLocationAndSize(this.upperLeftCorner,this.size)}calculateMarginRectangle(){this.upperLeftMarginCorner=new PointF2D(this.BorderMarginLeft,this.BorderMarginTop),this.marginSize=new SizeF2D(this.BorderMarginRight-this.BorderMarginLeft,this.BorderMarginBottom-this.BorderMarginTop),this.boundingMarginRectangle=RectangleF2D.createFromLocationAndSize(this.upperLeftMarginCorner,this.marginSize)}calculateMarginPositionAlongDirection(e,r){if(this!==e){if(this.isSymbol&&this.marginCollisionDetection(e)){let s=0;switch(r){case 0:s=this.absolutePosition.x+this.borderMarginLeft-(e.absolutePosition.x+e.borderMarginRight),e.relativePosition.x+=s,e.absolutePosition.x+=s;return;case 1:s=this.absolutePosition.x+this.borderMarginRight-(e.absolutePosition.x+e.borderMarginLeft),e.relativePosition.x+=s,e.absolutePosition.x+=s;return;case 2:s=this.absolutePosition.y+this.borderMarginTop-(e.absolutePosition.y+e.borderMarginBottom),e.relativePosition.y+=s,e.absolutePosition.y+=s;return;case 3:s=this.absolutePosition.y+this.borderMarginBottom-(e.absolutePosition.y+e.borderMarginTop),e.relativePosition.y+=s,e.absolutePosition.y+=s;return;default:throw new ArgumentOutOfRangeException("direction")}}for(let s=0,o=this.ChildElements.length;s<o;++s)this.ChildElements[s].calculateMarginPositionAlongDirection(e,r)}}calculatePositionAlongDirection(e,r){if(this!==e){if(this.isSymbol&&this.collisionDetection(e)){let s;switch(r){case 0:s=this.absolutePosition.x+this.borderLeft-(e.absolutePosition.x+e.borderRight),e.relativePosition.x+=s,e.absolutePosition.x+=s;return;case 1:s=this.absolutePosition.x+this.borderRight-(e.absolutePosition.x+e.borderLeft),e.relativePosition.x+=s,e.absolutePosition.x+=s;return;case 2:s=this.absolutePosition.y+this.borderTop-(e.absolutePosition.y+e.borderBottom),e.relativePosition.y+=s,e.absolutePosition.y+=s;return;case 3:s=this.absolutePosition.y+this.borderBottom-(e.absolutePosition.y+e.borderTop),e.relativePosition.y+=s,e.absolutePosition.y+=s;return;default:throw new ArgumentOutOfRangeException("direction")}}for(let s=0,o=this.ChildElements.length;s<o;++s)this.ChildElements[s].calculatePositionAlongDirection(e,r)}}};var ColDirEnum=(i=>(i[i.Left=0]="Left",i[i.Right=1]="Right",i[i.Up=2]="Up",i[i.Down=3]="Down",i[i.NotYetDefined=4]="NotYetDefined",i))(ColDirEnum||{});Array.prototype.last||Object.defineProperty(Array.prototype,"last",{enumerable:!1,writable:!0,value:function(){return this[this.length-1]}});Array.prototype.clear||Object.defineProperty(Array.prototype,"clear",{enumerable:!1,writable:!0,value:function(){this.length=0}});Array.prototype.contains||Object.defineProperty(Array.prototype,"contains",{enumerable:!1,writable:!0,value:function(i){return this.indexOf(i)!==-1}});class CollectionUtil{static contains2(e,r){for(let s=0;s<e.length;s++)if(e[s]===r)return!0;return!1}static last(e){return e[e.length-1]}static flat(e){return[].concat(...e)}static removeDictElementIfTrue(e,r,s){const o=[];r.forEach(function(a,l){s(e,a,l)&&o.push(a)});for(let a=0;a<o.length;a++)r.remove(o[a])}static getLastElement(e){return e[e.length-1]}static binarySearch(e,r,s,o=0,a=e.length-1){let l=1,c=-1;for(;o<=a&&(l=Math.floor((o+a)/2),l!==c);){const u=s(e[l],r);if(u===0)return l;u<0&&(o=l+1),0<u&&(a=l),c=l}return-l}}class GraphicalMusicPage extends GraphicalObject{constructor(e){super(),this.musicSystems=[],this.labels=[],this.parent=e,this.boundingBox=new BoundingBox$1(this,void 0)}get MusicSystems(){return this.musicSystems}set MusicSystems(e){this.musicSystems=e}get Labels(){return this.labels}set Labels(e){this.labels=e}get Parent(){return this.parent}set Parent(e){this.parent=e}get PageNumber(){return this.pageNumber}set PageNumber(e){this.pageNumber=e}setMusicPageAbsolutePosition(e,r){return new PointF2D(0,0)}}var PagePlacementEnum=(i=>(i[i.Down=0]="Down",i[i.Right=1]="Right",i[i.RightDown=2]="RightDown",i))(PagePlacementEnum||{}),TextAlignmentEnum=(i=>(i[i.LeftTop=0]="LeftTop",i[i.LeftCenter=1]="LeftCenter",i[i.LeftBottom=2]="LeftBottom",i[i.CenterTop=3]="CenterTop",i[i.CenterCenter=4]="CenterCenter",i[i.CenterBottom=5]="CenterBottom",i[i.RightTop=6]="RightTop",i[i.RightCenter=7]="RightCenter",i[i.RightBottom=8]="RightBottom",i))(TextAlignmentEnum||{});class TextAlignment{static IsLeft(e){return e===0||e===1||e===2}static IsCenterAligned(e){return e===3||e===4||e===5}static IsRight(e){return e===6||e===7||e===8}}var ColoringModes=(i=>(i[i.XML=0]="XML",i[i.AutoColoring=1]="AutoColoring",i[i.CustomColorSet=2]="CustomColorSet",i))(ColoringModes||{}),FontStyles=(i=>(i[i.Regular=0]="Regular",i[i.Bold=1]="Bold",i[i.Italic=2]="Italic",i[i.BoldItalic=3]="BoldItalic",i[i.Underlined=4]="Underlined",i))(FontStyles||{}),Fonts=(i=>(i[i.TimesNewRoman=0]="TimesNewRoman",i[i.Kokila=1]="Kokila",i[i.Gonville=2]="Gonville",i))(Fonts||{});const FontStringNames={0:"Times New Roman",1:"Kokila",2:"Gonville"};var TieTypes=(i=>(i.SIMPLE="",i.HAMMERON="H",i.PULLOFF="P",i.SLIDE="S",i.TAPPING="T",i))(TieTypes||{});class ChordSymbolContainer{constructor(e,r,s,o,a){this.rootPitch=e,this.chordKind=r,this.bassPitch=s,this.degrees=o,this.rules=a}get RootPitch(){return this.rootPitch}get ChordKind(){return this.chordKind}get BassPitch(){return this.bassPitch}get ChordDegrees(){return this.degrees}static calculateChordText(e,r,s){let o=e.RootPitch;if(MusicSheetCalculator.transposeCalculator&&(o=MusicSheetCalculator.transposeCalculator.transposePitch(e.RootPitch,s,r)),e.ChordKind===31)return e.getTextFromChordKindEnum(e.ChordKind);let a=Pitch.getNoteEnumString(o.FundamentalNote);o.Accidental!==AccidentalEnum.NONE&&(a+=e.getTextForAccidental(o.Accidental));const l={adds:[],alts:[],subs:[]};for(const g of e.ChordDegrees)if(g){let m="";switch(g.alteration!==AccidentalEnum.NONE&&(m+=e.getTextForAccidental(g.alteration)),m+=g.value,g.text){case 0:l.adds.push(m);break;case 1:l.alts.push(m);break;case 2:l.subs.push(m);break}}let c=e.getTextFromChordKindEnum(e.ChordKind);const u=["adds","alts","subs"],d=e.rules.CustomChords;for(const g of d){if(g.chordKind!==e.chordKind)continue;let m=!0;for(const y of u){for(const b of g.degrees[y]||[])if(l[y].indexOf(b)<0){m=!1;break}if(!m)break}if(m){for(const y of u)for(const b of g.degrees[y]||[])l[y].splice(l[y].indexOf(b),1);c=g.alternateName}}if(a+=c,l.adds.length>0&&(a+="("+l.adds.join(",")+")"),l.alts.length>0&&(a+="(alt "+l.alts.join(",")+")"),l.subs.length>0&&(a+="(omit "+l.subs.join(",")+")"),e.BassPitch){let g=e.BassPitch;MusicSheetCalculator.transposeCalculator&&(g=MusicSheetCalculator.transposeCalculator.transposePitch(e.BassPitch,s,r)),a+="/",a+=Pitch.getNoteEnumString(g.FundamentalNote),a+=e.getTextForAccidental(g.Accidental)}return a}getTextForAccidental(e){const r=this.rules.ChordAccidentalTexts.getValue(e);return r!==void 0?r:""}getTextFromChordKindEnum(e){var r;return(r=this.rules.ChordSymbolLabelTexts.getValue(e))!=null?r:""}}class Degree{constructor(e,r,s){this.value=e,this.alteration=r,this.text=s}}class CustomChord{constructor(e,r,s){this.alternateName=e,this.chordKind=r,this.degrees=s}static createCustomChord(e,r,s){return new CustomChord(e,r,s)}static renameCustomChord(e,r,s){for(const o of s)o.alternateName===e&&(o.alternateName=r)}}var ChordDegreeText=(i=>(i[i.add=0]="add",i[i.alter=1]="alter",i[i.subtract=2]="subtract",i))(ChordDegreeText||{}),ChordSymbolEnum=(i=>(i[i.major=0]="major",i[i.minor=1]="minor",i[i.augmented=2]="augmented",i[i.diminished=3]="diminished",i[i.dominant=4]="dominant",i[i.majorseventh=5]="majorseventh",i[i.minorseventh=6]="minorseventh",i[i.diminishedseventh=7]="diminishedseventh",i[i.augmentedseventh=8]="augmentedseventh",i[i.halfdiminished=9]="halfdiminished",i[i.majorminor=10]="majorminor",i[i.majorsixth=11]="majorsixth",i[i.minorsixth=12]="minorsixth",i[i.dominantninth=13]="dominantninth",i[i.majorninth=14]="majorninth",i[i.minorninth=15]="minorninth",i[i.dominant11th=16]="dominant11th",i[i.major11th=17]="major11th",i[i.minor11th=18]="minor11th",i[i.dominant13th=19]="dominant13th",i[i.major13th=20]="major13th",i[i.minor13th=21]="minor13th",i[i.suspendedsecond=22]="suspendedsecond",i[i.suspendedfourth=23]="suspendedfourth",i[i.Neapolitan=24]="Neapolitan",i[i.Italian=25]="Italian",i[i.French=26]="French",i[i.German=27]="German",i[i.pedal=28]="pedal",i[i.power=29]="power",i[i.Tristan=30]="Tristan",i[i.none=31]="none",i))(ChordSymbolEnum||{});class GraphicalNote extends GraphicalObject{constructor(e,r,s,o=void 0){super(),this.DrawnAccidental=AccidentalEnum.NONE,this.lineShift=0,this.sourceNote=e,this.parentVoiceEntry=r,this.PositionAndShape=new BoundingBox$1(this,r.PositionAndShape),o?this.graphicalNoteLength=o:this.graphicalNoteLength=e.Length,this.numberOfDots=this.calculateNumberOfNeededDots(this.graphicalNoteLength),this.rules=s,this.rules.addGraphicalNoteToNoteMap(e,this)}Transpose(e,r,s,o){let a=this.sourceNote.Pitch;return MusicSheetCalculator.transposeCalculator&&(a=MusicSheetCalculator.transposeCalculator.transposePitch(this.sourceNote.Pitch,e,s)),a}calculateNumberOfNeededDots(e){return!this.sourceNote||!this.sourceNote.NoteTuplet?e.calculateNumberOfNeededDots():0}get ParentMusicPage(){return this.parentVoiceEntry.parentStaffEntry.parentMeasure.ParentMusicSystem.Parent}static FromNote(e,r){return r.NoteToGraphicalNoteMap.getValue(e.NoteToGraphicalNoteObjectId)}ToStringShort(e=0){var r;return(r=this.sourceNote)==null?void 0:r.ToStringShort(e)}get ToStringShortGet(){return this.ToStringShort(0)}}const _EngravingRules=class{constructor(){this.DYSlursStartingAtSameStaffEntryYOffset=0,this.DYMinNoteWidth=0,this.DYWorkId=0,this.DYWorkSpecial=!1,this.DYContainerId="osmdCanvasPage",this.DYSVGContainerId="osmdSvgPage",this.DYMusicScoreType="staff",this.DYMusicScoreId="",this.DYCustomRepeatCount=0,this.DYMusicClientType="",this.NoteDistances=[1,1,1.3,1.6,2,2.5,3,4],this.NoteDistancesScalingFactors=[1,2,4,8,16,32,64,128],this.DurationDistanceDict={},this.DurationScalingDistanceDict={},this.NoteToGraphicalNoteMapObjectCount=0,this.RenderCount=0,this.PlayAlreadyStartedNotesFromCursorPosition=!1,this.PlaybackSkipNotesSafetyInterval=.02,this.UseDefaultVoiceInteractionListener=!0,this.LimitCursorPositionToCurrentMeasure=!0,this.loadDefaultValues()}loadDefaultValues(){this.SamplingUnit=_EngravingRules.unit*3,this.MpatMode=!0,this.SheetTitleHeight=4,this.SheetSubtitleHeight=2,this.SheetMinimumDistanceBetweenTitleAndSubtitle=1,this.SheetComposerHeight=2,this.SheetAuthorHeight=2,this.SheetCopyrightHeight=1.5,this.SheetCopyrightMargin=2,this.SheetComposerSubtitleUseLegacyParsing=!1,this.CompactMode=!1,this.PagePlacementEnum=PagePlacementEnum.Down,this.PageHeight=100001,this.PageTopMargin=5,this.PageTopMarginNarrow=0,this.PageBottomMargin=5,this.PageLeftMargin=5,this.PageRightMargin=5,this.TitleTopDistance=5,this.TitleBottomDistance=1,this.StaffDistance=7,this.BetweenStaffDistance=5,this.MinimumStaffLineDistance=4,this.MinSkyBottomDistBetweenStaves=1,this.StaffHeight=4,this.TabStaffInterlineHeight=1.1111,this.BetweenStaffLinesDistance=_EngravingRules.unit,this.SystemLeftMargin=0,this.SystemRightMargin=0,this.SystemLabelsRightMargin=2,this.SystemComposerDistance=2,this.SystemLyricistDistance=2,this.InstrumentLabelTextHeight=2,this.MinimumDistanceBetweenSystems=7,this.MinSkyBottomDistBetweenSystems=5,this.LastSystemMaxScalingFactor=1.4,this.AutoBeamNotes=!1,this.AutoBeamOptions={beam_middle_rests_only:!1,beam_rests:!1,maintain_stem_directions:!1},this.AutoBeamTabs=!1,this.BeamWidth=_EngravingRules.unit/2,this.BeamSpaceWidth=_EngravingRules.unit/3,this.BeamForwardLength=1.25*_EngravingRules.unit,this.FlatBeams=!1,this.FlatBeamOffset=20,this.FlatBeamOffsetPerBeam=10,this.ClefLeftMargin=.5,this.ClefRightMargin=.75,this.PercussionOneLineCutoff=3,this.PercussionForceVoicesOneLineCutoff=1,this.PercussionUseXMLDisplayStep=!0,this.PercussionXMLDisplayStepNoteValueShift=0,this.PercussionOneLineXMLDisplayStepOctaveOffset=0,this.PercussionUseCajon2NoteSystem=!1,this.BetweenKeySymbolsDistance=.2,this.KeyRightMargin=.75,this.RhythmRightMargin=1.25,this.ShowRhythmAgainAfterPartEndOrFinalBarline=!0,this.NewPartAndSystemAfterFinalBarline=!1,this.InStaffClefScalingFactor=.8,this.DistanceBetweenNaturalAndSymbolWhenCancelling=.4,this.NoteHelperLinesOffset=.25,this.MeasureLeftMargin=.7,this.MeasureRightMargin=0,this.DistanceBetweenLastInstructionAndRepetitionBarline=1,this.ArpeggioDistance=.6,this.StaccatoShorteningFactor=2,this.IdealStemLength=3,this.StemNoteHeadBorderYOffset=.2,this.StemMargin=.2,this.StemMinLength=2.5,this.StemMaxLength=4.5,this.BeamSlopeMaxAngle=10,this.StemMinAllowedDistanceBetweenNoteHeadAndBeamLine=1,this.SetWantedStemDirectionByXml=!0,this.GraceNoteScalingFactor=.6,this.GraceNoteXOffset=.2,this.GraceNoteGroupXMargin=0,this.WedgeOpeningLength=1.2,this.WedgeMeasureEndOpeningLength=.75,this.WedgeMeasureBeginOpeningLength=.75,this.WedgePlacementAboveY=-1.5,this.WedgePlacementBelowY=1.5,this.WedgeHorizontalMargin=.6,this.WedgeVerticalMargin=.5,this.DistanceOffsetBetweenTwoHorizontallyCrossedWedges=.3,this.WedgeMinLength=2,this.WedgeEndDistanceBetweenTimestampsFactor=1.75,this.SoftAccentWedgePadding=.4,this.SoftAccentSizeFactor=.6,this.DistanceBetweenAdjacentDynamics=.75,this.TempoChangeMeasureValidity=4,this.TempoContinousFactor=.7,this.StaccatoScalingFactor=.8,this.BetweenDotsDistance=.8,this.OrnamentAccidentalScalingFactor=.65,this.ChordSymbolTextHeight=2,this.ChordSymbolTextAlignment=TextAlignmentEnum.LeftBottom,this.ChordSymbolRelativeXOffset=-1,this.ChordSymbolExtraXShiftForShortChordSymbols=.3,this.ChordSymbolExtraXShiftWidthThreshold=2,this.ChordSymbolXSpacing=1,this.ChordOverlapAllowedIntoNextMeasure=0,this.ChordSymbolYOffset=.1,this.ChordSymbolYPadding=0,this.ChordSymbolYAlignment=!0,this.ChordSymbolYAlignmentScope="staffline",this.ChordSymbolWholeMeasureRestXOffset=0,this.ChordSymbolWholeMeasureRestXOffsetMeasure1=-2,this.ChordAccidentalTexts=new Dictionary,this.resetChordAccidentalTexts(this.ChordAccidentalTexts,!1),this.ChordSymbolLabelTexts=new Dictionary,this.resetChordSymbolLabelTexts(this.ChordSymbolLabelTexts),this.CustomChords=[],this.resetChordNames(),this.RepetitionSymbolsYOffset=0,this.RepetitionEndInstructionXShiftAsPercentOfStaveWidth=.4,this.RehearsalMarkXOffsetDefault=10,this.RehearsalMarkXOffset=0,this.RehearsalMarkXOffsetSystemStartMeasure=-20,this.RehearsalMarkYOffsetDefault=-15,this.RehearsalMarkYOffset=0,this.RehearsalMarkFontSize=10,this.MeasureNumberLabelHeight=1.5*_EngravingRules.unit,this.MeasureNumberLabelOffset=2,this.MeasureNumberLabelXOffset=-.5,this.TupletsRatioed=!1,this.TupletsBracketed=!1,this.TripletsBracketed=!1,this.TupletsBracketedUseXMLValue=!0,this.TupletNumberLabelHeight=1.5*_EngravingRules.unit,this.TupletNumberYOffset=.5,this.TupletNumberLimitConsecutiveRepetitions=!0,this.TupletNumberMaxConsecutiveRepetitions=2,this.TupletNumberAlwaysDisableAfterFirstMax=!0,this.TupletNumberUseShowNoneXMLValue=!0,this.LabelMarginBorderFactor=.1,this.TupletVerticalLineLength=.5,this.TupletNumbersInTabs=!0,this.TabTupletYOffsetBottom=1,this.TabTupletYOffsetTop=-3.5,this.TabTupletYOffsetEffects=1.5,this.TabTupletsBracketed=!0,this.TabBeamsRendered=!0,this.TabKeySignatureRendered=!1,this.TabKeySignatureSpacingAdded=!0,this.TabTimeSignatureRendered=!1,this.TabTimeSignatureSpacingAdded=!0,this.TabFingeringsRendered=!1,this.SlurPlacementFromXML=!0,this.SlurPlacementAtStems=!1,this.SlurPlacementUseSkyBottomLine=!1,this.BezierCurveStepSize=1e3,this.calculateCurveParametersArrays(),this.TieGhostObjectWidth=.75,this.TieYPositionOffsetFactor=.3,this.MinimumNeededXspaceForTieGhostObject=1,this.TieHeightMinimum=.28,this.TieHeightMaximum=1.2,this.TieHeightInterpolationK=.0288,this.TieHeightInterpolationD=.136,this.SlurNoteHeadYOffset=.5,this.SlurEndArticulationYOffset=.8,this.SlurStartArticulationYOffsetOfArticulation=.5,this.SlurStemXOffset=.3,this.SlurSlopeMaxAngle=15,this.SlurTangentMinAngle=30,this.SlurTangentMaxAngle=80,this.SlurHeightFactor=1,this.SlurHeightFlattenLongSlursFactorByWidth=.24,this.SlurHeightFlattenLongSlursFactorByAngle=.36,this.SlurHeightFlattenLongSlursCutoffAngle=47,this.SlurHeightFlattenLongSlursCutoffWidth=16,this.SlursStartingAtSameStaffEntryYOffset=.8,this.SlurMaximumYControlPointDistance=void 0,this.GlissandoNoteOffset=.5,this.GlissandoStafflineStartMinimumWidth=1,this.GlissandoStafflineStartYDistanceToNote=.8,this.GlissandoStafflineEndOffset=1,this.GlissandoDefaultWidth=.1,this.RepetitionAllowFirstMeasureBeginningRepeatBarline=!1,this.RepetitionEndingLabelHeight=2,this.RepetitionEndingLabelXOffset=.5,this.RepetitionEndingLabelYOffset=.3,this.RepetitionEndingLineYLowerOffset=.5,this.RepetitionEndingLineYUpperOffset=.3,this.VoltaOffset=2.5,this.LyricsAlignmentStandard=TextAlignmentEnum.LeftBottom,this.LyricsHeight=2,this.LyricsYOffsetToStaffHeight=0,this.LyricsYMarginToBottomLine=.2,this.LyricsExtraXShiftForShortLyrics=.5,this.LyricsExtraXShiftForShortLyricsWidthThreshold=1.4,this.LyricsUseXPaddingForLongLyrics=!0,this.LyricsXPaddingFactorForLongLyrics=1,this.LyricsXPaddingWidthThreshold=1.7,this.LyricsXPaddingReductionForLongNotes=.7,this.LyricsXPaddingReductionForLastNoteInMeasure=1.2,this.LyricsXPaddingForLastNoteInMeasure=!0,this.VerticalBetweenLyricsDistance=.5,this.HorizontalBetweenLyricsDistance=.2,this.BetweenSyllableMaximumDistance=10,this.BetweenSyllableMinimumDistance=.5,this.LyricOverlapAllowedIntoNextMeasure=3.4,this.MinimumDistanceBetweenDashes=10,this.MaximumLyricsElongationFactor=2.5,this.TempoYSpacing=.5,this.InstantaneousTempoTextHeight=2.3,this.ContinuousDynamicTextHeight=2.3,this.MoodTextHeight=2.3,this.UnknownTextHeight=2,this.ContinuousTempoTextHeight=2.3,this.DynamicExpressionMaxDistance=2,this.DynamicExpressionSpacer=.5,this.IgnoreRepeatedDynamics=!1,this.ExpressionsUseXMLColor=!0,this.VexFlowDefaultNotationFontScale=39,this.VexFlowDefaultTabFontScale=39,this.TremoloStrokeScale=1,this.TremoloYSpacingScale=1,this.TremoloBuzzRollThickness=.25,this.StemWidth=.15,this.StaffLineWidth=.1,this.StaffLineColor=void 0,this.LedgerLineWidth=1,this.LedgerLineStrokeStyle=void 0,this.LedgerLineColorDefault="#000000",this.WedgeLineWidth=.12,this.TupletLineWidth=.12,this.LyricUnderscoreLineWidth=.12,this.SystemThinLineWidth=.12,this.SystemBoldLineWidth=_EngravingRules.unit/2,this.SystemRepetitionEndingLineWidth=.12,this.SystemDotWidth=_EngravingRules.unit/2,this.DistanceBetweenVerticalSystemLines=.35,this.DistanceBetweenDotAndLine=.7,this.RepeatEndStartPadding=2,this.OctaveShiftLineWidth=.12,this.OctaveShiftVerticalLineLength=_EngravingRules.unit,this.OctaveShiftOnWholeMeasureNoteUntilEndOfMeasure=!1,this.GraceLineWidth=this.StaffLineWidth*this.GraceNoteScalingFactor,this.MultipleRestMeasureDefaultWidth=4,this.MultipleRestMeasureAddKeySignature=!0,this.FixedMeasureWidth=!1,this.FixedMeasureWidthFixedValue=void 0,this.FixedMeasureWidthUseForPickupMeasures=!1,this.MinimumCrossedBeamDifferenceMargin=1e-4,this.SheetMaximumWidth=32767,this.VoiceSpacingMultiplierVexflow=.85,this.VoiceSpacingAddendVexflow=3,this.PickupMeasureWidthMultiplier=1,this.PickupMeasureRepetitionSpacing=.8,this.PickupMeasureSpacingSingleNoteAddend=1.6,this.DisplacedNoteMargin=.1,this.MinNoteDistance=2,this.SubMeasureXSpacingThreshold=35,this.MeasureDynamicsMaxScalingFactor=2.5,this.WholeRestXShiftVexflow=-1.5,this.MetronomeMarksDrawn=!0,this.MetronomeMarkXShift=-6,this.MetronomeMarkYShift=-1,this.SoftmaxFactorVexFlow=15,this.StaggerSameWholeNotes=!0,this.AlignRests=AlignRestOption.Never,this.RestCollisionYPadding=0,this.FillEmptyMeasuresWithWholeRest=FillEmptyMeasuresWithWholeRests.No,this.ArpeggiosGoAcrossVoices=!1,this.RenderArpeggios=!0,this.RenderSlurs=!0,this.RenderGlissandi=!0,this.ColoringMode=ColoringModes.XML,this.ColoringEnabled=!0,this.ColorStemsLikeNoteheads=!1,this.ColorBeams=!0,this.ColorFlags=!0,this.applyDefaultColorMusic("#000000"),this.DefaultColorCursor="#33e02f",this.DefaultFontFamily="Times New Roman",this.DefaultFontStyle=FontStyles.Regular,this.DefaultVexFlowNoteFont="gonville",this.MaxMeasureToDrawIndex=Number.MAX_VALUE,this.MinMeasureToDrawIndex=0,this.MaxSystemToDrawNumber=Number.MAX_VALUE,this.MaxPageToDrawNumber=Number.MAX_VALUE,this.RenderComposer=!0,this.RenderTitle=!0,this.RenderSubtitle=!0,this.RenderLyricist=!0,this.RenderCopyright=!1,this.RenderPartNames=!0,this.RenderPartAbbreviations=!0,this.RenderSystemLabelsAfterFirstPage=!0,this.RenderFingerings=!0,this.RenderMeasureNumbers=!0,this.RenderMeasureNumbersOnlyAtSystemStart=!1,this.UseXMLMeasureNumbers=!0,this.RenderLyrics=!0,this.RenderChordSymbols=!0,this.RenderMultipleRestMeasures=!0,this.AutoGenerateMultipleRestMeasuresFromRestMeasures=!0,this.RenderRehearsalMarks=!0,this.RenderClefsAtBeginningOfStaffline=!0,this.RenderKeySignatures=!0,this.RenderTimeSignatures=!0,this.RenderPedals=!0,this.RenderWavyLines=!0,this.ArticulationPlacementFromXML=!0,this.BreathMarkDistance=.8,this.FingeringPosition=PlacementEnum.AboveOrBelow,this.FingeringPositionFromXML=!0,this.FingeringPositionGrace=PlacementEnum.Left,this.FingeringInsideStafflines=!1,this.FingeringLabelFontHeight=1.7,this.FingeringOffsetX=0,this.FingeringOffsetY=0,this.FingeringPaddingY=-.2,this.FingeringTextSize=1.5,this.RenderStringNumbersClassical=!0,this.StringNumberOffsetY=0,this.NewSystemAtXMLNewSystemAttribute=!1,this.NewPageAtXMLNewPageAttribute=!1,this.NewSystemAtXMLNewPageAttribute=!1,this.RestoreCursorAfterRerender=!0,this.StretchLastSystemLine=!1,this.IgnoreBracketsWords=!0,this.PlaceWordsInsideStafflineFromXml=!1,this.PlaceWordsInsideStafflineYOffset=.9,this.UseJustifiedBuilder=!0,this.PageFormat=PageFormat.UndefinedPageFormat,this.PageBackgroundColor=void 0,this.PerformanceMode=!1,this.RenderSingleHorizontalStaffline=!1,this.SpacingBetweenTextLines=0,this.NoteToGraphicalNoteMap=new Dictionary,this.NoteToGraphicalNoteMapObjectCount=0,this.SkyBottomLineBatchMinMeasures=5,this.SkyBottomLineWebGLMinMeasures=80,this.AlwaysSetPreferredSkyBottomLineBackendAutomatically=!0,this.DisableWebGLInFirefox=!0,this.DisableWebGLInSafariAndIOS=!0,this.setPreferredSkyBottomLineBackendAutomatically();try{this.MaxInstructionsConstValue=this.ClefLeftMargin+this.ClefRightMargin+this.KeyRightMargin+this.RhythmRightMargin+11}catch(i){loglevelExports.info("EngravingRules()",i)}this.MpatMode&&(this.NewPartAndSystemAfterFinalBarline=!0)}setPreferredSkyBottomLineBackendAutomatically(i=-1){var o,a,l,c;let e="",r="";typeof globalThis=="object"&&(e=(a=(o=globalThis.navigator)==null?void 0:o.vendor)!=null?a:"",r=(c=(l=globalThis.navigator)==null?void 0:l.userAgent)!=null?c:"");let s=!1;(this.DisableWebGLInSafariAndIOS&&/apple/i.test(e)||this.DisableWebGLInFirefox&&r.includes("Firefox"))&&(s=!0),this.PreferredSkyBottomLineBatchCalculatorBackend=SkyBottomLineBatchCalculatorBackendType.Plain,s||i>=this.SkyBottomLineWebGLMinMeasures&&(this.PreferredSkyBottomLineBatchCalculatorBackend=SkyBottomLineBatchCalculatorBackendType.WebGL)}applyDefaultColorMusic(i){this.DefaultColorMusic=i,this.DefaultColorNotehead=i,this.DefaultColorRest=i,this.DefaultColorStem=i,this.DefaultColorLabel=i,this.DefaultColorLyrics=i,this.DefaultColorTitle=i,this.LedgerLineColorDefault=i}addGraphicalNoteToNoteMap(i,e){i.NoteToGraphicalNoteObjectId=this.NoteToGraphicalNoteMapObjectCount,this.NoteToGraphicalNoteMap.setValue(i.NoteToGraphicalNoteObjectId,e),this.NoteToGraphicalNoteMapObjectCount++}GNote(i){return GraphicalNote.FromNote(i,this)}clearMusicSheetObjects(){this.NoteToGraphicalNoteMap=new Dictionary,this.NoteToGraphicalNoteMapObjectCount=0}resetChordAccidentalTexts(i,e){i.setValue(AccidentalEnum.SHARP,e?"♯":"#"),i.setValue(AccidentalEnum.FLAT,e?"♭":"b"),i.setValue(AccidentalEnum.DOUBLEFLAT,e?"𝄫":"bb"),i.setValue(AccidentalEnum.DOUBLESHARP,e?"𝄪":"x")}setChordSymbolLabelText(i,e){this.ChordSymbolLabelTexts.setValue(i,e)}resetChordSymbolLabelTexts(i){return i.setValue(ChordSymbolEnum.minor,"m"),i.setValue(ChordSymbolEnum.augmented,"aug"),i.setValue(ChordSymbolEnum.diminished,"dim"),i.setValue(ChordSymbolEnum.dominant,"7"),i.setValue(ChordSymbolEnum.majorseventh,"maj7"),i.setValue(ChordSymbolEnum.minorseventh,"m7"),i.setValue(ChordSymbolEnum.diminishedseventh,"dim7"),i.setValue(ChordSymbolEnum.augmentedseventh,"aug7"),i.setValue(ChordSymbolEnum.halfdiminished,`m7${this.ChordAccidentalTexts.getValue(AccidentalEnum.FLAT)}5`),i.setValue(ChordSymbolEnum.majorminor,"m(maj7)"),i.setValue(ChordSymbolEnum.majorsixth,"maj6"),i.setValue(ChordSymbolEnum.minorsixth,"m6"),i.setValue(ChordSymbolEnum.dominantninth,"9"),i.setValue(ChordSymbolEnum.majorninth,"maj9"),i.setValue(ChordSymbolEnum.minorninth,"m9"),i.setValue(ChordSymbolEnum.dominant11th,"11"),i.setValue(ChordSymbolEnum.major11th,"maj11"),i.setValue(ChordSymbolEnum.minor11th,"m11"),i.setValue(ChordSymbolEnum.dominant13th,"13"),i.setValue(ChordSymbolEnum.major13th,"maj13"),i.setValue(ChordSymbolEnum.minor13th,"m13"),i.setValue(ChordSymbolEnum.suspendedsecond,"sus2"),i.setValue(ChordSymbolEnum.suspendedfourth,"sus4"),i.setValue(ChordSymbolEnum.power,"5"),i.setValue(ChordSymbolEnum.none,"N.C."),i}addChordName(i,e,r,s,o){if(ChordSymbolEnum[e]!==void 0){const a={adds:r,alts:s,subs:o};this.CustomChords.push(CustomChord.createCustomChord(i,ChordSymbolEnum[e],a))}}renameChord(i,e){CustomChord.renameCustomChord(i,e,this.CustomChords)}resetChordNames(){const i=this.ChordAccidentalTexts.getValue(AccidentalEnum.SHARP),e=this.ChordAccidentalTexts.getValue(AccidentalEnum.FLAT);this.addChordName("alt","major",[`${i}5`,`${e}9`,`${i}9`],[`${e}5`],[]),this.addChordName("7alt","dominant",[`${i}5`,`${e}9`,`${i}9`],[`${e}5`],[]),this.addChordName("7sus4","dominant",["4"],[],["3"]),this.addChordName("7sus4","suspendedfourth",["7"],[],[]),this.addChordName("9sus4","dominantninth",["4"],[],["3"]),this.addChordName("9sus4","suspendedfourth",["9"],[],[]),this.addChordName("11sus4","dominant11th",["4"],[],["3"]),this.addChordName("11sus4","suspendedfourth",["11"],[],[]),this.addChordName("13sus4","dominant13th",["4"],[],["3"]),this.addChordName("13sus4","suspendedfourth",["13"],[],[]),this.addChordName("7sus2","dominant",["2"],[],["3"]),this.addChordName("7sus2","suspendedsecond",["7"],[],[]),this.addChordName(`m7${e}5`,"minorseventh",[],[`${e}5`],[]),this.addChordName("9sus2","dominantninth",["2"],[],["3"]),this.addChordName("9sus2","suspendedsecond",["9"],[],[]),this.addChordName("11sus2","dominant11th",["2"],[],["3"]),this.addChordName("11sus2","suspendedsecond",["11"],[],[]),this.addChordName("13sus2","dominant13th",["2"],[],["3"]),this.addChordName("13sus2","suspendedsecond",["13"],[],[]),this.addChordName("m(maj9)","majorminor",["9"],[],[]),this.addChordName("m(maj11)","majorminor",["11"],[],[]),this.addChordName("m(maj13)","majorminor",["13"],[],[]),this.addChordName("69","majorsixth",["9"],[],[]),this.addChordName("mi69","minorsixth",["9"],[],[])}calculateCurveParametersArrays(){this.TPower3=new Array(this.BezierCurveStepSize),this.OneMinusTPower3=new Array(this.BezierCurveStepSize),this.FactorOne=new Array(this.BezierCurveStepSize),this.FactorTwo=new Array(this.BezierCurveStepSize);for(let i=0;i<this.BezierCurveStepSize;i++){const e=i/this.BezierCurveStepSize;this.TPower3[i]=Math.pow(e,3),this.OneMinusTPower3[i]=Math.pow(1-e,3),this.FactorOne[i]=3*Math.pow(1-e,2)*e,this.FactorTwo[i]=3*(1-e)*Math.pow(e,2)}}};let EngravingRules=_EngravingRules;EngravingRules.unit=1;class PageFormat{constructor(e,r,s="noIdStringGiven"){this.width=e,this.height=r,this.idString=s}get aspectRatio(){return this.IsUndefined?0:this.width/this.height}get IsUndefined(){return this.width===void 0||this.height===void 0||this.height===0||this.width===0}static get UndefinedPageFormat(){return new PageFormat(0,0)}Equals(e){return e?e.width===this.width&&e.height===this.height:!1}}class GraphicalVoiceEntry extends GraphicalObject{constructor(e,r,s){super(),this.parentVoiceEntry=e,this.parentStaffEntry=r,this.PositionAndShape=new BoundingBox$1(this,r?r.PositionAndShape:void 0,!0),this.notes=[],s?this.rules=s:this.rules=r?r.parentMeasure.parentSourceMeasure.Rules:new EngravingRules}sort(){return this.notes.sort((e,r)=>{var s,o,a,l;return((o=(s=r.sourceNote.Pitch)==null?void 0:s.getHalfTone())!=null?o:0)-((l=(a=e.sourceNote.Pitch)==null?void 0:a.getHalfTone())!=null?l:0)}),this.notes}sortForVexflow(){return this.notes.sort((e,r)=>{var s,o,a;return((o=(s=e.sourceNote.Pitch)==null?void 0:s.getHalfTone())!=null?o:0)-((a=r.sourceNote.Pitch.getHalfTone())!=null?a:0)}),this.notes}color(){}}class GraphicalMusicSheet{constructor(e,r){this.musicPages=[],this.measureList=[],this.verticalGraphicalStaffEntryContainers=[],this.cursors=[],this.leadSheet=!1,this.musicSheet=e,this.numberOfStaves=this.musicSheet.Staves.length,this.calculator=r,this.calculator.initialize(this)}get ParentMusicSheet(){return this.musicSheet}get GetCalculator(){return this.calculator}get JianpuKeySignature(){return this.jianpuKeySignature}set JianpuKeySignature(e){this.jianpuKeySignature=e}get MusicPages(){return this.musicPages}set MusicPages(e){this.musicPages=e}get MeasureList(){return this.measureList}set MeasureList(e){this.measureList=e}get VerticalGraphicalStaffEntryContainers(){return this.verticalGraphicalStaffEntryContainers}set VerticalGraphicalStaffEntryContainers(e){this.verticalGraphicalStaffEntryContainers=e}get Title(){return this.title}set Title(e){this.title=e}get Subtitle(){return this.subtitle}set Subtitle(e){this.subtitle=e}get Composer(){return this.composer}set Composer(e){this.composer=e}get Lyricist(){return this.lyricist}set Lyricist(e){this.lyricist=e}get Copyright(){return this.copyright}set Copyright(e){this.copyright=e}get Cursors(){return this.cursors}get SelectionStartSymbol(){return this.selectionStartSymbol}get SelectionEndSymbol(){return this.selectionEndSymbol}get MinAllowedSystemWidth(){return this.minAllowedSystemWidth}set MinAllowedSystemWidth(e){this.minAllowedSystemWidth=e}get NumberOfStaves(){return this.numberOfStaves}get LeadSheet(){return this.leadSheet}set LeadSheet(e){this.leadSheet=e}static transformRelativeToAbsolutePosition(e){for(let r=0;r<e.MusicPages.length;r++){const s=e.MusicPages[r].setMusicPageAbsolutePosition(r,e.ParentMusicSheet.Rules);e.MusicPages[r].PositionAndShape.calculateAbsolutePositionsRecursive(s.x,s.y)}}Initialize(){this.verticalGraphicalStaffEntryContainers=[],this.musicPages=[],this.measureList=[]}reCalculate(){this.calculator.calculate()}EnforceRedrawOfMusicSystems(){for(let e=0,r=this.musicPages.length;e<r;++e){const s=this.musicPages[e];for(let o=0,a=s.MusicSystems.length;o<a;++o){const l=s.MusicSystems[o];l.needsToBeRedrawn=!0}}}getClickedObject(e){for(let r=0,s=this.MusicPages.length;r<s;++r)return this.MusicPages[r].PositionAndShape.getClickedObjectOfType(e)}findGraphicalMeasure(e,r){var s;for(let o=e;o>=0;o--){const a=(s=this.measureList[o])==null?void 0:s[r];if(a)return a}}findGraphicalStaffEntryFromMeasureList(e,r,s){for(let o=r;o<this.measureList.length;o++){const a=this.measureList[o][e];if(a)for(let l=0,c=a.staffEntries.length;l<c;++l){const u=a.staffEntries[l];if(u.sourceStaffEntry===s)return u}}}findNextGraphicalStaffEntry(e,r,s){const o=s.parentMeasure,a=o.staffEntries.indexOf(s);if(a<o.staffEntries.length-1)return o.staffEntries[a+1];if(r<this.measureList.length-1){const l=this.measureList[r+1][e];if(l.staffEntries.length>0)return l.staffEntries[0]}}getFirstVisibleMeasuresListFromIndices(e,r){const s=[],o=this.measureList[0].length;for(let a=e;a<=r;a++)for(let l=0;l<o;l++)if(this.measureList[a][l].isVisible()){s.push(this.measureList[a][l]);break}return s}orderMeasuresByStaffLine(e){const r=[];let s=[];r.push(s);for(let o=0;o<e.length;o++)o===0?s.push(e[0]):(e[o].ParentStaffLine===e[o-1].ParentStaffLine||(r.indexOf(s)===-1&&r.push(s),s=[],r.push(s)),s.push(e[o]));return r}initializeActiveClefs(){const e=[],r=this.musicSheet.getFirstSourceMeasure();if(r)for(let s=0;s<r.CompleteNumberOfStaves;s++){let o=new ClefInstruction;if(r.FirstInstructionsStaffEntries[s])for(let a=0,l=r.FirstInstructionsStaffEntries[s].Instructions.length;a<l;++a){const c=r.FirstInstructionsStaffEntries[s].Instructions[a];c instanceof ClefInstruction&&(o=c)}e.push(o)}return e}GetMainKey(){const e=this.musicSheet.getFirstSourceMeasure();if(e)for(let r=0;r<e.CompleteNumberOfStaves;r++)for(let s=0,o=e.FirstInstructionsStaffEntries[r].Instructions.length;s<o;++s){const a=e.FirstInstructionsStaffEntries[r].Instructions[s];if(a instanceof KeyInstruction)return a}}getOrCreateVerticalContainer(e){if(this.verticalGraphicalStaffEntryContainers.length===0||CollectionUtil.getLastElement(this.verticalGraphicalStaffEntryContainers).AbsoluteTimestamp.lt(e)){const r=new VerticalGraphicalStaffEntryContainer(this.numberOfStaves,e);return this.verticalGraphicalStaffEntryContainers.push(r),r}for(let r=this.verticalGraphicalStaffEntryContainers.length-1;r>=0;r--){if(this.verticalGraphicalStaffEntryContainers[r].AbsoluteTimestamp.lt(e)){const s=new VerticalGraphicalStaffEntryContainer(this.numberOfStaves,e);return this.verticalGraphicalStaffEntryContainers.splice(r+1,0,s),s}if(this.verticalGraphicalStaffEntryContainers[r].AbsoluteTimestamp.Equals(e))return this.verticalGraphicalStaffEntryContainers[r]}}GetVerticalContainerFromTimestamp(e,r=0){const s=CollectionUtil.binarySearch(this.verticalGraphicalStaffEntryContainers,new VerticalGraphicalStaffEntryContainer(0,e),VerticalGraphicalStaffEntryContainer.compareByTimestamp,r);if(s>=0)return this.verticalGraphicalStaffEntryContainers[s]}GetInterpolatedIndexInVerticalContainers(e){const r=this.verticalGraphicalStaffEntryContainers;if(r.length===1)return 0;let s=0,o=r.length-1,a,l;if(e.lte(r[r.length-1].AbsoluteTimestamp)){for(;o-s>1;){const g=Math.floor((o+s)/2);if(r[s].AbsoluteTimestamp.Equals(e)){o=s;break}else if(r[o].AbsoluteTimestamp.Equals(e)){s=o;break}else{if(r[g].AbsoluteTimestamp.Equals(e))return this.verticalGraphicalStaffEntryContainers.indexOf(r[g]);e.lt(r[g].AbsoluteTimestamp)?o=g:s=g}}if(s===o)return this.verticalGraphicalStaffEntryContainers.indexOf(r[s]);a=r[s].AbsoluteTimestamp,l=r[o].AbsoluteTimestamp}else a=r[r.length-1].AbsoluteTimestamp,l=Fraction$1.plus(this.getLongestStaffEntryDuration(r.length-1),a),o=r.length;const c=l.RealValue-a.RealValue,u=l.RealValue-e.RealValue,d=o-u/c;return Math.min(d,this.verticalGraphicalStaffEntryContainers.length-1)}getVisibleStavesIndicesFromSourceMeasure(e){const r=[],s=[];for(let o=0,a=e.length;o<a;++o){const c=e[o].ParentStaff.ParentInstrument;r.indexOf(c)===-1&&r.push(c)}for(let o=0,a=r.length;o<a;++o){const l=r[o],c=this.musicSheet.getGlobalStaffIndexOfFirstStaff(l);for(let u=0;u<l.Staves.length;u++)s.push(c+u)}return s}getGraphicalMeasureFromSourceMeasureAndIndex(e,r){var s;for(let o=0;o<this.measureList.length;o++)if(((s=this.measureList[o][0])==null?void 0:s.parentSourceMeasure)===e)return this.measureList[o][r]}getLastGraphicalMeasureFromIndex(e,r=!0){let s=this.measureList.length-1;r&&(s=Math.min(s,this.musicSheet.Rules.MaxMeasureToDrawIndex));let o=this.measureList[s][e];for(;!o&&s>=0;)o=this.measureList[--s][e];return this.measureList[s][e]}getMeasureIndex(e,r,s){for(r=0;r<this.measureList.length;r++)for(let o=0,a=this.measureList[r].length;o<a;++o)if(this.measureList[r][o]===e)return!0;return!1}GetNearestGraphicalObject(e,r=GraphicalObject.name,s=5,o=20,a=5,l=void 0){const c=[];for(;c.length===0&&s<=o;){const d=new BoundingBox$1(void 0);d.BorderLeft=e.x-s,d.BorderTop=e.y-s,d.BorderRight=e.x+s,d.BorderBottom=e.y+s,d.AbsolutePosition=new PointF2D(e.x,e.y),d.calculateAbsolutePosition();for(let g=0,m=this.MusicPages.length;g<m;++g){const b=this.MusicPages[g].PositionAndShape.getObjectsInRegion(d,!1,r);if(!(!b||b.length===0))for(let A=0,S=b.length;A<S;++A)l?l(b[A])&&c.push(b[A]):c.push(b[A])}s+=a}let u;for(let d=0,g=c.length;d<g;++d){const m=c[d];if(u===void 0)u=m;else{const y=this.CalculateDistance(m.PositionAndShape.AbsolutePosition,e),b=this.CalculateDistance(u.PositionAndShape.AbsolutePosition,e);y<b&&(u=m)}}if(u)return u}GetNearestVoiceEntry(e){return this.GetNearestGraphicalObject(e,GraphicalVoiceEntry.name,5,20,5,r=>{var s;return((s=r.parentStaffEntry)==null?void 0:s.relInMeasureTimestamp)!==void 0})}GetNearestNote(e,r){const s=this.GetNearestVoiceEntry(e);if(!s)return;let o,a=Number.MAX_SAFE_INTEGER;for(const l of s.notes){const c=l.PositionAndShape.AbsolutePosition.y,u=Math.abs(l.PositionAndShape.AbsolutePosition.x-e.x),d=Math.abs(c-e.y);u+d<a&&(o=l,a=u+d)}return o}domToSvg(e){return this.domToSvgTransform(e,!0)}svgToDom(e){return this.domToSvgTransform(e,!1)}svgToOsmd(e){const r=new PointF2D(e.x,e.y);return r.x/=10,r.y/=10,r}domToSvgTransform(e,r){const o=this.drawer.Backends[0].getSvgElement(),a=o.createSVGPoint();a.x=e.x,a.y=e.y;let l=o.getScreenCTM();r&&(l=l.inverse());const c=a.matrixTransform(l);return new PointF2D(c.x,c.y)}GetClickableLabel(e){const o=new BoundingBox$1;o.BorderLeft=e.x-4,o.BorderTop=e.y-4,o.BorderRight=e.x+4,o.BorderBottom=e.y+4,o.AbsolutePosition=new PointF2D(0,0);for(let a=0,l=this.MusicPages.length;a<l;++a){const u=this.MusicPages[a].PositionAndShape.getObjectsInRegion(o);if(u.length===1)for(let d=0,g=u.length;d<g;++d)return u[d]}}GetPossibleCommentAnchor(e){const r=this.GetNearestVoiceEntry(e);if(r)return r.parentStaffEntry.sourceStaffEntry}GetClickedObjectOfType(e){for(let r=0,s=this.musicPages.length;r<s;++r){const a=this.musicPages[r].PositionAndShape.getClickedObjectOfType(e);if(a)return a}}GetClickedClickable(e){for(let r=0,s=this.musicPages.length;r<s;++r){const a=this.musicPages[r].PositionAndShape.getClickedClickable(e);if(a&&a instanceof Clickable)return a}}tryGetTimestampFromPosition(e){const r=this.GetClickedObjectOfType(e);if(r)return r.getAbsoluteTimestamp()}tryGetClickableLabel(e){try{return this.GetClickableLabel(e)}catch(r){loglevelExports.info("GraphicalMusicSheet.tryGetClickableObject","positionOnMusicSheet: "+e,r)}}tryGetTimeStampFromPosition(e){try{const r=this.GetNearestVoiceEntry(e);return r?r.parentStaffEntry.getAbsoluteTimestamp():void 0}catch(r){loglevelExports.info("GraphicalMusicSheet.tryGetTimeStampFromPosition","positionOnMusicSheet: "+e,r)}}getStaffEntry(e){const r=this.VerticalGraphicalStaffEntryContainers[e];let s;try{for(let o=0,a=r.StaffEntries.length;o<a;++o){const l=r.StaffEntries[o];!l||!l.sourceStaffEntry.ParentStaff.ParentInstrument.Visible||(s?l.PositionAndShape&&s.PositionAndShape&&s.PositionAndShape.RelativePosition.x>l.PositionAndShape.RelativePosition.x&&(s=l):s=l)}}catch(o){loglevelExports.info("GraphicalMusicSheet.getStaffEntry",o)}return s}GetPreviousVisibleContainerIndex(e){for(let r=e-1;r>=0;r--){const s=this.verticalGraphicalStaffEntryContainers[r].StaffEntries;for(let o=0,a=s.length;o<a;++o){const l=s[o];if(l&&l.sourceStaffEntry.ParentStaff.ParentInstrument.Visible)return r}}return-1}GetNextVisibleContainerIndex(e){for(let r=e+1;r<this.verticalGraphicalStaffEntryContainers.length;++r){const s=this.verticalGraphicalStaffEntryContainers[r].StaffEntries;for(let o=0,a=s.length;o<a;++o){const l=s[o];if(l&&l.sourceStaffEntry.ParentStaff.ParentInstrument.Visible)return r}}return-1}findClosestLeftStaffEntry(e,r){let s,o=Math.floor(e);o=Math.min(this.VerticalGraphicalStaffEntryContainers.length-1,o);for(let a=o;a>=0;a--)if(s=this.getStaffEntry(a),s)if(r){if(s.sourceStaffEntry.ParentStaff.ParentInstrument.Visible)return s}else return s}findClosestRightStaffEntry(e,r){let s;const o=Math.max(0,Math.ceil(e));for(let a=o;a<this.VerticalGraphicalStaffEntryContainers.length;a++)if(s=this.getStaffEntry(a),s)if(r){if(s.sourceStaffEntry.ParentStaff.ParentInstrument.Visible)return s}else return s}calculateCursorLineAtTimestamp(e,r){const s=this.calculateXPositionFromTimestamp(e),o=s[0],a=s[1];if(!a||a.StaffLines.length===0)return;const l=a.PositionAndShape.AbsolutePosition.y,c=CollectionUtil.last(a.StaffLines).PositionAndShape.RelativePosition.y+4;return new GraphicalLine(new PointF2D(o,l),new PointF2D(o,l+c),3,r)}calculateXPositionFromTimestamp(e){var g,m,y,b;let r;const s=this.GetInterpolatedIndexInVerticalContainers(e),o=this.findClosestLeftStaffEntry(s,!0),a=this.findClosestRightStaffEntry(s,!0),l=e.RealValue;if(!o&&!a)return[0,void 0,void 0];let c;o?c=(g=o.parentMeasure.ParentStaffLine)==null?void 0:g.ParentMusicSystem:c=(m=a.parentMeasure.ParentStaffLine)==null?void 0:m.ParentMusicSystem;let u;a?u=(y=a.parentMeasure.ParentStaffLine)==null?void 0:y.ParentMusicSystem:u=(b=o.parentMeasure.ParentStaffLine)==null?void 0:b.ParentMusicSystem;let d;if(c===u){r=c;let A,S,E,x=0;if(!o)S=E=a.PositionAndShape.AbsolutePosition.x,A=0;else if(!a)S=o.PositionAndShape.AbsolutePosition.x,E=r.GetRightBorderAbsoluteXPosition(),d=o.parentMeasure.parentSourceMeasure,A=(l-o.getAbsoluteTimestamp().RealValue)/(Fraction$1.plus(d.AbsoluteTimestamp,d.Duration).RealValue-o.getAbsoluteTimestamp().RealValue);else{S=o.PositionAndShape.AbsolutePosition.x,E=a.PositionAndShape.AbsolutePosition.x,d=o.parentMeasure.parentSourceMeasure,o===a?A=0:A=(l-o.getAbsoluteTimestamp().RealValue)/(a.getAbsoluteTimestamp().RealValue-o.getAbsoluteTimestamp().RealValue);const T=o.parentMeasure,k=o.parentMeasure.parentSourceMeasure.multipleRestMeasures,M=T.MeasureNumber/(k+1),R=T.PositionAndShape.Size.width-T.beginInstructionsWidth;x=T.PositionAndShape.AbsolutePosition.x+T.beginInstructionsWidth+M*R}A=Math.min(1,Math.max(0,A));let P=E;return d!=null&&d.Rules.LimitCursorPositionToCurrentMeasure&&(P=Math.min(o.parentMeasure.PositionAndShape.AbsolutePosition.x+o.parentMeasure.PositionAndShape.BorderRight,P)),x&&o.parentMeasure.MeasureNumber===1?[x,r,o]:[S+A*(P-S),r,o]}else{const A=a.parentMeasure.parentSourceMeasure.AbsoluteTimestamp.RealValue;let S,E;if(l<A){r=c;const x=o.PositionAndShape.AbsolutePosition.x,P=r.GetRightBorderAbsoluteXPosition();S=(l-o.getAbsoluteTimestamp().RealValue)/(A-o.getAbsoluteTimestamp().RealValue),S=Math.min(1,Math.max(0,S)),E=x+S*(P-x)}else{r=u;const x=a.PositionAndShape.AbsolutePosition.x,P=r.GetLeftBorderAbsoluteXPosition();S=(l-A)/(a.getAbsoluteTimestamp().RealValue-A),S=Math.min(1,Math.max(0,S)),E=P+S*(x-P)}return[E,r,o]}}calculateCursorPoints(e,r){if(r===void 0||r.StaffLines.length===0)return[new PointF2D,new PointF2D];const s=r.PositionAndShape.AbsolutePosition.y,o=r.StaffLines.last(),a=o.PositionAndShape.RelativePosition.y+o.StaffHeight;return[new PointF2D(e,s),new PointF2D(e,s+a)]}GetNumberOfVisibleInstruments(){let e=0;for(let r=0,s=this.musicSheet.Instruments.length;r<s;++r)this.musicSheet.Instruments[r].Visible===!0&&e++;return e}GetNumberOfFollowedInstruments(){let e=0;for(let r=0,s=this.musicSheet.Instruments.length;r<s;++r)this.musicSheet.Instruments[r].Following===!0&&e++;return e}GetGraphicalFromSourceStaffEntry(e){var s;if(!((s=e.VerticalContainerParent.ParentMeasure)!=null&&s.VerticalMeasureList))return;const r=e.VerticalContainerParent.ParentMeasure.VerticalMeasureList[e.ParentStaff.idInMusicSheet];return r==null?void 0:r.findGraphicalStaffEntryFromTimestamp(e.Timestamp)}CalculateDistance(e,r){const s=e.x-r.x,o=e.y-r.y;return s*s+o*o}getLongestStaffEntryDuration(e){let r=new Fraction$1(0,1);for(const s of this.verticalGraphicalStaffEntryContainers[e].StaffEntries){if(!s)continue;const o=s.findStaffEntryMaxNoteLength();r.lt(o)&&(r=o)}return r}}let Note$1=class{constructor(e,r,s,o,a,l){this.slurs=[],this.playbackInstrumentId=void 0,this.notehead=void 0,this.printObject=!0,this.voiceEntry=e,this.parentStaffEntry=r,this.length=s,this.pitch=o,this.sourceMeasure=a,this.isRestFlag=l!=null?l:!1,this.noteTremoloType="",this.glissandoType="",this.slideType="",o?this.halfTone=o.getHalfTone():this.halfTone=0}get NoteAsString(){return this.pitch.toString()}ToStringShort(e=0){var r;return!this.Pitch||this.isRest()?"rest":(r=this.Pitch)==null?void 0:r.ToStringShort(e)}get ToStringShortGet(){return this.ToStringShort(0)}get TremoloType(){return this.noteTremoloType}set TremoloType(e){this.noteTremoloType=e}get ParentVoiceEntry(){return this.voiceEntry}set ParentVoiceEntry(e){this.voiceEntry=e}get ParentStaffEntry(){return this.parentStaffEntry}get ParentStaff(){return this.parentStaffEntry.ParentStaff}get Length(){return this.length}set PlaybackNote(e){this.playbackNote=e}get PlaybackNote(){return this.playbackNote}set Length(e){this.length=e}get SourceMeasure(){return this.sourceMeasure}get TypeLength(){return this.typeLength}set TypeLength(e){this.typeLength=e}get NoteTypeXml(){return this.noteTypeXml}set NoteTypeXml(e){this.noteTypeXml=e}get NormalNotes(){return this.normalNotes}set NormalNotes(e){this.normalNotes=e}get Pitch(){return this.pitch}get NoteBeam(){return this.beam}set NoteBeam(e){this.beam=e}set Notehead(e){this.notehead=e}get Notehead(){return this.notehead}get NoteTuplet(){return this.tuplet}set NoteTuplet(e){this.tuplet=e}get NoteGlissando(){return this.glissando}set NoteGlissando(e){this.glissando=e}get NoteTie(){return this.tie}set NoteTie(e){this.tie=e}get NoteSlurs(){return this.slurs}set NoteSlurs(e){this.slurs=e}get PlaybackInstrumentId(){return this.playbackInstrumentId}set PlaybackInstrumentId(e){this.playbackInstrumentId=e}get PrintObject(){return this.printObject}set PrintObject(e){this.printObject=e}get Arpeggio(){return this.arpeggio}set Arpeggio(e){this.arpeggio=e}get IsCueNote(){return this.isCueNote}set IsCueNote(e){this.isCueNote=e}get StemDirectionXml(){return this.stemDirectionXml}set StemDirectionXml(e){this.stemDirectionXml=e}get TremoloStrokes(){var e;return(e=this.TremoloInfo)==null?void 0:e.tremoloStrokes}get StemColorXml(){return this.stemColorXml}set StemColorXml(e){this.stemColorXml=e}get NoteheadColorXml(){return this.noteheadColorXml}set NoteheadColorXml(e){this.noteheadColorXml=e}get NoteheadColor(){return this.noteheadColor}set NoteheadColor(e){this.noteheadColor=e}get NoteheadColorCurrentlyRendered(){return this.noteheadColorCurrentlyRendered}set NoteheadColorCurrentlyRendered(e){this.noteheadColorCurrentlyRendered=e}isRest(){return this.isRestFlag}isWholeRest(){return this.isRest()&&this.Length.RealValue===this.sourceMeasure.ActiveTimeSignature.RealValue}isWholeMeasureNote(){return this.Length.RealValue===this.sourceMeasure.ActiveTimeSignature.RealValue}ToString(){return this.pitch?this.Pitch.ToString()+", length: "+this.length.toString():"rest note, length: "+this.length.toString()}getAbsoluteTimestamp(){return Fraction$1.plus(this.voiceEntry.Timestamp,this.sourceMeasure.AbsoluteTimestamp)}isDuplicateSlur(e){for(let r=0,s=this.slurs.length;r<s;++r){const o=this.slurs[r];if(o.StartNote!==void 0&&o.EndNote!==void 0&&e.StartNote!==void 0&&e.StartNote===o.StartNote&&o.EndNote===this&&e.PlacementXml===o.PlacementXml)return!0}return!1}hasTabEffects(){return!1}};class GraphicalMeasure extends GraphicalObject{constructor(e=void 0,r=void 0,s=void 0){super(),this.hasOnlyRests=!1,this.measureNumber=-1,this.ShowTimeSignature=!0,this.ShowKeySignature=!0,this.isTabMeasure=!1,this.parentStaff=e,this.parentSourceMeasure=r,this.parentStaffLine=s,s?(this.parentStaff=s.ParentStaff,this.PositionAndShape=new BoundingBox$1(this,s.PositionAndShape)):this.PositionAndShape=new BoundingBox$1(this),this.PositionAndShape.BorderBottom=4,this.parentSourceMeasure&&(this.measureNumber=this.parentSourceMeasure.MeasureNumber),this.staffEntries=[]}get ParentStaff(){return this.parentStaff}get ParentMusicSystem(){return this.parentMusicSystem}set ParentMusicSystem(e){this.parentMusicSystem=e}get MeasureNumber(){return this.measureNumber}get FirstInstructionStaffEntry(){return this.firstInstructionStaffEntry}set FirstInstructionStaffEntry(e){this.firstInstructionStaffEntry=e}get LastInstructionStaffEntry(){return this.lastInstructionStaffEntry}set LastInstructionStaffEntry(e){this.lastInstructionStaffEntry=e}get ParentStaffLine(){return this.parentStaffLine}set ParentStaffLine(e){this.parentStaffLine=e,this.parentStaffLine&&(this.PositionAndShape.Parent=this.parentStaffLine.PositionAndShape)}resetLayout(){throw new Error("not implemented")}getLineWidth(e){throw new Error("not implemented")}addClefAtBegin(e){throw new Error("not implemented")}addKeyAtBegin(e,r,s){throw new Error("not implemented")}addRhythmAtBegin(e,r){throw new Error("not implemented")}addClefAtEnd(e,r=!0){throw new Error("not implemented")}setPositionInStaffline(e){this.PositionAndShape.RelativePosition=new PointF2D(e,0)}setWidth(e){this.PositionAndShape.BorderRight=e}layoutSymbols(){throw new Error("not implemented")}findGraphicalStaffEntryFromTimestamp(e){var r;for(let s=0,o=this.staffEntries.length;s<o;++s){const a=this.staffEntries[s];if((r=a.relInMeasureTimestamp)!=null&&r.Equals(e))return a}}findGraphicalStaffEntryFromVerticalContainerTimestamp(e){for(let r=0,s=this.staffEntries.length;r<s;++r){const o=this.staffEntries[r];if(o.sourceStaffEntry.VerticalContainerParent.getAbsoluteTimestamp().Equals(e))return o}}hasSameDurationWithSourceMeasureParent(){const e=new Fraction$1(0,1);for(let r=0,s=this.staffEntries.length;r<s;++r){const o=this.staffEntries[r];e.Add(o.findStaffEntryMinNoteLength())}return e.Equals(this.parentSourceMeasure.Duration)}hasMultipleVoices(){if(this.staffEntries.length===0)return!1;const e=[];for(let r=0,s=this.staffEntries.length;r<s;++r){const o=this.staffEntries[r];for(let a=0,l=o.sourceStaffEntry.VoiceEntries.length;a<l;++a){const c=o.sourceStaffEntry.VoiceEntries[a];e.indexOf(c.ParentVoice)<0&&e.push(c.ParentVoice)}}return e.length>1}isVisible(){return this.ParentStaff.ParentInstrument.Visible}getGraphicalMeasureDurationFromStaffEntries(){let e=new Fraction$1(0,1);const r=[];for(let s=0,o=this.staffEntries.length;s<o;++s){const a=this.staffEntries[s];for(let l=0,c=a.sourceStaffEntry.VoiceEntries.length;l<c;++l){const u=a.sourceStaffEntry.VoiceEntries[l];r.indexOf(u.ParentVoice)<0&&r.push(u.ParentVoice)}}for(let s=0,o=r.length;s<o;++s){const a=r[s],l=new Fraction$1(0,1);for(const c of this.staffEntries)for(const u of c.graphicalVoiceEntries)u.parentVoiceEntry.ParentVoice===a&&u.notes.length>0&&l.Add(u.notes[0].graphicalNoteLength);e.lt(l)&&(e=Fraction$1.createFromFraction(l))}return e}addGraphicalStaffEntry(e){this.staffEntries.push(e)}addGraphicalStaffEntryAtTimestamp(e){if(e)if(this.staffEntries.length===0||this.staffEntries[this.staffEntries.length-1].relInMeasureTimestamp.lt(e.relInMeasureTimestamp))this.staffEntries.push(e);else for(let r=this.staffEntries.length-1;r>=0;r--){if(this.staffEntries[r].relInMeasureTimestamp.lt(e.relInMeasureTimestamp)){this.staffEntries.splice(r+1,0,e);break}r===0&&this.staffEntries.splice(r,0,e)}}isPianoRightHand(){return this.isUpperStaffOfInstrument()}isPianoLeftHand(){return this.isLowerStaffOfInstrument()}isUpperStaffOfInstrument(){return this.parentStaff.ParentInstrument.Staves.length===1?!0:this.ParentStaff===this.parentStaff.ParentInstrument.Staves[0]}isLowerStaffOfInstrument(){return this.parentStaff.ParentInstrument.Staves.length===1?!1:this.ParentStaff===this.ParentStaff.ParentInstrument.Staves.last()}beginsWithLineRepetition(){const e=this.parentSourceMeasure;return e?e.beginsWithLineRepetition():!1}endsWithLineRepetition(){const e=this.parentSourceMeasure;return e?e.endsWithLineRepetition():!1}beginsWithWordRepetition(){const e=this.parentSourceMeasure;return e?e.beginsWithWordRepetition():!1}endsWithWordRepetition(){const e=this.parentSourceMeasure;return e?e.endsWithWordRepetition():!1}getTransposedHalftones(){return this.parentStaff.ParentInstrument.GetMusicSheet.Transpose+this.parentStaff.ParentInstrument.Transpose}}const Vex=()=>{};Vex.L=(i,e)=>{if(!e)return;const r=Array.prototype.slice.call(e).join(" ");window.console.log(i+": "+r)};Vex.MakeException=i=>class extends Error{constructor(r,s){super(r),this.name=i,this.message=r,this.data=s}};class RuntimeError{constructor(e,r){this.code=e,this.message=r}toString(){return"[RuntimeError] "+this.code+":"+this.message}}Vex.RuntimeError=RuntimeError;Vex.RERR=Vex.RuntimeError;Vex.Merge=(i,e)=>{for(const r in e)i[r]=e[r];return i};Vex.Min=Math.min;Vex.Max=Math.max;Vex.forEach=(i,e)=>{for(let r=0;r<i.length;r++)e(i[r],r)};Vex.RoundN=(i,e)=>i%e>=e/2?parseInt(i/e,10)*e+e:parseInt(i/e,10)*e;Vex.MidLine=(i,e)=>{let r=e+(i-e)/2;return r%2>0&&(r=Vex.RoundN(r*10,5)/10),r};Vex.SortAndUnique=(i,e,r)=>{if(i.length>1){const s=[];let o;i.sort(e);for(let a=0;a<i.length;++a)(a===0||!r(i[a],o))&&s.push(i[a]),o=i[a];return s}else return i};Vex.Contains=(i,e)=>{let r=i.length;for(;r--;)if(i[r]===e)return!0;return!1};Vex.getCanvasContext=i=>{if(!i)throw new Vex.RERR("BadArgument","Invalid canvas selector: "+i);const e=document.getElementById(i);if(!(e&&e.getContext))throw new Vex.RERR("UnsupportedBrowserError","This browser does not support HTML5 Canvas");return e.getContext("2d")};Vex.drawDot=(i,e,r,s="#55")=>{i.save(),i.setFillStyle(s),i.beginPath(),i.arc(e,r,3,0,Math.PI*2,!0),i.closePath(),i.fill(),i.restore()};Vex.BM=(i,e)=>{const r=new Date().getTime();e();const s=new Date().getTime()-r;Vex.L(i+s+"ms")};Vex.StackTrace=()=>new Error().stack;Vex.W=(...i)=>{const e=i.join(" ");window.console.log("Warning: ",e,Vex.StackTrace())};Vex.Prefix=i=>Vex.Prefix.prefix+i;Vex.Prefix.prefix="vf-";class Fraction{static GCD(e,r){if(typeof e!="number"||typeof r!="number")throw new Vex.RERR("BadArgument",`Invalid numbers: ${e}, ${r}`);let s;for(;r!==0;)s=r,r=e%r,e=s;return e}static LCM(e,r){return e*r/Fraction.GCD(e,r)}static LCMM(e){if(e.length===0)return 0;if(e.length===1)return e[0];if(e.length===2)return Fraction.LCM(e[0],e[1]);{const r=e[0];return e.shift(),Fraction.LCM(r,Fraction.LCMM(e))}}constructor(e,r){this.set(e,r)}set(e,r){return this.numerator=e===void 0?1:e,this.denominator=r===void 0?1:r,this}value(){return this.numerator/this.denominator}simplify(){let e=this.numerator,r=this.denominator;const s=Fraction.GCD(e,r);return e/=s,r/=s,r<0&&(r=-r,e=-e),this.set(e,r)}add(e,r){let s,o;e instanceof Fraction?(s=e.numerator,o=e.denominator):(e!==void 0?s=e:s=0,r!==void 0?o=r:o=1);const a=Fraction.LCM(this.denominator,o),l=a/this.denominator,c=a/o,u=this.numerator*l+s*c;return this.set(u,a)}subtract(e,r){let s,o;e instanceof Fraction?(s=e.numerator,o=e.denominator):(e!==void 0?s=e:s=0,r!==void 0?o=r:o=1);const a=Fraction.LCM(this.denominator,o),l=a/this.denominator,c=a/o,u=this.numerator*l-s*c;return this.set(u,a)}multiply(e,r){let s,o;return e instanceof Fraction?(s=e.numerator,o=e.denominator):(e!==void 0?s=e:s=1,r!==void 0?o=r:o=1),this.set(this.numerator*s,this.denominator*o)}divide(e,r){let s,o;return e instanceof Fraction?(s=e.numerator,o=e.denominator):(e!==void 0?s=e:s=1,r!==void 0?o=r:o=1),this.set(this.numerator*o,this.denominator*s)}equals(e){const r=Fraction.__compareA.copy(e).simplify(),s=Fraction.__compareB.copy(this).simplify();return r.numerator===s.numerator&&r.denominator===s.denominator}greaterThan(e){const r=Fraction.__compareB.copy(this);return r.subtract(e),r.numerator>0}greaterThanEquals(e){const r=Fraction.__compareB.copy(this);return r.subtract(e),r.numerator>=0}lessThan(e){return!this.greaterThanEquals(e)}lessThanEquals(e){return!this.greaterThan(e)}clone(){return new Fraction(this.numerator,this.denominator)}copy(e){return typeof e=="number"?this.set(e||0,1):this.set(e.numerator,e.denominator)}quotient(){return Math.floor(this.numerator/this.denominator)}fraction(){return this.numerator%this.denominator}abs(){return this.denominator=Math.abs(this.denominator),this.numerator=Math.abs(this.numerator),this}toString(){return this.numerator+"/"+this.denominator}toSimplifiedString(){return Fraction.__tmp.copy(this).simplify().toString()}toMixedString(){let e="";const r=this.quotient(),s=Fraction.__tmp.copy(this);return r<0?s.abs().fraction():s.fraction(),r!==0?(e+=r,s.numerator!==0&&(e+=" "+s.toSimplifiedString())):s.numerator===0?e="0":e=s.toSimplifiedString(),e}parse(e){const r=e.split("/"),s=parseInt(r[0],10),o=r[1]?parseInt(r[1],10):1;return this.set(s,o)}}Fraction.__compareA=new Fraction;Fraction.__compareB=new Fraction;Fraction.__tmp=new Fraction;const X$3=Vex.MakeException("RegistryError");function setIndexValue(i,e,r,s,o){i[e][r]||(i[e][r]={}),i[e][r][s]=o}class Registry{static get INDEXES(){return["type"]}constructor(){this.clear()}static enableDefaultRegistry(e){Registry.defaultRegistry=e}static getDefaultRegistry(){return Registry.defaultRegistry}static disableDefaultRegistry(){Registry.defaultRegistry=null}clear(){return this.index={id:{},type:{},class:{}},this}updateIndex({id:e,name:r,value:s,oldValue:o}){const a=this.getElementById(e);o!==null&&this.index[r][o]&&delete this.index[r][o][e],s!==null&&setIndexValue(this.index,r,s,a.getAttribute("id"),a)}register(e,r){if(r=r||e.getAttribute("id"),!r)throw new X$3("Can't add element without `id` attribute to registry",e);return e.setAttribute("id",r),setIndexValue(this.index,"id",r,r,e),Registry.INDEXES.forEach(s=>{this.updateIndex({id:r,name:s,value:e.getAttribute(s),oldValue:null})}),e.onRegister(this),this}getElementById(e){return this.index.id[e]?this.index.id[e][e]:null}getElementsByAttribute(e,r){const s=this.index[e];return s&&s[r]?Object.keys(s[r]).map(o=>s[r][o]):[]}getElementsByType(e){return this.getElementsByAttribute("type",e)}getElementsByClass(e){return this.getElementsByAttribute("class",e)}onUpdate({id:e,name:r,value:s,oldValue:o}){function a(l,c){return l.filter(u=>u===c).length>0}return a(Registry.INDEXES.concat(["id","class"]),r)?(this.updateIndex({id:e,name:r,value:s,oldValue:o}),this):this}}Registry.defaultRegistry=null;let Element$1=class Ii{static newID(){return"auto"+Ii.ID++}constructor({type:e}={}){this.attrs={id:Ii.newID(),el:null,type:e||"Base",classes:{}},this.boundingBox=null,this.context=null,this.rendered=!1,Registry.getDefaultRegistry()&&Registry.getDefaultRegistry().register(this)}setStyle(e){return this.style=e,this}getStyle(){return this.style}applyStyle(e=this.context,r=this.getStyle()){return r?(e.save(),r.shadowColor&&e.setShadowColor(r.shadowColor),r.shadowBlur&&e.setShadowBlur(r.shadowBlur),r.fillStyle&&e.setFillStyle(r.fillStyle),r.strokeStyle&&e.setStrokeStyle(r.strokeStyle),r.lineWidth&&e.setLineWidth(r.lineWidth),this):this}restoreStyle(e=this.context,r=this.getStyle()){return r?(e.restore(),this):this}drawWithStyle(){this.checkContext(),this.applyStyle(),this.draw(),this.restoreStyle()}hasClass(e){return this.attrs.classes[e]===!0}addClass(e){return this.attrs.classes[e]=!0,this.registry&&this.registry.onUpdate({id:this.getAttribute("id"),name:"class",value:e,oldValue:null}),this}removeClass(e){return delete this.attrs.classes[e],this.registry&&this.registry.onUpdate({id:this.getAttribute("id"),name:"class",value:null,oldValue:e}),this}onRegister(e){return this.registry=e,this}isRendered(){return this.rendered}setRendered(e=!0){return this.rendered=e,this}getAttributes(){return this.attrs}getAttribute(e){return this.attrs[e]}setAttribute(e,r){const s=this.attrs.id,o=this.attrs[e];return this.attrs[e]=r,this.registry&&this.registry.onUpdate({id:s,name:e,value:r,oldValue:o}),this}getContext(){return this.context}setContext(e){return this.context=e,this}getBoundingBox(){return this.boundingBox}checkContext(){if(!this.context)throw new Vex.RERR("NoContext","No rendering context attached to instance");return this.context}};Element$1.ID=1e3;class BoundingBoxComputation{constructor(e,r,s,o){this.x1=Number.NaN,this.y1=Number.NaN,this.x2=Number.NaN,this.y2=Number.NaN,this.addPoint(e,r),this.addPoint(s,o)}width(){return this.x2-this.x1}height(){return this.y2-this.y1}addPoint(e,r){e!=null&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)),r!=null&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=r,this.y2=r),r<this.y1&&(this.y1=r),r>this.y2&&(this.y2=r))}addX(e){this.addPoint(e,null)}addY(e){this.addPoint(null,e)}addQuadraticCurve(e,r,s,o,a,l){const c=e+.6666666666666666*(s-e),u=r+2/3*(o-r),d=c+1/3*(a-e),g=u+1/3*(l-r);this.addBezierCurve(e,r,c,u,d,g,a,l)}addBezierCurve(e,r,s,o,a,l,c,u){const d=[e,r],g=[s,o],m=[a,l],y=[c,u];let b;this.addPoint(d[0],d[1]),this.addPoint(y[0],y[1]);const A=(S,E)=>Math.pow(1-S,3)*d[E]+3*Math.pow(1-S,2)*S*g[E]+3*(1-S)*Math.pow(S,2)*m[E]+Math.pow(S,3)*y[E];for(b=0;b<=1;b++){const S=6*d[b]-12*g[b]+6*m[b],E=-3*d[b]+9*g[b]-9*m[b]+3*y[b],x=3*g[b]-3*d[b];if(E===0){if(S===0)continue;const k=-x/S;0<k&&k<1&&(b===0&&this.addX(A(k,b)),b===1&&this.addY(A(k,b)));continue}const P=Math.pow(S,2)-4*x*E;if(P<0)continue;const C=(-S+Math.sqrt(P))/(2*E);0<C&&C<1&&(b===0&&this.addX(A(C,b)),b===1&&this.addY(A(C,b)));const T=(-S-Math.sqrt(P))/(2*E);0<T&&T<1&&(b===0&&this.addX(A(T,b)),b===1&&this.addY(A(T,b)))}}}class BoundingBox{static copy(e){return new BoundingBox(e.x,e.y,e.w,e.h)}constructor(e,r,s,o){this.x=e,this.y=r,this.w=s,this.h=o}getX(){return this.x}getY(){return this.y}getW(){return this.w}getH(){return this.h}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setW(e){return this.w=e,this}setH(e){return this.h=e,this}move(e,r){this.x+=e,this.y+=r}clone(){return BoundingBox.copy(this)}mergeWith(e,r){const s=e,o=this.x<s.x?this.x:s.x,a=this.y<s.y?this.y:s.y,l=Math.max(this.x+this.w,s.x+s.w)-o,c=Math.max(this.y+this.h,s.y+s.h)-a;return this.x=o,this.y=a,this.w=l,this.h=c,r&&this.draw(r),this}draw(e,r,s){r||(r=0),s||(s=0),e.rect(this.x+r,this.y+s,this.w,this.h),e.stroke()}}const Font={glyphs:{v0:{x_min:0,x_max:514.5,ha:525,o:"m 236 648 b 246 648 238 648 242 648 b 288 646 261 648 283 648 b 472 513 364 634 428 587 b 514 347 502 464 514 413 b 462 163 514 272 499 217 b 257 44 409 83 333 44 b 50 163 181 44 103 83 b 0 347 14 217 0 272 b 40 513 0 413 12 464 b 236 648 87 591 155 638 m 277 614 b 253 616 273 616 261 616 b 242 616 247 616 243 616 b 170 499 193 609 181 589 b 159 348 163 446 159 398 b 166 222 159 308 161 266 b 201 91 174 138 183 106 b 257 76 215 81 235 76 b 311 91 277 76 299 81 b 347 222 330 106 338 138 b 353 348 352 266 353 308 b 344 499 353 398 351 446 b 277 614 333 587 322 606 m 257 -1 l 258 -1 l 255 -1 l 257 -1 m 257 673 l 258 673 l 255 673 l 257 673 "},v1:{x_min:-1.359375,x_max:344.359375,ha:351,o:"m 126 637 l 129 638 l 198 638 l 266 638 l 269 635 b 274 631 272 634 273 632 l 277 627 l 277 395 b 279 156 277 230 277 161 b 329 88 281 123 295 106 b 344 69 341 81 344 79 b 337 55 344 62 343 59 l 333 54 l 197 54 l 61 54 l 58 55 b 50 69 53 59 50 62 b 65 88 50 79 53 81 b 80 97 72 91 74 93 b 117 156 103 113 112 129 b 117 345 117 161 117 222 l 117 528 l 100 503 l 38 406 b 14 383 24 384 23 383 b -1 398 5 383 -1 390 b 4 415 -1 403 1 409 b 16 437 5 416 10 426 l 72 539 l 100 596 b 121 632 119 631 119 631 b 126 637 122 634 125 635 m 171 -1 l 172 -1 l 170 -1 l 171 -1 m 171 673 l 172 673 l 170 673 l 171 673 "},v2:{x_min:-1.359375,x_max:458.6875,ha:468,o:"m 197 648 b 216 648 201 648 208 648 b 258 646 232 648 253 648 b 419 546 333 637 393 599 b 432 489 428 528 432 509 b 356 342 432 440 405 384 b 235 278 322 313 288 295 b 69 170 166 256 107 217 b 69 169 69 170 69 169 b 69 169 69 169 69 169 b 74 173 69 169 72 170 b 209 222 112 204 163 222 b 310 195 247 222 274 215 b 371 179 332 184 352 179 b 396 181 379 179 387 179 b 428 202 409 184 423 194 b 442 212 431 209 436 212 b 458 197 450 212 458 206 b 441 148 458 190 449 165 b 299 44 409 84 353 44 b 288 45 295 44 292 44 b 250 61 274 45 268 49 b 122 99 212 86 164 99 b 73 91 104 99 88 97 b 28 63 53 84 34 72 b 14 54 25 56 20 54 b 1 62 9 54 4 56 l -1 65 l -1 79 b 0 99 -1 91 0 95 b 2 113 1 102 2 108 b 164 309 20 197 81 272 b 285 470 232 341 277 398 b 287 487 287 476 287 481 b 171 595 287 551 239 595 b 155 595 166 595 160 595 b 142 592 145 594 142 594 b 145 589 142 592 142 591 b 179 527 168 576 179 551 b 132 455 179 496 163 467 b 104 451 122 452 112 451 b 27 530 62 451 27 487 b 29 555 27 538 27 546 b 197 648 44 601 115 639 m 228 -1 l 230 -1 l 227 -1 l 228 -1 m 228 673 l 230 673 l 227 673 l 228 673 "},v3:{x_min:-1.359375,x_max:409.6875,ha:418,o:"m 174 648 b 191 648 176 648 183 648 b 225 648 204 648 220 648 b 402 523 317 638 389 588 b 404 503 404 517 404 510 b 402 484 404 495 404 488 b 264 373 389 437 334 394 b 257 370 259 371 257 371 b 257 370 257 370 257 370 b 264 369 258 370 261 369 b 409 202 359 334 409 267 b 318 72 409 152 381 104 b 200 43 281 52 240 43 b 23 113 134 43 69 68 b 0 169 6 129 0 149 b 77 249 0 210 29 249 l 77 249 b 152 174 125 249 152 212 b 103 102 152 145 137 116 b 103 102 103 102 103 102 b 147 94 103 101 132 95 b 153 94 149 94 151 94 b 265 206 219 94 265 141 b 264 226 265 213 265 219 b 147 355 253 299 204 353 b 126 371 133 356 126 362 b 147 388 126 383 132 388 b 254 474 196 391 238 424 b 259 502 258 484 259 494 b 182 592 259 544 228 582 b 156 595 175 595 166 595 b 115 592 142 595 129 594 l 111 591 l 115 588 b 152 524 141 574 152 549 b 92 449 152 491 130 458 b 76 448 87 448 81 448 b -1 530 32 448 -1 488 b 20 581 -1 548 5 566 b 174 648 55 619 108 641 m 204 -1 l 205 -1 l 202 -1 l 204 -1 m 204 673 l 205 673 l 202 673 l 204 673 "},v4:{x_min:0,x_max:468.21875,ha:478,o:"m 174 637 b 232 638 175 638 189 638 b 277 638 245 638 259 638 l 378 638 l 381 635 b 389 623 386 632 389 627 b 382 609 389 617 386 613 b 366 589 381 606 372 598 l 313 528 l 245 451 l 209 410 l 155 348 l 84 267 b 59 240 72 252 59 240 b 59 240 59 240 59 240 b 151 238 59 238 68 238 l 242 238 l 242 303 b 243 371 242 369 242 370 b 289 426 245 374 254 385 l 303 441 l 317 456 l 338 483 l 360 506 l 371 520 b 386 527 375 526 381 527 b 400 519 392 527 397 524 b 401 440 401 516 401 514 b 401 377 401 423 401 402 l 401 238 l 426 238 b 453 237 449 238 450 238 b 465 217 461 234 465 226 b 460 202 465 212 464 206 b 426 197 454 197 453 197 l 401 197 l 401 180 b 451 88 402 129 412 109 b 468 69 465 81 468 79 b 461 55 468 62 466 59 l 458 54 l 321 54 l 185 54 l 182 55 b 175 69 176 59 175 62 b 191 88 175 79 176 81 b 240 180 230 109 240 129 l 240 197 l 125 197 b 73 195 104 195 87 195 b 8 197 10 195 9 197 b 0 212 2 199 0 205 b 0 212 0 212 0 212 b 20 242 0 219 0 219 b 163 610 104 344 163 492 b 174 637 163 628 166 634 m 234 -1 l 235 -1 l 232 -1 l 234 -1 m 234 673 l 235 673 l 232 673 l 234 673 "},v5:{x_min:0,x_max:409.6875,ha:418,o:"m 47 637 b 53 638 49 638 50 638 b 69 634 55 638 61 637 b 210 610 114 619 161 610 b 363 634 259 610 311 619 b 382 638 372 637 378 638 b 392 634 386 638 389 637 b 397 623 396 630 397 627 b 393 610 397 620 396 616 b 298 505 368 552 338 520 b 212 494 277 498 246 494 b 65 517 163 494 106 502 b 61 517 62 517 61 517 b 61 517 61 517 61 517 b 51 408 61 517 51 412 b 51 408 51 408 51 408 b 51 408 51 408 51 408 b 61 412 53 408 55 409 b 125 434 80 421 103 430 b 185 441 145 440 166 441 b 409 244 310 441 409 353 b 401 191 409 227 406 209 b 197 43 375 105 287 43 b 159 47 183 43 171 44 b 23 123 112 56 61 86 b 0 180 6 140 0 159 b 76 260 0 220 31 260 b 92 259 81 260 87 259 b 152 183 132 251 152 216 b 100 112 152 152 134 122 b 95 111 98 112 95 111 b 95 111 95 111 95 111 b 129 98 95 109 119 101 b 148 97 136 97 141 97 b 264 235 206 97 261 158 b 265 248 265 240 265 244 b 210 398 265 312 243 373 b 179 408 201 406 194 408 b 174 408 178 408 176 408 b 53 369 130 408 88 394 b 34 359 39 359 38 359 b 17 374 24 359 17 365 b 39 628 17 384 38 625 b 47 637 40 631 43 635 m 204 -1 l 205 -1 l 202 -1 l 204 -1 m 204 673 l 205 673 l 202 673 l 204 673 "},v6:{x_min:0,x_max:475.03125,ha:485,o:"m 255 648 b 274 648 259 648 266 648 b 314 646 288 648 307 648 b 450 555 374 637 438 594 b 454 530 453 546 454 538 b 375 451 454 485 416 451 b 328 467 359 451 343 455 b 300 526 310 483 300 503 b 352 598 300 557 319 589 b 356 599 355 598 356 599 b 352 602 356 599 355 601 b 288 616 330 612 308 616 b 210 584 257 616 230 605 b 164 433 189 559 174 508 b 160 374 163 415 160 381 b 160 374 160 374 160 374 b 160 374 160 374 160 374 b 168 377 160 374 164 376 b 258 395 200 390 228 395 b 366 367 294 395 328 387 b 475 223 436 333 475 283 b 472 197 475 215 473 206 b 349 65 462 141 419 95 b 259 43 317 51 288 43 b 167 69 230 43 200 52 b 4 290 80 113 20 195 b 0 349 1 309 0 328 b 20 467 0 391 6 433 b 255 648 58 563 155 637 m 269 363 b 257 363 265 363 261 363 b 210 345 236 363 220 356 b 186 226 196 324 186 272 b 187 198 186 216 186 206 b 213 95 191 151 202 112 b 257 76 221 83 238 76 b 270 77 261 76 266 76 b 321 156 299 81 310 99 b 329 229 326 183 329 206 b 321 301 329 252 326 274 b 269 363 311 342 298 359 m 236 -1 l 238 -1 l 235 -1 l 236 -1 m 236 673 l 238 673 l 235 673 l 236 673 "},v7:{x_min:0,x_max:442.359375,ha:451,o:"m 147 648 b 166 649 153 649 160 649 b 313 598 217 649 273 630 b 340 587 323 588 328 587 l 341 587 b 412 628 367 587 390 601 b 427 638 416 635 421 638 b 439 632 431 638 435 637 b 442 623 441 630 442 628 b 430 569 442 616 439 603 b 352 369 408 492 377 410 b 300 259 325 324 313 298 b 273 84 283 205 273 140 b 265 55 273 65 272 59 l 261 54 l 181 54 l 99 54 l 96 55 b 91 61 95 56 92 59 l 89 63 l 89 77 b 147 263 89 133 111 202 b 261 401 176 313 212 355 b 378 541 315 449 349 489 l 382 548 l 375 544 b 240 495 333 512 285 495 b 129 535 198 495 160 509 b 84 560 108 552 95 560 b 76 559 81 560 78 560 b 31 487 59 555 43 530 b 14 470 27 473 24 470 b 1 477 8 470 4 471 l 0 480 l 0 553 l 0 627 l 1 630 b 16 638 4 635 9 638 b 23 635 17 638 20 637 b 49 626 36 626 39 626 b 96 638 59 626 80 630 b 104 639 99 638 102 639 b 117 644 107 641 112 642 b 147 648 125 645 137 648 m 220 -1 l 221 -1 l 219 -1 l 220 -1 m 220 673 l 221 673 l 219 673 l 220 673 "},v8:{x_min:0,x_max:488.640625,ha:499,o:"m 217 648 b 245 649 225 648 235 649 b 453 516 343 649 430 595 b 458 478 455 503 458 491 b 412 370 458 440 441 398 b 411 369 412 369 411 369 b 415 365 411 367 412 367 b 488 231 462 331 488 281 b 472 165 488 208 483 186 b 243 43 434 86 338 43 b 63 104 178 43 112 62 b 0 233 20 140 0 186 b 73 365 0 283 24 331 l 77 369 l 72 374 b 29 476 42 406 29 441 b 217 648 29 557 103 635 m 258 605 b 242 606 253 605 247 606 b 157 552 198 606 157 580 b 160 541 157 548 159 544 b 319 413 176 503 242 452 l 337 403 l 338 406 b 359 476 352 428 359 452 b 258 605 359 537 318 595 m 138 326 b 130 330 134 328 130 330 b 130 330 130 330 130 330 b 107 305 127 330 112 313 b 84 231 91 281 84 256 b 243 86 84 156 151 86 b 249 87 245 86 246 87 b 347 156 303 88 347 120 b 344 172 347 162 345 167 b 156 319 325 227 257 281 b 138 326 151 322 144 324 m 243 -1 l 245 -1 l 242 -1 l 243 -1 m 243 673 l 245 673 l 242 673 l 243 673 "},v9:{x_min:0,x_max:475.03125,ha:485,o:"m 191 646 b 212 649 198 648 205 649 b 255 644 227 649 243 646 b 458 448 348 616 428 539 b 475 342 469 415 475 378 b 460 244 475 308 469 274 b 193 44 421 124 303 44 b 91 69 157 44 122 51 b 19 161 43 97 19 126 b 21 181 19 167 20 174 b 98 241 32 220 65 241 b 170 186 129 241 160 223 b 172 166 171 179 172 173 b 121 94 172 134 152 102 b 117 93 118 94 117 93 b 121 90 117 93 118 91 b 185 76 142 80 164 76 b 270 119 220 76 251 91 b 308 259 287 145 300 194 b 313 317 310 277 313 310 b 313 317 313 317 313 317 b 313 317 313 317 313 317 b 304 315 313 317 308 316 b 216 295 273 302 245 295 b 145 308 193 295 170 299 b 19 398 88 327 42 360 b 0 469 5 420 0 444 b 24 551 0 496 8 526 b 191 646 54 596 125 637 m 227 614 b 215 616 224 616 220 616 b 202 614 210 616 206 616 b 152 535 174 610 163 592 b 144 463 147 509 144 485 b 152 391 144 440 147 417 b 216 328 163 344 179 328 b 280 391 253 328 269 344 b 288 463 285 417 288 440 b 280 535 288 485 285 509 b 227 614 269 594 258 610 m 236 -1 l 238 -1 l 235 -1 l 236 -1 m 236 673 l 238 673 l 235 673 l 236 673 "},vx:{x_min:0,x_max:406.96875,ha:415,o:"m 21 183 b 28 183 24 183 25 183 b 42 181 34 183 39 183 b 127 108 47 179 47 179 b 202 41 168 72 202 41 b 279 108 204 41 238 72 b 357 177 321 145 356 176 b 375 183 363 181 370 183 b 406 151 392 183 406 169 b 404 137 406 147 405 141 b 322 62 401 131 398 129 b 251 0 284 27 251 0 b 322 -63 251 -1 284 -29 b 404 -138 398 -130 401 -133 b 406 -152 405 -142 406 -148 b 375 -184 406 -170 392 -184 b 357 -179 370 -184 363 -183 b 279 -109 356 -177 321 -147 b 202 -43 238 -73 204 -43 b 127 -109 202 -43 168 -73 b 49 -179 85 -147 50 -177 b 31 -184 43 -183 36 -184 b 0 -152 13 -184 0 -170 b 2 -138 0 -148 0 -142 b 83 -63 5 -133 8 -130 b 155 0 122 -29 155 -1 b 83 62 155 0 122 27 b 8 129 43 97 10 127 b 0 151 2 136 0 144 b 21 183 0 165 8 177 "},va:{x_min:-149.71875,x_max:148.359375,ha:151,o:"m -8 -1 b -1 0 -5 -1 -4 0 b 16 -11 5 0 13 -4 b 83 -186 17 -12 47 -90 l 148 -358 l 148 -363 b 127 -385 148 -376 138 -385 b 112 -378 122 -385 118 -383 b 54 -226 110 -374 114 -385 b 0 -81 24 -147 0 -81 b -55 -226 -1 -81 -25 -147 b -114 -378 -115 -385 -111 -374 b -129 -385 -119 -383 -123 -385 b -149 -363 -140 -385 -149 -376 l -149 -358 l -84 -186 b -19 -11 -49 -90 -19 -12 b -8 -1 -17 -8 -12 -4 "},vb:{x_min:0,x_max:428.75,ha:438,o:"m 262 186 b 273 186 266 186 272 186 b 274 186 273 186 274 186 b 285 186 274 186 280 186 b 428 48 375 181 428 122 b 386 -68 428 12 416 -29 b 155 -187 329 -145 236 -187 b 12 -111 92 -187 38 -162 b 0 -51 4 -91 0 -72 b 262 186 0 58 122 179 "},vc:{x_min:0,x_max:447.8125,ha:457,o:"m 0 86 l 0 173 l 223 173 l 447 173 l 447 86 l 447 0 l 223 0 l 0 0 l 0 86 "},vf:{x_min:0,x_max:370.21875,ha:378,o:"m 0 0 l 0 277 l 61 277 l 122 277 l 122 0 l 122 -278 l 61 -278 l 0 -278 l 0 0 m 246 -1 l 246 277 l 308 277 l 370 277 l 370 -1 l 370 -278 l 308 -278 l 246 -278 l 246 -1 "},v10:{x_min:0,x_max:559.421875,ha:571,o:"m 5 127 b 14 127 6 127 9 127 b 51 126 25 127 43 127 b 175 98 93 122 138 112 l 186 94 b 279 51 210 86 255 65 b 285 47 280 51 283 48 b 319 27 291 44 311 31 l 326 22 b 359 0 332 19 352 4 l 367 -6 b 371 -9 368 -6 370 -8 l 379 -15 b 387 -22 383 -18 386 -20 l 398 -30 l 411 -40 l 417 -47 l 427 -55 l 434 -61 b 441 -66 436 -62 439 -65 l 446 -72 l 453 -77 l 462 -87 b 558 -188 490 -113 549 -176 b 559 -195 559 -191 559 -194 b 548 -205 559 -201 555 -205 b 541 -204 547 -205 544 -205 b 534 -198 539 -201 536 -199 l 525 -191 b 481 -162 518 -187 490 -167 b 472 -155 477 -159 472 -156 b 468 -152 470 -155 469 -154 b 461 -149 466 -152 464 -151 b 428 -130 454 -145 441 -137 b 371 -99 413 -122 372 -99 b 363 -95 371 -99 367 -98 b 353 -91 357 -94 353 -91 b 348 -90 353 -91 352 -91 b 332 -81 343 -87 341 -86 b 27 -12 230 -37 127 -13 b 0 -5 4 -11 2 -11 b 0 58 0 -2 0 27 b 0 122 0 88 0 120 b 5 127 1 124 4 126 "},v11:{x_min:-155.171875,x_max:153.8125,ha:157,o:"m -137 353 b -130 353 -136 353 -133 353 b -112 349 -125 353 -119 352 b -100 342 -110 347 -104 344 b 0 317 -69 326 -35 317 b 111 349 38 317 76 328 b 129 353 117 352 123 353 b 153 327 142 353 153 344 b 144 302 153 320 153 317 b 27 6 93 226 50 113 b 21 -13 24 -11 24 -11 b 0 -26 17 -22 8 -26 b -24 -12 -9 -26 -19 -22 b -28 5 -24 -9 -27 -2 b -145 302 -53 117 -95 224 b -155 327 -155 317 -155 320 b -137 353 -155 340 -148 349 "},v18:{x_min:0,x_max:323.9375,ha:331,o:"m 217 535 b 225 537 220 537 221 537 b 245 524 235 537 242 533 l 246 521 l 247 390 l 247 258 l 273 265 b 306 270 288 269 299 270 b 322 259 315 270 319 267 b 323 208 323 256 323 233 b 322 158 323 184 323 159 b 288 140 318 148 315 147 b 247 130 254 131 247 130 b 247 65 247 130 247 104 b 247 20 247 51 247 36 l 247 -88 l 273 -81 b 306 -76 289 -77 299 -76 b 318 -81 311 -76 315 -77 b 323 -123 323 -87 323 -86 l 323 -138 l 323 -154 b 318 -195 323 -191 323 -190 b 269 -210 314 -199 315 -199 b 249 -216 259 -213 250 -216 l 247 -216 l 247 -349 l 246 -483 l 245 -487 b 225 -499 242 -495 234 -499 b 206 -487 219 -499 210 -495 l 205 -483 l 205 -355 l 205 -227 l 204 -227 l 181 -233 l 138 -244 b 117 -249 127 -247 117 -249 b 115 -385 115 -249 115 -256 l 115 -523 l 114 -526 b 95 -538 110 -534 102 -538 b 74 -526 87 -538 78 -534 l 73 -523 l 73 -391 b 72 -260 73 -269 73 -260 b 72 -260 72 -260 72 -260 b 19 -273 61 -263 23 -273 b 0 -260 10 -273 4 -267 b 0 -209 0 -256 0 -256 l 0 -162 l 1 -158 b 61 -134 5 -148 5 -148 l 73 -131 l 73 -22 b 72 86 73 79 73 86 b 72 86 72 86 72 86 b 19 74 61 83 23 74 b 0 86 10 74 4 79 b 0 137 0 90 0 90 l 0 184 l 1 188 b 61 212 5 198 5 198 l 73 215 l 73 348 l 73 481 l 74 485 b 95 498 78 492 87 498 b 103 495 98 498 100 496 b 114 485 107 494 111 489 l 115 481 l 115 353 l 115 226 l 121 226 b 159 235 123 227 141 231 l 198 247 l 205 248 l 205 384 l 205 521 l 206 524 b 217 535 209 528 212 533 m 205 9 b 205 119 205 70 205 119 l 205 119 b 182 113 204 119 194 116 l 138 102 b 117 97 127 99 117 97 b 115 -12 115 97 115 91 l 115 -122 l 121 -120 b 159 -111 123 -119 141 -115 l 198 -101 l 205 -98 l 205 9 "},v1b:{x_min:0,x_max:559.421875,ha:571,o:"m 544 204 b 548 204 545 204 547 204 b 559 194 555 204 559 199 b 559 190 559 192 559 191 b 530 156 559 188 556 184 b 462 86 510 134 481 104 b 453 76 458 81 454 77 l 446 70 l 441 65 b 434 59 439 63 436 61 l 427 54 b 409 37 426 51 416 44 b 392 23 398 29 394 26 b 387 19 389 22 387 20 b 379 13 386 19 383 16 l 371 8 l 367 5 l 359 -1 l 337 -16 b 285 -48 319 -29 298 -41 l 279 -52 b 186 -95 255 -66 210 -87 l 175 -99 b 23 -129 127 -117 68 -129 b 17 -129 20 -129 19 -129 b 1 -123 2 -129 2 -129 b 0 -49 0 -122 0 -83 b 0 4 0 -22 0 1 b 27 11 2 9 4 9 b 185 31 78 12 145 20 b 198 34 186 31 193 33 b 314 73 234 44 277 58 b 349 88 328 79 340 84 b 353 90 352 90 353 90 b 363 94 353 90 357 93 b 371 98 367 97 371 98 b 428 129 372 98 413 120 b 461 148 441 136 454 144 b 468 151 464 149 466 151 b 472 154 469 152 470 154 b 481 161 473 155 477 158 b 525 190 490 166 518 186 l 534 197 b 540 201 536 198 539 199 b 544 204 541 202 544 204 "},v1d:{x_min:0,x_max:619.3125,ha:632,o:"m 274 184 b 307 186 285 186 296 186 b 616 22 465 186 597 116 b 619 -1 617 13 619 5 b 308 -187 619 -104 483 -187 b 0 -1 133 -187 0 -102 b 5 36 0 11 1 23 b 274 184 29 115 141 176 m 289 161 b 272 162 284 162 277 162 b 171 41 209 162 171 108 b 205 -73 171 5 182 -34 b 345 -163 243 -133 298 -163 b 436 -98 385 -163 420 -142 b 446 -43 443 -80 446 -62 b 289 161 446 47 377 147 "},v1e:{x_min:-402.890625,x_max:401.53125,ha:410,o:"m -219 173 b -213 174 -217 174 -215 174 b -202 173 -209 174 -205 173 b -114 86 -200 172 -179 151 b -28 0 -66 37 -28 0 b 40 84 -28 0 2 37 b 117 174 111 173 110 172 b 122 174 118 174 119 174 b 132 173 125 174 129 173 b 295 11 134 172 171 134 l 307 -1 l 336 34 b 374 76 366 72 368 74 b 381 77 375 77 378 77 b 401 56 392 77 401 68 b 400 48 401 54 401 51 b 223 -172 397 41 230 -166 b 210 -176 220 -174 215 -176 b 201 -174 206 -176 204 -176 b 112 -87 198 -173 178 -152 b 27 0 65 -38 27 0 b -42 -86 27 0 -4 -38 b -118 -174 -112 -174 -111 -173 b -123 -176 -119 -176 -121 -176 b -133 -174 -126 -176 -130 -174 b -296 -12 -136 -173 -172 -137 l -308 0 l -337 -34 b -375 -77 -367 -73 -370 -76 b -382 -79 -377 -79 -379 -79 b -402 -58 -393 -79 -402 -69 b -401 -49 -402 -55 -402 -52 b -224 172 -398 -43 -228 167 b -219 173 -223 172 -220 173 "},v1f:{x_min:-340.28125,x_max:338.921875,ha:346,o:"m -32 520 b -29 521 -31 520 -31 521 b -23 519 -27 521 -24 520 b -20 513 -21 517 -20 516 b -21 506 -20 512 -20 509 b -31 474 -23 502 -27 488 l -53 402 l -66 352 l -68 349 l -57 349 b -32 351 -51 349 -40 351 b 123 370 19 352 74 359 b 137 371 127 370 133 371 b 170 356 152 371 164 366 b 171 355 170 355 170 355 b 216 366 174 355 183 358 b 280 378 268 377 266 377 b 287 378 283 378 284 378 b 332 349 307 378 322 369 b 338 319 336 341 338 330 b 332 301 338 310 336 302 b 242 280 329 299 246 280 b 242 280 242 280 242 280 b 235 288 236 280 235 283 b 235 292 235 290 235 291 b 236 302 236 297 236 299 b 220 337 236 316 230 330 l 216 340 l 210 335 b 159 276 189 322 172 301 b 118 149 152 265 156 274 b 81 34 84 36 85 36 b -8 13 78 33 -4 13 b -8 13 -8 13 -8 13 b -14 20 -12 15 -14 15 b -8 44 -14 24 -12 31 b -2 66 -5 55 -2 65 b -2 66 -2 66 -2 66 l -2 66 b -43 41 -2 66 -21 55 b -114 4 -98 8 -98 8 b -144 0 -123 0 -134 0 b -242 99 -197 0 -242 43 b -242 109 -242 102 -242 105 b -212 219 -240 122 -242 116 b -185 312 -197 270 -185 312 l -185 312 b -189 312 -185 312 -186 312 b -259 312 -200 312 -227 312 b -321 310 -291 312 -310 310 b -334 312 -330 310 -334 312 b -340 319 -338 313 -340 316 b -336 326 -340 322 -338 324 b -291 337 -334 326 -314 331 l -247 347 l -210 348 b -172 348 -190 348 -172 348 b -168 363 -172 348 -171 355 b -145 442 -151 424 -145 441 b -133 452 -144 444 -140 446 l -77 489 b -32 520 -53 506 -32 520 m 57 334 b 53 335 55 335 54 335 b 44 334 50 335 49 335 b -70 316 8 326 -28 320 b -78 309 -78 316 -78 316 b -108 202 -80 305 -88 274 b -141 81 -136 112 -141 93 b -140 74 -141 79 -141 77 b -117 49 -137 59 -127 49 b -107 52 -114 49 -110 51 b 16 127 -106 54 14 126 b 42 217 16 127 42 215 b 49 241 42 222 44 229 b 73 320 53 251 73 317 b 57 334 73 327 65 333 "},v20:{x_min:-571.671875,x_max:570.3125,ha:582,o:"m -559 351 b -551 352 -556 352 -553 352 b -530 338 -543 352 -533 348 b -529 169 -530 337 -529 291 l -529 1 l -507 27 l -441 112 b -382 174 -394 169 -390 174 b -378 174 -381 174 -379 174 b -281 86 -370 174 -375 179 b -196 0 -234 37 -196 0 b -126 84 -196 0 -164 37 b -50 174 -55 173 -57 172 b -44 174 -49 174 -47 174 b -35 173 -42 174 -38 173 b 53 86 -32 172 -12 151 b 138 0 100 37 138 0 b 208 84 140 0 170 37 b 284 174 279 173 279 172 b 289 174 285 174 288 174 b 300 173 294 174 298 173 b 462 11 303 172 340 134 l 475 -1 l 503 34 b 541 76 534 72 536 74 b 548 77 544 77 545 77 b 570 56 560 77 570 68 b 567 48 570 54 568 51 b 392 -172 564 41 397 -166 b 378 -176 387 -174 382 -176 b 368 -174 375 -176 371 -176 b 280 -87 367 -173 347 -152 b 194 0 234 -38 194 0 b 126 -86 194 0 163 -38 b 49 -174 54 -174 55 -173 b 44 -176 47 -176 46 -176 b 34 -174 40 -176 36 -174 b -54 -87 31 -173 10 -152 b -140 0 -102 -38 -140 0 b -209 -86 -140 0 -171 -38 b -285 -174 -280 -174 -279 -173 b -291 -176 -287 -176 -288 -176 b -300 -174 -294 -176 -298 -174 b -464 -11 -303 -173 -374 -102 l -476 0 l -506 -37 b -539 -76 -528 -65 -537 -74 b -551 -80 -543 -79 -547 -80 b -570 -68 -558 -80 -566 -76 l -571 -65 l -571 136 b -570 340 -571 331 -571 337 b -559 351 -568 344 -564 348 "},v22:{x_min:0,x_max:432.828125,ha:442,o:"m 209 186 b 213 187 210 187 212 187 b 216 187 215 187 216 187 b 224 174 216 186 220 180 b 420 -1 269 105 338 43 b 432 -12 431 -8 432 -9 b 421 -23 432 -15 432 -16 b 228 -180 345 -70 264 -137 b 219 -188 221 -188 221 -188 l 219 -188 b 208 -177 215 -188 215 -188 b 10 1 163 -106 93 -44 b 0 11 0 6 0 8 b 10 22 0 13 0 15 b 202 179 87 69 167 136 b 209 186 206 183 209 186 "},v23:{x_min:0,x_max:133.390625,ha:136,o:"m 54 66 b 65 68 58 68 61 68 b 122 37 88 68 110 56 b 133 -1 130 26 133 12 b 104 -58 133 -23 123 -44 b 66 -69 92 -65 78 -69 b 10 -38 44 -69 23 -58 b 0 -1 2 -27 0 -13 b 54 66 0 30 20 61 "},v25:{x_min:0,x_max:318.5,ha:325,o:"m 20 376 b 167 377 23 377 96 377 b 296 376 231 377 294 377 b 318 347 311 371 318 359 b 296 316 318 333 311 320 b 159 315 294 315 227 315 b 21 316 91 315 24 315 b 0 345 6 320 0 333 b 20 376 0 359 6 371 "},v26:{x_min:-21.78125,x_max:483.1875,ha:493,o:"m -8 631 b -1 632 -6 632 -4 632 b 19 620 8 632 16 628 b 20 383 20 616 20 616 l 20 148 l 21 151 b 140 199 59 183 102 199 b 206 179 164 199 187 192 l 210 176 l 210 396 l 210 617 l 212 621 b 231 632 216 628 223 632 b 250 620 239 632 247 628 b 251 383 251 616 251 616 l 251 148 l 254 151 b 370 199 291 183 332 199 b 415 191 385 199 400 197 b 483 84 458 176 483 134 b 461 0 483 58 476 29 b 332 -142 439 -40 411 -72 l 255 -215 b 231 -229 240 -229 239 -229 b 216 -223 224 -229 220 -227 b 210 -158 210 -217 210 -223 b 210 -120 210 -148 210 -136 l 210 -29 l 205 -34 b 100 -142 182 -65 159 -88 l 23 -215 b -1 -229 9 -229 6 -229 b -20 -216 -9 -229 -17 -224 l -21 -212 l -21 201 l -21 616 l -20 620 b -8 631 -17 624 -13 630 m 110 131 b 96 133 106 133 100 133 b 89 133 93 133 91 133 b 24 87 63 129 40 113 l 20 80 l 20 -37 l 20 -156 l 23 -152 b 144 81 96 -72 144 20 l 144 83 b 110 131 144 113 134 126 m 341 131 b 328 133 337 133 332 133 b 322 133 326 133 323 133 b 257 87 296 129 273 113 l 251 80 l 251 -37 l 251 -156 l 255 -152 b 375 81 328 -72 375 20 l 375 83 b 341 131 375 113 367 126 "},v27:{x_min:0,x_max:432.828125,ha:442,o:"m 208 184 b 213 187 209 186 212 187 b 224 176 217 187 221 183 b 245 147 225 172 235 159 b 419 -1 288 90 347 38 b 431 -8 424 -4 431 -8 b 432 -12 432 -9 432 -11 b 430 -18 432 -13 432 -16 b 364 -61 424 -20 383 -47 b 225 -183 307 -102 250 -152 b 223 -187 224 -184 223 -187 b 220 -188 221 -188 220 -188 b 208 -176 216 -188 210 -184 b 187 -148 205 -173 197 -159 b 12 0 144 -90 84 -38 b 0 11 4 5 0 8 b 16 24 0 13 4 18 b 183 158 83 69 141 115 b 208 184 194 169 198 173 m 183 105 b 176 113 181 109 176 113 b 172 109 176 113 175 112 b 92 45 149 90 117 62 l 88 41 l 102 31 b 247 -105 160 -6 210 -55 l 254 -115 l 257 -112 l 269 -102 b 340 -45 287 -87 319 -61 l 344 -43 l 330 -33 b 183 105 272 6 221 54 "},v28:{x_min:-73.5,x_max:72.140625,ha:74,o:"m -72 252 l -73 254 l 0 254 l 72 254 l 70 252 b 0 -1 70 248 0 -1 b -72 252 -1 -1 -72 248 "},v29:{x_min:-590.71875,x_max:589.359375,ha:601,o:"m 175 273 b 182 274 178 273 181 274 b 202 262 190 274 198 269 b 204 158 204 259 204 259 l 204 56 l 250 112 b 303 174 296 172 298 172 b 308 174 304 174 307 174 b 318 173 313 174 317 173 b 481 11 322 172 357 134 l 494 -1 l 522 34 b 560 76 553 72 555 74 b 567 77 563 77 564 77 b 589 56 579 77 589 68 b 586 48 589 54 588 51 b 411 -172 583 41 416 -166 b 397 -176 406 -174 401 -176 b 387 -174 393 -176 390 -176 b 299 -87 386 -173 366 -152 b 213 0 253 -38 213 0 b 208 -6 213 0 210 -2 l 204 -12 l 204 -147 b 204 -210 204 -173 204 -194 b 198 -292 204 -297 204 -287 b 183 -299 194 -297 189 -299 b 164 -287 175 -299 167 -295 b 163 -174 163 -284 163 -284 l 161 -63 l 119 -117 b 65 -176 76 -170 73 -176 b 61 -176 63 -176 62 -176 b -35 -87 51 -174 57 -180 b -121 0 -83 -38 -121 0 b -190 -86 -122 0 -152 -38 b -266 -174 -261 -174 -259 -173 b -272 -176 -268 -176 -270 -176 b -281 -174 -276 -176 -280 -174 b -371 -86 -284 -173 -304 -152 b -457 0 -417 -38 -457 0 l -457 0 b -477 -26 -457 0 -470 -16 b -548 -227 -524 -88 -548 -161 b -536 -303 -548 -254 -544 -280 b -533 -317 -534 -309 -533 -313 b -553 -338 -533 -330 -541 -338 b -577 -315 -566 -338 -571 -333 b -590 -227 -586 -287 -590 -258 b -518 -9 -590 -154 -564 -77 b -465 56 -509 2 -504 8 l -402 134 b -363 174 -374 170 -371 174 b -359 174 -362 174 -360 174 b -262 86 -351 174 -356 179 b -176 0 -216 37 -176 0 b -107 84 -176 0 -145 37 b -31 174 -36 173 -38 172 b -25 174 -29 174 -28 174 b -16 173 -23 174 -19 173 b 147 11 -13 172 35 123 l 157 -1 l 160 1 l 163 4 l 163 130 b 164 260 163 256 163 258 b 175 273 166 266 170 270 "},v2a:{x_min:-21.78125,x_max:366.140625,ha:374,o:"m 276 1378 b 284 1379 279 1379 281 1379 b 306 1360 292 1379 298 1374 b 352 1247 326 1326 343 1286 b 366 1139 362 1213 366 1175 b 347 1009 366 1093 359 1049 l 344 1002 l 347 992 b 352 971 348 986 351 977 b 366 863 362 936 366 899 b 347 732 366 818 359 773 l 344 725 l 347 716 b 352 695 348 710 351 700 b 366 588 362 659 366 623 b 223 262 366 464 314 345 b 189 233 212 252 212 252 b 35 76 126 183 73 129 b -1 16 20 56 2 27 b -19 4 -4 9 -12 4 l -21 4 l -21 137 l -21 270 l -17 270 b 186 344 59 281 134 308 b 319 606 270 399 319 499 b 317 650 319 620 319 635 l 315 659 l 314 655 b 223 537 288 607 258 570 b 189 509 212 528 212 528 b 35 352 126 459 73 405 b -1 292 20 333 2 303 b -19 280 -4 285 -12 280 l -21 280 l -21 413 l -21 546 l -17 546 b 186 620 59 557 134 584 b 319 882 270 675 319 775 b 317 925 319 896 319 911 l 315 935 l 314 931 b 223 813 288 884 258 846 b 189 785 212 805 212 805 b 35 628 126 735 73 681 b -1 569 20 609 2 580 b -19 556 -4 562 -12 556 l -21 556 l -21 689 l -21 823 l -17 823 b 202 907 68 835 152 867 b 319 1157 280 968 319 1061 b 270 1338 319 1218 303 1281 b 262 1358 264 1349 262 1353 b 262 1364 262 1360 262 1363 b 276 1378 265 1371 269 1376 "},v2c:{x_min:-597.53125,x_max:596.171875,ha:608,o:"m -413 173 b -408 174 -412 174 -409 174 b -397 173 -404 174 -400 173 b -308 86 -394 172 -374 151 b -223 0 -261 37 -223 0 b -153 84 -223 0 -191 37 b -77 174 -83 173 -84 172 b -72 174 -76 174 -74 174 b -62 173 -68 174 -63 173 b 25 86 -59 172 -39 151 b 112 0 73 37 111 0 b 181 84 112 0 144 37 b 257 174 251 173 251 172 b 262 174 258 174 261 174 b 273 173 266 174 270 173 b 436 9 276 172 347 101 l 447 -1 l 477 36 b 522 79 511 79 513 79 l 522 79 b 552 51 533 79 539 73 b 596 -112 582 6 596 -51 b 567 -262 596 -161 586 -213 b 539 -322 558 -287 544 -316 b 524 -327 534 -326 529 -327 b 504 -315 515 -327 507 -323 b 503 -308 503 -312 503 -309 b 511 -285 503 -302 504 -297 b 555 -113 540 -227 555 -169 b 544 -34 555 -86 551 -59 b 522 19 540 -16 530 8 l 521 22 l 481 -26 l 405 -122 b 353 -176 366 -172 362 -176 b 349 -176 352 -176 351 -176 b 253 -87 341 -176 347 -180 b 167 0 206 -38 167 0 b 99 -86 167 0 136 -38 b 21 -174 27 -174 28 -173 b 17 -176 20 -176 19 -176 b 6 -174 13 -176 9 -174 b -81 -87 4 -173 -14 -152 b -167 0 -129 -38 -167 0 b -236 -86 -167 0 -198 -38 b -313 -174 -307 -174 -306 -173 b -318 -176 -314 -176 -315 -176 b -328 -174 -321 -176 -325 -174 b -491 -12 -330 -173 -367 -137 l -503 0 l -530 -34 b -570 -77 -562 -73 -564 -76 b -577 -79 -571 -79 -574 -79 b -597 -58 -588 -79 -597 -69 b -596 -49 -597 -55 -597 -52 b -417 172 -593 -43 -423 167 b -413 173 -417 172 -415 173 "},v2d:{x_min:0,x_max:438.28125,ha:447,o:"m 212 190 b 219 191 213 191 216 191 b 236 176 225 191 228 190 b 419 18 277 105 341 49 b 436 5 431 13 434 11 b 438 -1 438 4 438 1 b 424 -16 438 -8 432 -13 b 356 -49 409 -20 379 -36 b 234 -180 306 -83 258 -133 b 219 -192 230 -188 224 -192 b 200 -176 213 -192 206 -187 b 9 -15 157 -102 89 -45 b 0 0 2 -12 0 -6 b 16 18 0 9 2 12 b 200 176 93 48 159 104 b 212 190 205 186 208 188 m 239 113 b 236 117 238 116 238 117 b 230 108 235 117 234 115 b 92 -15 196 58 140 8 b 88 -18 91 -16 88 -18 b 92 -20 88 -18 91 -19 b 198 -116 130 -43 166 -74 b 200 -117 200 -117 200 -117 b 201 -117 200 -117 201 -117 b 264 -43 212 -98 242 -62 b 345 15 288 -19 321 4 b 348 18 347 16 348 16 b 344 20 348 18 347 19 b 239 113 307 41 266 79 "},v2f:{x_min:-1.359375,x_max:680.5625,ha:694,o:"m 597 1042 b 604 1042 600 1042 602 1042 b 642 1002 627 1042 642 1022 b 619 966 642 988 635 974 b 439 927 574 942 503 927 l 426 927 l 426 921 b 430 838 428 893 430 866 b 345 480 430 696 398 560 b 179 391 307 423 249 391 b 156 392 171 391 164 392 b 138 394 149 394 142 394 b 103 434 115 396 103 416 b 129 471 103 451 111 466 b 141 474 133 473 137 474 b 172 459 153 474 164 469 b 181 455 175 456 176 455 b 187 456 182 455 185 455 b 253 520 212 460 234 483 b 315 836 294 605 315 714 b 311 928 315 867 314 898 b 302 945 310 943 311 942 b 245 953 283 950 262 953 b 130 891 193 953 149 931 b 84 860 119 870 102 860 b 36 905 61 860 39 877 b 36 910 36 907 36 909 b 80 970 36 931 50 949 b 249 1017 125 1000 187 1017 b 322 1009 273 1017 299 1014 l 341 1003 b 436 991 372 995 406 991 b 577 1031 495 991 545 1004 b 597 1042 583 1038 590 1041 m 416 360 b 424 360 419 360 421 360 b 481 309 454 360 479 338 b 503 145 484 280 495 199 b 585 -185 525 16 555 -106 b 630 -245 596 -213 613 -237 l 634 -247 l 638 -245 b 647 -244 641 -245 645 -244 b 680 -278 666 -244 680 -262 b 664 -308 680 -290 675 -301 b 638 -312 658 -310 650 -312 b 613 -309 631 -312 623 -310 b 477 -201 555 -303 502 -260 b 417 -2 460 -159 434 -72 b 416 5 417 1 416 5 b 416 5 416 5 416 5 b 411 -5 415 5 413 0 b 359 -97 397 -33 377 -70 b 353 -106 355 -102 353 -105 b 359 -112 353 -108 355 -109 b 409 -130 375 -123 390 -129 b 426 -134 420 -130 421 -131 b 431 -147 428 -137 431 -141 b 420 -162 431 -152 427 -159 b 382 -169 409 -166 396 -169 b 323 -155 363 -169 341 -165 l 317 -152 l 314 -155 b 62 -303 240 -240 148 -295 b 36 -305 55 -305 44 -305 b 23 -303 29 -305 24 -305 b -1 -273 6 -299 -1 -287 b 31 -240 -1 -256 10 -240 b 36 -240 32 -240 34 -240 b 42 -241 38 -241 39 -241 b 134 -204 63 -241 99 -226 b 367 288 265 -115 357 81 b 375 330 368 313 370 320 b 416 360 383 347 400 358 m 360 -359 b 379 -359 363 -359 371 -359 b 424 -360 396 -359 416 -359 b 646 -502 536 -373 624 -430 b 649 -527 649 -510 649 -519 b 530 -673 649 -578 604 -635 l 521 -677 l 529 -681 b 653 -811 592 -714 637 -762 b 660 -853 658 -827 660 -839 b 645 -911 660 -873 656 -892 b 426 -1021 608 -981 519 -1021 b 283 -989 377 -1021 328 -1011 b 235 -949 249 -972 239 -964 b 234 -936 234 -946 234 -941 b 234 -928 234 -934 234 -931 l 235 -925 l 234 -927 l 225 -934 b 87 -982 186 -966 138 -982 b 80 -982 85 -982 83 -982 b 55 -981 70 -981 58 -981 b 17 -943 32 -981 17 -964 b 54 -904 17 -921 35 -904 b 78 -914 62 -904 72 -909 l 83 -918 l 88 -918 b 190 -831 122 -918 166 -881 b 269 -506 242 -727 269 -612 b 268 -462 269 -492 269 -477 b 266 -449 266 -458 266 -452 b 265 -444 266 -445 266 -444 b 257 -446 264 -444 261 -445 b 132 -545 196 -470 152 -505 b 88 -573 122 -563 104 -573 b 39 -523 63 -573 39 -553 b 63 -476 39 -505 44 -494 b 360 -359 136 -408 235 -369 m 419 -424 b 393 -423 411 -423 406 -423 l 375 -423 l 377 -426 b 379 -439 377 -427 378 -434 b 383 -510 382 -463 383 -487 b 314 -811 383 -609 360 -710 b 266 -893 296 -850 285 -870 b 264 -898 265 -896 264 -898 l 264 -898 b 264 -898 264 -898 264 -898 b 268 -898 264 -898 266 -898 b 273 -898 270 -898 272 -898 b 300 -909 283 -898 291 -900 b 426 -957 340 -941 385 -957 b 476 -949 443 -957 460 -954 b 547 -853 522 -931 547 -893 b 485 -745 547 -816 526 -775 b 397 -707 460 -727 432 -714 b 366 -675 375 -703 366 -692 b 396 -642 366 -657 377 -645 b 530 -557 455 -637 511 -601 b 536 -527 534 -548 536 -537 b 419 -424 536 -480 490 -437 "},v30:{x_min:-21.78125,x_max:367.5,ha:375,o:"m 276 1900 b 284 1901 279 1900 281 1901 b 306 1883 291 1901 298 1896 b 367 1686 347 1825 367 1757 b 343 1558 367 1643 359 1600 l 338 1549 l 343 1537 b 367 1411 359 1497 367 1454 b 343 1282 367 1367 359 1324 l 338 1272 l 343 1261 b 367 1135 359 1221 367 1178 b 343 1007 367 1090 359 1047 l 338 996 l 343 985 b 367 859 359 945 367 902 b 343 731 367 814 359 771 l 338 720 l 343 709 b 367 582 359 667 367 626 b 289 362 367 503 340 426 b 239 312 276 345 259 330 b 29 77 152 237 76 152 b -1 18 14 54 2 30 b -19 4 -4 11 -12 4 l -21 4 l -21 133 l -20 260 l -13 262 b 98 299 17 269 62 284 b 111 305 103 302 110 305 b 167 334 123 310 156 327 b 319 595 264 391 319 491 b 313 659 319 616 318 638 b 310 667 311 664 311 667 b 307 663 310 667 308 666 b 240 588 289 637 269 614 b 16 331 141 505 62 413 b -1 294 8 316 1 302 b -19 280 -4 287 -12 280 l -21 280 l -21 408 l -20 537 l -13 538 b 98 576 17 545 62 560 b 111 581 103 578 110 581 b 167 610 123 587 156 603 b 319 871 264 667 319 767 b 313 935 319 892 318 913 b 310 942 311 941 311 942 b 307 939 310 942 308 941 b 240 864 289 913 269 889 b 16 607 141 781 62 689 b -1 570 8 592 1 578 b -19 556 -4 563 -12 556 l -21 556 l -21 684 l -20 813 l -13 814 b 98 852 17 821 62 836 b 111 857 103 855 110 857 b 167 886 123 863 156 880 b 319 1147 264 943 319 1043 b 313 1211 319 1168 318 1189 b 310 1218 311 1217 311 1218 b 307 1215 310 1218 308 1217 b 240 1140 289 1188 269 1165 b 16 884 141 1057 62 966 b -1 846 8 868 1 855 b -19 832 -4 839 -12 832 l -21 832 l -21 960 l -20 1089 l -13 1090 b 98 1128 17 1097 62 1111 b 111 1134 103 1131 110 1134 b 167 1163 123 1139 156 1156 b 319 1424 264 1220 319 1320 b 313 1486 319 1444 318 1465 b 310 1494 311 1493 311 1494 b 307 1492 310 1494 308 1493 b 240 1417 289 1464 269 1442 b 16 1160 141 1333 62 1242 b -1 1121 8 1145 1 1131 b -19 1109 -4 1115 -12 1109 l -21 1109 l -21 1236 l -20 1365 l -13 1367 b 98 1404 17 1374 62 1388 b 111 1410 103 1407 110 1410 b 250 1508 172 1437 215 1467 b 319 1701 296 1564 319 1633 b 270 1859 319 1757 303 1814 b 262 1882 265 1868 262 1875 b 276 1900 262 1890 266 1896 "},v31:{x_min:0,x_max:386.5625,ha:394,o:"m 0 173 l 0 347 l 193 347 l 386 347 l 386 173 l 386 0 l 193 0 l 0 0 l 0 173 "},v33:{x_min:-423.3125,x_max:421.9375,ha:431,o:"m -10 276 b -2 277 -8 277 -5 277 b 17 265 5 277 13 273 b 19 163 19 260 19 260 l 19 68 l 39 45 b 277 -95 122 -34 200 -81 b 289 -97 281 -97 285 -97 b 378 0 332 -97 371 -54 b 378 11 378 4 378 6 b 302 83 378 55 345 83 b 242 66 283 83 262 77 b 208 56 231 59 219 56 b 148 120 175 56 148 81 b 200 186 148 151 164 172 b 261 198 220 194 240 198 b 420 45 341 198 411 137 b 421 22 421 37 421 29 b 257 -198 421 -86 347 -188 b 242 -198 251 -198 247 -198 b 20 -105 181 -198 95 -163 l 19 -104 l 19 -183 b 19 -216 19 -195 19 -206 b 12 -273 19 -272 17 -267 b -2 -278 8 -277 2 -278 b -21 -266 -10 -278 -19 -274 b -23 -165 -23 -263 -23 -262 l -23 -69 l -44 -47 b -250 86 -117 23 -183 66 b -295 94 -270 93 -284 94 b -315 91 -302 94 -308 94 b -381 5 -356 81 -381 43 b -355 -56 -381 -16 -372 -40 b -299 -81 -338 -73 -319 -81 b -246 -68 -283 -81 -265 -77 b -212 -58 -234 -61 -223 -58 b -168 -77 -196 -58 -179 -65 b -151 -122 -156 -90 -151 -105 b -179 -174 -151 -141 -160 -162 b -239 -195 -194 -184 -217 -192 b -257 -197 -245 -195 -250 -197 b -423 -5 -349 -197 -423 -113 b -423 0 -423 -4 -423 -1 b -277 194 -420 97 -362 173 b -247 197 -268 197 -258 197 b -24 104 -185 197 -100 162 l -23 102 l -23 181 b -21 265 -23 260 -23 260 b -10 276 -20 269 -14 274 "},v34:{x_min:0,x_max:622.03125,ha:635,o:"m 398 417 b 406 419 401 419 404 419 b 427 398 417 419 427 409 b 427 391 427 395 427 392 b 34 -274 424 385 38 -272 b 20 -280 29 -278 25 -280 b 0 -259 9 -280 0 -270 b 0 -252 0 -256 0 -254 b 393 413 2 -247 389 410 b 398 417 394 415 397 416 m 592 417 b 600 419 594 419 597 419 b 622 398 611 419 622 409 b 620 391 622 395 620 392 b 227 -274 617 385 231 -272 b 213 -280 223 -278 219 -280 b 193 -259 202 -280 193 -270 b 194 -252 193 -256 193 -254 b 586 413 196 -247 582 410 b 592 417 588 415 590 416 "},v36:{x_min:-1.359375,x_max:1064.390625,ha:1086,o:"m 296 692 b 314 694 302 694 307 694 b 386 685 337 694 366 689 b 548 498 480 660 548 580 b 548 481 548 492 548 487 b 455 395 541 426 499 395 b 370 462 420 395 383 417 b 362 496 364 477 362 488 b 377 514 362 509 367 514 b 393 501 386 514 390 510 b 432 474 397 484 413 474 b 470 487 445 474 458 478 b 491 530 484 496 491 510 b 490 544 491 534 491 539 b 333 660 479 606 411 657 l 323 662 l 315 646 b 269 524 285 591 269 556 b 321 431 269 492 287 466 b 349 395 338 413 343 408 b 363 342 359 378 363 362 b 359 312 363 333 362 322 b 285 158 348 266 318 206 b 281 152 283 155 281 152 b 281 152 281 152 281 152 b 287 154 283 152 284 152 b 318 155 298 154 308 155 b 461 98 371 155 419 136 l 464 97 l 483 112 b 503 129 494 120 503 127 b 504 130 503 129 504 129 b 503 138 504 131 503 134 b 500 180 500 152 500 166 b 553 326 500 238 518 288 b 604 366 560 331 592 358 b 649 381 617 376 632 381 b 696 362 665 381 681 374 b 724 302 714 347 724 324 b 695 238 724 278 714 255 b 660 210 691 234 662 212 b 579 148 658 209 582 151 b 579 148 579 148 579 148 b 596 106 579 144 589 119 b 622 77 604 88 609 83 b 657 69 632 72 645 69 b 748 112 688 69 721 84 b 755 123 754 117 755 120 b 755 127 755 124 755 126 b 751 165 752 137 751 151 b 758 219 751 183 754 202 b 894 387 774 290 820 347 b 896 390 896 388 896 388 b 891 398 896 391 895 392 b 622 560 827 477 730 535 b 600 580 605 564 600 569 b 617 596 600 591 607 596 b 628 595 622 596 624 596 b 1057 248 846 552 1020 412 b 1064 191 1061 229 1064 209 b 922 0 1064 94 1005 9 b 902 -1 916 -1 909 -1 b 774 76 847 -1 800 26 b 769 83 770 81 770 83 b 769 81 769 83 769 83 b 627 -1 733 29 677 -1 b 548 27 597 -1 570 8 b 515 88 537 37 525 61 l 513 95 l 510 93 l 453 45 b 390 0 396 0 396 0 b 390 0 390 0 390 0 b 374 15 381 0 377 4 b 268 105 359 69 314 105 b 250 104 262 105 257 105 l 243 102 l 234 90 b 155 1 201 49 159 2 b 147 -1 152 0 149 -1 b 130 15 138 -1 130 6 b 132 20 130 18 132 19 b 136 31 133 22 134 27 b 220 131 149 74 178 109 b 231 137 225 134 230 136 b 302 278 280 202 302 244 b 265 335 302 299 295 309 b 209 442 234 363 213 402 b 209 455 209 446 209 451 b 279 648 209 502 232 564 l 285 659 l 283 659 b 176 627 238 653 210 645 b 57 477 111 594 66 538 b 55 459 55 471 55 464 b 72 409 55 437 61 415 b 93 403 78 405 87 403 b 152 467 123 403 151 431 b 168 488 153 483 157 488 b 185 462 181 488 185 483 l 185 460 b 137 344 183 409 168 369 b 78 322 119 328 98 322 b 13 360 50 322 25 335 b -1 426 4 380 -1 402 b 89 610 -1 488 32 559 b 296 692 147 659 210 685 m 926 348 b 921 353 924 351 922 353 b 914 348 920 353 918 351 b 823 167 857 306 823 237 b 828 124 823 154 826 138 b 890 31 837 79 862 40 b 896 31 892 31 894 31 b 956 104 916 31 940 59 b 970 191 965 129 970 159 b 966 241 970 208 969 224 b 926 348 959 277 945 313 m 627 326 b 619 326 624 326 622 326 b 598 316 611 326 604 323 b 568 215 579 288 568 255 b 568 208 568 213 568 210 b 571 183 570 195 570 184 l 571 183 b 594 201 571 183 582 191 l 634 231 b 660 259 653 247 656 248 b 664 278 662 266 664 272 b 627 326 664 299 649 320 "},v38:{x_min:-1.359375,x_max:651.96875,ha:665,o:"m 389 644 b 405 645 394 645 400 645 b 504 566 450 645 492 613 b 507 541 506 557 507 549 b 480 471 507 514 498 489 l 477 467 l 483 470 b 609 591 539 485 586 531 b 613 601 611 595 613 599 b 631 609 619 607 624 609 b 651 588 641 609 651 602 b 200 -946 651 584 204 -941 b 182 -957 197 -953 190 -957 b 163 -945 174 -957 166 -953 b 161 -939 161 -942 161 -942 b 217 -743 161 -931 170 -904 b 272 -555 247 -639 272 -555 b 272 -555 272 -555 272 -555 b 264 -560 272 -555 268 -557 b 140 -603 227 -589 182 -603 b 36 -567 102 -603 65 -592 b -1 -487 12 -548 -1 -517 b 17 -427 -1 -466 5 -445 b 103 -380 38 -395 70 -380 b 191 -433 137 -380 172 -398 b 205 -484 201 -448 205 -466 b 178 -553 205 -509 196 -535 l 175 -557 l 182 -555 b 307 -435 236 -539 284 -494 b 372 -213 308 -430 372 -215 b 372 -213 372 -213 372 -213 b 364 -219 372 -213 368 -216 b 240 -262 328 -247 283 -262 b 137 -226 202 -262 166 -249 b 99 -145 112 -206 99 -176 b 118 -84 99 -124 106 -104 b 204 -38 138 -54 171 -38 b 292 -91 238 -38 273 -56 b 306 -141 302 -106 306 -124 b 279 -212 306 -167 296 -194 l 276 -215 l 281 -213 b 408 -93 336 -198 385 -151 b 473 129 409 -88 473 127 b 473 129 473 129 473 129 b 465 122 473 129 469 126 b 341 80 428 94 383 80 b 236 115 303 80 266 91 b 200 195 213 136 200 165 b 217 256 200 217 206 238 b 304 303 239 287 272 303 b 393 249 338 303 374 285 b 406 199 402 234 406 217 b 379 129 406 173 397 148 l 377 126 l 382 127 b 509 248 436 142 485 190 b 574 470 510 254 574 469 b 574 470 574 470 574 470 b 566 464 574 470 570 467 b 442 421 529 435 484 421 b 337 458 404 421 367 433 b 300 537 313 478 300 508 b 389 644 300 585 334 635 "},v39:{x_min:-171.5,x_max:251.8125,ha:257,o:"m -8 631 b -1 632 -6 632 -4 632 b 19 620 8 632 16 628 b 20 553 20 616 20 614 b 20 491 20 503 20 491 l 20 491 b 153 535 47 501 149 535 b 174 514 167 535 174 524 b 164 496 174 508 171 501 b 92 470 164 495 132 484 l 20 445 l 20 390 b 20 363 20 378 20 370 b 20 333 20 340 20 333 l 20 333 b 153 377 47 344 149 377 b 174 356 167 377 174 367 b 164 338 174 349 171 342 b 92 312 164 338 132 326 l 20 288 l 20 219 l 20 148 l 21 151 b 137 199 59 183 99 199 b 182 191 152 199 167 197 b 251 84 227 176 251 134 b 228 0 251 58 243 29 b 100 -142 206 -40 178 -72 l 23 -215 b -1 -229 9 -229 6 -229 b -20 -216 -9 -229 -17 -224 b -21 30 -21 -212 -21 -212 b -21 273 -21 163 -21 273 b -84 252 -21 273 -50 263 b -152 230 -133 234 -145 230 b -157 231 -155 230 -156 231 b -171 252 -166 234 -171 244 b -160 270 -171 259 -167 266 b -27 316 -159 270 -93 294 l -21 319 l -21 374 b -21 431 -21 406 -21 431 b -84 409 -21 431 -50 421 b -152 388 -133 392 -145 388 b -157 390 -155 388 -156 388 b -171 409 -166 392 -171 401 b -160 428 -171 417 -167 424 b -27 474 -159 428 -93 451 l -21 476 l -21 546 b -20 620 -21 614 -21 616 b -8 631 -17 624 -13 630 m 110 131 b 96 133 106 133 100 133 b 89 133 93 133 91 133 b 24 87 63 129 40 113 l 20 80 l 20 -37 l 20 -156 l 23 -152 b 144 81 96 -72 144 20 l 144 83 b 110 131 144 113 134 126 "},v3b:{x_min:0,x_max:484.5625,ha:494,o:"m 228 245 b 239 247 234 247 239 247 b 243 247 240 247 242 247 b 303 238 257 247 287 242 b 484 -2 417 208 484 104 b 412 -177 484 -65 461 -127 b 243 -248 363 -226 303 -248 b 6 -63 138 -248 36 -180 b 0 -1 1 -41 0 -20 b 228 245 0 127 98 240 m 255 181 b 240 183 247 183 245 183 b 232 181 238 183 235 183 b 142 152 200 180 168 170 l 138 149 l 190 97 l 242 44 l 294 97 l 345 149 l 340 152 b 255 181 315 169 284 180 m 147 -54 l 197 -1 l 147 51 l 95 104 l 91 99 b 62 -1 72 70 62 34 b 66 -43 62 -15 63 -29 b 91 -101 72 -63 80 -84 l 95 -106 l 147 -54 m 393 99 b 389 104 390 102 389 104 b 337 51 389 104 366 80 l 285 -1 l 337 -54 l 389 -106 l 393 -101 b 421 -1 412 -72 421 -36 b 393 99 421 34 412 69 m 294 -98 b 242 -45 265 -69 242 -45 b 190 -98 242 -45 219 -69 l 138 -151 l 142 -154 b 242 -184 172 -174 206 -184 b 340 -154 276 -184 311 -174 l 345 -151 l 294 -98 "},v3c:{x_min:0,x_max:450.53125,ha:460,o:"m 189 302 b 204 303 193 302 198 303 b 303 224 250 303 292 270 b 306 199 304 216 306 208 b 279 129 306 173 296 147 l 276 126 l 281 127 b 408 249 337 142 385 190 b 412 259 409 254 412 258 b 430 267 417 265 423 267 b 450 247 441 267 450 259 b 200 -605 450 242 204 -599 b 182 -616 197 -612 190 -616 b 163 -602 174 -616 166 -610 b 161 -598 161 -601 161 -601 b 217 -402 161 -589 170 -562 b 272 -213 247 -298 272 -213 b 272 -213 272 -213 272 -213 b 264 -219 272 -213 268 -216 b 140 -262 227 -247 182 -262 b 36 -226 102 -262 65 -249 b 0 -145 12 -206 0 -176 b 17 -84 0 -124 5 -104 b 103 -38 38 -54 70 -38 b 191 -91 137 -38 172 -56 b 205 -141 201 -106 205 -124 b 178 -212 205 -167 196 -194 l 175 -215 l 182 -213 b 307 -93 236 -198 284 -151 b 372 129 308 -88 372 127 b 372 129 372 129 372 129 b 364 122 372 129 368 126 b 240 80 328 94 283 80 b 137 115 202 80 166 91 b 99 194 111 136 99 165 b 189 302 99 244 133 292 "},v3e:{x_min:0,x_max:406.96875,ha:415,o:"m 21 183 b 28 183 24 183 25 183 b 42 181 34 183 39 183 b 127 108 47 179 47 179 b 202 41 168 72 202 41 b 279 108 204 41 238 72 b 357 177 321 145 356 176 b 375 183 363 181 370 183 b 406 151 392 183 406 169 b 404 137 406 147 405 141 b 322 62 401 131 398 129 b 251 0 284 27 251 0 b 322 -63 251 -1 284 -29 b 404 -138 398 -130 401 -133 b 406 -152 405 -142 406 -148 b 375 -184 406 -170 392 -184 b 357 -179 370 -184 363 -183 b 279 -109 356 -177 321 -147 b 202 -43 238 -73 204 -43 b 127 -109 202 -43 168 -73 b 49 -179 85 -147 50 -177 b 31 -184 43 -183 36 -184 b 0 -152 13 -184 0 -170 b 2 -138 0 -148 0 -142 b 83 -63 5 -133 8 -130 b 155 0 122 -29 155 -1 b 83 62 155 0 122 27 b 8 129 43 97 10 127 b 0 151 2 136 0 144 b 21 183 0 165 8 177 "},v3f:{x_min:-24.5,x_max:317.140625,ha:324,o:"m -24 -147 l -24 -5 l -20 -5 b -1 -19 -12 -5 -4 -11 b 58 -123 6 -43 31 -86 b 196 -278 93 -173 134 -219 b 317 -570 274 -356 317 -460 b 294 -713 317 -617 308 -666 l 289 -724 l 294 -735 b 317 -873 308 -780 317 -827 b 235 -1132 317 -963 288 -1054 b 209 -1165 228 -1140 224 -1146 b 189 -1177 204 -1172 196 -1177 b 171 -1164 182 -1177 175 -1172 b 168 -1154 170 -1161 168 -1159 b 181 -1132 168 -1149 172 -1142 b 269 -891 238 -1064 269 -975 b 269 -881 269 -886 269 -884 b 262 -814 269 -857 265 -827 b 258 -800 261 -811 259 -806 b 142 -628 240 -731 198 -667 b -8 -589 112 -606 47 -589 b -20 -589 -13 -589 -19 -589 l -24 -589 l -24 -449 l -24 -308 l -20 -308 b -1 -322 -12 -308 -4 -313 b 58 -424 6 -345 31 -388 b 194 -580 93 -476 136 -523 b 259 -660 221 -606 245 -635 b 261 -663 259 -662 261 -663 b 264 -656 262 -663 262 -660 b 269 -587 268 -632 269 -610 b 264 -521 269 -566 268 -544 b 262 -512 264 -517 262 -513 b 258 -498 261 -509 259 -503 b 142 -326 240 -428 198 -365 b -8 -287 112 -303 47 -288 b -20 -287 -13 -287 -19 -287 l -24 -287 l -24 -147 "},v40:{x_min:-1.359375,x_max:436.921875,ha:446,o:"m 213 205 b 217 205 215 205 216 205 b 234 194 224 205 234 199 b 236 187 234 194 235 190 l 245 167 l 261 129 l 270 106 b 355 -61 294 54 329 -13 b 420 -163 381 -105 402 -138 b 436 -188 435 -184 436 -184 b 436 -191 436 -190 436 -190 b 421 -206 436 -201 431 -206 l 421 -206 l 416 -206 l 405 -201 b 217 -158 347 -172 283 -158 b 31 -201 153 -158 88 -172 l 20 -206 l 14 -206 l 14 -206 b 0 -191 5 -206 0 -201 b -1 -188 0 -190 -1 -190 b 14 -163 -1 -186 0 -184 b 95 -34 36 -136 72 -77 b 166 106 119 8 148 68 l 175 129 l 183 148 l 200 188 b 213 205 205 199 208 202 "},v41:{x_min:-1.359375,x_max:556.6875,ha:568,o:"m 294 322 b 318 323 299 322 308 323 b 360 320 334 323 352 322 b 526 217 430 310 490 273 b 543 166 537 202 543 184 b 447 70 543 117 503 70 b 445 70 447 70 446 70 b 359 159 394 72 359 113 b 368 201 359 173 362 187 b 442 245 382 229 412 245 b 455 244 446 245 451 245 b 460 244 458 244 460 244 b 460 244 460 244 460 244 b 454 248 460 244 458 245 b 325 291 417 276 372 291 b 285 287 313 291 299 290 b 144 -2 183 269 144 190 b 281 -290 144 -208 179 -280 b 304 -291 289 -291 298 -291 b 524 -105 412 -291 506 -212 b 541 -84 526 -88 530 -84 b 556 -101 551 -84 556 -90 b 549 -138 556 -111 553 -122 b 334 -322 521 -237 435 -310 b 302 -324 323 -323 313 -324 b 13 -101 172 -324 54 -234 b -1 -1 4 -68 -1 -34 b 294 322 -1 161 121 303 "},v42:{x_min:-348.4375,x_max:24.5,ha:25,o:"m -330 155 b -322 156 -329 156 -326 156 b -315 156 -319 156 -317 156 b -298 147 -311 155 -308 154 b -19 30 -224 98 -122 55 l 2 26 b 24 -1 17 22 24 13 b 2 -27 24 -15 17 -23 l -19 -31 b -298 -148 -122 -56 -224 -99 b -322 -158 -313 -158 -315 -158 b -348 -131 -338 -158 -348 -145 b -344 -117 -348 -127 -347 -122 b -328 -104 -341 -112 -338 -111 b -127 -8 -269 -65 -202 -33 b -106 0 -115 -4 -106 -1 b -127 6 -106 0 -115 2 b -328 102 -202 31 -269 63 b -344 116 -338 109 -341 111 b -348 130 -347 120 -348 124 b -330 155 -348 141 -341 152 "},v43:{x_min:-442.359375,x_max:441,ha:450,o:"m -31 487 b -1 488 -21 488 -10 488 b 434 104 216 488 397 330 b 441 27 438 79 441 47 b 439 12 441 20 439 15 b 419 0 435 4 427 0 b 404 5 413 0 408 1 b 398 30 400 11 398 13 b 0 351 390 213 213 351 b -59 348 -20 351 -39 349 b -400 30 -251 324 -393 191 b -405 5 -400 13 -401 11 b -420 0 -409 1 -415 0 b -441 12 -428 0 -436 4 b -442 27 -441 15 -442 20 b -435 104 -442 47 -439 79 b -31 487 -401 316 -235 474 m -13 131 b -1 133 -9 133 -5 133 b 51 105 19 133 39 123 b 61 70 58 95 61 83 b 51 34 61 58 58 45 b -1 6 39 16 19 6 b -46 27 -17 6 -34 13 b -62 69 -57 38 -62 54 b -13 131 -62 98 -44 124 "},v44:{x_min:-21.78125,x_max:251.8125,ha:257,o:"m -8 631 b -1 632 -6 632 -4 632 b 19 620 8 632 16 628 b 20 383 20 616 20 616 l 20 148 l 21 151 b 137 199 59 183 99 199 b 182 191 152 199 167 197 b 251 84 227 176 251 134 b 228 0 251 58 243 29 b 100 -142 206 -40 178 -72 l 23 -215 b 0 -229 9 -229 6 -229 b -20 -216 -9 -229 -17 -224 l -21 -212 l -21 201 l -21 616 l -20 620 b -8 631 -17 624 -13 630 m 110 131 b 96 133 106 133 100 133 b 89 133 93 133 91 133 b 24 87 63 129 40 113 l 20 80 l 20 -37 l 20 -156 l 23 -152 b 144 81 96 -72 144 20 l 144 83 b 110 131 144 113 134 126 "},v45:{x_min:-402.890625,x_max:401.53125,ha:410,o:"m -10 273 b -4 274 -9 273 -6 274 b 16 262 4 274 12 269 b 17 158 17 259 17 259 l 17 56 l 62 112 b 117 174 110 172 110 172 b 122 174 118 174 119 174 b 132 173 125 174 129 173 b 295 11 134 172 171 134 l 307 -1 l 336 34 b 374 76 366 72 368 74 b 381 77 375 77 378 77 b 401 56 392 77 401 68 b 400 48 401 54 401 51 b 223 -172 397 41 230 -166 b 210 -176 220 -174 215 -176 b 201 -174 206 -176 204 -176 b 112 -87 198 -173 178 -152 b 27 0 65 -38 27 0 b 21 -6 27 0 24 -2 l 17 -12 l 17 -147 b 17 -210 17 -173 17 -194 b 10 -292 17 -297 16 -287 b -2 -299 6 -297 2 -299 b -21 -287 -10 -299 -19 -295 b -24 -174 -23 -284 -23 -284 l -24 -63 l -66 -117 b -121 -176 -110 -170 -114 -176 b -125 -176 -122 -176 -123 -176 b -296 -12 -134 -174 -125 -184 l -308 0 l -337 -34 b -375 -77 -367 -73 -370 -76 b -382 -79 -377 -79 -379 -79 b -402 -58 -393 -79 -402 -69 b -401 -49 -402 -55 -402 -52 b -224 170 -398 -43 -231 165 b -212 174 -221 173 -216 174 b -202 173 -208 174 -205 174 b -39 11 -200 172 -151 122 l -28 -1 l -25 1 l -24 4 l -24 130 b -23 260 -24 256 -24 258 b -10 273 -20 266 -16 270 "},v46:{x_min:0,x_max:627.46875,ha:640,o:"m 306 190 b 314 191 308 191 311 191 b 326 184 318 191 322 190 l 336 173 b 510 52 377 127 442 80 b 515 49 513 51 515 49 b 611 16 537 40 579 24 b 627 0 624 13 627 9 b 607 -18 627 -11 624 -13 b 330 -181 490 -49 389 -109 b 314 -192 323 -190 319 -192 b 306 -191 311 -192 308 -192 b 294 -177 302 -188 302 -188 b 257 -140 287 -170 265 -148 b 19 -18 193 -84 114 -44 b 0 0 2 -13 0 -11 b 16 16 0 9 2 13 b 110 49 47 24 89 40 b 117 52 111 49 114 51 b 145 65 126 56 130 58 b 281 163 200 93 245 124 b 300 186 288 170 291 174 b 306 190 300 187 303 188 m 317 137 b 313 142 315 141 314 142 b 308 137 313 142 311 141 b 161 4 276 84 220 33 b 155 0 159 1 155 0 b 163 -4 155 0 159 -2 b 308 -138 220 -34 276 -84 b 313 -142 311 -141 313 -142 b 317 -138 314 -142 315 -141 b 464 -4 351 -84 406 -34 b 470 0 468 -2 470 0 b 464 4 470 0 468 1 b 317 137 406 33 351 84 "},v47:{x_min:-24.5,x_max:315.78125,ha:322,o:"m -24 -145 l -24 -5 l -20 -5 b 1 -26 -10 -5 -6 -9 b 175 -241 31 -86 96 -166 b 314 -548 259 -323 304 -420 b 315 -589 315 -555 315 -571 b 314 -630 315 -606 315 -623 b 298 -730 311 -664 306 -699 l 295 -742 l 296 -748 b 314 -850 304 -778 311 -813 b 315 -892 315 -857 315 -874 b 314 -932 315 -909 315 -925 b 298 -1032 311 -967 306 -1002 l 295 -1045 l 296 -1050 b 314 -1153 304 -1081 311 -1115 b 315 -1193 315 -1160 315 -1177 b 314 -1235 315 -1211 315 -1228 b 217 -1526 306 -1338 270 -1444 b 201 -1533 213 -1532 208 -1533 b 182 -1522 193 -1533 185 -1529 b 179 -1514 181 -1518 179 -1517 b 189 -1489 179 -1508 182 -1501 b 266 -1217 240 -1403 266 -1308 b 262 -1156 266 -1196 265 -1177 b 110 -907 247 -1043 190 -950 b 0 -889 87 -895 50 -889 l -1 -889 l -24 -889 l -24 -749 l -24 -610 l -20 -610 b 1 -631 -10 -610 -6 -614 b 175 -846 31 -691 96 -771 b 259 -956 213 -884 236 -914 b 265 -966 262 -961 264 -966 b 265 -966 265 -966 265 -966 b 265 -953 265 -964 265 -959 b 266 -920 266 -943 266 -932 b 262 -853 266 -898 265 -873 b 110 -605 247 -741 190 -648 b 0 -587 87 -592 50 -587 l -1 -587 l -24 -587 l -24 -448 l -24 -308 l -20 -308 b 1 -328 -10 -308 -6 -312 b 175 -544 31 -388 96 -469 b 259 -655 213 -581 236 -612 b 265 -663 262 -659 264 -663 b 265 -663 265 -663 265 -663 b 265 -650 265 -663 265 -657 b 266 -617 266 -641 266 -630 b 262 -551 266 -595 265 -570 b 110 -303 247 -438 190 -345 b 0 -284 87 -290 50 -284 l -1 -284 l -24 -284 l -24 -145 "},v49:{x_min:0,x_max:630.203125,ha:643,o:"m 308 204 b 314 205 310 205 313 205 b 326 201 319 205 323 204 b 355 154 328 199 338 180 b 401 83 362 142 392 95 l 409 72 b 431 41 412 66 424 49 b 619 -174 498 -51 570 -134 b 630 -192 626 -180 630 -186 b 626 -202 630 -195 628 -199 b 616 -206 623 -205 620 -206 b 552 -188 608 -206 592 -202 b 310 -155 488 -169 392 -155 b 268 -156 295 -155 281 -155 b 77 -188 197 -161 126 -173 b 13 -206 35 -202 20 -206 b 9 -206 12 -206 10 -206 b 0 -191 2 -202 0 -197 b 8 -176 0 -186 2 -180 b 204 49 58 -136 138 -43 l 220 72 l 227 83 b 295 188 245 108 281 166 b 308 204 299 197 304 202 m 315 147 b 314 147 315 147 314 147 b 314 147 314 147 314 147 b 306 129 314 145 310 138 l 296 105 b 281 72 292 97 284 77 l 274 56 b 181 -123 247 -4 212 -72 l 174 -134 l 176 -133 b 314 -123 215 -127 272 -123 b 451 -133 356 -123 413 -127 l 454 -134 l 449 -123 b 353 56 417 -72 381 -4 l 347 72 b 332 105 344 77 336 97 l 322 129 b 315 147 318 138 315 145 "},v4a:{x_min:70.78125,x_max:378.390625,ha:315,o:"m 246 373 b 254 373 249 373 251 373 b 372 324 303 373 360 351 b 378 302 377 317 378 309 b 338 251 378 278 362 255 b 328 249 334 249 332 249 b 283 294 303 249 283 270 b 288 315 283 301 284 308 b 289 319 289 317 289 319 b 289 319 289 319 289 319 b 283 320 289 320 287 320 b 270 322 279 322 274 322 b 206 288 242 322 215 308 b 206 283 206 287 206 285 b 257 223 206 267 230 238 b 284 206 272 213 277 210 b 351 90 328 173 351 130 b 340 47 351 74 348 59 b 205 -30 314 -2 264 -30 b 182 -29 198 -30 190 -30 b 84 15 147 -24 103 -5 b 70 48 74 24 70 36 b 108 99 70 70 85 94 b 121 102 112 101 117 102 b 167 56 147 102 167 80 b 159 31 167 48 164 40 l 156 26 l 157 26 b 190 20 167 22 178 20 b 220 26 201 20 212 22 b 258 65 243 34 258 51 b 257 70 258 66 258 69 b 204 126 249 94 234 109 b 114 258 148 158 114 209 b 125 302 114 273 118 288 b 246 373 147 342 193 370 "},v4b:{x_min:0,x_max:503.609375,ha:514,o:"m 274 430 b 277 430 276 430 277 430 b 310 394 296 430 310 415 b 308 383 310 391 308 387 b 306 367 307 381 307 374 b 236 120 298 305 272 210 b 40 -273 189 -5 125 -134 b 20 -287 35 -283 27 -287 b 5 -281 14 -287 9 -285 b 0 -267 1 -277 0 -273 b 9 -242 0 -262 2 -255 b 246 395 137 -12 232 242 b 274 430 249 416 257 427 m 468 430 b 472 430 469 430 470 430 b 503 394 490 430 503 415 b 502 383 503 391 503 387 b 499 367 502 381 500 374 b 431 120 491 305 465 210 b 234 -273 382 -5 318 -134 b 213 -287 228 -283 220 -287 b 198 -281 208 -287 202 -285 b 193 -267 194 -277 193 -273 b 202 -242 193 -262 196 -255 b 439 395 330 -12 426 242 b 468 430 442 416 451 427 "},v4d:{x_min:-311.6875,x_max:310.328125,ha:317,o:"m -9 388 b -2 390 -8 390 -5 390 b 5 388 1 390 4 390 b 19 378 10 387 16 383 b 23 333 23 371 23 371 b 24 298 23 299 24 298 b 81 276 34 298 65 285 b 213 91 145 240 190 177 b 224 24 217 76 224 36 b 257 24 224 24 235 24 b 299 19 292 24 292 24 b 310 -1 306 15 310 6 b 299 -23 310 -11 306 -19 b 257 -27 292 -27 292 -27 b 224 -29 235 -27 224 -29 b 213 -95 224 -40 217 -80 b 81 -280 190 -181 145 -244 b 24 -301 65 -290 34 -301 b 23 -335 24 -301 23 -303 l 23 -340 b 17 -381 23 -374 23 -374 b -1 -391 13 -388 5 -391 b -21 -381 -9 -391 -17 -388 b -27 -340 -27 -374 -27 -374 l -27 -335 b -28 -301 -27 -303 -27 -301 b -85 -280 -38 -301 -69 -290 b -217 -95 -149 -244 -194 -181 b -228 -29 -221 -80 -228 -40 b -259 -27 -228 -29 -238 -27 b -300 -23 -294 -27 -294 -27 b -311 -2 -307 -19 -311 -11 b -294 23 -311 8 -304 19 b -259 24 -291 23 -284 24 b -228 24 -239 24 -228 24 b -217 91 -228 36 -221 76 b -85 276 -194 177 -149 240 b -28 298 -69 285 -38 298 b -27 333 -27 298 -27 299 b -27 371 -27 362 -27 369 b -9 388 -24 378 -17 385 m -27 136 b -28 247 -27 197 -28 247 b -61 216 -31 247 -53 226 b -123 33 -95 172 -121 98 l -125 24 l -76 24 l -27 24 l -27 136 m 29 242 b 24 247 27 245 24 247 b 23 136 24 247 23 197 l 23 24 l 72 24 l 121 24 l 119 33 b 29 242 115 116 77 206 m -27 -140 l -27 -27 l -76 -27 l -125 -27 l -123 -36 b -61 -220 -121 -102 -95 -176 b -28 -251 -53 -230 -31 -251 b -27 -140 -28 -251 -27 -201 m 119 -36 l 121 -27 l 72 -27 l 23 -27 l 23 -140 b 24 -251 23 -201 24 -251 b 57 -220 27 -251 49 -230 b 119 -36 91 -176 117 -102 "},v4e:{x_min:0,x_max:239.5625,ha:244,o:"m 10 460 b 20 462 13 462 14 462 b 39 449 28 462 35 458 l 40 446 l 40 326 b 40 205 40 259 40 205 b 127 227 40 205 80 215 b 220 249 196 244 213 249 b 227 247 224 249 225 248 b 238 237 231 245 235 241 l 239 233 l 239 -106 l 239 -448 l 238 -451 b 219 -463 234 -459 225 -463 b 198 -451 210 -463 202 -459 l 197 -448 l 197 -324 b 197 -201 197 -248 197 -201 b 110 -223 196 -201 157 -210 b 17 -245 42 -240 24 -245 b 10 -242 13 -245 13 -244 b 0 -233 6 -241 2 -237 l 0 -230 l 0 108 l 0 446 l 0 449 b 10 460 2 453 6 458 m 197 22 b 197 70 197 41 197 58 b 196 116 197 113 197 116 l 196 116 b 118 97 196 116 160 106 l 40 77 l 40 -18 b 40 -112 40 -69 40 -112 l 119 -93 l 197 -73 l 197 22 "},v51:{x_min:-1.359375,x_max:455.96875,ha:465,o:"m 352 541 b 357 542 353 542 355 542 b 377 530 364 542 372 537 l 378 526 l 378 394 l 379 262 l 404 266 b 436 270 420 269 430 270 b 450 265 443 270 446 269 b 455 220 455 259 455 260 l 455 208 l 455 161 l 454 156 b 411 140 449 147 447 147 b 378 133 393 137 379 134 b 378 68 378 133 378 106 b 378 22 378 54 378 38 l 379 -87 l 404 -83 b 436 -79 420 -80 430 -79 b 450 -84 443 -79 446 -80 b 455 -129 455 -90 455 -88 l 455 -141 l 455 -188 l 454 -192 b 413 -209 449 -202 447 -202 b 382 -215 398 -212 383 -215 l 378 -215 l 378 -345 l 378 -380 b 375 -485 378 -484 378 -480 b 357 -494 371 -491 364 -494 b 340 -485 351 -494 344 -491 b 336 -383 337 -480 336 -484 l 336 -349 l 336 -223 l 334 -223 b 291 -231 334 -223 314 -227 l 247 -240 l 247 -371 l 246 -503 l 245 -506 b 225 -519 242 -514 234 -519 b 206 -506 219 -519 210 -514 l 205 -503 l 205 -376 l 205 -248 l 160 -256 l 115 -265 l 115 -396 l 115 -527 l 114 -531 b 95 -544 110 -539 102 -544 b 76 -531 87 -544 78 -539 l 73 -527 l 73 -399 b 73 -273 73 -330 73 -273 b 49 -277 73 -273 61 -274 b 17 -281 32 -280 24 -281 b 4 -276 10 -281 8 -280 b -1 -234 0 -269 -1 -272 b 0 -219 -1 -229 0 -224 l 0 -170 l 1 -167 b 10 -158 2 -163 6 -159 b 49 -149 13 -156 16 -155 l 73 -145 l 73 -34 b 73 76 73 26 73 76 b 49 72 73 76 61 74 b 17 68 32 69 24 68 b 4 73 10 68 8 69 b -1 115 0 80 -1 77 b 0 130 -1 120 0 124 l 0 179 l 1 181 b 10 191 2 186 6 190 b 49 199 13 192 16 194 l 73 204 l 73 338 b 73 374 73 352 73 365 b 77 483 73 484 73 477 b 95 492 81 489 88 492 b 111 483 100 492 107 489 b 115 378 115 477 115 483 l 115 342 b 117 212 115 223 115 212 b 204 229 117 212 200 227 l 205 229 l 205 365 l 205 502 l 206 505 b 225 517 210 513 219 517 b 245 505 234 517 242 513 l 246 502 l 247 369 l 247 237 l 249 237 b 336 254 253 238 336 254 b 337 390 336 254 337 302 l 337 526 l 338 530 b 352 541 341 535 347 539 m 336 15 b 336 126 336 102 336 126 l 336 126 b 291 117 336 126 315 122 l 247 109 l 247 -1 l 247 -112 l 249 -112 b 336 -95 253 -111 336 -95 b 336 15 336 -95 336 -56 m 205 -120 b 205 -55 205 -120 205 -93 b 205 -9 205 -41 205 -24 l 205 101 l 160 93 l 115 84 l 115 -26 b 115 -83 115 -49 115 -69 b 117 -137 115 -133 115 -137 b 205 -120 118 -137 204 -120 "},v52:{x_min:-10.890625,x_max:298.078125,ha:294,o:"m 138 473 b 142 474 140 473 141 474 b 164 459 148 474 153 470 b 191 402 183 442 191 423 b 181 353 191 388 187 371 b 178 349 179 352 178 349 b 179 348 178 348 179 348 b 185 349 181 348 182 348 b 255 376 210 355 234 363 b 272 381 264 381 266 381 b 298 355 287 381 298 370 b 288 330 298 348 298 345 b 171 34 238 254 194 141 b 166 13 168 16 168 16 b 144 1 161 5 152 1 b 121 15 134 1 125 5 b 115 33 119 18 117 24 b 0 330 91 145 49 252 b -10 355 -9 345 -10 348 b 13 381 -10 371 0 381 b 31 376 19 381 25 380 b 132 345 61 358 103 345 l 136 345 l 137 355 b 145 378 138 359 142 370 b 152 415 149 394 152 405 b 137 452 152 427 148 438 b 133 464 134 458 133 460 b 138 473 133 467 134 470 "},v53:{x_min:0,x_max:902.421875,ha:921,o:"m 17 240 b 24 241 19 241 21 241 b 32 240 28 241 31 241 b 46 229 38 238 43 234 b 50 88 50 223 50 237 b 50 -1 50 63 50 34 b 50 -90 50 -36 50 -65 b 46 -231 50 -238 50 -224 b 25 -242 42 -238 34 -242 b 0 -224 14 -242 4 -235 b 0 2 0 -222 0 -108 b 0 223 0 112 0 220 b 17 240 2 230 9 237 m 110 240 b 118 241 111 241 114 241 b 126 240 121 241 123 241 b 142 223 133 237 140 230 b 144 123 144 220 144 205 b 144 29 144 45 144 29 b 144 29 144 29 144 29 b 393 183 166 106 264 167 b 450 186 412 184 431 186 b 756 29 600 186 732 120 b 756 29 756 29 756 29 b 758 123 758 29 758 45 b 760 227 758 226 758 223 b 784 241 766 237 774 241 b 804 229 792 241 800 237 b 809 88 808 223 809 237 l 809 -1 l 809 -90 b 804 -231 809 -238 808 -224 b 784 -242 800 -238 792 -242 b 762 -231 775 -242 766 -238 b 758 -124 756 -224 758 -231 b 756 -30 758 -47 758 -30 b 756 -30 756 -30 756 -30 b 509 -184 736 -108 637 -169 b 450 -187 488 -187 469 -187 b 144 -30 300 -187 168 -122 b 144 -30 144 -30 144 -30 b 144 -124 144 -30 144 -47 b 140 -231 144 -231 144 -224 b 118 -242 134 -238 126 -242 b 92 -224 107 -242 96 -235 b 92 2 92 -222 92 -108 b 92 223 92 112 92 220 b 110 240 95 230 102 237 m 432 161 b 413 162 426 162 420 162 b 313 41 351 162 313 109 b 347 -73 313 5 323 -34 b 487 -163 385 -133 439 -163 b 578 -97 526 -163 562 -142 b 588 -43 585 -80 588 -62 b 432 161 588 47 518 147 m 868 240 b 876 241 869 241 872 241 b 884 240 879 241 882 241 b 898 229 890 238 894 234 b 902 88 902 223 902 237 l 902 -1 l 902 -90 b 898 -231 902 -238 902 -224 b 876 -242 892 -238 884 -242 b 852 -224 865 -242 854 -235 b 850 2 850 -222 850 -108 b 852 223 850 112 850 220 b 868 240 853 230 860 237 "},v54:{x_min:-24.5,x_max:317.140625,ha:324,o:"m -24 -161 l -24 -5 l -20 -5 b 0 -24 -9 -5 -2 -12 b 171 -315 21 -124 84 -233 b 317 -660 268 -406 317 -531 b 187 -1014 317 -782 274 -909 b 161 -1034 172 -1034 171 -1034 b 141 -1013 149 -1034 141 -1025 b 152 -991 141 -1004 142 -1002 b 266 -682 228 -899 266 -788 b 174 -430 266 -588 236 -498 b -23 -317 136 -388 66 -348 b -24 -161 -23 -316 -24 -285 "},v55:{x_min:0,x_max:551.25,ha:563,o:"m 289 644 b 304 645 294 645 299 645 b 404 566 349 645 392 613 b 406 541 405 557 406 549 b 379 471 406 514 397 489 l 377 467 l 382 470 b 509 591 438 485 485 531 b 513 601 510 595 513 599 b 530 609 518 607 524 609 b 551 588 540 609 551 602 b 200 -605 551 584 204 -599 b 182 -616 197 -612 190 -616 b 163 -602 174 -616 166 -610 b 161 -598 161 -601 161 -601 b 217 -402 161 -589 170 -562 b 272 -213 247 -298 272 -213 b 272 -213 272 -213 272 -213 b 264 -219 272 -213 268 -216 b 140 -262 227 -247 182 -262 b 36 -226 102 -262 65 -249 b 0 -145 12 -206 0 -176 b 17 -84 0 -124 5 -104 b 103 -38 38 -54 70 -38 b 191 -91 137 -38 172 -56 b 205 -141 201 -106 205 -124 b 178 -212 205 -167 196 -194 l 175 -215 l 182 -213 b 307 -93 236 -198 284 -151 b 372 129 308 -88 372 127 b 372 129 372 129 372 129 b 364 122 372 129 368 126 b 240 80 328 94 283 80 b 137 115 202 80 166 91 b 99 195 112 136 99 165 b 118 256 99 217 106 238 b 204 303 138 287 171 303 b 292 249 238 303 273 285 b 306 199 302 234 306 217 b 279 129 306 173 296 148 l 276 126 l 281 127 b 408 248 336 142 385 190 b 473 470 409 254 473 469 b 473 470 473 470 473 470 b 465 464 473 470 469 467 b 341 421 428 435 383 421 b 236 458 303 421 266 433 b 200 537 212 478 200 508 b 289 644 200 585 234 635 "},v58:{x_min:-21.78125,x_max:367.5,ha:375,o:"m 259 1553 b 265 1553 261 1553 264 1553 b 288 1540 272 1553 277 1550 b 367 1351 340 1493 367 1424 b 336 1221 367 1308 357 1263 l 332 1211 l 333 1208 b 367 1077 356 1170 367 1124 b 336 945 367 1032 357 986 l 332 935 l 333 932 b 367 800 356 893 367 848 b 336 669 367 756 357 710 l 332 659 l 333 656 b 367 523 356 617 367 571 b 345 412 367 485 360 446 b 231 273 322 356 284 310 b -1 19 121 195 27 93 b -17 4 -4 11 -10 5 l -21 4 l -21 134 l -21 265 l -17 265 b 133 291 20 265 96 278 b 318 537 245 328 318 433 b 307 603 318 559 315 582 b 303 614 304 612 304 614 b 298 609 302 614 300 613 b 231 549 281 589 258 567 b -1 295 121 471 27 369 b -17 280 -4 287 -10 281 l -21 280 l -21 410 l -21 541 l -17 541 b 133 567 20 541 96 555 b 318 813 245 605 318 709 b 307 880 318 835 315 859 b 303 891 304 888 304 891 b 298 885 302 891 300 888 b 231 825 281 866 258 843 b -1 571 121 748 27 645 b -17 556 -4 563 -10 557 l -21 556 l -21 687 l -21 817 l -17 817 b 133 843 20 817 96 830 b 318 1089 245 881 318 985 b 307 1156 318 1111 315 1134 b 303 1167 304 1164 304 1167 b 298 1161 302 1167 300 1164 b 231 1102 281 1140 258 1120 b -1 848 121 1024 27 921 b -17 832 -4 839 -10 834 l -21 832 l -21 963 l -21 1093 l -17 1093 b 114 1113 12 1093 78 1103 b 313 1314 215 1142 289 1218 b 318 1364 317 1331 318 1347 b 255 1511 318 1422 295 1478 b 243 1532 247 1519 243 1525 b 259 1553 243 1540 250 1550 "},v59:{x_min:0,x_max:464.140625,ha:474,o:"m 0 0 l 0 347 l 76 347 l 153 347 l 153 0 l 153 -348 l 76 -348 l 0 -348 l 0 0 m 308 -1 l 308 347 l 386 347 l 464 347 l 464 -1 l 464 -348 l 386 -348 l 308 -348 l 308 -1 "},v5a:{x_min:-171.5,x_max:170.140625,ha:174,o:"m -6 566 b 0 567 -5 567 -2 567 b 14 556 6 567 12 563 b 92 285 14 555 50 433 b 170 13 166 33 170 19 b 168 13 170 13 170 13 b 161 1 168 8 167 4 l 159 0 l 122 0 l 84 0 l 81 1 b 21 195 76 5 78 -5 b -32 381 -8 297 -32 381 b -87 197 -32 381 -57 298 b -141 8 -115 94 -140 9 b -155 0 -142 2 -149 0 b -171 15 -163 0 -171 5 b -14 556 -171 18 -24 528 b -6 566 -14 560 -10 564 "},v5b:{x_min:-441,x_max:439.640625,ha:449,o:"m -428 -2 b -421 0 -427 -1 -424 0 b -406 -6 -416 0 -409 -2 b -400 -31 -401 -12 -400 -15 b -1 -352 -392 -215 -215 -352 b 58 -349 19 -352 38 -351 b 398 -31 250 -326 392 -192 b 404 -6 398 -15 400 -12 b 419 -1 408 -2 413 -1 b 439 -13 427 -1 435 -5 b 439 -29 439 -16 439 -22 b 434 -105 439 -48 438 -80 b 0 -489 397 -333 213 -489 b -68 -484 -23 -489 -44 -488 b -441 -36 -280 -452 -436 -263 b -441 -30 -441 -34 -441 -31 b -428 -2 -441 -11 -439 -5 m -13 -9 b -1 -8 -9 -8 -5 -8 b 50 -36 19 -8 39 -19 b 61 -72 57 -47 61 -59 b 50 -106 61 -84 57 -97 b -1 -134 39 -124 19 -134 b -46 -115 -17 -134 -34 -129 b -62 -72 -57 -102 -62 -87 b -13 -9 -62 -44 -44 -16 "},v5c:{x_min:0,x_max:447.8125,ha:457,o:"m 0 -87 l 0 0 l 223 0 l 447 0 l 447 -87 l 447 -174 l 223 -174 l 0 -174 l 0 -87 "},v5d:{x_min:-1.359375,x_max:592.078125,ha:604,o:"m 280 692 b 295 694 283 692 289 694 b 310 692 300 694 307 692 b 357 630 340 684 357 657 b 336 580 357 612 351 594 b 311 538 321 566 311 549 b 352 492 311 512 330 492 b 366 495 357 492 362 492 b 397 553 390 503 397 517 b 415 603 397 576 402 591 b 460 623 427 617 443 623 b 509 599 479 623 498 614 b 522 559 518 587 522 573 b 494 506 522 538 513 519 b 451 495 481 498 473 496 b 415 488 432 495 426 494 b 394 449 404 483 394 464 b 394 448 394 448 394 448 l 394 440 l 397 433 b 428 409 404 420 413 413 b 438 408 431 408 435 408 b 479 431 450 408 462 415 b 528 455 495 448 510 455 b 548 452 534 455 541 453 b 592 391 577 442 592 416 b 549 331 592 365 577 340 b 528 327 541 328 534 327 b 479 351 510 327 495 335 b 438 374 464 367 450 374 b 417 369 431 374 424 373 b 394 333 402 360 394 348 b 400 312 394 326 396 319 b 451 287 408 294 420 288 b 513 258 484 285 499 278 b 522 223 519 247 522 234 b 461 159 522 190 496 159 b 449 161 457 159 453 159 b 397 229 416 167 397 191 b 366 288 397 265 390 278 b 352 290 362 290 357 290 b 315 262 336 290 321 280 b 311 245 313 256 311 251 b 334 204 311 233 318 220 b 355 170 348 190 351 184 b 357 152 356 166 357 159 b 355 136 357 147 356 140 b 295 88 345 104 321 88 b 232 152 264 88 232 112 b 255 204 232 174 238 186 b 279 244 273 222 279 231 l 279 245 b 238 290 279 270 259 290 b 224 288 234 290 228 290 b 193 229 200 278 193 265 b 141 161 193 191 174 167 b 129 159 137 159 133 159 b 68 223 93 159 68 190 b 77 258 68 234 70 247 b 138 287 91 278 106 285 b 185 302 166 287 175 291 b 196 333 193 312 196 323 b 174 369 196 347 187 360 b 152 374 166 373 159 374 b 111 351 140 374 126 367 b 62 327 95 335 80 327 b 51 328 58 327 54 327 b -1 391 16 334 -1 363 b 53 455 -1 420 17 449 b 62 455 57 455 59 455 b 111 431 80 455 95 448 b 152 408 127 415 140 408 b 161 409 155 408 159 408 b 193 433 176 413 186 420 l 196 440 l 196 448 b 196 451 196 449 196 449 b 190 471 196 459 194 463 b 137 495 182 489 167 495 l 134 495 l 134 495 b 68 560 95 495 68 521 b 129 623 68 596 95 623 b 144 621 134 623 138 623 b 193 553 175 614 193 589 b 224 495 193 517 200 503 b 238 492 228 492 234 492 b 279 538 259 492 279 512 b 254 580 279 549 269 566 b 232 630 239 594 232 612 b 280 692 232 657 250 684 m 307 456 b 295 458 303 458 299 458 b 230 391 258 458 230 426 b 236 360 230 381 231 371 b 295 324 249 337 272 324 b 353 360 318 324 341 337 b 360 391 357 370 360 381 b 307 456 360 421 340 451 "},v60:{x_min:-590.71875,x_max:589.359375,ha:601,o:"m -367 173 b -362 174 -366 174 -364 174 b -351 173 -357 174 -353 173 b -262 86 -348 172 -328 151 b -176 0 -216 37 -176 0 b -107 84 -176 0 -145 37 b -31 174 -36 173 -38 172 b -25 174 -29 174 -28 174 b -16 173 -23 174 -19 173 b 72 86 -13 172 6 151 b 157 0 119 37 157 0 b 227 84 159 0 189 37 b 303 174 298 173 296 172 b 308 174 304 174 307 174 b 318 173 313 174 317 173 b 481 11 322 172 357 134 l 494 -1 l 522 34 b 560 76 553 72 555 74 b 567 77 563 77 564 77 b 589 56 579 77 589 68 b 586 48 589 54 588 51 b 411 -172 583 41 416 -166 b 397 -176 406 -174 401 -176 b 387 -174 393 -176 390 -176 b 299 -87 386 -173 366 -152 b 213 0 253 -38 213 0 b 144 -86 213 0 182 -38 b 68 -174 73 -174 74 -173 b 62 -176 66 -176 65 -176 b 53 -174 59 -176 55 -174 b -35 -87 50 -173 29 -152 b -121 0 -83 -38 -121 0 b -190 -86 -122 0 -152 -38 b -266 -174 -261 -174 -259 -173 b -272 -176 -268 -176 -270 -176 b -281 -174 -276 -176 -280 -174 b -371 -86 -284 -173 -304 -152 b -457 0 -417 -38 -457 0 l -457 0 b -477 -26 -457 0 -470 -16 b -548 -227 -524 -88 -548 -161 b -536 -303 -548 -254 -544 -280 b -533 -317 -534 -309 -533 -313 b -553 -338 -533 -330 -541 -338 b -577 -315 -566 -338 -571 -333 b -590 -227 -586 -287 -590 -258 b -518 -9 -590 -154 -564 -77 b -465 56 -509 2 -504 8 l -402 134 b -367 173 -375 169 -372 172 "},v62:{x_min:46.28125,x_max:669.671875,ha:563,o:"m 183 376 b 189 376 185 376 187 376 b 212 374 197 376 208 376 b 265 337 234 369 253 355 b 274 317 268 331 273 320 b 274 316 274 317 274 316 b 280 323 276 316 276 319 b 311 358 288 337 299 348 b 319 366 315 360 318 365 b 356 376 326 373 340 376 b 382 371 364 376 374 374 b 428 337 400 366 417 352 b 436 317 431 331 436 320 b 438 316 436 317 436 316 b 442 323 438 316 439 319 b 475 358 451 337 462 348 b 483 366 477 360 481 365 b 518 376 488 373 503 376 b 544 373 528 376 536 376 b 604 285 579 360 604 326 b 597 249 604 273 601 258 b 543 63 596 247 544 70 b 541 54 543 61 541 55 b 540 44 540 51 540 47 b 552 23 540 33 545 23 b 552 23 552 23 552 23 b 647 126 586 29 627 72 b 658 138 651 136 653 138 b 660 138 660 138 660 138 b 669 129 666 137 669 136 b 654 88 669 122 665 109 b 562 -12 631 43 602 9 l 549 -19 b 521 -27 540 -24 530 -27 b 447 30 490 -27 458 -4 b 443 58 445 38 443 48 b 450 93 443 72 446 84 b 504 278 453 97 504 272 b 507 288 506 283 506 287 b 509 298 507 292 509 295 b 491 326 509 310 502 320 b 487 327 490 327 488 327 b 479 324 484 327 483 326 b 441 270 462 316 443 288 b 435 249 441 265 436 254 b 398 127 434 248 419 195 b 362 4 379 61 362 5 b 328 -1 359 -1 362 -1 b 314 -1 323 -1 319 -1 b 302 -1 310 -1 306 -1 b 266 4 266 -1 269 -1 b 265 6 265 5 265 5 b 303 144 265 13 272 34 b 343 278 325 216 343 276 b 344 288 343 281 344 285 b 345 298 345 291 345 295 b 330 326 345 310 340 320 b 323 327 328 327 325 327 b 317 324 322 327 321 326 b 279 270 300 316 281 288 b 273 249 279 265 274 254 b 236 127 272 248 255 195 b 200 4 216 61 200 5 b 164 -1 197 -1 198 -1 b 151 -1 161 -1 156 -1 b 140 -1 147 -1 142 -1 b 103 4 104 -1 106 -1 b 103 6 103 5 103 5 b 141 144 103 13 108 34 b 181 278 161 216 179 276 b 182 288 181 281 181 285 b 183 298 182 291 183 295 b 168 324 183 310 178 320 b 160 327 166 326 163 327 b 141 320 156 327 151 324 b 69 230 112 305 85 272 b 57 215 65 217 62 215 b 55 215 57 215 55 215 b 46 224 49 215 46 217 b 59 260 46 231 50 242 b 151 363 81 306 112 341 b 161 369 155 365 160 367 b 183 376 166 371 174 374 "},v68:{x_min:-597.53125,x_max:596.171875,ha:608,o:"m -533 324 b -525 327 -530 326 -528 327 b -504 305 -514 327 -504 317 b -504 305 -504 305 -504 305 b -513 284 -504 299 -504 299 b -556 112 -541 226 -556 167 b -545 33 -556 84 -552 58 b -524 -20 -541 15 -532 -9 l -522 -23 l -491 15 l -413 111 b -355 174 -367 169 -363 174 b -351 174 -353 174 -352 174 b -254 86 -343 174 -348 179 b -168 -1 -208 37 -168 -1 b -100 84 -168 -1 -137 37 b -23 173 -28 173 -29 172 b -19 174 -21 174 -20 174 b -8 173 -14 174 -10 173 b 155 11 -5 172 43 123 l 166 -1 l 168 1 l 170 4 l 170 130 b 171 260 170 256 170 258 b 191 274 175 269 183 274 b 205 267 196 274 201 272 b 212 158 212 262 210 273 l 212 56 l 257 112 b 311 173 304 172 304 172 b 317 174 313 174 314 174 b 326 173 319 174 323 173 b 490 11 329 172 366 134 l 502 -1 l 530 34 b 568 76 560 72 563 74 b 575 77 570 77 573 77 b 596 56 586 77 596 68 b 594 48 596 54 596 51 b 417 -172 592 41 424 -166 b 405 -176 415 -174 409 -176 b 396 -174 401 -176 398 -176 b 307 -87 393 -173 372 -152 b 221 -1 259 -38 221 -1 b 216 -6 221 -1 219 -2 l 212 -12 l 212 -147 b 212 -210 212 -173 212 -194 b 205 -292 212 -297 210 -287 b 191 -299 201 -297 196 -299 b 172 -287 183 -299 175 -295 b 170 -174 171 -284 171 -284 l 170 -63 l 127 -117 b 73 -176 84 -170 80 -176 b 68 -176 72 -176 70 -176 b -27 -87 59 -174 65 -180 b -114 0 -74 -38 -112 0 b -182 -86 -114 0 -145 -38 b -258 -174 -253 -174 -253 -173 b -264 -176 -259 -176 -262 -176 b -274 -174 -268 -176 -272 -174 b -438 -11 -277 -173 -348 -102 l -449 0 l -479 -37 b -524 -80 -513 -80 -514 -80 l -524 -80 b -553 -52 -534 -80 -540 -74 b -597 109 -583 -8 -597 48 b -560 280 -597 165 -585 224 b -533 324 -548 310 -540 322 "},v6c:{x_min:-1.359375,x_max:193.28125,ha:197,o:"m 78 233 b 87 233 81 233 84 233 b 187 140 132 233 174 195 b 193 102 190 127 193 115 b 43 -113 193 22 136 -62 b 27 -119 36 -116 31 -119 b 19 -108 21 -119 19 -115 b 29 -97 19 -102 20 -101 b 102 13 73 -72 102 -27 b 92 51 102 26 98 40 l 91 54 l 84 54 b 8 104 53 54 21 74 b -1 142 1 116 -1 130 b 78 233 -1 187 31 227 "},v6d:{x_min:-590.71875,x_max:589.359375,ha:601,o:"m 544 335 b 553 337 548 337 551 337 b 575 313 563 337 570 330 b 589 226 583 285 589 256 b 517 8 589 152 563 76 b 464 -58 507 -4 503 -9 l 401 -136 b 362 -176 372 -172 370 -176 b 357 -176 360 -176 359 -176 b 261 -87 349 -174 355 -180 b 175 0 215 -38 175 0 b 106 -86 175 0 144 -38 b 29 -174 35 -174 36 -173 b 24 -176 28 -176 27 -176 b 14 -174 21 -176 17 -174 b -73 -87 12 -173 -8 -152 b -159 0 -121 -38 -159 0 b -228 -86 -160 0 -190 -38 b -304 -174 -299 -174 -298 -173 b -310 -176 -306 -176 -308 -176 b -319 -174 -314 -176 -318 -174 b -483 -12 -323 -173 -359 -137 l -495 0 l -524 -34 b -562 -77 -553 -73 -556 -76 b -568 -79 -564 -79 -566 -79 b -590 -58 -581 -79 -590 -69 b -588 -49 -590 -55 -589 -52 b -412 170 -585 -43 -417 165 b -398 174 -408 173 -402 174 b -389 173 -394 174 -392 174 b -300 86 -387 172 -366 151 b -215 -1 -254 37 -215 -1 b -145 84 -215 -1 -183 37 b -69 173 -74 173 -76 172 b -63 174 -68 174 -66 174 b -54 173 -61 174 -57 173 b 34 86 -51 172 -31 151 b 119 -1 81 37 119 -1 b 189 84 121 -1 151 37 b 265 173 259 173 258 172 b 270 174 266 174 269 174 b 280 173 274 174 279 173 b 370 84 283 172 303 151 b 455 -1 416 37 455 -1 l 455 -1 b 476 24 455 -1 469 15 b 547 226 522 87 547 159 b 534 302 547 252 543 278 b 532 317 533 308 532 313 b 544 335 532 326 536 333 "},v6f:{x_min:-80.3125,x_max:78.9375,ha:81,o:"m 63 191 b 69 192 65 192 66 192 b 77 188 72 192 76 191 b 78 183 78 187 78 186 b 74 158 78 179 77 172 l 66 115 b 9 -161 49 30 10 -158 b -10 -187 6 -172 -1 -181 b -34 -194 -17 -191 -25 -194 b -80 -147 -58 -194 -80 -174 b -80 -141 -80 -144 -80 -142 b 9 70 -80 -134 -73 -117 l 49 163 b 63 191 59 188 61 190 "},v70:{x_min:0,x_max:436.921875,ha:446,o:"m 213 190 b 217 191 215 191 216 191 b 231 184 223 191 228 188 b 249 154 240 167 246 159 b 419 18 292 91 348 45 b 436 -1 435 11 436 8 b 424 -16 436 -9 434 -13 b 308 -87 394 -26 340 -59 b 231 -186 276 -117 257 -142 b 219 -192 228 -191 225 -192 b 198 -174 209 -192 208 -191 b 47 -33 161 -113 110 -63 b 10 -16 34 -26 17 -19 b 0 -1 2 -13 0 -9 b 17 18 0 8 1 11 b 198 173 95 48 156 101 b 213 190 206 187 208 188 "},v72:{x_min:-423.3125,x_max:421.9375,ha:431,o:"m -262 197 b -247 197 -257 197 -253 197 b -118 162 -210 197 -163 184 b 40 45 -61 134 -13 98 b 277 -95 119 -33 200 -81 b 289 -97 281 -97 285 -97 b 378 0 332 -97 371 -55 b 378 11 378 4 378 6 b 302 83 378 55 345 83 b 242 66 283 83 262 77 b 208 56 231 59 219 56 b 148 120 175 56 148 81 b 201 186 148 151 164 172 b 261 198 220 194 240 198 b 420 45 341 198 411 136 b 421 22 421 37 421 29 b 245 -199 421 -93 338 -199 b 238 -198 243 -199 240 -199 b -44 -47 148 -194 50 -141 b -250 86 -114 22 -183 66 b -295 94 -270 91 -283 94 b -315 91 -302 94 -307 94 b -381 4 -356 81 -381 43 b -355 -56 -381 -18 -372 -40 b -298 -81 -338 -73 -319 -81 b -246 -68 -283 -81 -265 -77 b -212 -58 -234 -61 -223 -58 b -178 -69 -200 -58 -189 -62 b -151 -122 -160 -81 -151 -101 b -171 -167 -151 -138 -157 -155 b -239 -195 -185 -181 -213 -192 b -257 -197 -245 -197 -250 -197 b -423 -5 -352 -197 -423 -109 b -412 65 -423 16 -419 40 b -262 197 -389 137 -329 188 "},v74:{x_min:-206.890625,x_max:428.75,ha:438,o:"m 389 -351 b 394 -351 390 -351 393 -351 b 428 -385 413 -351 428 -367 b 428 -394 428 -388 428 -391 b 394 -428 426 -406 421 -410 l 332 -473 l 269 -516 l 205 -560 l 141 -603 l 77 -648 l 13 -692 l -50 -737 l -114 -780 l -145 -802 b -171 -813 -157 -810 -163 -813 b -175 -813 -172 -813 -174 -813 b -206 -777 -194 -811 -206 -795 b -202 -760 -206 -771 -205 -766 b -87 -675 -197 -752 -206 -757 l -34 -639 l 83 -557 l 145 -514 l 209 -470 l 272 -427 b 389 -351 375 -356 381 -352 "},v75:{x_min:-149.71875,x_max:148.359375,ha:151,o:"m -137 381 b -130 383 -134 383 -133 383 b -111 371 -122 383 -114 378 b -55 224 -110 370 -85 305 b 0 80 -25 145 -1 80 b 54 224 0 80 24 145 b 112 377 114 384 110 373 b 127 384 118 381 122 384 b 148 362 138 384 148 374 l 148 356 l 83 183 b 16 9 47 88 17 11 b -1 0 12 2 5 0 b -14 5 -5 0 -10 1 b -84 183 -19 9 -13 -6 l -149 356 l -149 362 b -137 381 -149 371 -145 378 "},v78:{x_min:0,x_max:193.28125,ha:197,o:"m 85 514 b 95 517 88 517 89 517 b 114 505 103 517 110 513 l 115 502 l 115 376 b 115 249 115 306 115 249 b 141 258 117 249 127 252 l 167 266 l 172 266 b 190 254 181 265 187 262 l 193 251 l 193 202 l 193 188 b 187 147 193 149 191 152 b 147 130 183 142 182 141 l 115 119 l 115 9 b 115 -99 115 -51 115 -99 b 141 -91 115 -99 127 -95 b 171 -81 166 -81 167 -81 l 171 -81 b 191 -94 181 -81 189 -87 b 193 -142 191 -97 193 -120 b 191 -195 193 -167 191 -194 b 125 -227 187 -205 187 -204 l 115 -230 l 115 -366 l 115 -503 l 114 -506 b 95 -519 110 -514 102 -519 b 74 -506 87 -519 78 -514 l 73 -503 l 73 -374 b 73 -245 73 -260 73 -245 b 73 -245 73 -245 73 -245 b 55 -252 72 -245 63 -249 l 32 -260 b 19 -263 27 -262 23 -263 b 4 -256 13 -263 8 -260 b 0 -215 0 -251 0 -254 b 0 -199 0 -210 0 -206 l 0 -152 l 1 -149 b 8 -140 2 -145 5 -141 b 42 -127 9 -140 24 -133 l 73 -116 l 73 -5 b 73 23 73 4 73 15 b 73 105 73 70 73 105 b 49 97 73 105 61 101 b 17 88 32 91 23 88 b 4 95 10 88 8 91 b 0 137 0 101 0 98 b 0 151 0 141 0 145 l 0 199 l 1 202 b 43 224 5 212 5 212 l 73 234 l 73 367 l 73 502 l 74 505 b 85 514 77 509 81 513 "},v79:{x_min:-1.359375,x_max:899.703125,ha:918,o:"m 307 349 b 332 351 315 351 323 351 b 443 340 367 351 408 347 b 741 47 607 306 720 195 b 744 0 743 31 744 16 b 660 -303 744 -90 713 -206 b 28 -755 534 -531 304 -695 b 14 -756 23 -755 19 -756 b -1 -741 4 -756 -1 -750 b 21 -720 -1 -731 1 -728 b 567 -56 337 -601 548 -344 b 568 -11 568 -41 568 -24 b 442 285 568 129 525 233 b 325 319 406 308 367 319 b 93 177 232 319 137 266 b 84 154 91 170 84 155 b 84 154 84 154 84 154 b 88 156 84 154 85 155 b 159 177 110 170 134 177 b 257 134 194 177 231 162 b 294 41 281 108 294 73 b 171 -97 294 -24 246 -90 b 156 -98 166 -97 161 -98 b 6 74 73 -98 6 -22 b 6 80 6 76 6 79 b 307 349 10 223 141 340 m 839 215 b 845 216 841 216 842 216 b 862 213 852 216 860 215 b 899 163 887 206 899 184 b 872 117 899 145 890 127 b 847 111 865 112 856 111 b 808 130 833 111 818 117 b 796 162 800 140 796 151 b 839 215 796 187 812 212 m 839 -112 b 845 -112 841 -112 842 -112 b 862 -115 852 -112 860 -113 b 899 -165 887 -122 899 -144 b 872 -210 899 -183 890 -201 b 847 -217 865 -215 856 -217 b 808 -198 833 -217 818 -210 b 796 -165 800 -188 796 -177 b 839 -112 796 -140 812 -116 "},v7a:{x_min:-1.359375,x_max:386.5625,ha:394,o:"m 249 535 b 257 537 251 537 253 537 b 276 524 266 537 273 533 l 277 521 l 279 419 l 279 316 l 304 323 b 337 328 319 326 330 328 b 353 316 347 328 349 324 b 355 266 355 315 355 290 b 353 215 355 241 355 217 b 319 198 349 206 347 205 b 279 187 284 190 279 188 b 279 156 279 187 279 174 b 279 136 279 151 279 144 l 279 84 l 289 87 l 330 98 b 367 105 352 102 362 105 b 378 101 372 105 375 104 b 386 61 385 95 386 94 b 386 40 386 55 386 48 l 386 -5 l 385 -8 b 374 -19 383 -12 378 -18 b 291 -40 372 -19 347 -26 b 279 -43 284 -41 279 -43 b 279 -83 279 -43 279 -59 b 279 -95 279 -87 279 -91 l 279 -145 l 304 -140 b 337 -133 321 -136 330 -133 b 349 -140 343 -133 347 -136 b 355 -181 355 -145 355 -142 l 355 -197 l 355 -210 b 349 -252 355 -249 355 -247 b 300 -269 345 -258 347 -258 b 280 -274 291 -272 281 -273 l 279 -274 l 277 -378 l 277 -483 l 276 -487 b 257 -499 273 -495 265 -499 b 238 -487 249 -499 242 -495 l 236 -483 l 236 -384 l 236 -285 l 235 -285 l 212 -291 l 170 -301 b 148 -308 159 -305 148 -306 b 147 -415 147 -308 147 -313 l 147 -523 l 145 -526 b 126 -538 141 -534 133 -538 b 106 -526 118 -538 110 -534 l 104 -523 l 104 -420 b 103 -317 104 -326 104 -317 b 103 -317 103 -317 103 -317 b 50 -330 92 -322 54 -330 b 31 -317 42 -330 35 -326 b 29 -267 29 -315 29 -315 l 29 -219 l 32 -216 b 92 -192 36 -206 36 -206 l 104 -190 l 104 -138 b 103 -87 104 -91 104 -87 b 103 -87 103 -87 103 -87 b 88 -91 103 -87 96 -88 l 49 -101 b 17 -106 32 -105 23 -106 b 6 -102 13 -106 10 -105 b -1 -62 0 -97 -1 -95 b 0 -41 -1 -56 0 -49 l 0 4 l 1 6 b 10 16 2 11 6 15 b 91 37 12 18 38 24 l 104 41 l 104 93 b 103 144 104 140 104 144 b 103 144 103 144 103 144 b 50 131 92 141 54 131 b 31 144 42 131 35 137 b 29 195 29 147 29 148 l 29 242 l 32 245 b 92 269 36 255 36 255 l 104 273 l 104 377 l 104 481 l 106 485 b 126 498 110 492 118 498 b 134 495 129 498 132 496 b 145 485 138 494 142 489 l 147 481 l 147 383 l 147 283 l 152 284 b 190 294 155 285 171 290 l 230 303 l 236 305 l 236 413 l 236 521 l 238 524 b 249 535 240 528 243 533 m 236 126 b 235 177 236 154 236 177 l 235 177 b 213 172 235 177 225 174 l 170 161 b 147 155 157 158 147 155 b 147 124 147 155 147 142 b 147 102 147 117 147 111 l 147 52 l 153 54 l 228 72 l 236 74 l 236 126 m 236 -105 b 235 -54 236 -65 236 -54 l 235 -54 b 231 -55 235 -54 234 -54 b 172 -69 227 -55 204 -62 l 149 -76 l 147 -76 l 147 -127 l 147 -179 l 152 -177 b 190 -167 155 -177 171 -173 l 230 -158 l 236 -156 l 236 -105 "},v7c:{x_min:0,x_max:300.8125,ha:307,o:"m 49 505 b 53 506 50 505 51 506 b 70 496 58 506 62 503 b 81 485 73 492 78 488 l 96 473 l 111 459 l 122 449 l 134 438 l 182 396 l 255 330 b 292 291 292 298 292 298 l 292 290 l 292 284 l 283 270 b 209 36 234 197 209 113 b 288 -170 209 -44 235 -119 b 299 -184 295 -179 299 -181 b 300 -191 300 -187 300 -188 b 285 -206 300 -199 294 -206 b 280 -206 283 -206 281 -206 b 247 -201 270 -202 259 -201 b 176 -222 223 -201 197 -208 b 114 -340 136 -249 114 -292 b 172 -471 114 -384 134 -433 b 185 -492 182 -481 185 -487 b 181 -502 185 -496 183 -499 b 171 -508 176 -505 174 -508 b 152 -498 166 -508 160 -503 b 0 -284 65 -428 12 -352 b 0 -260 0 -278 0 -270 b 1 -238 0 -252 0 -242 b 148 -140 16 -177 73 -140 b 209 -148 167 -140 189 -142 b 215 -149 212 -148 215 -149 b 215 -149 215 -149 215 -149 l 215 -149 b 201 -136 215 -148 209 -142 l 157 -97 l 96 -41 b 17 34 21 24 17 29 b 17 37 17 36 17 36 b 17 38 17 37 17 38 b 25 56 17 44 17 44 b 110 298 81 131 110 219 b 46 474 110 367 88 431 b 38 491 40 480 38 487 b 49 505 38 498 42 502 "},v7d:{x_min:-1.359375,x_max:436.921875,ha:446,o:"m 213 205 b 217 205 215 205 216 205 b 234 194 224 205 234 199 b 236 187 234 194 235 190 l 245 167 l 261 129 l 270 106 b 355 -61 294 54 329 -13 b 420 -163 381 -105 402 -138 b 436 -188 435 -184 436 -184 b 436 -191 436 -190 436 -190 b 421 -206 436 -201 431 -206 l 421 -206 l 416 -206 l 405 -201 b 217 -158 347 -172 283 -158 b 31 -201 153 -158 88 -172 l 20 -206 l 14 -206 l 14 -206 b 0 -191 5 -206 0 -201 b -1 -188 0 -190 -1 -190 b 14 -163 -1 -186 0 -184 b 95 -34 36 -136 72 -77 b 166 106 119 8 148 68 l 175 129 l 183 148 l 200 188 b 213 205 205 199 208 202 "},v7f:{x_min:0,x_max:367.5,ha:375,o:"m 0 124 l 0 187 l 61 187 l 122 187 l 122 138 l 122 91 l 153 61 l 183 30 l 213 61 l 243 91 l 243 138 l 243 187 l 306 187 l 367 187 l 367 124 l 367 61 l 321 61 l 274 61 l 243 30 l 213 0 l 243 -31 l 274 -62 l 321 -62 l 367 -62 l 367 -124 l 367 -188 l 306 -188 l 243 -188 l 243 -140 l 243 -93 l 213 -62 l 183 -31 l 153 -62 l 122 -93 l 122 -140 l 122 -188 l 61 -188 l 0 -188 l 0 -124 l 0 -62 l 46 -62 l 92 -62 l 123 -31 l 153 0 l 123 30 l 92 61 l 46 61 l 0 61 l 0 124 "},v80:{x_min:29.9375,x_max:420.578125,ha:371,o:"m 115 345 b 221 347 117 345 166 347 b 411 345 306 347 409 345 b 420 330 416 342 420 335 b 415 319 420 326 419 321 b 178 118 397 303 179 118 b 178 117 178 118 178 117 b 181 117 178 117 178 117 b 189 117 182 117 185 117 b 193 117 190 117 191 117 b 247 98 215 117 232 111 b 296 75 266 83 280 76 b 302 75 299 75 300 75 b 322 91 311 75 315 79 b 322 91 322 91 322 91 b 322 91 322 91 322 91 b 319 91 322 91 321 91 b 313 90 318 90 315 90 b 283 107 300 90 288 97 b 277 126 279 114 277 121 b 319 167 277 149 295 167 b 319 167 319 167 319 167 b 362 118 347 167 362 147 b 355 82 362 108 359 96 b 311 33 349 65 340 55 b 224 1 284 12 253 1 b 194 5 213 1 204 2 b 168 18 183 8 178 11 b 110 36 151 30 130 36 b 57 15 88 36 68 29 b 47 11 54 12 51 11 b 31 20 40 11 34 13 b 29 26 31 22 29 25 b 68 66 29 36 39 45 b 285 250 73 71 281 248 b 285 250 285 250 285 250 b 231 252 285 252 261 252 b 137 250 190 252 141 250 b 93 227 122 248 110 241 b 78 220 88 222 83 220 b 66 227 74 220 70 222 b 63 234 65 229 63 231 b 85 291 63 241 69 252 b 115 345 108 342 108 344 "},v81:{x_min:0,x_max:428.75,ha:438,o:"m 262 186 b 273 186 266 186 272 186 b 274 186 273 186 274 186 b 285 186 274 186 280 186 b 428 48 375 181 428 122 b 386 -68 428 12 416 -29 b 155 -187 329 -145 236 -187 b 12 -111 92 -187 38 -162 b 0 -51 4 -91 0 -72 b 262 186 0 58 122 179 m 366 131 b 352 134 362 133 357 134 b 219 81 321 134 269 115 b 47 -111 126 23 50 -62 b 47 -112 47 -111 47 -112 b 77 -136 47 -129 58 -136 b 264 -45 118 -136 194 -101 b 382 109 336 12 382 76 b 366 131 382 120 377 129 "},v83:{x_min:-1.359375,x_max:847.96875,ha:865,o:"m 488 1499 b 495 1500 490 1500 492 1500 b 541 1465 507 1500 521 1490 b 679 1078 622 1372 679 1210 b 677 1050 679 1068 677 1060 b 477 642 668 893 604 764 l 443 609 l 431 596 l 431 592 l 438 562 l 449 508 l 460 458 b 481 355 475 390 481 355 b 481 355 481 355 481 355 b 490 356 481 355 485 355 b 528 358 495 356 511 358 b 558 356 540 358 552 356 b 839 95 699 338 808 237 b 847 22 845 72 847 47 b 631 -303 847 -113 766 -242 b 620 -309 623 -308 620 -309 l 620 -310 b 631 -359 620 -310 626 -333 l 646 -435 l 660 -496 b 672 -588 668 -535 672 -563 b 664 -653 672 -610 669 -630 b 383 -875 630 -792 509 -875 b 201 -810 321 -875 257 -855 b 129 -680 151 -768 129 -730 b 274 -530 129 -592 200 -530 b 351 -553 300 -530 326 -538 b 412 -669 393 -582 412 -626 b 287 -805 412 -735 366 -800 l 279 -805 l 285 -809 b 383 -830 318 -823 351 -830 b 586 -718 464 -830 540 -789 b 626 -584 612 -678 626 -631 b 619 -528 626 -566 623 -548 b 612 -495 619 -526 616 -510 b 577 -324 590 -387 577 -324 b 577 -324 577 -324 577 -324 b 568 -326 575 -324 571 -324 b 528 -334 558 -328 537 -333 b 465 -338 506 -337 485 -338 b 24 -11 269 -338 87 -206 b -1 145 8 41 -1 93 b 96 442 -1 249 32 351 b 322 714 166 541 236 626 l 352 745 l 345 782 l 332 843 l 315 921 b 303 984 310 950 304 978 b 295 1082 298 1017 295 1049 b 413 1426 295 1208 336 1329 b 488 1499 436 1456 477 1496 m 549 1301 b 541 1301 547 1301 544 1301 b 411 1207 500 1301 447 1263 b 355 1004 374 1152 355 1079 b 359 942 355 984 356 963 b 371 881 362 927 363 917 l 385 818 b 392 782 389 799 392 784 l 392 782 b 434 828 393 782 424 816 b 607 1165 534 941 594 1060 b 608 1193 608 1175 608 1183 b 597 1270 608 1224 604 1254 b 549 1301 589 1286 571 1299 m 398 528 b 393 555 396 542 393 553 b 392 555 393 555 393 555 b 317 470 390 555 347 505 b 190 298 266 408 212 334 b 127 70 148 227 127 148 b 155 -77 127 19 137 -30 b 468 -303 209 -216 333 -303 b 519 -299 484 -303 502 -302 b 568 -284 541 -295 568 -287 l 568 -284 b 563 -263 568 -284 566 -274 l 534 -120 l 511 -13 l 496 61 l 480 133 b 469 187 472 176 469 187 b 468 188 469 187 469 188 b 416 162 462 188 430 172 b 337 13 364 126 337 69 b 413 -124 337 -40 363 -93 b 428 -144 424 -131 428 -137 b 428 -149 428 -145 428 -148 b 409 -166 426 -161 419 -166 b 394 -162 405 -166 400 -165 b 240 77 302 -122 240 -27 l 240 77 b 430 342 240 197 315 301 l 436 344 l 426 394 l 398 528 m 548 194 b 526 195 540 195 532 195 b 519 195 524 195 521 195 l 514 195 l 518 177 l 539 79 l 552 15 l 566 -48 l 594 -187 l 605 -240 b 612 -266 609 -254 611 -266 b 612 -266 612 -266 612 -266 b 641 -248 613 -266 630 -256 b 744 -98 692 -212 730 -156 b 751 -40 749 -79 751 -59 b 548 194 751 76 665 181 "},v84:{x_min:25.859375,x_max:164.6875,ha:168,o:"m 34 369 b 40 370 35 370 38 370 b 59 353 49 370 50 367 b 164 40 122 254 155 158 b 164 0 164 33 164 16 b 164 -40 164 -16 164 -34 b 59 -353 155 -158 122 -254 b 40 -371 53 -366 47 -371 b 34 -370 38 -371 36 -370 b 25 -358 28 -367 25 -363 b 31 -337 25 -352 27 -347 b 92 0 72 -234 92 -117 b 31 335 92 116 72 233 b 25 356 27 345 25 352 b 34 369 25 363 28 366 "},v86:{x_min:-571.671875,x_max:570.3125,ha:582,o:"m -386 173 b -381 174 -385 174 -383 174 b -370 173 -377 174 -372 173 b -281 86 -367 172 -347 151 b -196 0 -235 37 -196 0 b -126 84 -196 0 -164 37 b -50 174 -55 173 -57 172 b -44 174 -49 174 -47 174 b -35 173 -42 174 -38 173 b 53 86 -32 172 -12 151 b 138 0 100 37 138 0 b 208 84 140 0 170 37 b 284 174 279 173 277 172 b 289 174 285 174 288 174 b 299 173 294 174 298 173 b 462 11 303 172 338 134 l 475 -1 l 503 34 b 541 76 534 72 536 74 b 548 77 544 77 545 77 b 570 56 560 77 570 68 b 567 48 570 54 568 51 b 392 -172 564 41 397 -166 b 378 -176 387 -174 382 -176 b 368 -174 374 -176 371 -176 b 280 -87 367 -173 345 -152 b 194 0 234 -38 194 0 b 125 -86 194 0 163 -38 b 49 -174 54 -174 55 -173 b 43 -176 47 -176 46 -176 b 34 -174 40 -176 36 -174 b -54 -87 31 -173 10 -152 b -140 0 -102 -38 -140 0 b -209 -86 -141 0 -171 -38 b -285 -174 -280 -174 -279 -173 b -291 -176 -287 -176 -289 -176 b -300 -174 -295 -176 -299 -174 b -464 -12 -304 -173 -340 -137 l -476 0 l -504 -34 b -543 -77 -534 -73 -537 -76 b -549 -79 -545 -79 -547 -79 b -571 -58 -562 -79 -571 -69 b -568 -49 -571 -55 -570 -52 b -392 172 -566 -43 -396 167 b -386 173 -390 172 -387 173 "},v8a:{x_min:-170.140625,x_max:168.78125,ha:172,o:"m -160 567 b -122 567 -159 567 -149 567 l -87 567 l -84 566 b -74 553 -78 563 -77 560 b -20 366 -73 551 -49 466 b 31 186 8 267 31 186 b 85 371 31 186 55 269 b 140 559 114 473 138 557 b 153 567 141 564 148 567 b 168 559 159 567 166 564 b 168 555 168 557 168 557 b 92 281 168 548 159 513 b 14 13 50 134 14 13 b 0 0 14 6 6 0 b -17 15 -8 0 -17 8 b -93 283 -17 15 -51 136 b -170 552 -166 533 -170 548 b -170 553 -170 552 -170 552 b -160 567 -170 560 -167 564 "},v8b:{x_min:0,x_max:319.859375,ha:326,o:"m 149 508 b 159 509 152 509 155 509 b 186 494 170 509 181 503 b 190 440 190 487 190 488 l 190 430 l 190 377 l 242 377 l 251 377 b 303 373 298 377 296 377 b 319 345 314 367 319 356 b 304 319 319 335 314 324 b 250 315 296 315 299 315 l 242 315 l 190 315 l 190 262 l 190 252 b 186 198 190 204 190 205 b 159 183 179 188 170 183 b 132 198 148 183 138 188 b 127 252 127 205 127 204 l 127 262 l 127 315 l 76 315 l 68 315 b 14 319 20 315 21 315 b 0 347 4 324 0 335 b 14 373 0 356 4 367 b 68 377 21 377 20 377 l 76 377 l 127 377 l 127 430 l 127 440 b 132 494 127 488 127 487 b 149 508 136 501 142 505 "},v8c:{x_min:-330.75,x_max:329.390625,ha:336,o:"m -133 483 b -117 484 -127 484 -122 484 b 31 373 -51 484 9 440 b 35 348 34 365 35 356 b -25 285 35 313 10 285 b -87 331 -55 285 -76 302 b -167 402 -100 376 -133 402 b -191 398 -175 402 -183 401 b -227 341 -215 388 -227 369 b -225 320 -227 334 -227 327 b -13 74 -209 230 -125 133 b 6 65 -4 70 5 66 l 9 63 l 10 65 b 117 231 12 68 40 112 l 189 341 l 242 424 b 268 460 262 456 264 458 b 283 464 273 463 277 464 b 308 438 296 464 308 453 l 308 437 b 287 396 308 430 308 428 l 95 98 l 59 43 l 58 41 l 65 37 b 253 -156 151 -8 217 -77 b 281 -285 272 -199 281 -244 b 148 -481 281 -381 231 -463 b 115 -485 137 -484 126 -485 b -32 -376 51 -485 -9 -442 b -36 -349 -35 -366 -36 -358 b 25 -287 -36 -315 -12 -287 b 85 -333 54 -287 74 -302 b 166 -403 99 -377 133 -403 b 190 -399 174 -403 182 -402 b 225 -342 215 -390 225 -370 b 224 -322 225 -335 225 -328 b 12 -76 208 -231 125 -134 b -8 -66 2 -72 -6 -68 l -10 -65 l -12 -66 b -118 -231 -13 -68 -42 -113 l -190 -342 l -243 -426 b -269 -462 -264 -458 -265 -458 b -284 -466 -274 -464 -279 -466 b -310 -440 -298 -466 -310 -455 l -310 -438 b -288 -398 -310 -430 -308 -430 l -96 -99 l -59 -44 l -59 -43 l -66 -38 b -281 284 -198 33 -281 158 l -281 284 b -133 483 -281 392 -220 474 m 254 177 b 266 179 258 177 262 179 b 319 149 287 179 307 167 b 329 115 326 140 329 127 b 319 79 329 102 326 90 b 268 51 307 61 287 51 b 221 72 250 51 234 58 b 205 115 210 84 205 99 b 254 177 205 142 223 170 m -281 -54 b -269 -52 -277 -52 -273 -52 b -223 -73 -253 -52 -235 -59 b -206 -116 -212 -84 -206 -101 b -216 -151 -206 -129 -209 -141 b -269 -179 -228 -170 -249 -179 b -314 -159 -285 -179 -302 -173 b -330 -116 -325 -147 -330 -131 b -281 -54 -330 -88 -313 -61 "},v8d:{x_min:-1.359375,x_max:255.890625,ha:261,o:"m 118 514 b 127 517 121 517 122 517 b 147 505 136 517 142 513 l 148 502 l 148 403 b 148 306 148 351 148 306 b 174 315 149 306 160 310 l 200 324 l 205 323 b 223 312 213 323 220 319 l 225 308 l 225 260 b 225 245 225 255 225 249 b 220 204 225 208 224 209 b 179 188 216 199 215 199 l 148 177 l 148 124 l 148 70 l 189 84 b 236 98 219 94 230 98 b 247 94 240 98 243 97 b 255 52 254 88 255 87 b 255 33 255 47 255 40 l 254 -12 l 253 -15 b 249 -22 253 -18 250 -20 l 245 -24 l 196 -41 l 148 -58 l 148 -108 b 148 -158 148 -136 148 -158 b 174 -148 148 -158 160 -154 b 204 -140 198 -140 200 -140 l 204 -140 b 224 -152 213 -140 221 -145 b 225 -201 224 -155 225 -177 b 224 -254 225 -226 224 -251 b 157 -284 220 -262 220 -262 l 148 -288 l 148 -395 l 148 -503 l 147 -506 b 127 -519 142 -514 134 -519 b 107 -506 119 -519 111 -514 l 106 -503 l 106 -403 b 106 -303 106 -316 106 -303 b 104 -303 104 -303 104 -303 b 88 -310 104 -303 96 -306 l 63 -319 b 51 -322 59 -320 55 -322 b 36 -315 46 -322 40 -319 b 31 -273 32 -309 31 -312 b 31 -258 31 -269 31 -263 l 31 -210 l 34 -206 b 40 -198 35 -204 38 -199 b 74 -186 42 -197 57 -191 l 106 -173 l 106 -123 b 106 -97 106 -112 106 -104 b 106 -72 106 -76 106 -72 b 104 -72 106 -72 106 -72 b 20 -99 89 -79 23 -99 b 0 -84 10 -99 2 -93 b -1 -37 0 -81 -1 -59 b 0 11 -1 -15 0 9 b 58 40 4 22 2 22 l 106 56 l 106 109 b 106 123 106 115 106 119 b 106 162 106 147 106 162 b 81 155 106 162 93 159 b 50 147 65 149 55 147 b 36 152 43 147 40 148 b 31 194 32 158 31 156 b 31 209 31 198 31 204 l 31 256 l 34 260 b 76 281 38 269 38 269 l 106 292 l 106 396 l 106 502 l 107 505 b 118 514 110 509 114 513 "},v8f:{x_min:-21.78125,x_max:362.0625,ha:369,o:"m 302 1031 b 308 1032 304 1032 307 1032 b 330 1016 318 1032 325 1027 b 362 867 351 970 362 920 b 340 738 362 824 353 780 l 336 727 l 340 717 b 362 591 355 677 362 634 b 257 323 362 496 325 401 b 204 272 243 306 227 290 b 20 56 129 206 66 133 b -1 18 12 44 0 22 b -19 4 -4 9 -12 4 l -21 4 l -21 140 l -21 276 l -12 277 b 167 333 61 288 127 309 b 319 598 262 388 319 491 b 311 664 319 620 317 642 l 310 673 l 304 664 b 204 548 279 620 250 587 b 20 333 129 483 66 409 b -1 292 12 320 0 298 b -19 280 -4 285 -12 280 l -21 280 l -21 416 l -21 552 l -12 553 b 167 609 61 564 127 585 b 319 874 264 666 319 770 b 294 992 319 914 311 954 b 288 1011 288 1004 288 1007 b 302 1031 288 1021 294 1028 "},v90:{x_min:-171.5,x_max:483.1875,ha:493,o:"m -8 631 b -1 632 -6 632 -4 632 b 19 620 8 632 16 628 b 20 495 20 616 20 616 b 20 373 20 427 20 373 b 115 410 20 373 63 390 l 210 448 l 210 531 b 212 620 210 614 210 616 b 231 632 215 628 223 632 b 246 627 236 632 242 631 b 251 541 251 620 251 628 l 251 463 l 315 489 b 387 514 368 509 381 514 b 393 513 390 514 392 514 b 406 494 402 510 406 502 b 397 476 406 487 404 480 b 323 446 396 474 363 462 l 251 417 l 251 283 l 251 148 l 254 151 b 370 199 291 183 332 199 b 415 191 385 199 400 197 b 483 84 458 176 483 134 b 461 0 483 58 476 29 b 332 -142 439 -40 411 -72 l 255 -215 b 231 -229 240 -229 239 -229 b 216 -223 224 -229 220 -227 b 210 -158 210 -217 210 -223 b 210 -120 210 -148 210 -136 l 210 -29 l 205 -34 b 100 -142 182 -65 159 -88 l 23 -215 b -1 -229 9 -229 6 -229 b -19 -217 -9 -229 -16 -224 l -20 -215 l -21 48 l -21 310 l -83 287 b -152 262 -133 266 -145 262 b -157 263 -153 262 -155 262 b -171 283 -166 266 -171 274 b -161 301 -171 290 -167 297 b -91 328 -160 302 -129 315 l -21 356 l -21 487 l -20 617 l -19 621 b -8 631 -17 626 -12 630 m 210 288 b 210 401 210 351 210 401 b 114 365 209 401 167 384 l 20 327 l 20 238 l 20 148 l 21 151 b 140 199 59 183 102 199 b 206 180 164 199 187 192 l 209 177 b 209 177 209 177 209 177 b 210 288 210 177 210 199 m 110 131 b 96 133 106 133 100 133 b 89 133 93 133 91 133 b 24 87 63 129 40 113 l 20 80 l 20 -37 l 20 -156 l 23 -152 b 144 81 96 -72 144 20 l 144 83 b 110 131 144 113 134 126 m 341 131 b 328 133 337 133 332 133 b 322 133 326 133 323 133 b 257 87 296 129 273 113 l 251 80 l 251 -37 l 251 -156 l 255 -152 b 375 81 328 -72 375 20 l 375 83 b 341 131 375 113 367 126 "},v92:{x_min:0,x_max:598.890625,ha:611,o:"m 62 181 b 77 183 66 183 72 183 b 91 181 83 183 88 183 b 202 131 100 180 106 177 l 299 87 l 394 131 b 517 183 499 181 502 183 b 519 183 517 183 518 183 b 598 104 567 183 598 144 b 577 49 598 84 592 65 b 518 15 567 38 563 37 b 484 0 499 6 484 0 b 518 -16 484 -1 499 -8 b 577 -51 563 -38 567 -40 b 598 -105 592 -66 598 -86 b 519 -184 598 -145 567 -184 b 517 -184 518 -184 517 -184 b 394 -133 502 -184 499 -183 l 299 -88 l 202 -133 b 81 -184 99 -183 95 -184 b 77 -184 80 -184 78 -184 b 0 -105 29 -184 0 -145 b 20 -51 0 -86 5 -66 b 80 -16 29 -40 34 -38 b 114 -1 98 -8 114 -1 b 80 15 114 0 98 6 b 20 49 34 37 29 38 b 0 104 6 65 0 84 b 62 181 0 140 23 174 m 88 134 b 74 136 85 134 80 136 b 68 134 72 136 69 136 b 46 104 54 130 46 117 b 55 81 46 95 49 88 b 149 34 59 76 53 80 b 224 -1 190 15 224 0 b 144 -38 224 -1 187 -18 b 54 -84 59 -79 58 -79 b 46 -105 49 -90 46 -98 b 76 -137 46 -122 58 -137 b 78 -137 77 -137 77 -137 b 194 -86 87 -137 76 -141 b 298 -36 250 -58 298 -36 b 298 -36 298 -36 298 -36 b 402 -84 299 -36 345 -58 b 518 -137 522 -141 510 -137 b 521 -137 519 -137 519 -137 b 551 -105 539 -137 551 -122 b 541 -83 551 -98 548 -90 b 447 -36 537 -77 544 -81 b 374 -1 406 -16 374 -1 b 447 34 374 0 406 15 b 541 81 544 80 537 76 b 551 104 548 88 551 97 b 521 136 551 120 539 136 b 518 136 519 136 519 136 b 517 136 518 136 517 136 l 517 136 b 402 83 511 136 511 136 b 298 34 345 56 299 34 b 298 34 298 34 298 34 b 194 84 298 34 250 56 b 88 134 137 111 89 133 "},v93:{x_min:0,x_max:438.28125,ha:447,o:"m 212 205 b 219 205 213 205 216 205 b 239 183 228 205 231 204 b 421 -163 298 40 363 -83 b 438 -191 434 -180 438 -186 b 436 -197 438 -192 438 -195 b 424 -206 434 -204 431 -206 b 406 -201 420 -206 415 -205 b 216 -156 347 -172 281 -156 b 23 -205 148 -156 80 -173 b 14 -206 20 -206 17 -206 b 0 -191 6 -206 0 -201 b 6 -176 0 -187 1 -183 b 202 192 63 -104 142 45 b 212 205 205 199 208 202 m 264 48 l 249 81 l 243 94 l 242 91 b 89 -126 208 36 137 -66 b 81 -138 85 -133 81 -138 b 81 -138 81 -138 81 -138 b 81 -138 81 -138 81 -138 b 95 -133 81 -138 87 -136 b 280 -94 156 -108 221 -94 b 334 -98 299 -94 317 -95 b 343 -99 338 -99 343 -99 b 343 -99 343 -99 343 -99 b 338 -94 343 -99 341 -97 b 264 48 318 -58 287 1 "},v94:{x_min:-149.71875,x_max:148.359375,ha:151,o:"m -9 215 b 0 217 -6 217 -4 217 b 19 205 8 217 14 213 b 20 142 20 202 20 201 l 20 84 l 23 84 b 144 -27 81 74 129 30 b 148 -66 147 -40 148 -54 b 36 -213 148 -134 103 -197 b 0 -219 24 -217 12 -219 b -145 -104 -68 -219 -129 -173 b -149 -68 -148 -91 -149 -79 b -24 84 -149 6 -98 74 l -21 84 l -21 142 b -19 205 -20 201 -20 202 b -9 215 -17 209 -13 213 m -21 -15 b -23 41 -21 37 -21 41 b -23 41 -23 41 -23 41 b -76 11 -35 40 -62 26 b -108 -65 -98 -11 -108 -38 b -1 -176 -108 -122 -65 -176 b 107 -65 63 -176 107 -122 b 74 11 107 -38 96 -11 b 20 41 61 26 32 41 b 20 -15 20 41 20 15 b 19 -74 20 -72 20 -72 b 0 -87 14 -83 6 -87 b -19 -74 -8 -87 -16 -83 b -21 -15 -20 -72 -20 -72 "},v95:{x_min:0,x_max:406.96875,ha:415,o:"m 55 181 b 70 183 61 183 66 183 b 111 170 85 183 99 179 b 160 130 115 167 137 149 l 202 95 l 245 130 b 319 181 299 176 302 179 b 334 183 325 183 330 183 b 406 109 375 183 406 148 b 401 81 406 99 405 91 b 348 24 394 65 390 59 b 318 -1 332 11 318 0 b 348 -26 318 -1 332 -12 b 401 -83 390 -61 394 -66 b 406 -111 405 -93 406 -101 b 334 -184 406 -149 375 -184 b 319 -183 330 -184 325 -184 b 245 -131 302 -180 299 -177 l 202 -97 l 160 -131 b 85 -183 107 -177 103 -180 b 70 -184 80 -184 76 -184 b 0 -111 31 -184 0 -149 b 4 -83 0 -101 1 -93 b 58 -26 10 -66 16 -61 b 88 -1 74 -12 88 -1 b 58 24 88 0 74 11 b 10 69 23 54 17 59 b 0 109 2 81 0 95 b 55 181 0 142 21 173 m 83 133 b 72 136 78 136 76 136 b 57 131 66 136 61 134 b 46 109 49 126 46 117 b 50 93 46 104 47 98 b 107 45 51 91 77 70 b 160 0 137 20 160 0 b 107 -47 160 -1 137 -22 b 50 -94 77 -72 51 -93 b 46 -111 47 -99 46 -105 b 59 -134 46 -120 50 -130 b 72 -137 62 -136 68 -137 b 83 -136 76 -137 80 -136 b 144 -84 84 -134 107 -116 b 202 -36 176 -58 202 -36 b 261 -84 202 -36 230 -58 b 323 -136 299 -116 321 -134 b 334 -137 326 -136 330 -137 b 345 -134 338 -137 343 -136 b 360 -111 355 -130 360 -120 b 355 -94 360 -105 359 -99 b 299 -47 353 -93 329 -72 b 245 0 269 -22 245 -1 b 299 45 245 0 269 20 b 355 93 329 70 353 91 b 360 109 359 98 360 104 b 345 133 360 119 355 129 b 334 136 343 134 338 136 b 323 134 330 136 326 134 b 261 83 321 133 299 115 b 202 34 230 56 202 34 b 144 83 202 34 176 56 b 83 133 106 115 84 133 "},v97:{x_min:-228.671875,x_max:227.3125,ha:232,o:"m -217 487 l -213 488 l 0 488 l 212 488 l 216 487 b 225 476 220 484 224 480 l 227 473 l 227 244 l 227 15 l 225 12 b 206 0 223 4 215 0 b 197 1 204 0 200 0 b 187 12 193 4 189 6 l 186 15 l 186 138 l 186 262 l -1 262 l -187 262 l -187 138 l -187 15 l -189 12 b -208 0 -193 4 -200 0 b -227 12 -216 0 -223 4 l -228 15 l -228 244 l -228 473 l -227 476 b -217 487 -225 480 -221 484 "},v9a:{x_min:-21.78125,x_max:367.5,ha:375,o:"m 230 1031 b 238 1032 232 1032 235 1032 b 259 1014 245 1032 251 1027 b 367 662 330 906 367 782 b 364 602 367 641 367 621 b 232 317 352 488 304 384 b 57 120 155 245 103 187 b -1 18 31 84 6 40 b -19 4 -4 11 -12 4 l -21 4 l -21 159 l -21 315 l -16 315 b 96 335 10 315 62 324 b 315 695 227 380 315 527 b 313 738 315 709 314 724 b 224 991 304 825 273 916 b 216 1013 219 999 216 1007 b 230 1031 216 1021 220 1028 "},v9b:{x_min:-24.5,x_max:313.0625,ha:319,o:"m -24 -133 l -24 -5 l -20 -5 b -1 -19 -12 -5 -4 -11 b 142 -213 13 -61 74 -144 b 258 -376 196 -269 230 -315 b 313 -605 295 -449 313 -528 b 292 -742 313 -652 306 -699 b 288 -752 289 -748 288 -752 b 288 -752 288 -752 288 -752 b 292 -764 289 -753 291 -757 b 313 -907 306 -811 313 -860 b 292 -1045 313 -954 306 -1002 b 288 -1054 289 -1050 288 -1054 b 288 -1054 288 -1054 288 -1054 b 292 -1067 289 -1054 291 -1060 b 313 -1210 306 -1113 313 -1161 b 292 -1346 313 -1257 306 -1304 b 288 -1357 289 -1353 288 -1357 b 288 -1357 288 -1357 288 -1357 b 292 -1368 289 -1357 291 -1363 b 313 -1512 306 -1415 313 -1464 b 292 -1648 313 -1560 306 -1605 b 288 -1660 289 -1654 288 -1660 b 288 -1660 288 -1660 288 -1660 b 292 -1671 289 -1660 291 -1665 b 313 -1814 306 -1719 313 -1766 b 250 -2040 313 -1897 291 -1977 b 232 -2062 238 -2057 236 -2059 b 221 -2065 230 -2063 225 -2065 b 200 -2045 210 -2065 201 -2057 b 200 -2043 200 -2044 200 -2044 b 208 -2026 200 -2037 202 -2034 b 269 -1826 249 -1966 269 -1897 b 153 -1544 269 -1726 230 -1625 b -9 -1472 115 -1506 58 -1481 b -21 -1471 -14 -1471 -19 -1471 l -24 -1471 l -24 -1343 l -24 -1215 l -20 -1215 b -1 -1229 -12 -1215 -4 -1221 b 142 -1424 13 -1270 74 -1353 b 257 -1582 196 -1478 228 -1524 b 264 -1594 261 -1589 264 -1594 l 264 -1594 b 265 -1582 264 -1594 264 -1589 b 270 -1525 268 -1562 270 -1544 b 153 -1243 270 -1424 228 -1321 b -9 -1170 115 -1203 58 -1178 b -21 -1168 -14 -1170 -19 -1168 l -24 -1168 l -24 -1041 l -24 -913 l -20 -913 b -1 -927 -12 -913 -4 -918 b 142 -1121 13 -967 74 -1050 b 257 -1281 196 -1175 228 -1221 b 264 -1292 261 -1286 264 -1292 l 264 -1292 b 265 -1279 264 -1292 264 -1286 b 270 -1222 268 -1261 270 -1242 b 153 -941 270 -1121 228 -1018 b -9 -867 115 -900 58 -875 b -21 -866 -14 -867 -19 -866 l -24 -866 l -24 -738 l -24 -610 l -20 -610 b -1 -624 -12 -610 -4 -616 b 142 -818 13 -664 74 -749 b 257 -978 196 -873 228 -918 b 264 -989 261 -984 264 -989 l 264 -989 b 265 -977 264 -989 264 -984 b 270 -920 268 -959 270 -939 b 153 -638 270 -818 228 -716 b -9 -564 115 -598 58 -573 b -21 -563 -14 -564 -19 -563 l -24 -563 l -24 -435 l -24 -308 l -20 -308 b -1 -322 -12 -308 -4 -313 b 142 -516 13 -363 74 -446 b 257 -675 196 -571 228 -616 b 264 -687 261 -681 264 -687 l 264 -687 b 265 -674 264 -687 264 -681 b 270 -617 268 -656 270 -637 b 153 -335 270 -516 228 -413 b -9 -262 115 -295 58 -270 b -21 -260 -14 -262 -19 -260 l -24 -260 l -24 -133 "},v9c:{x_min:-166.0625,x_max:-25.859375,ha:0,o:"m -49 369 b -42 370 -46 369 -44 370 b -27 360 -36 370 -29 366 b -25 355 -27 359 -25 358 b -32 335 -25 351 -28 347 b -92 52 -66 248 -87 159 b -93 -1 -93 43 -93 20 b -92 -54 -93 -23 -93 -45 b -32 -337 -85 -162 -66 -251 b -25 -355 -27 -349 -25 -352 b -42 -371 -25 -365 -32 -371 b -61 -353 -50 -371 -51 -369 b -163 -63 -119 -262 -153 -165 b -166 -1 -166 -37 -166 -31 b -163 62 -166 30 -166 36 b -61 352 -153 163 -119 260 b -49 369 -54 365 -51 366 "},v9e:{x_min:0,x_max:607.0625,ha:619,o:"m 243 631 b 250 632 246 632 249 632 b 270 620 259 632 268 628 l 272 616 l 272 201 l 272 -212 l 270 -216 b 251 -229 268 -224 259 -229 b 227 -215 243 -229 240 -229 l 151 -142 b 32 -16 81 -80 53 -49 b 0 84 9 18 0 52 b 111 199 0 149 42 199 b 137 197 119 199 127 198 b 228 151 168 191 197 177 l 231 148 l 231 383 b 232 620 231 616 231 616 b 243 631 234 624 238 630 m 168 131 b 152 133 163 133 157 133 b 107 102 130 133 111 120 b 106 86 107 97 106 91 b 111 41 106 73 108 56 b 227 -152 125 -13 171 -90 l 231 -156 l 231 -37 l 231 80 l 225 87 b 168 131 210 111 190 126 m 347 631 b 353 632 348 632 351 632 b 374 620 363 632 371 628 b 375 383 375 616 375 616 l 375 148 l 377 151 b 492 199 415 183 454 199 b 537 191 507 199 522 197 b 607 84 582 176 607 134 b 583 0 607 58 598 29 b 455 -142 562 -40 533 -72 l 378 -215 b 355 -229 364 -229 362 -229 b 334 -216 345 -229 337 -224 l 333 -212 l 333 201 l 333 616 l 334 620 b 347 631 337 624 341 630 m 465 131 b 451 133 461 133 455 133 b 445 133 449 133 446 133 b 379 87 419 129 396 113 l 375 80 l 375 -37 l 375 -156 l 378 -152 b 499 81 451 -72 499 20 l 499 83 b 465 131 499 113 490 126 "},va3:{x_min:58.53125,x_max:228.671875,ha:294,o:"m 138 371 b 142 373 140 371 141 373 b 178 342 149 373 156 366 b 228 251 217 297 228 278 b 228 244 228 248 228 247 b 176 147 227 212 212 184 b 123 73 152 122 132 93 b 121 62 122 70 121 66 b 145 13 121 48 129 31 b 153 -2 151 6 153 1 b 149 -9 153 -5 152 -6 b 144 -11 148 -11 145 -11 b 129 -1 140 -11 136 -8 b 61 87 89 37 68 68 b 58 113 59 95 58 105 b 110 215 58 144 74 177 b 163 287 134 240 155 269 b 166 299 166 291 166 295 b 141 348 166 313 157 330 b 133 360 134 356 133 358 b 133 363 133 362 133 362 b 138 371 133 367 136 370 "},va5:{x_min:0,x_max:349.8125,ha:357,o:"m 88 302 b 103 303 93 302 98 303 b 202 224 149 303 191 270 b 205 199 204 216 205 208 b 178 129 205 173 196 147 l 175 126 l 182 127 b 307 249 236 142 284 190 b 313 259 308 254 311 258 b 329 267 317 265 323 267 b 349 247 340 267 349 259 b 201 -263 349 242 204 -258 b 182 -273 197 -270 190 -273 b 163 -260 174 -273 166 -269 b 161 -256 161 -259 161 -258 b 217 -59 161 -248 170 -220 b 272 129 247 43 272 127 b 272 129 272 129 272 129 b 264 122 272 129 268 126 b 140 80 227 94 183 80 b 36 115 102 80 65 91 b 0 194 10 136 0 165 b 88 302 0 244 32 292 "},va9:{x_min:-24.5,x_max:314.421875,ha:321,o:"m -24 -145 l -24 -5 l -20 -5 b 0 -23 -9 -5 -2 -12 b 27 -87 4 -38 14 -66 b 138 -220 53 -136 88 -177 b 235 -328 179 -255 208 -288 b 314 -592 287 -409 314 -501 b 292 -732 314 -639 307 -687 l 289 -742 l 294 -756 b 314 -896 307 -802 314 -849 b 292 -1035 314 -943 307 -991 l 289 -1045 l 294 -1057 b 314 -1197 307 -1104 314 -1152 b 292 -1338 314 -1246 307 -1292 l 289 -1347 l 294 -1360 b 314 -1500 307 -1407 314 -1454 b 273 -1689 314 -1565 300 -1628 b 250 -1712 265 -1710 261 -1712 b 228 -1691 236 -1712 228 -1704 l 228 -1685 l 234 -1675 b 270 -1507 258 -1621 270 -1564 b 98 -1193 270 -1381 209 -1261 b 40 -1174 76 -1179 58 -1174 b -10 -1189 24 -1174 8 -1178 b -20 -1192 -14 -1192 -16 -1192 l -24 -1192 l -24 -1052 l -24 -913 l -20 -913 b 0 -931 -9 -913 -2 -920 b 27 -995 4 -946 14 -974 b 138 -1128 53 -1043 88 -1085 b 257 -1275 190 -1172 228 -1220 b 262 -1283 259 -1279 262 -1283 l 262 -1283 b 269 -1249 264 -1282 268 -1260 b 270 -1206 270 -1233 270 -1220 b 98 -891 270 -1075 206 -957 b 40 -871 76 -877 58 -871 b -10 -886 24 -871 8 -875 b -20 -889 -14 -889 -16 -889 l -24 -889 l -24 -749 l -24 -610 l -20 -610 b 0 -628 -9 -610 -2 -617 b 27 -692 4 -644 14 -671 b 138 -825 53 -741 88 -782 b 257 -973 190 -870 228 -917 b 262 -981 259 -977 262 -981 l 262 -981 b 269 -946 264 -979 268 -957 b 270 -903 270 -931 270 -917 b 98 -588 270 -774 206 -655 b 40 -569 76 -574 58 -569 b -10 -584 24 -569 8 -574 b -20 -587 -14 -587 -16 -587 l -24 -587 l -24 -448 l -24 -308 l -20 -308 b 0 -326 -9 -308 -2 -315 b 27 -390 4 -341 14 -369 b 138 -523 53 -438 88 -480 b 257 -670 190 -567 228 -614 b 262 -678 259 -674 262 -678 b 262 -678 262 -678 262 -678 b 269 -644 264 -677 268 -656 b 270 -601 270 -628 270 -614 b 98 -285 270 -471 206 -352 b 40 -266 76 -273 58 -266 b -10 -281 24 -266 8 -272 b -20 -284 -14 -284 -16 -284 l -24 -284 l -24 -145 "},vaa:{x_min:-1.359375,x_max:752.703125,ha:768,o:"m 490 985 b 504 986 495 986 500 986 b 604 907 551 986 593 954 b 607 884 607 900 607 892 b 581 813 607 857 597 831 l 578 810 l 583 811 b 710 932 638 827 687 873 b 714 943 711 936 713 942 b 730 952 720 949 725 952 b 752 931 741 952 752 943 b 200 -946 752 927 204 -941 b 182 -957 197 -953 190 -957 b 163 -945 174 -957 166 -953 b 161 -939 161 -942 161 -942 b 217 -743 161 -931 170 -904 b 272 -555 247 -639 272 -555 b 272 -555 272 -555 272 -555 b 264 -560 272 -555 268 -557 b 140 -603 227 -589 182 -603 b 36 -567 102 -603 65 -592 b -1 -487 12 -548 -1 -517 b 17 -427 -1 -466 5 -445 b 103 -380 38 -395 70 -380 b 191 -433 137 -380 172 -398 b 205 -484 201 -448 205 -466 b 178 -553 205 -509 196 -535 l 175 -557 l 182 -555 b 307 -435 236 -539 284 -494 b 372 -213 308 -430 372 -215 b 372 -213 372 -213 372 -213 b 364 -219 372 -213 368 -216 b 240 -262 328 -247 283 -262 b 137 -226 202 -262 166 -249 b 99 -145 112 -206 99 -176 b 118 -84 99 -124 106 -104 b 204 -38 138 -54 171 -38 b 292 -91 238 -38 273 -56 b 306 -141 302 -106 306 -124 b 279 -212 306 -167 296 -194 l 276 -215 l 281 -213 b 408 -93 336 -198 385 -151 b 473 129 409 -88 473 127 b 473 129 473 129 473 129 b 465 122 473 129 469 126 b 341 80 428 94 383 80 b 236 115 303 80 266 91 b 200 195 213 136 200 165 b 217 256 200 217 206 238 b 304 303 239 287 272 303 b 393 249 338 303 374 285 b 406 199 402 234 406 217 b 379 129 406 173 397 148 l 377 126 l 382 127 b 509 248 436 142 485 190 b 574 470 510 254 574 469 b 574 470 574 470 574 470 b 566 464 574 470 570 467 b 442 421 529 435 484 421 b 337 458 404 421 367 433 b 300 538 314 477 300 508 b 318 598 300 559 306 580 b 404 645 340 630 372 645 b 494 592 439 645 475 627 b 507 541 502 577 507 559 b 480 471 507 516 498 489 l 477 467 l 483 470 b 608 589 537 485 586 531 b 675 811 611 595 675 810 b 675 811 675 811 675 811 b 666 806 675 811 671 809 b 543 763 628 777 585 763 b 438 799 504 763 468 775 b 401 878 412 820 401 849 b 490 985 401 928 434 977 "},vab:{x_min:0,x_max:272.21875,ha:278,o:"m 243 631 b 250 632 246 632 249 632 b 270 620 259 632 268 628 l 272 616 l 272 201 l 272 -212 l 270 -216 b 251 -229 268 -224 259 -229 b 227 -215 243 -229 240 -229 l 151 -142 b 32 -16 81 -80 53 -49 b 0 84 9 18 0 52 b 111 199 0 149 42 199 b 137 197 119 199 127 198 b 228 151 168 191 197 177 l 231 148 l 231 383 b 232 620 231 616 231 616 b 243 631 234 624 238 630 m 168 131 b 152 133 163 133 157 133 b 107 102 130 133 111 120 b 106 86 107 97 106 91 b 111 41 106 73 108 56 b 227 -152 125 -13 171 -90 l 231 -156 l 231 -37 l 231 80 l 225 87 b 168 131 210 111 190 126 "},vad:{x_min:0,x_max:873.828125,ha:892,o:"m 0 0 l 0 703 l 81 703 l 164 703 l 164 0 l 164 -705 l 81 -705 l 0 -705 l 0 0 m 225 0 l 225 703 l 246 703 l 268 703 l 268 366 l 268 30 l 274 36 b 314 79 284 44 302 63 b 413 302 357 137 392 213 b 432 327 419 324 421 327 b 449 306 443 327 447 322 b 611 115 457 195 529 115 b 651 122 624 115 638 117 b 728 316 705 140 724 188 b 729 388 728 342 729 366 b 671 635 729 533 711 602 b 581 662 649 652 616 662 b 477 637 545 662 510 653 l 475 635 l 477 634 b 503 627 488 632 495 631 b 545 556 532 612 545 584 b 491 480 545 524 526 491 b 465 474 481 476 473 474 b 379 563 417 474 379 516 b 389 602 379 576 382 588 b 541 691 409 641 479 681 b 582 694 555 692 568 694 b 865 462 714 694 834 598 b 873 392 871 440 873 416 b 865 317 873 367 871 341 b 639 84 839 194 748 101 b 612 83 630 83 620 83 b 511 116 577 83 543 94 b 504 120 509 119 506 120 b 504 120 504 120 504 120 b 469 59 504 120 488 93 l 432 -1 l 469 -61 b 504 -122 488 -94 504 -122 b 504 -122 504 -122 504 -122 b 511 -117 506 -122 509 -120 b 612 -84 543 -95 577 -84 b 665 -91 630 -84 647 -87 b 869 -338 771 -122 850 -216 b 873 -392 872 -356 873 -374 b 798 -595 873 -469 847 -539 b 581 -695 741 -662 660 -695 b 406 -626 517 -695 454 -671 b 381 -563 389 -607 381 -585 b 465 -477 381 -519 413 -477 b 545 -559 514 -477 545 -519 b 503 -628 545 -587 532 -613 b 477 -635 495 -632 488 -634 l 475 -637 l 477 -638 b 581 -663 510 -655 545 -663 b 671 -637 616 -663 649 -653 b 729 -391 711 -603 729 -534 b 728 -317 729 -367 728 -344 b 623 -117 722 -173 698 -124 b 611 -116 619 -116 615 -116 b 449 -308 528 -116 457 -198 b 432 -328 447 -323 443 -328 b 413 -303 421 -328 419 -326 b 314 -80 392 -215 357 -138 b 274 -37 302 -65 284 -45 l 268 -31 l 268 -367 l 268 -705 l 246 -705 l 225 -705 l 225 0 "},vb1:{x_min:78.9375,x_max:485.921875,ha:417,o:"m 362 378 b 378 380 367 380 372 380 b 472 348 415 380 453 367 b 485 315 481 338 485 327 b 462 273 485 298 477 281 b 439 267 454 269 446 267 b 398 290 424 267 409 274 b 344 319 385 309 364 319 b 281 269 315 319 289 301 b 279 262 280 266 279 262 b 276 256 279 260 277 258 b 274 249 276 254 274 251 b 238 127 273 248 257 192 b 201 4 217 61 201 5 b 166 -1 198 -1 200 -1 b 153 -1 163 -1 157 -1 b 141 -1 148 -1 144 -1 b 104 4 106 -1 107 -1 b 104 6 104 5 104 5 b 142 144 104 13 110 34 b 182 278 164 219 181 276 b 183 288 182 281 182 285 b 185 302 185 292 185 298 b 164 330 185 317 176 328 b 159 330 163 330 161 330 b 102 302 140 330 119 320 b 91 294 95 295 93 294 b 88 294 91 294 89 294 b 78 303 83 294 78 298 b 81 312 78 306 78 309 b 200 373 106 347 160 373 b 215 371 205 373 209 371 b 266 335 235 367 254 353 b 269 331 268 333 269 331 b 269 331 269 331 269 331 b 273 335 269 331 270 334 b 362 378 298 359 330 376 "},vb3:{x_min:0,x_max:227.3125,ha:232,o:"m 91 213 b 100 215 93 215 96 215 b 227 58 167 215 224 144 b 227 52 227 56 227 54 b 61 -201 227 -43 164 -138 b 29 -216 44 -212 36 -216 b 23 -210 27 -216 24 -213 b 21 -205 21 -208 21 -206 b 34 -192 21 -201 25 -197 b 122 -55 89 -161 122 -106 b 104 6 122 -33 117 -12 l 103 9 l 96 9 b 4 79 57 9 17 38 b 0 112 1 90 0 101 b 91 213 0 163 36 209 "},vb4:{x_min:-597.53125,x_max:596.171875,ha:608,o:"m -533 324 b -525 327 -530 326 -528 327 b -504 305 -514 327 -504 317 b -504 305 -504 305 -504 305 b -513 284 -504 299 -504 299 b -556 112 -541 226 -556 167 b -545 33 -556 84 -552 58 b -524 -20 -541 15 -532 -9 l -522 -23 l -491 15 l -413 111 b -355 174 -367 169 -363 174 b -351 174 -353 174 -352 174 b -254 86 -343 174 -348 179 b -168 -1 -208 37 -168 -1 b -100 84 -168 -1 -137 37 b -23 173 -28 173 -29 172 b -19 174 -21 174 -20 174 b -8 173 -14 174 -10 173 b 80 86 -5 172 13 151 b 166 -1 127 37 166 -1 b 235 84 166 -1 197 37 b 311 173 306 173 304 172 b 317 174 313 174 314 174 b 326 173 319 174 323 173 b 490 11 329 172 366 134 l 502 -1 l 530 34 b 568 76 560 72 563 74 b 575 77 570 77 573 77 b 596 56 586 77 596 68 b 594 48 596 54 596 51 b 417 -172 592 41 424 -166 b 405 -176 415 -174 409 -176 b 396 -174 401 -176 398 -176 b 307 -87 393 -173 372 -152 b 221 -1 259 -38 221 -1 b 152 -86 221 -1 190 -38 b 76 -176 81 -174 83 -173 b 70 -176 74 -176 73 -176 b 61 -174 66 -176 62 -174 b -27 -87 58 -173 38 -152 b -114 -1 -74 -38 -112 -1 b -182 -86 -114 -1 -145 -38 b -258 -176 -253 -174 -253 -173 b -264 -176 -259 -176 -262 -176 b -274 -174 -268 -176 -272 -174 b -438 -11 -277 -173 -348 -102 l -449 0 l -479 -37 b -524 -80 -513 -80 -514 -80 l -524 -80 b -553 -52 -534 -80 -540 -74 b -597 109 -583 -8 -597 48 b -560 280 -597 165 -585 224 b -533 324 -548 310 -540 322 "},vb6:{x_min:0,x_max:556.6875,ha:568,o:"m 289 545 b 298 546 292 545 295 546 b 318 533 306 546 315 541 b 319 428 319 530 319 528 l 319 327 l 334 327 b 526 223 412 326 485 285 b 543 172 537 206 543 190 b 447 76 543 122 503 76 b 445 76 446 76 446 76 b 359 165 394 77 359 119 b 368 205 359 179 362 192 b 441 251 382 233 412 251 b 455 249 446 251 451 251 b 460 248 458 249 460 248 b 460 248 460 248 460 248 b 454 254 460 249 458 251 b 334 295 419 280 378 294 l 319 295 l 319 4 l 319 -287 l 321 -285 b 328 -285 322 -285 325 -285 b 524 -99 424 -277 507 -198 b 541 -79 526 -84 530 -79 b 556 -97 551 -79 556 -84 b 548 -133 556 -105 553 -117 b 334 -317 521 -233 434 -306 b 322 -319 329 -317 323 -317 l 319 -319 l 319 -424 b 319 -471 319 -444 319 -459 b 313 -541 319 -544 318 -535 b 298 -548 308 -545 303 -548 b 279 -534 289 -548 281 -542 b 277 -424 277 -531 277 -530 l 277 -317 l 273 -317 b 13 -95 153 -305 51 -217 b 0 2 4 -62 0 -29 b 182 295 0 126 66 238 b 274 324 210 309 249 320 l 277 324 l 277 427 b 279 533 277 528 277 530 b 289 545 281 538 285 542 m 277 2 b 277 291 277 161 277 291 b 268 288 277 291 273 290 b 144 1 179 265 144 184 b 276 -284 144 -199 175 -267 l 277 -285 l 277 2 "},vb7:{x_min:-176.9375,x_max:251.8125,ha:257,o:"m -8 631 b -1 632 -6 632 -4 632 b 19 620 8 632 16 628 b 20 503 20 616 20 614 b 20 391 20 442 20 391 b 84 424 20 391 49 406 l 147 456 l 152 456 b 153 456 153 456 153 456 b 175 435 166 456 175 446 b 172 427 175 433 174 430 b 92 380 170 420 172 421 l 20 342 l 20 245 l 20 148 l 21 151 b 137 199 59 183 99 199 b 182 191 152 199 167 197 b 251 84 227 176 251 134 b 228 0 251 58 243 29 b 100 -142 206 -40 178 -72 l 23 -215 b 0 -229 9 -229 6 -229 b -20 -216 -9 -229 -17 -224 b -21 54 -21 -212 -21 -212 b -21 322 -21 201 -21 322 b -85 290 -21 322 -50 308 l -148 256 l -153 256 b -155 256 -155 256 -155 256 b -176 277 -167 256 -176 266 b -174 285 -176 280 -175 283 b -93 333 -171 294 -174 292 l -21 370 l -21 494 b -20 620 -21 616 -21 616 b -8 631 -17 624 -13 630 m 110 131 b 96 133 106 133 100 133 b 89 133 93 133 91 133 b 24 87 63 129 40 113 l 20 80 l 20 -37 l 20 -156 l 23 -152 b 144 81 96 -72 144 20 l 144 83 b 110 131 144 113 134 126 "},vb9:{x_min:-122.5,x_max:121.140625,ha:124,o:"m -16 145 b 0 147 -10 147 -5 147 b 121 -1 66 147 121 77 b 114 -49 121 -16 118 -33 b -1 -148 95 -112 47 -148 b -85 -106 -31 -148 -61 -134 b -122 -1 -110 -76 -122 -38 b -16 145 -122 68 -81 134 m 12 111 b 0 113 8 113 4 113 b -68 22 -29 113 -61 73 b -70 0 -69 15 -70 6 b -13 -113 -70 -49 -47 -98 b -1 -115 -9 -115 -5 -115 b 63 -40 24 -115 53 -83 b 68 -1 66 -27 68 -15 b 12 111 68 48 46 97 "},vba:{x_min:-118.421875,x_max:597.53125,ha:381,o:"m 460 574 b 464 574 461 574 462 574 b 488 574 470 574 481 574 b 500 573 491 574 498 574 b 594 503 543 570 588 538 b 597 488 596 498 597 494 b 528 417 597 449 564 417 b 502 423 519 417 510 419 b 465 481 477 434 465 458 b 488 528 465 499 472 516 b 490 530 490 530 490 530 b 490 530 490 530 490 530 b 468 517 488 530 475 523 b 349 340 419 485 377 420 b 347 330 348 334 347 330 b 383 328 347 328 363 328 b 428 326 423 328 424 328 b 442 302 438 320 442 312 b 430 281 442 294 438 285 b 385 276 424 277 426 276 l 377 276 l 332 276 l 330 269 b 178 -117 303 126 250 -9 b 1 -249 129 -194 69 -237 b -20 -251 -6 -251 -13 -251 b -114 -187 -65 -251 -100 -227 b -118 -156 -117 -177 -118 -166 b -51 -84 -118 -116 -91 -84 b -31 -87 -46 -84 -39 -86 b 16 -152 0 -95 16 -124 b -12 -205 16 -173 8 -194 b -16 -208 -14 -206 -16 -208 b -14 -208 -16 -208 -14 -208 b -9 -206 -14 -208 -12 -208 b 74 -124 23 -197 54 -166 b 172 224 98 -79 125 22 b 185 276 178 252 183 274 b 185 276 185 276 185 276 b 141 276 185 276 181 276 b 91 280 96 276 96 276 b 77 302 83 285 77 294 b 91 326 77 312 83 320 b 148 328 95 328 96 328 l 198 330 l 202 341 b 460 574 249 473 351 566 "},vbf:{x_min:-53.078125,x_max:513.140625,ha:485,o:"m 185 383 b 196 384 187 383 191 384 b 277 334 230 384 259 365 b 288 301 281 324 288 306 b 288 297 288 298 288 297 b 294 302 289 297 291 299 b 394 370 323 338 367 367 b 404 371 398 370 401 371 b 510 272 453 371 498 328 b 513 237 513 262 513 251 b 507 172 513 217 511 192 b 326 -34 487 59 412 -26 b 314 -36 322 -36 318 -36 b 274 -24 298 -36 283 -31 l 265 -16 b 224 44 246 -1 232 20 b 223 49 224 47 223 49 b 223 49 223 49 223 49 b 149 -197 221 48 149 -194 b 149 -198 149 -197 149 -198 b 170 -210 149 -202 155 -205 b 187 -215 174 -210 175 -212 b 204 -231 201 -219 204 -222 b 197 -245 204 -240 202 -242 l 194 -248 l 76 -248 l -42 -248 l -46 -245 b -53 -231 -51 -242 -53 -240 b -35 -215 -53 -222 -49 -217 b -13 -210 -21 -212 -20 -212 b -6 -208 -10 -209 -8 -208 b 0 -206 -6 -208 -2 -206 b 25 -188 13 -201 21 -195 b 163 280 28 -183 163 276 b 166 291 163 283 164 287 b 167 302 167 295 167 299 b 155 324 167 315 161 324 b 155 324 155 324 155 324 b 65 230 125 322 85 280 b 53 215 61 217 58 215 b 51 215 53 215 51 215 b 42 224 46 215 42 217 b 57 263 42 231 47 244 b 140 360 77 305 104 337 b 152 370 144 365 149 369 b 185 383 157 376 172 381 m 374 306 b 366 308 371 308 368 308 b 300 273 348 308 321 294 b 284 254 288 262 287 259 b 280 242 283 249 281 245 b 257 169 279 240 270 213 l 236 98 l 236 93 b 251 48 238 77 243 61 b 279 27 258 37 272 27 b 281 27 279 27 280 27 b 291 31 281 27 287 30 b 396 170 334 52 378 109 b 406 247 402 197 406 224 b 401 277 406 259 405 270 b 374 306 397 290 383 303 "},vc3:{x_min:-10.890625,x_max:299.4375,ha:294,o:"m 136 460 b 142 462 137 462 140 462 b 166 449 152 462 161 456 b 171 428 168 446 168 445 b 288 131 194 322 238 209 b 298 115 295 120 296 117 b 299 106 298 112 299 109 b 273 81 299 91 287 81 b 255 86 268 81 261 83 b 155 116 225 104 183 116 l 152 116 l 149 108 b 141 83 148 102 144 91 b 134 48 137 69 134 58 b 149 9 134 34 140 24 b 153 -1 152 5 153 1 b 149 -9 153 -5 152 -6 b 144 -11 148 -11 147 -11 b 122 2 138 -11 133 -6 b 95 61 104 20 95 38 b 107 108 95 74 99 90 b 108 113 107 111 108 112 b 107 113 108 113 108 113 b 102 113 106 113 104 113 b 31 86 76 108 53 98 b 14 80 24 81 20 80 b -10 106 0 80 -10 91 b 0 131 -10 115 -9 116 b 115 430 49 209 91 317 b 136 460 119 451 123 456 "},vd0:{x_min:-10.890625,x_max:299.4375,ha:294,o:"m 44 174 b 51 174 47 174 49 174 b 68 173 55 174 61 174 l 287 112 l 551 40 b 615 20 617 22 609 23 b 626 0 622 16 626 8 b 615 -22 626 -9 622 -18 b 613 -23 613 -23 613 -23 b 613 -23 613 -23 613 -23 b 287 -113 613 -24 597 -29 l 68 -174 b 53 -176 61 -176 57 -176 b 39 -172 47 -176 43 -174 b 27 -151 31 -167 27 -159 b 39 -129 27 -141 31 -133 b 230 -74 43 -124 20 -131 l 370 -36 l 468 -9 b 498 0 484 -4 498 -1 b 468 8 498 0 484 2 l 370 34 l 230 73 b 40 126 28 129 43 124 b 27 149 31 131 27 140 b 44 174 27 161 34 170 m 205 110 l 205 300 b 205 330 245 330 245 300 l 245 300 l 245 -300 b 245 -330 205 -330 205 -300 l 205 -300 l 205 110 l 345 90 m 345 90 l 345 330 b 345 360 385 360 385 330 l 385 330 l 385 -270 b 385 -300 345 -300 345 -270 l 345 -270 l 345 90 "},vd1:{x_min:-20,x_max:320,ha:257,o:"m -8 200 b -8 210 8 200 16 200 l 20 148 -199 l 23 -615 b 0 -629 9 -629 6 -629 l -21 -612 l -21 -201 l -21 216 l -20 200 m 16 200 l 310 0 l 240 0 l 16 140 l 16 -120 l 240 0 l 310 0 l 16 -200 "},vd2:{x_min:0,x_max:430.75,ha:386,o:"m 0 200 l 0 -200 l 430 -200 l 430 200 l 0 200 "},vd3:{x_min:0,x_max:430.75,ha:386,o:"m 0 200 l 0 -200 l 430 -200 l 430 200 l 0 200 l 50 150 l 380 150 l 380 -150 l 50 -150 l 50 150 "},vd4:{x_min:0,x_max:430.75,ha:360,o:"m 0 150 l 0 -150 l 430 -150 l 430 150 l 0 150 "},vd5:{x_min:0,x_max:430.75,ha:360,o:"m 0 150 l 0 -150 l 430 -150 l 430 150 l 0 150 l 50 100 l 380 100 l 380 -100 l 50 -100 l 50 100"},vd6:{x_min:0,x_max:430.75,ha:360,o:"m -146 537 b -138 538 -143 538 -141 538 b -118 525 -129 538 -121 533 b -117 390 -117 522 -117 521 b -115 259 -117 268 -117 259 b -115 259 -115 259 -115 259 b -59 272 -104 263 -62 272 b -39 259 -50 272 -42 267 b -37 209 -38 257 -37 233 b -39 159 -37 185 -38 162 b -85 138 -43 149 -44 149 l -117 131 l -117 21 b -115 -88 -117 -80 -117 -88 b -115 -88 -115 -88 -115 -88 b -59 -75 -104 -84 -62 -75 b -44 -81 -52 -75 -48 -77 b -38 -124 -38 -87 -38 -85 b -38 -138 -38 -124 -38 -138 b -38 -152 -38 -138 -38 -152 b -44 -195 -38 -191 -38 -190 b -85 -209 -48 -200 -48 -200 l -117 -217 l -117 -349 b -118 -486 -117 -481 -117 -482 b -138 -499 -121 -494 -129 -499 b -153 -493 -143 -499 -149 -497 b -159 -415 -158 -487 -159 -496 b -159 -355 -159 -398 -159 -379 b -159 -227 -159 -284 -159 -227 b -205 -238 -159 -227 -180 -232 b -250 -249 -230 -244 -250 -249 b -251 -386 -251 -249 -251 -311 b -252 -525 -251 -521 -251 -522 b -272 -538 -255 -534 -264 -538 b -287 -532 -277 -538 -283 -536 b -293 -452 -292 -527 -293 -536 b -293 -391 -293 -436 -293 -415 b -294 -260 -293 -269 -293 -260 b -294 -260 -294 -260 -294 -260 b -348 -272 -306 -264 -345 -272 b -368 -259 -357 -272 -365 -267 b -369 -209 -369 -257 -369 -233 b -368 -159 -369 -185 -369 -162 b -323 -139 -364 -149 -362 -148 l -293 -131 l -293 -22 b -294 87 -293 80 -293 87 b -294 87 -294 87 -294 87 b -348 75 -306 84 -345 75 b -368 88 -357 75 -365 80 b -369 138 -369 91 -369 114 b -368 188 -369 162 -369 186 b -323 209 -364 198 -362 199 l -293 216 l -293 349 b -292 486 -293 481 -293 482 b -272 499 -288 494 -280 499 b -257 493 -266 499 -261 497 b -251 414 -251 487 -251 496 b -251 354 -251 398 -251 378 b -251 226 -251 284 -251 226 b -205 238 -250 226 -230 231 b -159 249 -180 244 -159 249 b -159 385 -159 249 -159 310 b -157 525 -159 521 -159 522 b -146 537 -156 530 -151 535 z m -159 11 b -159 120 -159 98 -159 120 l -159 120 b -175 116 -160 120 -167 119 b -221 105 -184 114 -204 109 l -251 98 l -251 -12 b -251 -121 -251 -72 -251 -121 b -205 -110 -250 -121 -230 -116 b -159 -99 -180 -104 -159 -99 b -159 11 -159 -99 -159 -49 z m 89 517 b 97 519 92 518 94 519 b 117 505 106 519 114 513 b 119 376 119 502 119 501 l 119 249 l 145 258 b 176 267 169 266 172 267 b 177 267 176 267 177 267 b 196 255 186 267 192 263 l 197 252 l 197 205 b 197 181 197 195 197 187 b 193 149 197 153 197 153 b 152 131 190 144 187 143 l 119 120 l 119 10 b 119 -100 119 -62 119 -100 b 145 -91 120 -100 131 -96 b 173 -82 159 -86 171 -82 b 176 -81 174 -81 175 -81 b 196 -94 185 -81 193 -87 b 198 -151 197 -97 198 -125 b 197 -194 198 -172 197 -192 b 153 -218 193 -203 192 -204 l 119 -230 l 119 -367 l 118 -504 l 117 -507 b 97 -519 113 -514 105 -519 b 82 -512 92 -519 87 -517 b 76 -434 77 -507 76 -516 b 76 -374 76 -418 76 -398 b 76 -245 76 -303 76 -245 b 52 -254 76 -245 65 -249 b 19 -263 34 -260 25 -263 b 6 -257 13 -263 10 -261 b 0 -214 0 -251 0 -253 b 0 -200 0 -210 0 -205 b 0 -188 0 -196 0 -192 b 6 -143 0 -147 0 -149 b 46 -126 10 -139 10 -139 l 76 -115 l 76 -5 b 76 106 76 56 76 106 b 51 98 76 106 64 102 b 18 89 34 92 25 89 b 6 95 13 89 10 91 b 0 139 0 101 0 99 b 0 153 0 143 0 148 b 0 179 0 163 0 172 b 44 225 0 215 3 211 l 76 236 l 76 369 b 78 505 76 501 76 502 b 89 517 80 510 85 515 z "},vd7:{x_min:0,x_max:430.75,ha:360,o:"m 283 633 b 291 634 286 634 289 634 b 311 621 300 634 308 629 b 313 505 313 618 313 617 b 313 393 313 443 313 393 b 378 425 313 393 343 407 l 443 458 l 448 458 b 449 458 449 458 449 458 b 471 437 462 458 471 448 b 469 429 471 434 470 432 b 387 382 466 421 469 423 l 313 344 l 313 247 l 313 150 l 315 152 b 433 201 353 184 394 201 b 479 193 448 201 464 198 b 549 86 524 177 549 135 b 526 1 549 59 541 29 b 395 -143 504 -39 475 -71 b 316 -214 351 -182 341 -191 b 292 -229 302 -228 300 -229 b 272 -216 283 -229 275 -224 b 271 55 271 -212 271 -212 b 270 323 271 203 270 323 b 205 291 270 323 241 308 l 140 258 l 135 258 b 134 258 135 258 134 258 b 112 279 121 258 112 267 b 114 287 112 281 113 284 b 196 334 117 295 114 293 l 271 371 l 271 495 b 272 621 271 617 271 618 b 283 633 274 626 279 631 z m 404 133 b 391 134 400 134 395 134 b 384 134 388 134 386 134 b 318 88 358 130 335 114 l 313 81 l 313 -37 l 313 -156 l 316 -152 b 439 83 391 -71 439 22 l 439 84 b 404 133 439 115 430 128 z m -8 633 l -8 633 b 0 634 -6 634 -3 634 b 20 621 8 634 17 629 b 21 384 21 618 21 617 l 21 150 l 24 152 b 141 201 62 184 102 201 b 187 193 157 201 172 198 b 257 86 232 177 257 135 b 234 1 257 59 250 29 b 103 -143 212 -39 183 -71 b 24 -214 60 -182 49 -191 b 0 -229 10 -228 8 -229 b -20 -216 -9 -229 -17 -224 l -21 -212 l -21 203 l -21 618 l -20 621 b -8 633 -18 626 -13 631 z m 113 133 l 113 133 b 99 134 109 134 103 134 b 93 134 97 134 94 134 b 26 88 66 130 43 114 l 21 81 l 21 -37 l 21 -156 l 25 -152 b 148 83 99 -71 148 22 l 148 84 b 113 133 148 115 138 128 z "},rwl:{x_min:0,x_max:737.71875,ha:753,o:"m 9 13 b 208 15 10 15 51 15 b 368 15 251 15 304 15 l 726 15 l 729 12 b 737 -1 735 9 737 4 b 729 -15 737 -6 735 -11 l 726 -16 l 660 -16 l 592 -16 l 592 -95 l 592 -174 l 368 -174 l 144 -174 l 144 -95 l 144 -16 l 77 -16 l 9 -16 l 6 -15 b 0 -1 1 -11 0 -6 b 9 13 0 5 2 11 "},rhl:{x_min:0,x_max:737.71875,ha:753,o:"m 144 94 l 144 173 l 368 173 l 592 173 l 592 94 l 592 15 l 660 15 l 726 15 l 729 12 b 737 -1 735 9 737 4 b 729 -15 737 -6 735 -11 l 726 -16 l 368 -16 l 9 -16 l 6 -15 b 0 -1 1 -11 0 -6 b 6 12 0 4 1 9 l 9 15 l 77 15 l 144 15 l 144 94 "}},cssFontWeight:"normal",ascender:1903,underlinePosition:-125,cssFontStyle:"normal",boundingBox:{yMin:-2065.375,xMin:-695.53125,yMax:1901.578125,xMax:1159.671875},resolution:1e3,descender:-2066,familyName:"VexFlow-18",lineHeight:4093,underlineThickness:50};function processOutline(i,e,r,s,o,a){let l,c,u,d=0;function g(){return e+i[d++]*s}function m(){return r+i[d++]*o}for(;d<i.length;)switch(l=i[d++],l){case"m":case"l":a[l](g(),m());break;case"q":c=g(),u=m(),a.q(g(),m(),c,u);break;case"b":c=g(),u=m(),a.b(g(),m(),g(),m(),c,u);break}}class Glyph extends Element$1{static loadMetrics(e,r,s){const o=e.glyphs[r];if(!o)throw new Vex.RERR("BadGlyph",`Glyph ${r} does not exist in font.`);const a=o.x_min,l=o.x_max,c=o.ha;let u;if(o.o)return s?o.cached_outline?u=o.cached_outline:(u=o.o.split(" "),o.cached_outline=u):(o.cached_outline&&delete o.cached_outline,u=o.o.split(" ")),{x_min:a,x_max:l,ha:c,outline:u};throw new Vex.RERR("BadGlyph",`Glyph ${r} has no outline defined.`)}static renderGlyph(e,r,s,o,a,l){const c=o*72/(Font.resolution*100),u=Glyph.loadMetrics(Font,a,!l);Glyph.renderOutline(e,u.outline,c,r,s)}static renderOutline(e,r,s,o,a){e.beginPath(),e.moveTo(o,a),processOutline(r,o,a,s,-s,{m:e.moveTo.bind(e),l:e.lineTo.bind(e),q:e.quadraticCurveTo.bind(e),b:e.bezierCurveTo.bind(e)}),e.fill()}static getOutlineBoundingBox(e,r,s,o){const a=new BoundingBoxComputation;return processOutline(e,s,o,r,-r,{m:a.addPoint.bind(a),l:a.addPoint.bind(a),q:a.addQuadraticCurve.bind(a),b:a.addBezierCurve.bind(a)}),new BoundingBox(a.x1,a.y1,a.width(),a.height())}constructor(e,r,s){super(),this.setAttribute("type","Glyph"),this.code=e,this.point=r,this.options={cache:!0,font:Font},this.metrics=null,this.x_shift=0,this.y_shift=0,this.originShift={x:0,y:0},s?this.setOptions(s):this.reset()}setOptions(e){Vex.Merge(this.options,e),this.reset()}setPoint(e){return this.point=e,this}setStave(e){return this.stave=e,this}setXShift(e){return this.x_shift=e,this}setYShift(e){return this.y_shift=e,this}reset(){this.scale=this.point*72/(this.options.font.resolution*100),this.metrics=Glyph.loadMetrics(this.options.font,this.code,this.options.cache),this.bbox=Glyph.getOutlineBoundingBox(this.metrics.outline,this.scale,0,0)}getMetrics(){if(!this.metrics)throw new Vex.RuntimeError("BadGlyph",`Glyph ${this.code} is not initialized.`);return{x_min:this.metrics.x_min*this.scale,x_max:this.metrics.x_max*this.scale,width:this.bbox.getW(),height:this.bbox.getH()}}setOriginX(e){const{bbox:r}=this,s=Math.abs(r.getX()/r.getW()),o=(e-s)*r.getW();this.originShift.x=-o}setOriginY(e){const{bbox:r}=this,s=Math.abs(r.getY()/r.getH()),o=(e-s)*r.getH();this.originShift.y=-o}setOrigin(e,r){this.setOriginX(e),this.setOriginY(r)}render(e,r,s){if(!this.metrics)throw new Vex.RuntimeError("BadGlyph",`Glyph ${this.code} is not initialized.`);const o=this.metrics.outline,a=this.scale;this.setRendered(),this.applyStyle(e),Glyph.renderOutline(e,o,a,r+this.originShift.x,s+this.originShift.y),this.restoreStyle(e)}renderToStave(e){if(this.checkContext(),!this.metrics)throw new Vex.RuntimeError("BadGlyph",`Glyph ${this.code} is not initialized.`);if(!this.stave)throw new Vex.RuntimeError("GlyphError","No valid stave");const r=this.metrics.outline,s=this.scale;this.setRendered(),this.applyStyle(),Glyph.renderOutline(this.context,r,s,e+this.x_shift,this.stave.getYForGlyphs()+this.y_shift),this.restoreStyle()}}const Flow={STEM_WIDTH:1.5,STEM_HEIGHT:35,STAVE_LINE_THICKNESS:1,RESOLUTION:16384,DEFAULT_NOTATION_FONT_SCALE:39,DEFAULT_TABLATURE_FONT_SCALE:39,SLASH_NOTEHEAD_WIDTH:15,TEXT_HEIGHT_OFFSET_HACK:1,IsKerned:!0};Flow.clefProperties=i=>{if(!i)throw new Vex.RERR("BadArgument","Invalid clef: "+i);const e=Flow.clefProperties.values[i];if(!e)throw new Vex.RERR("BadArgument","Invalid clef: "+i);return e};Flow.clefProperties.values={treble:{line_shift:0},bass:{line_shift:6},tenor:{line_shift:4},alto:{line_shift:3},soprano:{line_shift:1},percussion:{line_shift:0},"mezzo-soprano":{line_shift:2},"baritone-c":{line_shift:5},"baritone-f":{line_shift:5},subbass:{line_shift:7},french:{line_shift:-1}};Flow.keyProperties=(i,e,r)=>{e===void 0&&(e="treble");const s={octave_shift:0};typeof r=="object"&&Vex.Merge(s,r);const o=i.split("/");if(o.length<2)throw new Vex.RERR("BadArguments",`Key must have note + octave and an optional glyph: ${i}`);const a=o[0].toUpperCase(),l=Flow.keyProperties.note_values[a];if(!l)throw new Vex.RERR("BadArguments","Invalid key name: "+a);l.octave&&(o[1]=l.octave);let c=parseInt(o[1],10);c-=s.octave_shift;let d=(c*7-4*7+l.index)/2;d+=Flow.clefProperties(e).line_shift;let g=0;d<=0&&d*2%2===0&&(g=1),d>=6&&d*2%2===0&&(g=-1);const m=typeof l.int_val<"u"?c*12+l.int_val:null,y=l.code,b=l.shift_right;let A={};if(o.length>2&&o[2]){const S=o[2].toUpperCase();A=Flow.keyProperties.customNoteHeads[S]||{}}return{key:a,octave:c,line:d,int_value:m,accidental:l.accidental,code:y,stroke:g,shift_right:b,displaced:!1,...A}};Flow.keyProperties.note_values={C:{index:0,int_val:0,accidental:null},CN:{index:0,int_val:0,accidental:"n"},"C#":{index:0,int_val:1,accidental:"#"},"C##":{index:0,int_val:2,accidental:"##"},CB:{index:0,int_val:-1,accidental:"b"},CBB:{index:0,int_val:-2,accidental:"bb"},D:{index:1,int_val:2,accidental:null},DN:{index:1,int_val:2,accidental:"n"},"D#":{index:1,int_val:3,accidental:"#"},"D##":{index:1,int_val:4,accidental:"##"},DB:{index:1,int_val:1,accidental:"b"},DBB:{index:1,int_val:0,accidental:"bb"},E:{index:2,int_val:4,accidental:null},EN:{index:2,int_val:4,accidental:"n"},"E#":{index:2,int_val:5,accidental:"#"},"E##":{index:2,int_val:6,accidental:"##"},EB:{index:2,int_val:3,accidental:"b"},EBB:{index:2,int_val:2,accidental:"bb"},F:{index:3,int_val:5,accidental:null},FN:{index:3,int_val:5,accidental:"n"},"F#":{index:3,int_val:6,accidental:"#"},"F##":{index:3,int_val:7,accidental:"##"},FB:{index:3,int_val:4,accidental:"b"},FBB:{index:3,int_val:3,accidental:"bb"},G:{index:4,int_val:7,accidental:null},GN:{index:4,int_val:7,accidental:"n"},"G#":{index:4,int_val:8,accidental:"#"},"G##":{index:4,int_val:9,accidental:"##"},GB:{index:4,int_val:6,accidental:"b"},GBB:{index:4,int_val:5,accidental:"bb"},A:{index:5,int_val:9,accidental:null},AN:{index:5,int_val:9,accidental:"n"},"A#":{index:5,int_val:10,accidental:"#"},"A##":{index:5,int_val:11,accidental:"##"},AB:{index:5,int_val:8,accidental:"b"},ABB:{index:5,int_val:7,accidental:"bb"},B:{index:6,int_val:11,accidental:null},BN:{index:6,int_val:11,accidental:"n"},"B#":{index:6,int_val:12,accidental:"#"},"B##":{index:6,int_val:13,accidental:"##"},BB:{index:6,int_val:10,accidental:"b"},BBB:{index:6,int_val:9,accidental:"bb"},R:{index:6,int_val:9,rest:!0},X:{index:6,accidental:"",octave:4,code:"v3e",shift_right:5.5}};Flow.keyProperties.customNoteHeads={D0:{code:"v27",shift_right:0,stem_up_x_offset:0,stem_down_x_offset:0,stem_up_y_offset:-1,stem_down_y_offset:0},D1:{code:"v2d",shift_right:-.5},D2:{code:"v22",shift_right:-.5},D3:{code:"v70",shift_right:-.5},T0:{code:"v49",shift_right:-2,stem_up_y_offset:-4,stem_down_y_offset:4},T1:{code:"v93",shift_right:.5,stem_up_y_offset:-4,stem_down_y_offset:4},T2:{code:"v40",shift_right:.5,stem_up_y_offset:-4,stem_down_y_offset:4},T3:{code:"v7d",shift_right:.5,stem_up_y_offset:-4,stem_down_y_offset:4},TI:{code:"v11",shift_right:0,stem_up_y_shift:5,stem_down_y_shift:5,stem_up_x_offset:6,stem_down_x_offset:4},X0:{code:"v92",stem_up_x_offset:-2,stem_down_x_offset:0,stem_up_y_offset:4,stem_down_y_offset:4},X1:{code:"v95",shift_right:-.5,stem_up_y_offset:4,stem_down_y_offset:4},X2:{code:"v3e",shift_right:.5,stem_up_y_offset:4,stem_down_y_offset:4},X3:{code:"v3b",shift_right:0,stem_up_x_offset:-1.2,stem_down_x_offset:0,stem_up_y_offset:-1,stem_down_y_offset:2},S1:{code:"vd3",shift_right:0},S2:{code:"vd2",shift_right:0},R1:{code:"vd5",shift_right:0},R2:{code:"vd4",shift_right:0},rwl:{code:"rwl",shift_right:0},rhl:{code:"rhl",shift_right:0}};Flow.integerToNote=i=>{if(typeof i>"u")throw new Vex.RERR("BadArguments","Undefined integer for integerToNote");if(i<-2)throw new Vex.RERR("BadArguments",`integerToNote requires integer > -2: ${i}`);const e=Flow.integerToNote.table[i];if(!e)throw new Vex.RERR("BadArguments",`Unknown note value for integer: ${i}`);return e};Flow.integerToNote.table={0:"C",1:"C#",2:"D",3:"D#",4:"E",5:"F",6:"F#",7:"G",8:"G#",9:"A",10:"A#",11:"B"};Flow.tabToGlyph=(i,e=1)=>{let r=null,s=0,o=0;if(i.toString().toUpperCase()==="X"){const a=new Glyph("v7f",Flow.DEFAULT_TABLATURE_FONT_SCALE).getMetrics();r="v7f",s=a.width,o=-a.height/2}else s=Flow.textWidth(i.toString());return{text:i,code:r,getWidth:()=>s*e,shift_y:o}};Flow.textWidth=i=>7*i.toString().length;Flow.articulationCodes=i=>Flow.articulationCodes.articulations[i];Flow.articulationCodes.articulations={"a.":{code:"v23",between_lines:!0},av:{code:"v28",between_lines:!0},"a>":{code:"v42",between_lines:!0},"a-":{code:"v25",between_lines:!0},"a^":{code:"va",between_lines:!1},"a+":{code:"v8b",between_lines:!1},ao:{code:"v94",between_lines:!1},ah:{code:"vb9",between_lines:!1},"a@a":{code:"v43",between_lines:!1},"a@u":{code:"v5b",between_lines:!1},"a|":{code:"v75",between_lines:!1},am:{code:"v97",between_lines:!1},"a,":{code:"vb3",between_lines:!1}};Flow.accidentalCodes=i=>Flow.accidentalCodes.accidentals[i];Flow.accidentalCodes.accidentals={"#":{code:"v18",parenRightPaddingAdjustment:-1},"##":{code:"v7f",parenRightPaddingAdjustment:-1},b:{code:"v44",parenRightPaddingAdjustment:-2},bb:{code:"v26",parenRightPaddingAdjustment:-2},n:{code:"v4e",parenRightPaddingAdjustment:-1},"{":{code:"v9c",parenRightPaddingAdjustment:-1},"}":{code:"v84",parenRightPaddingAdjustment:-1},db:{code:"v9e",parenRightPaddingAdjustment:-1},d:{code:"vab",parenRightPaddingAdjustment:0},bbs:{code:"v90",parenRightPaddingAdjustment:-1},"++":{code:"v51",parenRightPaddingAdjustment:-1},"+":{code:"v78",parenRightPaddingAdjustment:-1},"+-":{code:"v8d",parenRightPaddingAdjustment:-1},"++-":{code:"v7a",parenRightPaddingAdjustment:-1},bs:{code:"vb7",parenRightPaddingAdjustment:-1},bss:{code:"v39",parenRightPaddingAdjustment:-1},o:{code:"vd0",parenRightPaddingAdjustment:-1},k:{code:"vd1",parenRightPaddingAdjustment:-1},ashs:{code:"vd6",parenRightPaddingAdjustment:-1},afhf:{code:"vd7",parenRightPaddingAdjustment:-1}};Flow.accidentalColumnsTable={1:{a:[1],b:[1]},2:{a:[1,2]},3:{a:[1,3,2],b:[1,2,1],second_on_bottom:[1,2,3]},4:{a:[1,3,4,2],b:[1,2,3,1],spaced_out_tetrachord:[1,2,1,2]},5:{a:[1,3,5,4,2],b:[1,2,4,3,1],spaced_out_pentachord:[1,2,3,2,1],very_spaced_out_pentachord:[1,2,1,2,1]},6:{a:[1,3,5,6,4,2],b:[1,2,4,5,3,1],spaced_out_hexachord:[1,3,2,1,3,2],very_spaced_out_hexachord:[1,2,1,2,1,2]}};Flow.ornamentCodes=i=>Flow.ornamentCodes.ornaments[i];Flow.ornamentCodes.ornaments={mordent:{code:"v1e"},mordent_inverted:{code:"v45"},turn:{code:"v72"},turn_inverted:{code:"v33"},tr:{code:"v1f"},upprall:{code:"v60"},downprall:{code:"vb4"},prallup:{code:"v6d"},pralldown:{code:"v2c"},upmordent:{code:"v29"},downmordent:{code:"v68"},lineprall:{code:"v20"},prallprall:{code:"v86"}};Flow.keySignature=i=>{const e=Flow.keySignature.keySpecs[i];if(!e)throw new Vex.RERR("BadKeySignature",`Bad key signature spec: '${i}'`);if(!e.acc)return[];const r=Flow.keySignature.accidentalList(e.acc),s=[];for(let o=0;o<e.num;++o){const a=r[o];s.push({type:e.acc,line:a})}return s};Flow.keySignature.keySpecs={C:{acc:null,num:0},Am:{acc:null,num:0},F:{acc:"b",num:1},Dm:{acc:"b",num:1},Bb:{acc:"b",num:2},Gm:{acc:"b",num:2},Eb:{acc:"b",num:3},Cm:{acc:"b",num:3},Ab:{acc:"b",num:4},Fm:{acc:"b",num:4},Db:{acc:"b",num:5},Bbm:{acc:"b",num:5},Gb:{acc:"b",num:6},Ebm:{acc:"b",num:6},Cb:{acc:"b",num:7},Abm:{acc:"b",num:7},G:{acc:"#",num:1},Em:{acc:"#",num:1},D:{acc:"#",num:2},Bm:{acc:"#",num:2},A:{acc:"#",num:3},"F#m":{acc:"#",num:3},E:{acc:"#",num:4},"C#m":{acc:"#",num:4},B:{acc:"#",num:5},"G#m":{acc:"#",num:5},"F#":{acc:"#",num:6},"D#m":{acc:"#",num:6},"C#":{acc:"#",num:7},"A#m":{acc:"#",num:7}};Flow.unicode={sharp:String.fromCharCode(parseInt("266F",16)),flat:String.fromCharCode(parseInt("266D",16)),natural:String.fromCharCode(parseInt("266E",16)),triangle:String.fromCharCode(parseInt("25B3",16)),"o-with-slash":String.fromCharCode(parseInt("00F8",16)),degrees:String.fromCharCode(parseInt("00B0",16)),circle:String.fromCharCode(parseInt("25CB",16))};Flow.keySignature.accidentalList=i=>({b:[2,.5,2.5,1,3,1.5,3.5],"#":[0,1.5,-.5,1,2.5,.5,2]})[i];Flow.parseNoteDurationString=i=>{if(typeof i!="string")return null;const r=/(\d*\/?\d+|[a-z])(d*)([nrhms]|$)/.exec(i);if(!r)return null;const s=r[1],o=r[2].length;let a=r[3];return a.length===0&&(a="n"),{duration:s,dots:o,type:a}};Flow.parseNoteStruct=i=>{const e=i.duration,r=Flow.parseNoteDurationString(e);if(!r)return null;let s=Flow.durationToTicks(r.duration);if(s==null)return null;let o=i.type;const a=[];if(o){if(!Flow.getGlyphProps.validTypes[o])return null}else o=r.type||"n",i.keys!==void 0&&i.keys.forEach((u,d)=>{const g=u.split("/");g&&g.length===3&&(a[d]=g[2])});const l=i.dots?i.dots:r.dots;if(typeof l!="number")return null;let c=s;for(let u=0;u<l;u++){if(c<=1)return null;c=c/2,s+=c}return{duration:r.duration,type:o,customTypes:a,dots:l,ticks:s}};Flow.sanitizeDuration=i=>{const e=Flow.durationAliases[i];if(e!==void 0&&(i=e),Flow.durationToTicks.durations[i]===void 0)throw new Vex.RERR("BadArguments",`The provided duration is not valid: ${i}`);return i};Flow.durationToFraction=i=>new Fraction().parse(Flow.sanitizeDuration(i));Flow.durationToNumber=i=>Flow.durationToFraction(i).value();Flow.durationToTicks=i=>{i=Flow.sanitizeDuration(i);const e=Flow.durationToTicks.durations[i];return e===void 0?null:e};Flow.durationToTicks.durations={"1/2":Flow.RESOLUTION*2,1:Flow.RESOLUTION/1,2:Flow.RESOLUTION/2,4:Flow.RESOLUTION/4,8:Flow.RESOLUTION/8,16:Flow.RESOLUTION/16,32:Flow.RESOLUTION/32,64:Flow.RESOLUTION/64,128:Flow.RESOLUTION/128,256:Flow.RESOLUTION/256};Flow.durationAliases={w:"1",h:"2",q:"4",b:"256"};Flow.getGlyphProps=(i,e)=>{i=Flow.sanitizeDuration(i);const r=Flow.getGlyphProps.duration_codes[i];if(r===void 0)return null;e||(e="n");let s=r.type[e];if(s===void 0){const o=Flow.keyProperties.customNoteHeads[e.toUpperCase()];if(o===void 0)return null;s={code_head:o.code,...o}}return{...r.common,...s}};Flow.getGlyphProps.validTypes={n:{name:"note"},r:{name:"rest"},h:{name:"harmonic"},m:{name:"muted"},s:{name:"slash"}};Flow.getGlyphProps.duration_codes={"1/2":{common:{getWidth(i=Flow.DEFAULT_NOTATION_FONT_SCALE){return new Glyph(this.code_head||"v53",i).getMetrics().width},stem:!1,stem_offset:0,flag:!1,stem_up_extension:-Flow.STEM_HEIGHT,stem_down_extension:-Flow.STEM_HEIGHT,tabnote_stem_up_extension:-Flow.STEM_HEIGHT,tabnote_stem_down_extension:-Flow.STEM_HEIGHT,dot_shiftY:0,line_above:0,line_below:0},type:{n:{code_head:"v53"},h:{code_head:"v59"},m:{code_head:"vf",stem_offset:0},r:{code_head:"v31",rest:!0,position:"B/5",dot_shiftY:.5},s:{getWidth:()=>Flow.SLASH_NOTEHEAD_WIDTH,position:"B/4"}}},1:{common:{getWidth(i=Flow.DEFAULT_NOTATION_FONT_SCALE){return new Glyph(this.code_head||"v1d",i).getMetrics().width},stem:!1,stem_offset:0,flag:!1,stem_up_extension:-Flow.STEM_HEIGHT,stem_down_extension:-Flow.STEM_HEIGHT,tabnote_stem_up_extension:-Flow.STEM_HEIGHT,tabnote_stem_down_extension:-Flow.STEM_HEIGHT,dot_shiftY:0,line_above:0,line_below:0},type:{n:{code_head:"v1d"},h:{code_head:"v46"},m:{code_head:"v92",stem_offset:-3},r:{code_head:"v5c",rest:!0,position:"D/5",dot_shiftY:.5},s:{getWidth:()=>Flow.SLASH_NOTEHEAD_WIDTH,position:"B/4"}}},2:{common:{getWidth(i=Flow.DEFAULT_NOTATION_FONT_SCALE){return new Glyph(this.code_head||"v81",i).getMetrics().width},stem:!0,stem_offset:0,flag:!1,stem_up_extension:0,stem_down_extension:0,tabnote_stem_up_extension:0,tabnote_stem_down_extension:0,dot_shiftY:0,line_above:0,line_below:0},type:{n:{code_head:"v81"},h:{code_head:"v2d"},m:{code_head:"v95",stem_offset:-3},r:{code_head:"vc",stem:!1,rest:!0,position:"B/4",dot_shiftY:-.5},s:{getWidth:()=>Flow.SLASH_NOTEHEAD_WIDTH,position:"B/4"}}},4:{common:{getWidth(i=Flow.DEFAULT_NOTATION_FONT_SCALE){return new Glyph(this.code_head||"vb",i).getMetrics().width},stem:!0,stem_offset:0,flag:!1,stem_up_extension:0,stem_down_extension:0,tabnote_stem_up_extension:0,tabnote_stem_down_extension:0,dot_shiftY:0,line_above:0,line_below:0},type:{n:{code_head:"vb"},h:{code_head:"v22"},m:{code_head:"v3e",stem_offset:-3},r:{code_head:"v7c",stem:!1,rest:!0,position:"B/4",dot_shiftY:-.5,line_above:1.5,line_below:1.5},s:{getWidth:()=>Flow.SLASH_NOTEHEAD_WIDTH,position:"B/4"}}},8:{common:{getWidth(i=Flow.DEFAULT_NOTATION_FONT_SCALE){return new Glyph(this.code_head||"vb",i).getMetrics().width},stem:!0,stem_offset:0,flag:!0,beam_count:1,code_flag_upstem:"v54",code_flag_downstem:"v9a",stem_up_extension:0,stem_down_extension:0,tabnote_stem_up_extension:0,tabnote_stem_down_extension:0,dot_shiftY:0,line_above:0,line_below:0},type:{n:{code_head:"vb"},h:{code_head:"v22"},m:{code_head:"v3e"},r:{code_head:"va5",stem:!1,flag:!1,rest:!0,position:"B/4",dot_shiftY:-.5,line_above:1,line_below:1},s:{getWidth:()=>Flow.SLASH_NOTEHEAD_WIDTH,position:"B/4"}}},16:{common:{beam_count:2,getWidth(i=Flow.DEFAULT_NOTATION_FONT_SCALE){return new Glyph(this.code_head||"vb",i).getMetrics().width},stem:!0,stem_offset:0,flag:!0,code_flag_upstem:"v3f",code_flag_downstem:"v8f",stem_up_extension:0,stem_down_extension:0,tabnote_stem_up_extension:0,tabnote_stem_down_extension:0,dot_shiftY:0,line_above:0,line_below:0},type:{n:{code_head:"vb"},h:{code_head:"v22"},m:{code_head:"v3e"},r:{code_head:"v3c",stem:!1,flag:!1,rest:!0,position:"B/4",dot_shiftY:-.5,line_above:1,line_below:2},s:{getWidth:()=>Flow.SLASH_NOTEHEAD_WIDTH,position:"B/4"}}},32:{common:{beam_count:3,getWidth(i=Flow.DEFAULT_NOTATION_FONT_SCALE){return new Glyph(this.code_head||"vb",i).getMetrics().width},stem:!0,stem_offset:0,flag:!0,code_flag_upstem:"v47",code_flag_downstem:"v2a",stem_up_extension:9,stem_down_extension:9,tabnote_stem_up_extension:8,tabnote_stem_down_extension:5,dot_shiftY:0,line_above:0,line_below:0},type:{n:{code_head:"vb"},h:{code_head:"v22"},m:{code_head:"v3e"},r:{code_head:"v55",stem:!1,flag:!1,rest:!0,position:"B/4",dot_shiftY:-1.5,line_above:2,line_below:2},s:{getWidth:()=>Flow.SLASH_NOTEHEAD_WIDTH,position:"B/4"}}},64:{common:{beam_count:4,getWidth(i=Flow.DEFAULT_NOTATION_FONT_SCALE){return new Glyph(this.code_head||"vb",i).getMetrics().width},stem:!0,stem_offset:0,flag:!0,code_flag_upstem:"va9",code_flag_downstem:"v58",stem_up_extension:13,stem_down_extension:13,tabnote_stem_up_extension:12,tabnote_stem_down_extension:9,dot_shiftY:0,line_above:0,line_below:0},type:{n:{code_head:"vb"},h:{code_head:"v22"},m:{code_head:"v3e"},r:{code_head:"v38",stem:!1,flag:!1,rest:!0,position:"B/4",dot_shiftY:-1.5,line_above:2,line_below:3},s:{getWidth:()=>Flow.SLASH_NOTEHEAD_WIDTH,position:"B/4"}}},128:{common:{beam_count:5,getWidth(i=Flow.DEFAULT_NOTATION_FONT_SCALE){return new Glyph(this.code_head||"vb",i).getMetrics().width},stem:!0,stem_offset:0,flag:!0,code_flag_upstem:"v9b",code_flag_downstem:"v30",stem_up_extension:22,stem_down_extension:22,tabnote_stem_up_extension:21,tabnote_stem_down_extension:18,dot_shiftY:0,line_above:0,line_below:0},type:{n:{code_head:"vb"},h:{code_head:"v22"},m:{code_head:"v3e"},r:{code_head:"vaa",stem:!1,flag:!1,rest:!0,position:"B/4",dot_shiftY:1.5,line_above:3,line_below:3},s:{getWidth:()=>Flow.SLASH_NOTEHEAD_WIDTH,position:"B/4"}}}};Flow.smufl={};Flow.smufl.to_code_points={bracketTop:"v1b",bracketBottom:"v10",barlineTick:"v6f",segno:"v8c",coda:"v4d",gClef:"v83",cClef:"vad",fClef:"v79",unpitchedPercussionClef1:"v59","6stringTabClef":"v2f",timeSig0:"v0",timeSig1:"v1",timeSig2:"v2",timeSig3:"v3",timeSig4:"v4",timeSig5:"v5",timeSig6:"v6",timeSig7:"v7",timeSig8:"v8",timeSig9:"v9",timeSigCommon:"v41",timeSigCutCommon:"vb6",noteheadDoubleWhole:"v53",noteheadWhole:"v1d",noteheadHalf:"v81",noteheadBlack:"vb",noteheadXWhole:"v92",noteheadXHalf:"v95",noteheadXBlack:"v3e",noteheadCircleX:"v3b",noteheadTriangleUpWhole:"v49",noteheadTriangleUpHalf:"v93",noteheadTriangleUpBlack:"v40",noteheadDiamondWhole:"v46",noteheadDiamondHalf:"v2d",noteheadDiamondBlack:"v22",augmentationDot:"v23",tremolo1:"v74",flag8thUp:"v54",flag8thDown:"v9a",flag16thUp:"v3f",flag16thDown:"v8f",flag32ndUp:"v47",flag32ndDown:"v2a",flag64thUp:"va9",flag64thDown:"v58",flag128thUp:"v9b",flag128thDown:"v30",accidentalFlat:"v44",accidentalNatural:"v4e",accidentalSharp:"v18",accidentalDoubleSharp:"v7f",accidentalDoubleFlat:"v26",accidentalParensLeft:"v9c",accidentalParensRight:"v84",accidentalQuarterToneFlatStein:"vab",accidentalThreeQuarterTonesFlatZimmermann:"v9e",accidentalQuarterToneSharpStein:"v78",accidentalThreeQuarterTonesSharpStein:"v51",accidentalBuyukMucennebFlat:"v39",accidentalBakiyeFlat:"vb7",accidentalKomaSharp:"v51",accidentalKucukMucennebSharp:"v8d",accidentalKoron:"vd1",accidentalSori:"vd0",articAccentAbove:"v42",articAccentBelow:"v42",articTenutoAbove:"v25",articTenutoBelow:"v25",articStaccatoAbove:"v23",articStaccatoBelow:"v23",articStaccatissimoAbove:"v28",articMarcatoAbove:"va",fermataAbove:"v43",fermataBelow:"v5b",breathMarkComma:"v6c",breathMarkUpbow:"v8a",caesura:"v34",caesuraCurved:"v4b",restMaxima:"v59",restDoubleWhole:"v31",restWhole:"v5c",restHalf:"vc",restQuarter:"v7c",rest8th:"va5",rest16th:"v3c",rest32nd:"v55",rest64th:"v38",rest128th:"vaa",dynamicPiano:"vbf",dynamicMezzo:"v62",dynamicForte:"vba",dynamicRinforzando:"vba",dynamicSforzando:"v4a",dynamicZ:"v80",ornamentTrill:"v1f",ornamentTurn:"v72",ornamentTurnSlash:"v33",ornamentMordent:"v45",ornamentMordentInverted:"v1e",ornamentTremblement:"v86",ornamentPrecompAppoggTrill:"v20",ornamentPrecompSlideTrillDAnglebert:"v60",ornamentPrecompSlideTrillBach:"v29",ornamentPrecompTrillSuffixDandrieu:"v6d",ornamentPrecompDoubleCadenceUpperPrefix:"vb4",ornamentPrecompDoubleCadenceUpperPrefixTurn:"v68",ornamentPrecompTrillLowerSuffix:"v2c",stringsDownBow:"v94",stringsUpBow:"v75",stringsHarmonic:"vb9",pluckedSnapPizzicatoAbove:"v94",pluckedLeftHandPizzicato:"v8b",keyboardPedalPed:"v36",keyboardPedalUp:"v5d",pictChokeCymbal:"vb3",wiggleArpeggiatoUp:"va3",arrowheadBlackUp:"vc3",arrowheadBlackDown:"v52"};Flow.TIME4_4={num_beats:4,beat_value:4,resolution:Flow.RESOLUTION};class CanvasContext{static get WIDTH(){return 600}static get HEIGHT(){return 400}static get CANVAS_BROWSER_SIZE_LIMIT(){return 32767}static SanitizeCanvasDims(e,r){return Math.max(e,r)>this.CANVAS_BROWSER_SIZE_LIMIT&&(Vex.W("Canvas dimensions exceed browser limit. Cropping to "+this.CANVAS_BROWSER_SIZE_LIMIT),e>this.CANVAS_BROWSER_SIZE_LIMIT&&(e=this.CANVAS_BROWSER_SIZE_LIMIT),r>this.CANVAS_BROWSER_SIZE_LIMIT&&(r=this.CANVAS_BROWSER_SIZE_LIMIT)),[e,r]}constructor(e){this.vexFlowCanvasContext=e,e.canvas?this.canvas=e.canvas:this.canvas={width:CanvasContext.WIDTH,height:CanvasContext.HEIGHT}}clear(){this.vexFlowCanvasContext.clearRect(0,0,this.canvas.width,this.canvas.height)}openGroup(){}closeGroup(){}add(){}setFont(e,r,s){return this.vexFlowCanvasContext.font=(s||"")+" "+r+"pt "+e,this}setRawFont(e){return this.vexFlowCanvasContext.font=e,this}setFillStyle(e){return this.vexFlowCanvasContext.fillStyle=e,this}setBackgroundFillStyle(e){return this.background_fillStyle=e,this}setStrokeStyle(e){return this.vexFlowCanvasContext.strokeStyle=e,this}setShadowColor(e){return this.vexFlowCanvasContext.shadowColor=e,this}setShadowBlur(e){return this.vexFlowCanvasContext.shadowBlur=e,this}setLineWidth(e){return this.vexFlowCanvasContext.lineWidth=e,this}setLineCap(e){return this.vexFlowCanvasContext.lineCap=e,this}setLineDash(e){return this.vexFlowCanvasContext.lineDash=e,this}scale(e,r){return this.vexFlowCanvasContext.scale(parseFloat(e),parseFloat(r))}resize(e,r){return[e,r]=this.SanitizeCanvasDims(parseInt(e,10),parseInt(r,10)),this.vexFlowCanvasContext.resize(e,r)}rect(e,r,s,o){return this.vexFlowCanvasContext.rect(e,r,s,o)}fillRect(e,r,s,o){return this.vexFlowCanvasContext.fillRect(e,r,s,o)}clearRect(e,r,s,o){return this.vexFlowCanvasContext.clearRect(e,r,s,o)}beginPath(){return this.vexFlowCanvasContext.beginPath()}moveTo(e,r){return this.vexFlowCanvasContext.moveTo(e,r)}lineTo(e,r){return this.vexFlowCanvasContext.lineTo(e,r)}bezierCurveTo(e,r,s,o,a,l){return this.vexFlowCanvasContext.bezierCurveTo(e,r,s,o,a,l)}quadraticCurveTo(e,r,s,o){return this.vexFlowCanvasContext.quadraticCurveTo(e,r,s,o)}arc(e,r,s,o,a,l){return this.vexFlowCanvasContext.arc(e,r,s,o,a,l)}glow(){return this.vexFlowCanvasContext.glow()}fill(){return this.vexFlowCanvasContext.fill()}stroke(){return this.vexFlowCanvasContext.stroke()}closePath(){return this.vexFlowCanvasContext.closePath()}measureText(e){return this.vexFlowCanvasContext.measureText(e)}fillText(e,r,s){return this.vexFlowCanvasContext.fillText(e,r,s)}save(){return this.vexFlowCanvasContext.save()}restore(){return this.vexFlowCanvasContext.restore()}}class RaphaelContext{constructor(e){this.element=e,this.paper=Raphael(e),this.path="",this.pen={x:0,y:0},this.lineWidth=1,this.state={scale:{x:1,y:1},font_family:"Arial",font_size:8,font_weight:800},this.attributes={"stroke-width":.3,fill:"black",stroke:"black",font:"10pt Arial"},this.background_attributes={"stroke-width":0,fill:"white",stroke:"white",font:"10pt Arial"},this.shadow_attributes={width:0,color:"black"},this.state_stack=[]}openGroup(){}closeGroup(){}add(){}setFont(e,r,s){return this.state.font_family=e,this.state.font_size=r,this.state.font_weight=s,this.attributes.font=(this.state.font_weight||"")+" "+this.state.font_size*this.state.scale.x+"pt "+this.state.font_family,this}setRawFont(e){return this.attributes.font=e,this}setFillStyle(e){return this.attributes.fill=e,this}setBackgroundFillStyle(e){return this.background_attributes.fill=e,this.background_attributes.stroke=e,this}setStrokeStyle(e){return this.attributes.stroke=e,this}setShadowColor(e){return this.shadow_attributes.color=e,this}setShadowBlur(e){return this.shadow_attributes.width=e,this}setLineWidth(e){this.attributes["stroke-width"]=e,this.lineWidth=e}setLineDash(){return this}setLineCap(){return this}scale(e,r){return this.state.scale={x:e,y:r},this.attributes.transform="S"+e+","+r+",0,0",this.attributes.scale=e+","+r+",0,0",this.attributes.font=this.state.font_size*this.state.scale.x+"pt "+this.state.font_family,this.background_attributes.transform="S"+e+","+r+",0,0",this.background_attributes.font=this.state.font_size*this.state.scale.x+"pt "+this.state.font_family,this}clear(){this.paper.clear()}resize(e,r){return this.element.style.width=e,this.paper.setSize(e,r),this}setViewBox(e){this.paper.canvas.setAttribute("viewBox",e)}rect(e,r,s,o){return o<0&&(r+=o,o=-o),this.paper.rect(e,r,s-.5,o-.5).attr(this.attributes).attr("fill","none").attr("stroke-width",this.lineWidth),this}fillRect(e,r,s,o){return o<0&&(r+=o,o=-o),this.paper.rect(e,r,s-.5,o-.5).attr(this.attributes),this}clearRect(e,r,s,o){return o<0&&(r+=o,o=-o),this.paper.rect(e,r,s-.5,o-.5).attr(this.background_attributes),this}beginPath(){return this.path="",this.pen.x=0,this.pen.y=0,this}moveTo(e,r){return this.path+="M"+e+","+r,this.pen.x=e,this.pen.y=r,this}lineTo(e,r){return this.path+="L"+e+","+r,this.pen.x=e,this.pen.y=r,this}bezierCurveTo(e,r,s,o,a,l){return this.path+="C"+e+","+r+","+s+","+o+","+a+","+l,this.pen.x=a,this.pen.y=l,this}quadraticCurveTo(e,r,s,o){return this.path+="Q"+e+","+r+","+s+","+o,this.pen.x=s,this.pen.y=o,this}arc(e,r,s,o,a,l){function c(d){for(;d<0;)d+=Math.PI*2;for(;d>Math.PI*2;)d-=Math.PI*2;return d}if(o=c(o),a=c(a),o>a){const d=o;o=a,a=d,l=!l}const u=a-o;return u>Math.PI?(this.arcHelper(e,r,s,o,o+u/2,l),this.arcHelper(e,r,s,o+u/2,a,l)):this.arcHelper(e,r,s,o,a,l),this}arcHelper(e,r,s,o,a,l){const c=e+s*Math.cos(o),u=r+s*Math.sin(o),d=e+s*Math.cos(a),g=r+s*Math.sin(a);let m=0,y=0;l?(y=1,a-o<Math.PI&&(m=1)):a-o>Math.PI&&(m=1),this.path+="M"+c+","+u+",A"+s+","+s+",0,"+m+","+y+","+d+","+g+"M"+this.pen.x+","+this.pen.y}glow(){const e=this.paper.set();if(this.shadow_attributes.width>0){const r=this.shadow_attributes,s=r.width/2;for(let o=1;o<=s;o++)e.push(this.paper.path(this.path).attr({stroke:r.color,"stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(r.width/s*o).toFixed(3),opacity:+((r.opacity||.3)/s).toFixed(3),transform:this.attributes.transform,scale:this.attributes.scale}))}return e}fill(){const e=this.paper.path(this.path).attr(this.attributes).attr("stroke-width",0);return this.glow(e),this}stroke(){const e=this.lineWidth*(this.state.scale.x+this.state.scale.y)/2,r=this.paper.path(this.path).attr(this.attributes).attr("fill","none").attr("stroke-width",e);return this.glow(r),this}closePath(){return this.path+="Z",this}measureText(e){const r=this.paper.text(0,0,e).attr(this.attributes).attr("fill","none").attr("stroke","none"),s=r.getBBox();return r.remove(),{width:s.width,height:s.height}}fillText(e,r,s){return this.paper.text(r+this.measureText(e).width/2,s-this.state.font_size/(2.25*this.state.scale.y),e).attr(this.attributes),this}save(){return this.state_stack.push({state:{font_family:this.state.font_family},attributes:{font:this.attributes.font,fill:this.attributes.fill,stroke:this.attributes.stroke,"stroke-width":this.attributes["stroke-width"]},shadow_attributes:{width:this.shadow_attributes.width,color:this.shadow_attributes.color}}),this}restore(){const e=this.state_stack.pop();return this.state.font_family=e.state.font_family,this.attributes.font=e.attributes.font,this.attributes.fill=e.attributes.fill,this.attributes.stroke=e.attributes.stroke,this.attributes["stroke-width"]=e.attributes["stroke-width"],this.shadow_attributes.width=e.shadow_attributes.width,this.shadow_attributes.color=e.shadow_attributes.color,this}}const attrNamesToIgnoreMap={path:{x:!0,y:!0,width:!0,height:!0},rect:{},text:{width:!0,height:!0}};{const i={"font-family":!0,"font-weight":!0,"font-style":!0,"font-size":!0};Vex.Merge(attrNamesToIgnoreMap.rect,i),Vex.Merge(attrNamesToIgnoreMap.path,i)}class SVGContext{constructor(e){this.element=e,this.svgNS="http://www.w3.org/2000/svg";const r=this.create("svg");this.element.appendChild(r),this.svg=r,this.groups=[this.svg],this.parent=this.svg,this.path="",this.pen={x:NaN,y:NaN},this.lineWidth=1,this.state={scale:{x:1,y:1},"font-family":"Arial","font-size":"8pt","font-weight":"normal"},this.attributes={"stroke-width":.3,fill:"black",stroke:"black","stroke-dasharray":"none","font-family":"Arial","font-size":"10pt","font-weight":"normal","font-style":"normal"},this.background_attributes={"stroke-width":0,fill:"white",stroke:"white","stroke-dasharray":"none","font-family":"Arial","font-size":"10pt","font-weight":"normal","font-style":"normal"},this.shadow_attributes={width:0,color:"black"},this.state_stack=[],this.iePolyfill()}create(e){return document.createElementNS(this.svgNS,e)}openGroup(e,r,s,o){const a=this.create("g");return this.groups.push(a),this.parent.appendChild(a),this.parent=a,e&&a.setAttribute("class",Vex.Prefix(e)),r&&a.setAttribute("id",Vex.Prefix(r)),s&&s.pointerBBox&&a.setAttribute("pointer-events","bounding-box"),o&&o==="isX"&&(a.style.transformOrigin="center",a.style.transformBox="content-box",a.style.transform="scale(1.5) translateY(-5px)"),a}closeGroup(e){if(e&&e==="transform"){const r=this.groups.pop();let s=r.getAttribute("class");s=s+" vf-stopDot",r.setAttribute("class",s)}else this.groups.pop();this.parent=this.groups[this.groups.length-1]}add(e){this.parent.appendChild(e)}iePolyfill(){typeof navigator<"u"&&(this.ie=/MSIE 9/i.test(navigator.userAgent)||/MSIE 10/i.test(navigator.userAgent)||/rv:11\.0/i.test(navigator.userAgent)||/Trident/i.test(navigator.userAgent))}setFont(e,r,s){let o=!1,a=!1,l="normal";typeof s=="string"&&(s.indexOf("italic")!==-1&&(s=s.replace(/italic/g,""),a=!0),s.indexOf("bold")!==-1&&(s=s.replace(/bold/g,""),o=!0),s=s.replace(/ /g,"")),s=o?"bold":s,s=typeof s>"u"||s===""?"normal":s,l=a?"italic":l;const c={"font-family":e,"font-size":r+"pt","font-weight":s,"font-style":l};return this.fontSize=Number(r),Vex.Merge(this.attributes,c),Vex.Merge(this.state,c),this}setRawFont(e){e=e.trim();const r=e.split(" ");return this.attributes["font-family"]=r[1],this.state["font-family"]=r[1],this.attributes["font-size"]=r[0],this.state["font-size"]=r[0],this.fontSize=Number(r[0].match(/\d+/)),this}setFillStyle(e){return this.attributes.fill=e,this}setBackgroundFillStyle(e){return this.background_attributes.fill=e,this.background_attributes.stroke=e,this}setStrokeStyle(e){return this.attributes.stroke=e,this}setShadowColor(e){return this.shadow_attributes.color=e,this}setShadowBlur(e){return this.shadow_attributes.width=e,this}setLineWidth(e){this.attributes["stroke-width"]=e,this.lineWidth=e}setLineDash(e){if(Object.prototype.toString.call(e)==="[object Array]")return e=e.join(", "),this.attributes["stroke-dasharray"]=e,this;throw new Vex.RERR("ArgumentError","lineDash must be an array of integers.")}setLineCap(e){return this.attributes["stroke-linecap"]=e,this}resize(e,r){this.width=e,this.height=r,this.element.style.width=e;const s={width:e,height:r};return this.applyAttributes(this.svg,s),this.scale(this.state.scale.x,this.state.scale.y),this}scale(e,r){this.state.scale={x:e,y:r};const s=this.width/e,o=this.height/r;return this.setViewBox(0,0,s,o),this}setViewBox(...e){if(e.length===1){const[r]=e;this.svg.setAttribute("viewBox",r)}else{const[r,s,o,a]=e,l=r+" "+s+" "+o+" "+a;this.svg.setAttribute("viewBox",l)}}applyAttributes(e,r){const s=attrNamesToIgnoreMap[e.nodeName];return Object.keys(r).forEach(o=>{var a;s&&s[o]||!o||!r[o]||o==="d"&&((a=r[o])==null?void 0:a.indexOf("NaN"))>-1||e.setAttributeNS(null,o,r[o])}),e}clear(){for(;this.svg.lastChild;)this.svg.removeChild(this.svg.lastChild);this.scale(this.state.scale.x,this.state.scale.y)}rect(e,r,s,o,a){o<0&&(r+=o,o*=-1);const l=this.create("rect");return typeof a>"u"&&(a={fill:"none","stroke-width":this.lineWidth,stroke:this.attributes.stroke}),Vex.Merge(a,{x:e,y:r,width:s,height:o}),this.applyAttributes(l,a),this.add(l),this}fillRect(e,r,s,o){return o<0&&(r+=o,o*=-1),this.rect(e,r,s,o,this.attributes),this}clearRect(e,r,s,o){return this.rect(e,r,s,o,this.background_attributes),this}beginPath(){return this.path="",this.pen.x=NaN,this.pen.y=NaN,this}moveTo(e,r){return this.path+="M"+e+" "+r,this.pen.x=e,this.pen.y=r,this}lineTo(e,r){return this.path+="L"+e+" "+r,this.pen.x=e,this.pen.y=r,this}bezierCurveTo(e,r,s,o,a,l){return this.path+="C"+e+" "+r+","+s+" "+o+","+a+" "+l,this.pen.x=a,this.pen.y=l,this}quadraticCurveTo(e,r,s,o){return this.path+="Q"+e+" "+r+","+s+" "+o,this.pen.x=s,this.pen.y=o,this}arc(e,r,s,o,a,l){function c(d){for(;d<0;)d+=Math.PI*2;for(;d>Math.PI*2;)d-=Math.PI*2;return d}if(o=c(o),a=c(a),o>a){const d=o;o=a,a=d,l=!l}const u=a-o;return u>Math.PI?(this.arcHelper(e,r,s,o,o+u/2,l),this.arcHelper(e,r,s,o+u/2,a,l)):this.arcHelper(e,r,s,o,a,l),this}arcHelper(e,r,s,o,a,l){const c=e+s*Math.cos(o),u=r+s*Math.sin(o),d=e+s*Math.cos(a),g=r+s*Math.sin(a);let m=0,y=0;l?(y=1,a-o<Math.PI&&(m=1)):a-o>Math.PI&&(m=1),this.path+="M"+c+" "+u+" A"+s+" "+s+" 0 "+m+" "+y+" "+d+" "+g,!isNaN(this.pen.x)&&!isNaN(this.pen.y)&&(this.peth+="M"+this.pen.x+" "+this.pen.y)}closePath(){return this.path+="Z",this}glow(){if(this.shadow_attributes.width>0){const e=this.shadow_attributes,r=e.width/2;for(let s=1;s<=r;s++){const o={stroke:e.color,"stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(e.width*.4/r*s).toFixed(3),opacity:+((e.opacity||.3)/r).toFixed(3)},a=this.create("path");o.d=this.path,this.applyAttributes(a,o),this.add(a)}}return this}fill(e){this.glow();const r=this.create("path");let s=e;return typeof e>"u"?(e={},Vex.Merge(e,this.attributes),e.stroke="none",s=e):(s=e,Vex.Merge(s,this.attributes),e.class&&(s.class=e.class),e.id&&(s.id=e.id)),e.d=this.path,this.applyAttributes(r,e),this.add(r),this}stroke(e=void 0){this.glow();const r=this.create("path"),s={};return Vex.Merge(s,this.attributes),e&&Vex.Merge(s,e),s.fill="none",s["stroke-width"]=this.lineWidth,s.d=this.path,this.applyAttributes(r,s),this.add(r),this}measureText(e){const r=this.create("text");if(typeof r.getBBox!="function")return{x:0,y:0,width:0,height:0};r.textContent=e,this.applyAttributes(r,this.attributes),this.svg.appendChild(r);let s=r.getBBox();return this.ie&&e!==""&&this.attributes["font-style"]==="italic"&&(s=this.ieMeasureTextFix(s,e)),this.svg.removeChild(r),s}ieMeasureTextFix(e){const r=Number(this.fontSize),s=1.196,o=1.9598,a=s*r+o,l=e.width-a,c=e.height-1.5;return{x:e.x,y:e.y,width:l,height:c}}fillText(e,r,s){if(!e||e.length<=0)return;const o={};Vex.Merge(o,this.attributes),o.stroke="none",o.x=r,o.y=s;const a=this.create("text");a.textContent=e,this.applyAttributes(a,o),this.add(a)}save(){return this.state_stack.push({state:{"font-family":this.state["font-family"],"font-weight":this.state["font-weight"],"font-style":this.state["font-style"],"font-size":this.state["font-size"],scale:this.state.scale},attributes:{"font-family":this.attributes["font-family"],"font-weight":this.attributes["font-weight"],"font-style":this.attributes["font-style"],"font-size":this.attributes["font-size"],fill:this.attributes.fill,stroke:this.attributes.stroke,"stroke-width":this.attributes["stroke-width"],"stroke-dasharray":this.attributes["stroke-dasharray"]},shadow_attributes:{width:this.shadow_attributes.width,color:this.shadow_attributes.color},lineWidth:this.lineWidth}),this}restore(){const e=this.state_stack.pop();return this.state["font-family"]=e.state["font-family"],this.state["font-weight"]=e.state["font-weight"],this.state["font-style"]=e.state["font-style"],this.state["font-size"]=e.state["font-size"],this.state.scale=e.state.scale,this.attributes["font-family"]=e.attributes["font-family"],this.attributes["font-weight"]=e.attributes["font-weight"],this.attributes["font-style"]=e.attributes["font-style"],this.attributes["font-size"]=e.attributes["font-size"],this.attributes.fill=e.attributes.fill,this.attributes.stroke=e.attributes.stroke,this.attributes["stroke-width"]=e.attributes["stroke-width"],this.attributes["stroke-dasharray"]=e.attributes["stroke-dasharray"],this.shadow_attributes.width=e.shadow_attributes.width,this.shadow_attributes.color=e.shadow_attributes.color,this.lineWidth=e.lineWidth,this}}let lastContext=null;class Renderer{static get Backends(){return{CANVAS:1,RAPHAEL:2,SVG:3,VML:4}}static get LineEndType(){return{NONE:1,UP:2,DOWN:3}}static get USE_CANVAS_PROXY(){return!1}static get lastContext(){return lastContext}static set lastContext(e){lastContext=e}static buildContext(e,r,s,o,a){const l=new Renderer(e,r);s&&o&&l.resize(s,o),a||(a="#FFF");const c=l.getContext();return c.setBackgroundFillStyle(a),Renderer.lastContext=c,c}static getCanvasContext(e,r,s,o){return Renderer.buildContext(e,Renderer.Backends.CANVAS,r,s,o)}static getRaphaelContext(e,r,s,o){return Renderer.buildContext(e,Renderer.Backends.RAPHAEL,r,s,o)}static getSVGContext(e,r,s,o){return Renderer.buildContext(e,Renderer.Backends.SVG,r,s,o)}static bolsterCanvasContext(e){if(Renderer.USE_CANVAS_PROXY)return new CanvasContext(e);const r=["clear","setFont","setRawFont","setFillStyle","setBackgroundFillStyle","setStrokeStyle","setShadowColor","setShadowBlur","setLineWidth","setLineCap","setLineDash","openGroup","closeGroup","getGroup"];return e.vexFlowCanvasContext=e,r.forEach(s=>{e[s]=e[s]||CanvasContext.prototype[s]}),e}static drawDashedLine(e,r,s,o,a,l){e.beginPath();const c=o-r,u=a-s,d=Math.atan2(u,c);let g=r,m=s;e.moveTo(r,s);let y=0,b=!0;for(;!((c<0?g<=o:g>=o)&&(u<0?m<=a:m>=a));){const A=l[y++%l.length],S=g+Math.cos(d)*A;g=c<0?Math.max(o,S):Math.min(o,S);const E=m+Math.sin(d)*A;m=u<0?Math.max(a,E):Math.min(a,E),b?e.lineTo(g,m):e.moveTo(g,m),b=!b}e.closePath(),e.stroke()}constructor(e,r){if(this.elementId=e,!this.elementId)throw new Vex.RERR("BadArgument","Invalid id for renderer.");if(this.element=document.getElementById(e),this.element||(this.element=e),this.ctx=null,this.paper=null,this.backend=r,this.backend===Renderer.Backends.CANVAS){if(!this.element.getContext)throw new Vex.RERR("BadElement",`Can't get canvas context from element: ${e}`);this.ctx=Renderer.bolsterCanvasContext(this.element.getContext("2d",{willReadFrequently:!0}))}else if(this.backend===Renderer.Backends.RAPHAEL)this.ctx=new RaphaelContext(this.element);else if(this.backend===Renderer.Backends.SVG)this.ctx=new SVGContext(this.element);else throw new Vex.RERR("InvalidBackend",`No support for backend: ${this.backend}`)}resize(e,r){if(this.backend===Renderer.Backends.CANVAS){if(!this.element.getContext)throw new Vex.RERR("BadElement",`Can't get canvas context from element: ${this.elementId}`);[e,r]=CanvasContext.SanitizeCanvasDims(e,r);const s=window.devicePixelRatio||1;this.element.width=e*s,this.element.height=r*s,this.element.style.width=e+"px",this.element.style.height=r+"px",this.ctx=Renderer.bolsterCanvasContext(this.element.getContext("2d",{willReadFrequently:!0})),this.ctx.scale(s,s)}else this.ctx.resize(e,r);return this}getContext(){return this.ctx}}function L$j(...i){Stem.DEBUG&&Vex.L("Vex.Flow.Stem",i)}class Stem extends Element$1{static get CATEGORY(){return"stem"}static get UP(){return 1}static get DOWN(){return-1}static get WIDTH(){return Flow.STEM_WIDTH}static get HEIGHT(){return Flow.STEM_HEIGHT}constructor(e={}){super(),this.setAttribute("type","Stem"),this.x_begin=e.x_begin||0,this.x_end=e.x_end||0,this.y_top=e.y_top||0,this.y_bottom=e.y_bottom||0,this.stem_extension=e.stem_extension||0,this.stem_direction=e.stem_direction||0,this.hide=e.hide||!1,this.isStemlet=e.isStemlet||!1,this.stemletHeight=e.stemletHeight||0,this.renderHeightAdjustment=0,this.setOptions(e)}setResetHeight(e){this.resetHeight=e}setOptions(e){this.stem_up_y_offset=e.stem_up_y_offset||0,this.stem_down_y_offset=e.stem_down_y_offset||0}setNoteHeadXBounds(e,r){return this.x_begin=e,this.x_end=r,this}setDirection(e){this.stem_direction=e}setExtension(e){this.stem_extension=e}getExtension(){return this.stem_extension}setYBounds(e,r){this.y_top=e,this.y_bottom=r}getCategory(){return Stem.CATEGORY}getHeight(){const e=this.stem_direction===Stem.UP?this.stem_up_y_offset:this.stem_down_y_offset;return(this.y_bottom-this.y_top)*this.stem_direction+(Stem.HEIGHT-e+this.stem_extension)*this.stem_direction}getBoundingBox(){throw new Vex.RERR("NotImplemented","getBoundingBox() not implemented.")}getExtents(){const e=this.stem_direction===Stem.UP,r=[this.y_top,this.y_bottom],s=Stem.HEIGHT+this.stem_extension,o=(e?Math.min:Math.max)(...r),a=(e?Math.max:Math.min)(...r);return{topY:o+s*-this.stem_direction,baseY:a}}setVisibility(e){return this.hide=!e,this}setStemlet(e,r){return this.isStemlet=e,this.stemletHeight=r,this}draw(){if(this.setRendered(),this.hide)return;const e=this.checkContext();let r,s;const o=this.stem_direction;o===Stem.DOWN?(r=this.x_begin,s=this.y_top+this.stem_down_y_offset):(r=this.x_end,s=this.y_bottom-this.stem_up_y_offset);const a=this.getHeight();L$j("Rendering stem - ","Top Y: ",this.y_top,"Bottom Y: ",this.y_bottom);const l=this.isStemlet?a-this.stemletHeight*this.stem_direction:0;if(e.save(),this.applyStyle(e),e.beginPath(),e.setLineWidth(Stem.WIDTH),e.moveTo(r,s-l),e.lineTo(r,s-a-this.renderHeightAdjustment*o),e.svg){const c={class:Vex.Prefix("stem")};this.id&&(c.id=this.id),e.stroke(c)}else e.stroke();this.restoreStyle(e),e.restore()}}let Tuplet$1=class ai extends Element$1{static get LOCATION_TOP(){return 1}static get LOCATION_BOTTOM(){return-1}static get NESTING_OFFSET(){return 15}constructor(e,r){if(super(),this.setAttribute("type","Tuplet"),!e||!e.length)throw new Vex.RuntimeError("BadArguments","No notes provided for tuplet.");this.options=Vex.Merge({},r),this.notes=e,this.num_notes="num_notes"in this.options?this.options.num_notes:e.length,this.options.beats_occupied&&this.beatsOccupiedDeprecationWarning(),this.notes_occupied=this.options.notes_occupied||this.options.beats_occupied||2,"bracketed"in this.options?this.bracketed=this.options.bracketed:this.bracketed=e.some(s=>s.beam===null),this.ratioed="ratioed"in this.options?this.options.ratioed:Math.abs(this.notes_occupied-this.num_notes)>1,this.point=28,this.y_pos=16,this.x_pos=100,this.width=200,this.location=this.options.location||ai.LOCATION_TOP,Formatter.AlignRestsToNotes(e,!0,!0),this.resolveGlyphs(),this.attach()}attach(){for(let e=0;e<this.notes.length;e++)this.notes[e].setTuplet(this)}detach(){for(let e=0;e<this.notes.length;e++)this.notes[e].resetTuplet(this)}setBracketed(e){return this.bracketed=!!e,this}setRatioed(e){return this.ratioed=!!e,this}setTupletLocation(e){if(!e)e=ai.LOCATION_TOP;else if(e!==ai.LOCATION_TOP&&e!==ai.LOCATION_BOTTOM)throw new Vex.RERR("BadArgument","Invalid tuplet location: "+e);return this.location=e,this}getNotes(){return this.notes}getNoteCount(){return this.num_notes}beatsOccupiedDeprecationWarning(){const e=["beats_occupied has been deprecated as an ","option for tuplets. Please use notes_occupied ","instead. Calls to getBeatsOccupied and ","setBeatsOccupied should now be routed to ","getNotesOccupied and setNotesOccupied instead"].join("");console&&console.warn?console.warn(e):console&&console.log(e)}getBeatsOccupied(){return this.beatsOccupiedDeprecationWarning(),this.getNotesOccupied()}setBeatsOccupied(e){return this.beatsOccupiedDeprecationWarning(),this.setNotesOccupied(e)}getNotesOccupied(){return this.notes_occupied}setNotesOccupied(e){this.detach(),this.notes_occupied=e,this.resolveGlyphs(),this.attach()}resolveGlyphs(){this.numerator_glyphs=[];let e=this.num_notes;for(;e>=1;)this.numerator_glyphs.unshift(new Glyph("v"+e%10,this.point)),e=parseInt(e/10,10);for(this.denom_glyphs=[],e=this.notes_occupied;e>=1;)this.denom_glyphs.unshift(new Glyph("v"+e%10,this.point)),e=parseInt(e/10,10)}getNestedTupletCount(){const e=this.location,r=this.notes[0];let s=a(r,e),o=a(r,e);function a(l,c){return l.tupletStack.filter(u=>u.location===c).length}return this.notes.forEach(l=>{const c=a(l,e);s=c>s?c:s,o=c<o?c:o}),s-o}getYPosition(){const e=this.getNestedTupletCount()*ai.NESTING_OFFSET*-this.location,r=this.options.y_offset||0,s=this.notes[0];let o;if(this.location===ai.LOCATION_TOP){o=s.getStave().getYForLine(0)-15;for(let a=0;a<this.notes.length;++a){const l=this.notes[a].getStemDirection()===Stem.UP?this.notes[a].getStemExtents().topY-10:this.notes[a].getStemExtents().baseY-20;l<o&&(o=l)}}else{o=s.getStave().getYForLine(4)+20;for(let a=0;a<this.notes.length;++a){const l=this.notes[a].getStemDirection()===Stem.UP?this.notes[a].getStemExtents().baseY+20:this.notes[a].getStemExtents().topY+10;l>o&&(o=l)}}return o+e+r}draw(){this.checkContext(),this.setRendered();const e=this.notes[0],r=this.notes[this.notes.length-1];this.bracketed?(this.x_pos=e.getTieLeftX()-5,this.width=r.getTieRightX()-this.x_pos+5):(this.x_pos=e.getStemX(),this.width=r.getStemX()-this.x_pos),this.y_pos=this.getYPosition();const s=(c,u)=>c+u.getMetrics().width;let o=this.numerator_glyphs.reduce(s,0);this.ratioed&&(o=this.denom_glyphs.reduce(s,o),o+=this.point*.32);const l=this.x_pos+this.width/2-o/2;if(this.bracketed){const c=this.width/2-o/2-5;c>0&&(this.context.fillRect(this.x_pos,this.y_pos,c,1),this.context.fillRect(this.x_pos+this.width/2+o/2+5,this.y_pos,c,1),this.context.fillRect(this.x_pos,this.y_pos+(this.location===ai.LOCATION_BOTTOM),1,this.location*10),this.context.fillRect(this.x_pos+this.width,this.y_pos+(this.location===ai.LOCATION_BOTTOM),1,this.location*10))}if(this.RenderTupletNumber!==!1){let c=0;this.numerator_glyphs.forEach(u=>{u.render(this.context,l+c,this.y_pos+this.point/3-2),c+=u.getMetrics().width})}if(this.ratioed){const c=l+x_offset+this.point*.16,u=this.point*.06;this.context.beginPath(),this.context.arc(c,this.y_pos-this.point*.08,u,0,Math.PI*2,!0),this.context.closePath(),this.context.fill(),this.context.beginPath(),this.context.arc(c,this.y_pos+this.point*.12,u,0,Math.PI*2,!0),this.context.closePath(),this.context.fill(),x_offset+=this.point*.32,this.denom_glyphs.forEach(d=>{d.render(this.context,l+x_offset,this.y_pos+this.point/3-2),x_offset+=d.getMetrics().width})}}};function calculateStemDirection(i){let e=0;return i.forEach(r=>{r.keyProps&&r.keyProps.forEach(s=>{e+=s.line-3})}),e>=0?Stem.DOWN:Stem.UP}const getStemSlope=(i,e)=>{const r=i.getStemExtents().topY,s=i.getStemX(),o=e.getStemExtents().topY,a=e.getStemX();return(o-r)/(a-s)},BEAM_LEFT="L",BEAM_RIGHT="R",BEAM_BOTH="B";let Beam$1=class Bi extends Element$1{static getDefaultBeamGroups(e){(!e||e==="c")&&(e="4/4");const s={"1/2":["1/2"],"2/2":["1/2"],"3/2":["1/2"],"4/2":["1/2"],"1/4":["1/4"],"2/4":["1/4"],"3/4":["1/4"],"4/4":["1/4"],"1/8":["1/8"],"2/8":["2/8"],"3/8":["3/8"],"4/8":["2/8"],"1/16":["1/16"],"2/16":["2/16"],"3/16":["3/16"],"4/16":["2/16"]}[e];if(s===void 0){const o=parseInt(e.split("/")[0],10),a=parseInt(e.split("/")[1],10);if(o%3===0)return[new Fraction(3,a)];if(a>4)return[new Fraction(2,a)];if(a<=4)return[new Fraction(1,a)]}else return s.map(o=>new Fraction().parse(o));return[new Fraction(1,4)]}static applyAndGetBeams(e,r,s){return Bi.generateBeams(e.getTickables(),{groups:s,stem_direction:r})}static generateBeams(e,r){r||(r={}),(!r.groups||!r.groups.length)&&(r.groups=[new Fraction(2,8)]);const s=r.groups.map(T=>{if(!T.multiply)throw new Vex.RuntimeError("InvalidBeamGroups","The beam groups must be an array of Vex.Flow.Fractions");return T.clone().multiply(Flow.RESOLUTION,1)}),o=e;let a=0,l=[],c=[];function u(T){return T.reduce((k,I)=>I.getTicks().clone().add(k),new Fraction(0,1))}function d(){s.length-1>a?a+=1:a=0}function g(){let T=[];o.forEach(k=>{if(T=[],k.shouldIgnoreTicks()){l.push(c),c=T;return}c.push(k);const I=s[a].clone(),M=u(c),R=Flow.durationToNumber(k.duration)<8;R&&k.tuplet&&(I.numerator*=2),M.greaterThan(I)?(R||T.push(c.pop()),l.push(c),c=T,d()):M.equals(I)&&(l.push(c),c=T,d())}),c.length>0&&l.push(c)}function m(){return l.filter(T=>{if(T.length>1){let k=!0;return T.forEach(I=>{I.getIntrinsicTicks()>=Flow.durationToTicks("4")&&(k=!1)}),k}return!1})}function y(){const T=[];l.forEach(k=>{let I=[];k.forEach((M,R,B)=>{const _=R===0||R===B.length-1,V=B[R-1],D=!r.beam_rests&&M.isRest(),F=r.beam_rests&&r.beam_middle_only&&M.isRest()&&_;let N=!1;if(r.maintain_stem_directions&&V&&!M.isRest()&&!V.isRest()){const q=V.getStemDirection();N=M.getStemDirection()!==q}const K=parseInt(M.duration,10)<8;D||F||N||K?(I.length>0&&T.push(I),I=N?[M]:[]):I.push(M)}),I.length>0&&T.push(I)}),l=T}function b(){l.forEach(T=>{let k;if(r.maintain_stem_directions){const I=A(T);k=I?I.getStemDirection():Stem.UP}else r.stem_direction?k=r.stem_direction:k=calculateStemDirection(T);S(T,k)})}function A(T){for(let k=0;k<T.length;k++){const I=T[k];if(!I.isRest())return I}return!1}function S(T,k){T.forEach(I=>{I.setStemDirection(k)})}function E(){const T=[];return l.forEach(k=>{let I=null;k.forEach(M=>{M.tuplet&&I!==M.tuplet&&(I=M.tuplet,T.push(I))})}),T}g(),y(),b();const x=m(),P=E(),C=[];return x.forEach(T=>{const k=new Bi(T);r.show_stemlets&&(k.render_options.show_stemlets=!0),r.secondary_breaks&&(k.render_options.secondary_break_ticks=Flow.durationToTicks(r.secondary_breaks)),r.flat_beams===!0&&(k.render_options.flat_beams=!0,k.render_options.flat_beam_offset=r.flat_beam_offset),C.push(k)}),P.forEach(T=>{const k=T.notes[0].stem_direction===Stem.DOWN?Tuplet$1.LOCATION_BOTTOM:Tuplet$1.LOCATION_TOP;T.setTupletLocation(k);let I=!1;for(let M=0;M<T.notes.length;M++)if(T.notes[M].beam===null){I=!0;break}T.setBracketed(I)}),C}constructor(e,r){if(super(),this.setAttribute("type","Beam"),!e||e==[])throw new Vex.RuntimeError("BadArguments","No notes provided for beam.");if(e.length===1)throw new Vex.RuntimeError("BadArguments","Too few notes for beam.");if(this.ticks=e[0].getIntrinsicTicks(),this.ticks>=Flow.durationToTicks("4"))throw new Vex.RuntimeError("BadArguments","Beams can only be applied to notes shorter than a quarter note.");let s,o;for(this.stem_direction=Stem.UP,s=0;s<e.length;++s)if(o=e[s],o.hasStem()){this.stem_direction=o.getStemDirection();break}let a=this.stem_direction;for(r&&e[0].getCategory()==="stavenotes"?a=calculateStemDirection(e):r&&e[0].getCategory()==="tabnotes"&&(a=e.reduce((c,u)=>c+u.stem_direction,0)>-1?Stem.UP:Stem.DOWN),s=0;s<e.length;++s)o=e[s],r&&(o.setStemDirection(a),this.stem_direction=a),o.setBeam(this);this.postFormatted=!1,this.notes=e,this.beam_count=this.getBeamCount(),this.break_on_indices=[],this.render_options={beam_width:5,max_slope:.25,min_slope:-.25,slope_iterations:20,slope_cost:100,show_stemlets:!1,stemlet_extension:7,partial_beam_length:10,flat_beams:!1,min_flat_beam_offset:15}}getNotes(){return this.notes}getBeamCount(){return this.notes.map(s=>s.getGlyph().beam_count).reduce((s,o)=>o>s?o:s)}breakSecondaryAt(e){return this.break_on_indices=e,this}getSlopeY(e,r,s,o){return s+(e-r)*o}calculateSlope(){const{notes:e,stem_direction:r,render_options:{max_slope:s,min_slope:o,slope_iterations:a,slope_cost:l}}=this,c=e[0],u=getStemSlope(c,e[e.length-1]),d=(s-o)/a;let g=Number.MAX_VALUE,m=0,y=0;for(let b=o;b<=s;b+=d){let A=0,S=0;for(let C=1;C<e.length;++C){const T=e[C],k=this.getSlopeY(T.getStemX(),c.getStemX(),c.getStemExtents().topY,b)+S,I=T.getStemExtents().topY;if(I*r<k*r){const M=Math.abs(I-k);S+=M*-r,A+=M*C}else A+=(I-k)*r}const E=u/2,x=Math.abs(E-b),P=l*x+Math.abs(A);P<g&&(g=P,m=b,y=S)}this.slope=m,this.y_shift=y}calculateFlatSlope(){const{notes:e,stem_direction:r,render_options:{beam_width:s,min_flat_beam_offset:o,flat_beam_offset:a}}=this;let l=0,c=0,u=0,d=0;for(let A=0;A<e.length;A++){const S=e[A],E=S.getStemExtents().topY;l+=E,r===Stem.DOWN&&d<E?(d=E,c=Math.max(...S.getYs()),u=S.getBeamCount()):r===Stem.UP&&(d===0||d>E)&&(d=E,c=Math.min(...S.getYs()),u=S.getBeamCount())}let g=l/e.length;const m=s*1.5,y=o+u*m,b=c+y*-r;r===Stem.DOWN&&g<b?g=c+y:r===Stem.UP&&g>b&&(g=c-y),a+this.render_options.flat_beam_offset_per_beam>0?r===Stem.DOWN&&g>a&&!this.render_options.flat_beams?this.render_options.flat_beam_offset=g:r===Stem.UP&&g<a&&!this.render_options.flat_beams&&(this.render_options.flat_beam_offset=g):this.render_options.flat_beam_offset=g,this.slope=0,this.y_shift=0}getBeamYToDraw(){let s=this.notes[0].getStemExtents().topY;if(this.render_options.flat_beams&&this.render_options.flat_beam_offset+this.render_options.flat_beam_offset_per_beam>0){let o=this.render_options.flat_beam_offset;this.render_options.flat_beam_offset_per_beam&&(o+=this.render_options.flat_beam_offset_per_beam*this.getBeamCount());let a=this.notes[0].note_heads[0].y;const l=this.stem_direction>0?Math.min:Math.max;for(const c of this.notes)for(const u of c.note_heads)a=l(a,u.y);s=a+o*-this.stem_direction}return s}applyStemExtensions(){const{notes:e,slope:r,y_shift:s,stem_direction:o,beam_count:a,render_options:{show_stemlets:l,stemlet_extension:c,beam_width:u}}=this,d=e[0],g=this.getBeamYToDraw(),m=d.getStemX();for(let y=0;y<e.length;++y){const b=e[y],A=b.getStemX(),{topY:S}=b.getStemExtents(),E=this.getSlopeY(A,m,g,r)+s,x=b.getStem().getExtension(),P=o===Stem.UP?S-E:E-S;if(b.stem.setExtension(x+P),b.stem.renderHeightAdjustment=-Stem.WIDTH/2,b.isRest()&&l){const C=u,T=(a-1)*C*1.5+C;b.stem.setVisibility(!0).setStemlet(!0,T+c)}}}lookupBeamDirection(e,r,s,o){if(e==="4")return BEAM_LEFT;const a=`${Flow.durationToNumber(e)/2}`,l=r<Flow.durationToTicks(a),c=o<Flow.durationToTicks(a),u=s<Flow.durationToTicks(a);return l&&c&&u?BEAM_BOTH:l&&!c&&u?BEAM_LEFT:!l&&c&&u?BEAM_RIGHT:this.lookupBeamDirection(a,r,s,o)}getBeamLines(e){const r=Flow.durationToTicks(e),s=[];let o=!1,a=null;const l=this.render_options.partial_beam_length;let c=!1,u=0;for(let g=0;g<this.notes.length;++g){const m=this.notes[g],y=m.ticks.value();u+=y;let b=!1;parseInt(e,10)>=8&&(b=this.break_on_indices.indexOf(g)!==-1,this.render_options.secondary_break_ticks&&u>=this.render_options.secondary_break_ticks&&(u=0,b=!0));const A=m.getIntrinsicTicks()<r,S=m.getStemX()-Stem.WIDTH/2,E=this.notes[g-1],x=this.notes[g+1],P=x&&x.getIntrinsicTicks()<r,C=E&&E.getIntrinsicTicks()<r,T=E&&x&&A&&!C&&!P;if(A)if(o)a=s[s.length-1],a.end=S,b&&(o=!1,x&&!P&&a.end===null&&(a.end=a.start-l));else{if(a={start:S,end:null,start_note:m},o=!0,T){const k=E.getIntrinsicTicks(),I=x.getIntrinsicTicks(),M=m.getIntrinsicTicks(),R=this.lookupBeamDirection(e,k,M,I);[BEAM_LEFT,BEAM_BOTH].includes(R)?a.end=a.start-l:a.end=a.start+l}else P?b&&(a.end=a.start-l,o=!1):(c||g===0)&&x?a.end=a.start+l:a.end=a.start-l;s.push(a)}else o=!1;c=b}const d=s[s.length-1];return d&&d.end===null&&(d.end=d.start-l),s}drawStems(){this.notes.forEach(e=>{e.getStem()&&(this.context.openGroup("stem",e.getAttribute("id")+"-stem"),e.getStem().setContext(this.context).draw(),this.context.closeGroup())},this)}drawBeamLines(){this.checkContext();const e=["4","8","16","32","64"],r=this.notes[0];let s=this.getBeamYToDraw();const o=r.getStemX(),a=this.render_options.beam_width*this.stem_direction,l={};for(const c of this.notes)l[c.getAttribute("id")]=0;for(let c=0;c<e.length;++c){const u=e[c],d=this.getBeamLines(u);for(let g=0;g<d.length;++g){const m=d[g],y=m.start,b=m.start_note.getAttribute("id"),A=l[b];l[b]++;const S=this.getSlopeY(y,o,s,this.slope),E=m.end,x=this.getSlopeY(E,o,s,this.slope),P=b;this.context.openGroup("beam",`${P}-beam${A}`),this.context.beginPath(),this.context.moveTo(y,S),this.context.lineTo(y,S+a),this.context.lineTo(E+1,x+a),this.context.lineTo(E+1,x),this.context.closePath(),this.context.fill(),this.context.closeGroup()}s+=a*1.5}}preFormat(){return this}postFormat(){this.postFormatted||(this.notes[0].getCategory()==="tabnotes"||this.render_options.flat_beams?this.calculateFlatSlope():this.calculateSlope(),this.applyStemExtensions(),this.postFormatted=!0)}draw(){this.checkContext(),this.setRendered(),!this.unbeamable&&(this.postFormatted||this.postFormat(),this.drawStems(),this.applyStyle(),this.drawBeamLines(),this.restoreStyle())}},Voice$1=class ui extends Element$1{static get Mode(){return{STRICT:1,SOFT:2,FULL:3}}constructor(e){if(super(),this.setAttribute("type","Voice"),typeof e=="string"){const r=e.match(/(\d+)\/(\d+)/);r&&(e={num_beats:r[1],beat_value:r[2],resolution:Flow.RESOLUTION})}this.time=Vex.Merge({num_beats:4,beat_value:4,resolution:Flow.RESOLUTION},e),this.totalTicks=new Fraction(this.time.num_beats*(this.time.resolution/this.time.beat_value),1),this.resolutionMultiplier=1,this.tickables=[],this.ticksUsed=new Fraction(0,1),this.smallestTickCount=this.totalTicks.clone(),this.largestTickWidth=0,this.stave=null,this.mode=ui.Mode.STRICT,this.voiceGroup=null}getTotalTicks(){return this.totalTicks}getTicksUsed(){return this.ticksUsed}getLargestTickWidth(){return this.largestTickWidth}getSmallestTickCount(){return this.smallestTickCount}getTickables(){return this.tickables}getMode(){return this.mode}setMode(e){return this.mode=e,this}getResolutionMultiplier(){return this.resolutionMultiplier}getActualResolution(){return this.resolutionMultiplier*this.time.resolution}setStave(e){return this.stave=e,this.boundingBox=null,this}getBoundingBox(){let e,r,s,o;if(!this.boundingBox){if(!this.stave)throw new Vex.RERR("NoStave","Can't get bounding box without stave.");for(e=this.stave,r=null,o=0;o<this.tickables.length;++o)this.tickables[o].setStave(e),s=this.tickables[o].getBoundingBox(),s&&(r=r?r.mergeWith(s):s);this.boundingBox=r}return this.boundingBox}getVoiceGroup(){if(!this.voiceGroup)throw new Vex.RERR("NoVoiceGroup","No voice group for voice.");return this.voiceGroup}setVoiceGroup(e){return this.voiceGroup=e,this}setStrict(e){return this.mode=e?ui.Mode.STRICT:ui.Mode.SOFT,this}isComplete(){return this.mode===ui.Mode.STRICT||this.mode===ui.Mode.FULL?this.ticksUsed.equals(this.totalTicks):!0}addTickable(e){if(!e.shouldIgnoreTicks()){const r=e.getTicks();if(this.ticksUsed.add(r),(this.mode===ui.Mode.STRICT||this.mode===ui.Mode.FULL)&&this.ticksUsed.greaterThan(this.totalTicks))throw this.ticksUsed.subtract(r),new Vex.RERR("BadArgument","Too many ticks.");r.lessThan(this.smallestTickCount)&&(this.smallestTickCount=r.clone()),this.resolutionMultiplier=this.ticksUsed.denominator,this.totalTicks.add(0,this.ticksUsed.denominator)}return this.tickables.push(e),e.setVoice(this),this}addTickables(e){for(let r=0;r<e.length;++r)this.addTickable(e[r]);return this}preFormat(){return this.preFormatted?this:(this.tickables.forEach(e=>{e.getStave()||e.setStave(this.stave)}),this.preFormatted=!0,this)}draw(e=this.context,r=this.stave){this.setRendered();let s=null;for(let o=0;o<this.tickables.length;++o){const a=this.tickables[o];if(r&&a.setStave(r),!a.getStave())throw new Vex.RuntimeError("MissingStave","The voice cannot draw tickables without staves.");if(o===0&&(s=a.getBoundingBox()),o>0&&s){const l=a.getBoundingBox();l&&s.mergeWith(l)}a.setContext(e),a.drawWithStyle()}this.boundingBox=s}};function drawBoldDoubleLine(i,e,r,s,o){if(e!==StaveConnector.type.BOLD_DOUBLE_LEFT&&e!==StaveConnector.type.BOLD_DOUBLE_RIGHT)throw new Vex.RERR("InvalidConnector","A REPEAT_BEGIN or REPEAT_END type must be provided.");let a=3,l=3.5;const c=2;e===StaveConnector.type.BOLD_DOUBLE_RIGHT&&(a=-5,l=3),i.fillRect(r+a,s,1,o-s),i.fillRect(r-c,s,l,o-s)}class StaveConnector extends Element$1{static get type(){return{SINGLE_RIGHT:0,SINGLE_LEFT:1,SINGLE:1,DOUBLE:2,BRACE:3,BRACKET:4,BOLD_DOUBLE_LEFT:5,BOLD_DOUBLE_RIGHT:6,THIN_DOUBLE:7,NONE:8}}static get typeString(){return{singleRight:StaveConnector.type.SINGLE_RIGHT,singleLeft:StaveConnector.type.SINGLE_LEFT,single:StaveConnector.type.SINGLE,double:StaveConnector.type.DOUBLE,brace:StaveConnector.type.BRACE,bracket:StaveConnector.type.BRACKET,boldDoubleLeft:StaveConnector.type.BOLD_DOUBLE_LEFT,boldDoubleRight:StaveConnector.type.BOLD_DOUBLE_RIGHT,thinDouble:StaveConnector.type.THIN_DOUBLE,none:StaveConnector.type.NONE}}constructor(e,r){super(),this.setAttribute("type","StaveConnector"),this.thickness=Flow.STAVE_LINE_THICKNESS,this.width=3,this.top_stave=e,this.bottom_stave=r,this.type=StaveConnector.type.DOUBLE,this.font={family:"times",size:16,weight:"normal"},this.x_shift=0,this.texts=[]}setType(e){return e=typeof e=="string"?StaveConnector.typeString[e]:e,e>=StaveConnector.type.SINGLE_RIGHT&&e<=StaveConnector.type.NONE&&(this.type=e),this}setText(e,r){return this.texts.push({content:e,options:Vex.Merge({shift_x:0,shift_y:0},r)}),this}setFont(e){Vex.Merge(this.font,e)}setXShift(e){if(typeof e!="number")throw Vex.RERR("InvalidType","x_shift must be a Number");return this.x_shift=e,this}draw(){const e=this.checkContext();this.setRendered();let r=this.top_stave.getYForLine(0),s=this.bottom_stave.getYForLine(this.bottom_stave.getNumLines()-1)+this.thickness,o=this.width,a=this.top_stave.getX();(this.type===StaveConnector.type.SINGLE_RIGHT||this.type===StaveConnector.type.BOLD_DOUBLE_RIGHT||this.type===StaveConnector.type.THIN_DOUBLE)&&(a=this.top_stave.getX()+this.top_stave.width);let c=s-r;switch(this.type){case StaveConnector.type.SINGLE:o=1;break;case StaveConnector.type.SINGLE_LEFT:o=1;break;case StaveConnector.type.SINGLE_RIGHT:o=1;break;case StaveConnector.type.DOUBLE:a-=this.width+2;break;case StaveConnector.type.BRACE:{o=12;const u=this.top_stave.getX()-2+this.x_shift,d=r,g=u,m=s,y=u-o,b=d+c/2,A=y-.9*o,S=d+.2*c,E=u+1.1*o,x=b-.135*c,P=E,C=b+.135*c,T=A,k=m-.2*c,I=y-o,M=k,R=u+.4*o,B=b+.135*c,_=R,V=b-.135*c,D=I,F=S;e.beginPath(),e.moveTo(u,d),e.bezierCurveTo(A,S,E,x,y,b),e.bezierCurveTo(P,C,T,k,g,m),e.bezierCurveTo(I,M,R,B,y,b),e.bezierCurveTo(_,V,D,F,u,d),e.fill(),e.stroke();break}case StaveConnector.type.BRACKET:r-=4,s+=4,c=s-r,Glyph.renderGlyph(e,a-5,r-3,40,"v1b",!0),Glyph.renderGlyph(e,a-5,s+3,40,"v10",!0),a-=this.width+2;break;case StaveConnector.type.BOLD_DOUBLE_LEFT:drawBoldDoubleLine(e,this.type,a+this.x_shift,r,s);break;case StaveConnector.type.BOLD_DOUBLE_RIGHT:drawBoldDoubleLine(e,this.type,a,r,s);break;case StaveConnector.type.THIN_DOUBLE:o=1;break;case StaveConnector.type.NONE:break;default:throw new Vex.RERR("InvalidType",`The provided StaveConnector.type (${this.type}) is invalid`)}this.type!==StaveConnector.type.BRACE&&this.type!==StaveConnector.type.BOLD_DOUBLE_LEFT&&this.type!==StaveConnector.type.BOLD_DOUBLE_RIGHT&&this.type!==StaveConnector.type.NONE&&e.fillRect(a,r,o,c),this.type===StaveConnector.type.THIN_DOUBLE&&e.fillRect(a-3,r,o,c),e.save(),e.lineWidth=2,e.setFont(this.font.family,this.font.size,this.font.weight);for(let u=0;u<this.texts.length;u++){const d=this.texts[u],g=e.measureText(""+d.content).width,m=this.top_stave.getX()-g-24+d.options.shift_x,y=(this.top_stave.getYForLine(0)+this.bottom_stave.getBottomLineY())/2+d.options.shift_y;e.fillText(""+d.content,m,y+4)}e.restore()}}class Tickable extends Element$1{constructor(){super(),this.setAttribute("type","Tickable"),this.ticks=new Fraction(0,1),this.intrinsicTicks=0,this.tickMultiplier=new Fraction(1,1),this.width=0,this.x_shift=0,this.voice=null,this.tickContext=null,this.modifierContext=null,this.modifiers=[],this.preFormatted=!1,this.postFormatted=!1,this.tuplet=null,this.tupletStack=[],this.align_center=!1,this.center_x_shift=0,this.ignore_ticks=!1,this.formatterMetrics={freedom:{left:0,right:0},duration:"",iterations:0,space:{used:0,mean:0,deviation:0}}}reset(){return this}getTicks(){return this.ticks}shouldIgnoreTicks(){return this.ignore_ticks}getWidth(){return this.width}getFormatterMetrics(){return this.formatterMetrics}setXShift(e){this.x_shift=e}getCenterXShift(){return this.isCenterAligned()?this.center_x_shift:0}isCenterAligned(){return this.align_center}setCenterAlignment(e){return this.align_center=e,this}getVoice(){if(!this.voice)throw new Vex.RERR("NoVoice","Tickable has no voice.");return this.voice}setVoice(e){this.voice=e}getTuplet(){return this.tuplet}resetTuplet(e){let r,s;if(e){const o=this.tupletStack.indexOf(e);return o!==-1&&(this.tupletStack.splice(o,1),r=e.getNoteCount(),s=e.getNotesOccupied(),this.applyTickMultiplier(r,s)),this}for(;this.tupletStack.length;)e=this.tupletStack.pop(),r=e.getNoteCount(),s=e.getNotesOccupied(),this.applyTickMultiplier(r,s);return this}setTuplet(e){if(e){this.tupletStack.push(e);const r=e.getNoteCount(),s=e.getNotesOccupied();this.applyTickMultiplier(s,r)}return this.tuplet=e,this}addToModifierContext(e){this.modifierContext=e,this.preFormatted=!1}addModifier(e){return this.modifiers.push(e),this.preFormatted=!1,this}getModifiers(){return this.modifiers}setTickContext(e){this.tickContext=e,this.preFormatted=!1}preFormat(){this.preFormatted||(this.width=0,this.modifierContext&&(this.modifierContext.preFormat(),this.width+=this.modifierContext.getWidth()))}postFormat(){return this.postFormatted?this:(this.postFormatted=!0,this)}getIntrinsicTicks(){return this.intrinsicTicks}setIntrinsicTicks(e){this.intrinsicTicks=e,this.ticks=this.tickMultiplier.clone().multiply(this.intrinsicTicks)}getTickMultiplier(){return this.tickMultiplier}applyTickMultiplier(e,r){this.tickMultiplier.multiply(e,r),this.ticks=this.tickMultiplier.clone().multiply(this.intrinsicTicks)}setDuration(e){const r=e.numerator*(Flow.RESOLUTION/e.denominator);this.ticks=this.tickMultiplier.clone().multiply(r),this.intrinsicTicks=this.ticks.value()}}class Note extends Tickable{static get CATEGORY(){return"note"}static get STAVEPADDING(){return 12}static plotMetrics(e,r,s){const o=r.getMetrics(),a=r.getAbsoluteX()-o.modLeftPx-o.extraLeftPx,l=r.getAbsoluteX()-o.extraLeftPx,c=r.getAbsoluteX(),u=r.getAbsoluteX()+o.noteWidth,d=r.getAbsoluteX()+o.noteWidth+o.extraRightPx,g=r.getAbsoluteX()+o.noteWidth+o.extraRightPx+o.modRightPx,m=g+r.getFormatterMetrics().freedom.right,y=g-a;e.save(),e.setFont("Arial",8,""),e.fillText(Math.round(y)+"px",a+r.getXShift(),s);const b=s+7;function A(E,x,P,C=b){e.beginPath(),e.setStrokeStyle(P),e.setFillStyle(P),e.setLineWidth(3),e.moveTo(E+r.getXShift(),C),e.lineTo(x+r.getXShift(),C),e.stroke()}A(a,l,"red"),A(l,c,"#999"),A(c,u,"green"),A(u,d,"#999"),A(d,g,"red"),A(g,m,"#DD0"),A(a-r.getXShift(),a,"#BBB"),Vex.drawDot(e,c+r.getXShift(),b,"blue");const S=r.getFormatterMetrics();if(S.iterations>0){const E=S.space.deviation,x=E>=0?"+":"";e.setFillStyle("red"),e.fillText(x+Math.round(E),c+r.getXShift(),s-10)}e.restore()}constructor(e){if(super(),this.setAttribute("type","Note"),!e)throw new Vex.RuntimeError("BadArguments","Note must have valid initialization data to identify duration and type.");const r=Flow.parseNoteStruct(e);if(!r)throw new Vex.RuntimeError("BadArguments",`Invalid note initialization object: ${JSON.stringify(e)}`);if(this.duration=r.duration,this.dots=r.dots,this.noteType=r.type,this.customTypes=r.customTypes,this.DYMusicScoreType=e.DYMusicScoreType,e.duration_override?this.setDuration(e.duration_override):this.setIntrinsicTicks(r.ticks),this.modifiers=[],this.glyph=Flow.getGlyphProps(this.duration,this.noteType),this.customGlyphs=this.customTypes.map(s=>Flow.getGlyphProps(this.duration,s)),this.positions&&(typeof this.positions!="object"||!this.positions.length))throw new Vex.RuntimeError("BadArguments","Note keys must be array type.");this.playNote=null,this.tickContext=null,this.modifierContext=null,this.ignore_ticks=!1,this.width=0,this.extraLeftPx=0,this.extraRightPx=0,this.x_shift=0,this.left_modPx=0,this.right_modPx=0,this.voice=null,this.preFormatted=!1,this.ys=[],e.align_center&&this.setCenterAlignment(e.align_center),this.stave=null,this.render_options={annotation_spacing:5,stave_padding:Note.STAVEPADDING}}getPlayNote(){return this.playNote}setPlayNote(e){return this.playNote=e,this}isRest(){return!1}addStroke(e,r){return r.setNote(this),r.setIndex(e),this.modifiers.push(r),this.setPreFormatted(!1),this}getStave(){return this.stave}setStave(e){return this.stave=e,this.setYs([e.getYForLine(0)]),this.context=this.stave.context,this}getCategory(){return Note.CATEGORY}setContext(e){return this.context=e,this}getExtraLeftPx(){return this.extraLeftPx}getExtraRightPx(){return this.extraRightPx}setExtraLeftPx(e){return this.extraLeftPx=e,this}setExtraRightPx(e){return this.extraRightPx=e,this}shouldIgnoreTicks(){return this.ignore_ticks}getLineNumber(){return 0}getLineForRest(){return 0}getGlyph(){return this.glyph}getGlyphWidth(){return this.glyph.getWidth?this.glyph.getWidth(this.render_options.glyph_font_scale):15}setYs(e){return this.ys=e,this}getYs(){if(this.ys.length===0)throw new Vex.RERR("NoYValues","No Y-values calculated for this note.");return this.ys}getYForTopText(e){if(!this.stave)throw new Vex.RERR("NoStave","No stave attached to this note.");return this.stave.getYForTopText(e)}getBoundingBox(){return null}getVoice(){if(!this.voice)throw new Vex.RERR("NoVoice","Note has no voice.");return this.voice}setVoice(e){return this.voice=e,this.preFormatted=!1,this}getTickContext(){return this.tickContext}setTickContext(e){return this.tickContext=e,this.preFormatted=!1,this}getDuration(){return this.duration}isDotted(){return this.dots>0}hasStem(){return!1}getDots(){return this.dots}getNoteType(){return this.noteType}setBeam(){return this}setModifierContext(e){return this.modifierContext=e,this}addModifier(e,r=0){return e.setNote(this),e.setIndex(r),this.modifiers.push(e),this.setPreFormatted(!1),this}getModifierStartXY(){if(!this.preFormatted)throw new Vex.RERR("UnformattedNote","Can't call GetModifierStartXY on an unformatted note");return{x:this.getAbsoluteX(),y:this.ys[0]}}getMetrics(){if(!this.preFormatted)throw new Vex.RERR("UnformattedNote","Can't call getMetrics on an unformatted note.");let e=0,r=0;this.modifierContext!=null&&(e=this.modifierContext.state.left_shift,r=this.modifierContext.state.right_shift);const s=this.getWidth();return{width:s,noteWidth:s-e-r-this.extraLeftPx-this.extraRightPx,left_shift:this.x_shift,modLeftPx:e,modRightPx:r,extraLeftPx:this.extraLeftPx,extraRightPx:this.extraRightPx}}setWidth(e){this.width=e}getWidth(){if(!this.preFormatted)throw new Vex.RERR("UnformattedNote","Can't call GetWidth on an unformatted note.");return this.width+(this.modifierContext?this.modifierContext.getWidth():0)}setXShift(e){return this.x_shift=e,this}getXShift(){return this.x_shift}getX(){if(!this.tickContext)throw new Vex.RERR("NoTickContext","Note needs a TickContext assigned for an X-Value");return this.tickContext.getX()+this.x_shift}getAbsoluteX(){if(!this.tickContext)throw new Vex.RERR("NoTickContext","Note needs a TickContext assigned for an X-Value");let e=this.tickContext.getX();return this.stave&&(e+=this.stave.getNoteStartX()+this.render_options.stave_padding),this.isCenterAligned()&&(this.DYMusicScoreType==="jianpu"||(e+=this.getCenterXShift())),e}setPreFormatted(e){if(this.preFormatted=e,this.preFormatted){const r=this.tickContext.getExtraPx();this.left_modPx=Math.max(this.left_modPx,r.left),this.right_modPx=Math.max(this.right_modPx,r.right)}}}function L$i(...i){NoteHead.DEBUG&&Vex.L("Vex.Flow.NoteHead",i)}function drawSlashNoteHead(i,e,r,s,o,a){const l=Flow.SLASH_NOTEHEAD_WIDTH;i.save(),i.setLineWidth(Flow.STEM_WIDTH);let c=!1;if(Flow.durationToNumber(e)>2&&(c=!0),c||(r-=Flow.STEM_WIDTH/2*o),i.beginPath(),i.moveTo(r,s+a),i.lineTo(r,s+1),i.lineTo(r+l,s-a),i.lineTo(r+l,s),i.lineTo(r,s+a),i.closePath(),c?i.fill():i.stroke(),Flow.durationToFraction(e).equals(.5)){const u=[-3,-1,l+1,l+3];for(let d=0;d<u.length;d++)i.beginPath(),i.moveTo(r+u[d],s-10),i.lineTo(r+u[d],s+11),i.stroke()}i.restore()}class NoteHead extends Note{static get CATEGORY(){return"notehead"}constructor(e){if(super(e),this.setAttribute("type","NoteHead"),this.index=e.index,this.x_shift=e.x_shift||0,this.x=(e.x||0)+this.x_shift,this.y=e.y||0,this.note_type=e.note_type,this.duration=e.duration,this.displaced=e.displaced||!1,this.stem_direction=e.stem_direction||StaveNote.STEM_UP,this.line=e.line,this.glyph=Flow.getGlyphProps(this.duration,this.note_type),!this.glyph)throw new Vex.RuntimeError("BadArguments",`No glyph found for duration '${this.duration}' and type '${this.note_type}'`);this.glyph_code=this.glyph.code_head,this.x_shift_ledger_rest=0,this.y_shift_ledger_rest=0,this.x_shift=e.x_shift||0,this.glyph.rest&&(this.line>5||this.line<0)&&(this.isLedgerLinedRest=!0,this.duration==="h"?(e.custom_glyph_code="rhl",this.x_shift_ledger_rest-=4):this.duration==="w"&&(e.custom_glyph_code="rwl",this.x_shift_ledger_rest-=4,this.y_shift_ledger_rest=-5)),e.custom_glyph_code&&(this.custom_glyph=!0,this.glyph_code=e.custom_glyph_code,this.stem_up_x_offset=e.stem_up_x_offset||0,this.stem_down_x_offset=e.stem_down_x_offset||0,this.stem_up_y_shift=e.stem_up_y_shift||0,this.stem_down_y_shift=e.stem_down_y_shift||0),this.style=e.style,this.slashed=e.slashed,Vex.Merge(this.render_options,{glyph_font_scale:e.glyph_font_scale||Flow.DEFAULT_NOTATION_FONT_SCALE,stroke_px:3}),this.setWidth(this.glyph.getWidth(this.render_options.glyph_font_scale))}getCategory(){return NoteHead.CATEGORY}getWidth(){return this.width}isDisplaced(){return this.displaced===!0}getGlyph(){return this.glyph}setX(e){return this.x=e,this}getY(){return this.y}setY(e){return this.y=e,this}getLine(){return this.line}setLine(e){return this.line=e,this}getAbsoluteX(){const e=this.preFormatted?super.getAbsoluteX():this.x,r=Stem.WIDTH/2;return e+(this.displaced?(this.width-r)*this.stem_direction:0)}getBoundingBox(){if(!this.preFormatted)throw new Vex.RERR("UnformattedNote","Can't call getBoundingBox on an unformatted note.");const e=this.stave.getSpacingBetweenLines(),r=e/2,s=this.y-r;return new Flow.BoundingBox(this.getAbsoluteX(),s,this.width,e)}setStave(e){const r=this.getLine();return this.stave=e,this.setY(e.getYForNote(r)),this.context=this.stave.context,this}preFormat(){if(this.preFormatted)return this;const e=this.getWidth()+this.extraLeftPx+this.extraRightPx;return this.setWidth(e),this.setPreFormatted(!0),this}draw(){this.checkContext(),this.setRendered();const e=this.context;let r=this.getAbsoluteX(),s=this.y;this.custom_glyph&&(r+=this.x_shift_ledger_rest,this.stem_direction===Stem.UP?(r+=this.stem_up_x_offset,s+=this.stem_up_y_shift||0):this.stem_direction===Stem.DOWN&&(r+=this.stem_down_x_offset,s+=this.stem_down_y_shift||0),s+=this.y_shift_ledger_rest),L$i("Drawing note head '",this.note_type,this.duration,"' at",r,s);const o=this.stem_direction,a=this.render_options.glyph_font_scale;if(this.style&&this.applyStyle(e),this.note_type==="s"){const l=this.stave.getSpacingBetweenLines();drawSlashNoteHead(e,this.duration,r,s,o,l)}else Glyph.renderGlyph(e,r,s,a,this.glyph_code);this.style&&this.restoreStyle(e)}}class StemmableNote extends Note{constructor(e){super(e),this.setAttribute("type","StemmableNote"),this.stem=null,this.stemExtensionOverride=null,this.beam=null,this.renderFlag=!0}getStem(){return this.stem}setStem(e){return this.stem=e,this}buildStem(){const e=new Stem;return this.setStem(e),this}buildFlag(){const{glyph:e,beam:r}=this,s=r===null&&this.renderFlag;if(e&&e.flag&&s){const o=this.getStemDirection()===Stem.DOWN?e.code_flag_downstem:e.code_flag_upstem;this.flag=new Glyph(o,this.render_options.glyph_font_scale)}}getTopGlyph(){return this.getStemDirection()===Stem.DOWN?this.customGlyphs[this.customGlyphs.length-1]:this.customGlyphs[0]}getStemLength(){return Stem.HEIGHT+this.getStemExtension()}getBeamCount(){const e=this.getGlyph();return e?e.beam_count:0}getStemMinumumLength(){let r=Flow.durationToFraction(this.duration).value()<=1?0:20;switch(this.duration){case"8":this.beam==null&&(r=35);break;case"16":r=this.beam==null?35:25;break;case"32":r=this.beam==null?45:35;break;case"64":r=this.beam==null?50:40;break;case"128":r=this.beam==null?55:45;break}return r}getStemDirection(){return this.stem_direction}setStemDirection(e){if(e||(e=Stem.UP),e!==Stem.UP&&e!==Stem.DOWN)throw new Vex.RERR("BadArgument",`Invalid stem direction: ${e}`);if(this.stem_direction=e,this.stem){this.stem.setDirection(e),this.stem.setExtension(this.getStemExtension());const r=this.getTopGlyph()||this.getGlyph();this.stem.setOptions({stem_up_y_offset:r.stem_up_y_offset,stem_down_y_offset:r.stem_down_y_offset})}return this.reset(),this.flag&&this.renderFlag&&this.buildFlag(),this.beam=null,this.preFormatted&&this.preFormat(),this}getStemX(){const e=this.getAbsoluteX()+this.x_shift,r=this.getAbsoluteX()+this.x_shift+this.getGlyphWidth();return this.stem_direction===Stem.DOWN?e:r}getCenterGlyphX(){return this.getAbsoluteX()+this.x_shift+this.getGlyphWidth()/2}getStemExtension(){const e=this.getGlyph();return this.stemExtensionOverride!=null?this.stemExtensionOverride:e?this.getStemDirection()===1?e.stem_up_extension:e.stem_down_extension:0}setStemLength(e){return this.stemExtensionOverride=e-Stem.HEIGHT,this}getStemExtents(){return this.stem.getExtents()}setBeam(e){return this.beam=e,this}getYForTopText(e){const r=this.getStemExtents();return this.hasStem()?Math.min(this.stave.getYForTopText(e),r.topY-this.render_options.annotation_spacing*(e+1)):this.stave.getYForTopText(e)}getYForBottomText(e){const r=this.getStemExtents();return this.hasStem()?Math.max(this.stave.getYForTopText(e),r.baseY+this.render_options.annotation_spacing*e):this.stave.getYForBottomText(e)}hasFlag(){return this.renderFlag&&Flow.getGlyphProps(this.duration).flag&&!this.beam}postFormat(){return this.beam&&this.beam.postFormat(),this.postFormatted=!0,this}drawStem(e){this.checkContext(),this.setRendered(),this.setStem(new Stem(e)),this.stem.setContext(this.context).draw()}}class Modifier extends Element$1{static get CATEGORY(){return"none"}static get Position(){return{LEFT:1,RIGHT:2,ABOVE:3,BELOW:4}}static get PositionString(){return{above:Modifier.Position.ABOVE,below:Modifier.Position.BELOW,left:Modifier.Position.LEFT,right:Modifier.Position.RIGHT}}constructor(){super(),this.setAttribute("type","Modifier"),this.width=0,this.note=null,this.index=null,this.text_line=0,this.position=Modifier.Position.LEFT,this.modifier_context=null,this.x_shift=0,this.y_shift=0,this.spacingFromNextModifier=0}getCategory(){return Modifier.CATEGORY}getWidth(){return this.width}setWidth(e){return this.width=e,this}getNote(){return this.note}setNote(e){return this.note=e,this}getIndex(){return this.index}setIndex(e){return this.index=e,this}getModifierContext(){return this.modifier_context}setModifierContext(e){return this.modifier_context=e,this}getPosition(){return this.position}setPosition(e){return this.position=typeof e=="string"?Modifier.PositionString[e]:e,this}setTextLine(e){return this.text_line=e,this}setYShift(e){return this.y_shift=e,this}setSpacingFromNextModifier(e){this.spacingFromNextModifier=e}getSpacingFromNextModifier(){return this.spacingFromNextModifier}setXShift(e){this.x_shift=0,this.position===Modifier.Position.LEFT?this.x_shift-=e:this.x_shift+=e}getXShift(){return this.x_shift}draw(){throw this.checkContext(),new Vex.RERR("MethodNotImplemented","draw() not implemented for this modifier.")}alignSubNotesWithNote(e,r){const s=r.getTickContext(),o=s.getExtraPx(),a=s.getX()-o.left-o.extraLeft+this.getSpacingFromNextModifier();e.forEach(l=>{const c=l.getTickContext();l.setStave(r.stave),c.setXOffset(a)})}}class Dot extends Modifier{static get CATEGORY(){return"dots"}static format(e,r){const s=r.right_shift,o=1;if(!e||e.length===0)return!1;const a=[],l={};for(let b=0;b<e.length;++b){const A=e[b],S=A.getNote();let E,x;typeof S.getKeyProps=="function"?(E=S.getKeyProps()[A.getIndex()],x=E.displaced?S.getExtraRightPx():0):(E={line:.5},x=0);const P=S.getAttribute("id");a.push({line:E.line,note:S,note_id:P,dot:A}),l[P]=Math.max(l[P]||x,x)}a.sort((b,A)=>A.line-b.line);let c=s,u=0,d=null,g=null,m=null,y=0;for(let b=0;b<a.length;++b){const{dot:A,note:S,note_id:E,line:x}=a[b];(x!==d||S!==g)&&(c=l[E]),!S.isRest()&&x!==d&&(Math.abs(x%1)===.5?y=0:(y=.5,(g!=null&&!g.isRest()&&d-x===.5||x+y===m)&&(y=-.5))),S.isRest()?A.dot_shiftY+=-y:A.dot_shiftY=-y,m=x+y,A.setXShift(c),c+=A.getWidth()+o,u=c>u?c:u,d=x,g=S}return r.right_shift+=u,!0}constructor(){super(),this.setAttribute("type","Dot"),this.note=null,this.index=null,this.position=Modifier.Position.RIGHT,this.radius=2,this.setWidth(5),this.dot_shiftY=0}getCategory(){return Dot.CATEGORY}setNote(e){this.note=e,this.note.getCategory()==="gracenotes"&&(this.radius*=.5,this.setWidth(3))}setDotShiftY(e){return this.dot_shiftY=e,this}draw(){if(this.checkContext(),this.setRendered(),!this.note||this.index===null)throw new Vex.RERR("NoAttachedNote","Can't draw dot without a note and index.");const e=this.note.stave.options.spacing_between_lines_px,r=this.note.getModifierStartXY(this.position,this.index,{forceFlagRight:!0});this.note.getCategory()==="tabnotes"&&(r.y=this.note.getStemExtents().baseY+1);const s=r.x+this.x_shift+this.width-this.radius;let o=this.dot_shiftY*e;this.note&&this.note.DYMusicScoreType=="jianpu"&&(o=-5);const a=r.y+this.y_shift+o,l=this.context;l.beginPath(),l.arc(s,a,this.radius,0,Math.PI*2,!1),l.fill()}}function L$h(...i){StaveNote.DEBUG&&Vex.L("Vex.Flow.StaveNote",i)}const getStemAdjustment=i=>Stem.WIDTH/(2*-i.getStemDirection()),isInnerNoteIndex=(i,e)=>e===(i.getStemDirection()===Stem.UP?i.keyProps.length-1:0);function shiftRestVertical(i,e,r){if(i.note.shiftRestVerticalDisabled)return;const s=(e.isrest?0:1)*r;i.line+=s,i.maxLine+=s,i.minLine+=s,i.note.setKeyLine(0,i.note.getKeyLine(0)+s)}function centerRest(i,e,r){const s=i.line-Vex.MidLine(e.minLine,r.maxLine);i.note.setKeyLine(0,i.note.getKeyLine(0)-s),i.line-=s,i.maxLine-=s,i.minLine-=s}class StaveNote extends StemmableNote{static get CATEGORY(){return"stavenotes"}static get STEM_UP(){return Stem.UP}static get STEM_DOWN(){return Stem.DOWN}static get DEFAULT_LEDGER_LINE_OFFSET(){return 3}static renderVibrato(e,r,s,o){let{width:a,height:l,wave_width:c,wave_girth:u,wave_height:d,stem_direction:g}=o;const m=Math.floor(a/c);let y=l/(m/2)*g;y==0&&(g=1,y=.3),e.beginPath(),e.moveTo(r,s+u);for(let b=0;b<m/2;++b)e.quadraticCurveTo(r+c/2,s-d/2,r+c,s),r+=c,s+=y,e.quadraticCurveTo(r+c/2,s+d/2,r+c,s),r+=c;for(let b=0;b<m/2;++b)e.quadraticCurveTo(r-c/2,s+d/2+u,r-c,s+u),r-=c,s-=y,e.quadraticCurveTo(r-c/2,s-d/2+u,r-c,s+u),r-=c;g<0&&e.stroke(),e.fill()}static renderSlideNote(e,r,s,o,a){e.beginPath(),e.moveTo(r,s),e.lineTo(o,a),e.lineWidth=2,e.stroke()}static format(e,r){if(!e||e.length<2)return!1;const s=[],o=e[0].stagger_same_whole_notes;for(let y=0;y<e.length;y++){const b=e[y].getKeyProps(),A=b[0].line;let S=b[b.length-1].line;const E=e[y].getStemDirection(),x=e[y].getStemLength()/10,P=e[y].getStemMinumumLength()/10;let C;e[y].isRest()?(C=A+e[y].glyph.line_above,S=A-e[y].glyph.line_below):(C=E===1?b[b.length-1].line+x:b[b.length-1].line,S=E===1?b[0].line:b[0].line-x),s.push({line:b[0].line,maxLine:C,minLine:S,isrest:e[y].isRest(),stemDirection:E,stemMax:x,stemMin:P,voice_shift:e[y].getVoiceShiftWidth(),is_displaced:e[y].isDisplaced(),note:e[y]})}const a=s.length;let l=s[0];const c=a>2?s[1]:null;let u=a>2?s[2]:s[1];a===2&&l.stemDirection===-1&&u.stemDirection===1&&!l.isrest&&!u.isRest&&(l=s[1],u=s[0]);const d=Math.max(l.voice_shift,u.voice_shift);let g=0,m;if(a===2){const y=l.stemDirection===u.stemDirection?0:.5;if(l.stemDirection===u.stemDirection&&l.minLine<=u.maxLine&&(l.isrest||(m=Math.abs(l.line-(u.maxLine+.5)),m=Math.max(m,l.stemMin),l.minLine=l.line-m,l.note.setStemLength(m*10))),l.minLine<=u.maxLine+y)if(l.isrest)shiftRestVertical(l,u,1),l.note.hasLedgerLinedRest&&(l.note.shiftRestVerticalDisabled=!0);else if(u.isrest)shiftRestVertical(u,l,-1),u.note.hasLedgerLinedRest&&(u.note.shiftRestVerticalDisabled=!0);else{g=d;const b=Math.abs(l.line-u.line);let A=0,S=0;l.note.duration==="h"?A++:l.note.duration==="w"&&S++,u.note.duration==="h"?A++:u.note.duration==="w"&&S++;let E=A===1||S===1||l.note.dots!==u.note.dots;if(o&&(E=E||S===2),b===0&&E){if(u.note.setXShift(g),l.note.dots>0){let x=0;for(const P of l.note.modifiers)if(P instanceof Dot&&(x++,P.setYShift(-10*(u.maxLine-l.line+1)),x===l.note.dots))break}}else b<1&&b>0?u.note.setXShift(g):l.note.voice!==u.note.voice&&l.stemDirection===u.stemDirection&&(l.line>u.line?l.stemDirection===1?u.note.renderFlag=!1:l.note.renderFlag=!1:u.line>l.line?u.stemDirection===1?l.note.renderFlag=!1:u.note.renderFlag=!1:u.stemDirection===1&&(u.stemDirection=-1,u.note.setStemDirection(-1)))}return!0}if(c!==null&&c.minLine<u.maxLine+.5&&(c.isrest||(m=Math.abs(c.line-(u.maxLine+.5)),m=Math.max(m,c.stemMin),c.minLine=c.line-m,c.note.setStemLength(m*10))),c.isrest&&!l.isrest&&!u.isrest&&(l.minLine<=c.maxLine||c.minLine<=u.maxLine)){const y=c.maxLine-c.minLine,b=l.minLine-u.maxLine;return y<b?centerRest(c,l,u):(g=d+3,c.note.setXShift(g)),!0}return l.isrest&&c.isrest&&u.isrest?(shiftRestVertical(l,c,1),shiftRestVertical(u,c,-1),!0):(c.isrest&&l.isrest&&c.minLine<=u.maxLine&&shiftRestVertical(c,u,1),c.isrest&&u.isrest&&l.minLine<=c.maxLine&&shiftRestVertical(c,l,-1),l.isrest&&l.minLine<=c.maxLine&&shiftRestVertical(l,c,1),u.isrest&&c.minLine<=u.maxLine&&shiftRestVertical(u,c,-1),(!l.isrest&&!c.isrest&&l.minLine<=c.maxLine+.5||!c.isrest&&!u.isrest&&c.minLine<=u.maxLine)&&(g=d+3,c.note.setXShift(g)),!0)}static formatByY(e,r){let s=!0;for(let a=0;a<e.length;a++)s=s&&e[a].getStave()!=null;if(!s)throw new Vex.RERR("Stave Missing","All notes must have a stave - Vex.Flow.ModifierContext.formatMultiVoice!");let o=0;for(let a=0;a<e.length-1;a++){let l=e[a],c=e[a+1];l.maxLine<c.maxLine&&(l=e[a+1],c=e[a]);const u=l.getKeyProps(),d=c.getKeyProps(),g=.5,m=l.getStave().getYForLine(5-u[0].line+g);c.getStave().getYForLine(5-d[d.length-1].line-g)-m<0&&l.voice===c.voice&&(o=l.getVoiceShiftWidth()+2,c.setXShift(o))}r.right_shift+=o}static postFormat(e){return e?(e.forEach(r=>r.postFormat()),!0):!1}constructor(e){if(super(e),this.setAttribute("type","StaveNote"),this.keys=e.keys,this.clef=e.clef,this.octave_shift=e.octave_shift,this.beam=null,this.vibrato=null,this.slideNote=null,this.glyph=Flow.getGlyphProps(this.duration,this.noteType),!this.glyph)throw new Vex.RuntimeError("BadArguments",`Invalid note initialization data (No glyph found): ${JSON.stringify(e)}`);this.displaced=!1,this.dot_shiftY=0,this.addDotsCount=0,this.keyProps=[],this.use_default_head_x=!1,this.paddingRight=0,this.note_heads=[],this.modifiers=[],Vex.Merge(this.render_options,{glyph_font_scale:e.glyph_font_scale||Flow.DEFAULT_NOTATION_FONT_SCALE,stroke_px:e.stroke_px||StaveNote.DEFAULT_LEDGER_LINE_OFFSET}),this.calculateKeyProps(),this.buildStem(),e.auto_stem?this.autoStem():this.setStemDirection(e.stem_direction),this.reset(),this.buildFlag()}reset(){super.reset();const e=this.note_heads.map(s=>s.getStyle()),r=[];this.note_heads.forEach(s=>r.push(s.note_type)),this.buildNoteHeads(),this.note_heads.forEach((s,o)=>{s.setStyle(e[o]),r[o]&&(s.note_type=r[o])}),this.stave&&this.note_heads.forEach(s=>s.setStave(this.stave)),this.calcExtraPx()}setBeam(e){return this.beam=e,this.calcExtraPx(),this}setVibrato(e){this.vibrato=e}setSlideNote(e){this.slideNote=e}getCategory(){return StaveNote.CATEGORY}buildStem(){this.setStem(new Stem({hide:!!this.isRest()})),this.stem.id=Vex.Prefix(`${this.getAttribute("id")}-stem`)}buildNoteHeads(){this.note_heads=[];const e=this.getStemDirection(),r=this.getKeys();let s=null,o=null,a=!1,l,c,u;e===Stem.UP?(l=0,c=r.length,u=1):e===Stem.DOWN&&(l=r.length-1,c=-1,u=-1);for(let d=l;d!==c;d+=u){const g=this.keyProps[d],m=g.line;s===null?s=m:(o=Math.abs(s-m),o===0||o===.5?a=!a:(a=!1,this.use_default_head_x=!0)),s=m;const y=new NoteHead({duration:this.duration,note_type:this.noteType,displaced:a,stem_direction:e,custom_glyph_code:g.code,glyph_font_scale:this.render_options.glyph_font_scale,x_shift:g.shift_right,stem_up_x_offset:g.stem_up_x_offset,stem_down_x_offset:g.stem_down_x_offset,stem_up_y_shift:g.stem_up_y_shift,stem_down_y_shift:g.stem_down_y_shift,line:g.line});y.isLedgerLinedRest&&(this.hasLedgerLinedRest=!0),this.note_heads[d]=y}}autoStem(){this.minLine=this.keyProps[0].line,this.maxLine=this.keyProps[this.keyProps.length-1].line;const e=3,s=(this.minLine+this.maxLine)/2<e?Stem.UP:Stem.DOWN;this.setStemDirection(s)}calculateKeyProps(){let e=null;for(let r=0;r<this.keys.length;++r){const s=this.keys[r];this.glyph.rest&&(this.glyph.position=s);const o={octave_shift:this.octave_shift||0},a=Flow.keyProperties(s,this.clef,o);if(!a)throw new Vex.RuntimeError("BadArguments",`Invalid key for note properties: ${s}`);a.key==="R"&&(this.duration==="1"||this.duration==="w"?a.line=4:a.line=3);const l=a.line;e===null?e=l:Math.abs(e-l)===.5&&(this.displaced=!0,a.displaced=!0,this.keyProps.length>0&&(this.keyProps[r-1].displaced=!0)),e=l,this.keyProps.push(a)}e=-1/0,this.keyProps.forEach(r=>{r.line<e&&Vex.W("Unsorted keys in note will be sorted. See https://github.com/0xfe/vexflow/issues/104 for details."),e=r.line}),this.keyProps.sort((r,s)=>r.line-s.line)}getBoundingBox(){if(!this.preFormatted)throw new Vex.RERR("UnformattedNote","Can't call getBoundingBox on an unformatted note.");const{width:e,modLeftPx:r,extraLeftPx:s}=this.getMetrics(),o=this.getAbsoluteX()-r-s-this.paddingRight;let a=0,l=0;const c=this.getStave().getSpacingBetweenLines()/2,u=c*2;if(this.isRest()){const d=this.ys[0],g=Flow.durationToFraction(this.duration);g.equals(1)||g.equals(2)?(a=d-c,l=d+c):(a=d-this.glyph.line_above*u,l=d+this.glyph.line_below*u)}else if(this.glyph.stem){const d=this.getStemExtents();d.baseY+=c*this.stem_direction,a=Math.min(d.topY,d.baseY),l=Math.max(d.topY,d.baseY)}else{a=null,l=null;for(let d=0;d<this.ys.length;++d){const g=this.ys[d];d===0?(a=g,l=g):(a=Math.min(g,a),l=Math.max(g,l))}a-=c,l+=c}return new BoundingBox(o,a,e,l-a)}getLineNumber(e){if(!this.keyProps.length)throw new Vex.RERR("NoKeyProps","Can't get bottom note line, because note is not initialized properly.");let r=this.keyProps[0].line;for(let s=0;s<this.keyProps.length;s++){const o=this.keyProps[s].line;e?o>r&&(r=o):o<r&&(r=o)}return r}isRest(){return this.glyph.rest}isChord(){return!this.isRest()&&this.keys.length>1}hasStem(){return this.glyph.stem}hasFlag(){return super.hasFlag()&&!this.isRest()&&this.renderFlag}getStemX(){return this.noteType==="r"?this.getCenterGlyphX():super.getStemX()+getStemAdjustment(this)}getYForTopText(e){const r=this.getStemExtents();return Math.min(this.stave.getYForTopText(e),r.topY-this.render_options.annotation_spacing*(e+1))}getYForBottomText(e){const r=this.getStemExtents();return Math.max(this.stave.getYForTopText(e),r.baseY+this.render_options.annotation_spacing*e)}setStave(e){super.setStave(e);const r=this.note_heads.map(s=>(s.setStave(e),s.getY()));if(this.setYs(r),this.stem){const{y_top:s,y_bottom:o}=this.getNoteHeadBounds();this.stem.setYBounds(s,o)}return this}getKeys(){return this.keys}getKeyProps(){return this.keyProps}isDisplaced(){return this.displaced}setNoteDisplaced(e){return this.displaced=e,this}getTieRightX(){let e=this.getAbsoluteX();return e+=this.getGlyphWidth()+this.x_shift+this.extraRightPx,this.modifierContext&&(e+=this.modifierContext.getExtraRightPx()),e}getTieLeftX(){let e=this.getAbsoluteX();return e+=this.x_shift-this.extraLeftPx,e}getLineForRest(){let e=this.keyProps[0].line;if(this.keyProps.length>1){const r=this.keyProps[this.keyProps.length-1].line,s=Math.max(e,r),o=Math.min(e,r);e=Vex.MidLine(s,o)}return e}getModifierStartXY(e,r,s){if(s=s||{},!this.preFormatted)throw new Vex.RERR("UnformattedNote","Can't call GetModifierStartXY on an unformatted note");if(this.ys.length===0)throw new Vex.RERR("NoYValues","No Y-Values calculated for this note.");const{ABOVE:o,BELOW:a,LEFT:l,RIGHT:c}=Modifier.Position;let u=0;return e===l?u=-1*2:e===c?(u=this.getGlyphWidth()+this.x_shift+2,this.stem_direction===Stem.UP&&this.hasFlag()&&(s.forceFlagRight||isInnerNoteIndex(this,r))&&(u+=this.flag.getMetrics().width)):(e===a||e===o)&&(u=this.getGlyphWidth()/2),{x:this.getAbsoluteX()+u,y:this.ys[r]}}setStyle(e){super.setStyle(e),this.note_heads.forEach(r=>r.setStyle(e)),this.stem&&this.stem.setStyle(e)}setStemStyle(e){this.stem&&this.getStem().setStyle(e)}getStemStyle(){return this.stem.getStyle()}setLedgerLineStyle(e){this.ledgerLineStyle=e}getLedgerLineStyle(){return this.ledgerLineStyle}setFlagStyle(e){this.flagStyle=e}getFlagStyle(){return this.flagStyle}setKeyStyle(e,r){return this.note_heads[e].setStyle(r),this}setKeyLine(e,r){return this.keyProps[e].line=r,this.reset(),this}getKeyLine(e){return this.keyProps[e].line}addToModifierContext(e){this.setModifierContext(e);for(let r=0;r<this.modifiers.length;++r)this.modifierContext.addModifier(this.modifiers[r]);return this.modifierContext.addModifier(this),this.setPreFormatted(!1),this}addModifier(e,r){return r.setNote(this),r.setIndex(e),this.modifiers.push(r),this.setPreFormatted(!1),this}addAccidental(e,r){return this.addModifier(e,r)}addArticulation(e,r){return this.addModifier(e,r)}addAnnotation(e,r){return this.addModifier(e,r)}addDot(e){const r=new Dot;return r.setDotShiftY(this.glyph.dot_shiftY),this.addDotsCount++,this.addModifier(e,r)}addDotToAll(){for(let e=0;e<this.keys.length;++e)this.addDot(e);return this}getAccidentals(){return this.modifierContext.getModifiers("accidentals")}getDots(){return this.modifierContext.getModifiers("dots")}getVoiceShiftWidth(){return this.getGlyphWidth()*(this.displaced?2:1)}calcExtraPx(){this.setExtraLeftPx(this.displaced&&this.stem_direction===Stem.DOWN?this.getGlyphWidth():0),this.setExtraRightPx(!this.hasFlag()&&this.displaced&&this.stem_direction===Stem.UP?this.getGlyphWidth():0)}preFormat(){if(this.preFormatted)return;this.modifierContext&&this.modifierContext.preFormat();let e=this.getGlyphWidth()+this.extraLeftPx+this.extraRightPx+this.paddingRight;this.renderFlag&&this.glyph.flag&&this.beam===null&&this.stem_direction===Stem.UP&&(e+=this.getGlyphWidth()),this.setWidth(e),this.setPreFormatted(!0)}getNoteHeadBounds(){let e=null,r=null,s=null,o=null,a=this.stave.getNumLines(),l=1,c=!1,u=!1,d=a,g=l;return this.note_heads.forEach(m=>{const y=m.getLine(),b=m.getY();(e===null||b<e)&&(e=b),(r===null||b>r)&&(r=b),o===null&&m.isDisplaced()&&(o=m.getAbsoluteX()),s===null&&!m.isDisplaced()&&(s=m.getAbsoluteX()),a=y>a?y:a,l=y<l?y:l,m.isDisplaced()?(c=c===!1?y:Math.max(y,c),u=u===!1?y:Math.min(y,u)):(d=Math.max(y,d),g=Math.min(y,g))},this),{y_top:e,y_bottom:r,displaced_x:o,non_displaced_x:s,highest_line:a,lowest_line:l,highest_displaced_line:c,lowest_displaced_line:u,highest_non_displaced_line:d,lowest_non_displaced_line:g}}getNoteHeadBeginX(){return this.getAbsoluteX()+this.x_shift}getNoteHeadEndX(){return this.getNoteHeadBeginX()+this.getGlyphWidth()}drawLedgerLines(){const{stave:e,glyph:r,render_options:{stroke_px:s},context:o}=this,a=r.getWidth()+s*2,l=2*(r.getWidth()+s)-Stem.WIDTH/2;if(this.isRest())return;if(!o)throw new Vex.RERR("NoCanvasContext","Can't draw without a canvas context.");const{highest_line:c,lowest_line:u,highest_displaced_line:d,highest_non_displaced_line:g,lowest_displaced_line:m,lowest_non_displaced_line:y,displaced_x:b,non_displaced_x:A}=this.getNoteHeadBounds(),S=Math.min(b,A),E=(P,C,T)=>{let k;T&&C?k=S-s:C?k=A-s:k=b-s;const I=C&&T?l:a;o.beginPath(),o.moveTo(k,P),o.lineTo(k+I,P),o.stroke()},x={...e.getStyle()||{},...this.getLedgerLineStyle()||{}};this.applyStyle(o,x);for(let P=6;P<=c;++P){const C=A!==null&&P<=g,T=b!==null&&P<=d;E(e.getYForNote(P),C,T)}for(let P=0;P>=u;--P){const C=A!==null&&P>=y,T=b!==null&&P>=m;E(e.getYForNote(P),C,T)}this.restoreStyle(o,x)}drawVibrato(){if(this.vibrato){const e=this.context,r=this.vibrato.getNoteHeadEndX()+2;let{y_bottom:s}=this.vibrato.getNoteHeadBounds(),{y_top:o}=this.getNoteHeadBounds();const a=s<o?1:-1;let l=Math.abs(this.getNoteHeadBeginX()-5-r),c=Math.abs(o-s);(this.duration==="w"||this.vibrato.stave.y!==this.stave.y)&&(l=this.vibrato.stave.getNoteEndX()-5-r),this.vibrato.stave.y!==this.stave.y&&(c=0),e.openGroup("vibrato"),StaveNote.renderVibrato(this.context,r,s,{harsh:!0,width:l,height:c,wave_height:6,wave_width:4,wave_girth:4,stem_direction:a}),e.closeGroup()}}drawSlide(){if(this.slideNote){const e=this.context,r=this.slideNote.getNoteHeadEndX()+2;let{y_bottom:s}=this.slideNote.getNoteHeadBounds(),o=this.getNoteHeadBeginX()-4,{y_top:a}=this.getNoteHeadBounds();(this.duration==="w"||this.slideNote.stave.y!==this.stave.y)&&(o=this.slideNote.stave.getNoteEndX()-2),e.openGroup("slide"),StaveNote.renderSlideNote(e,r,s,o,a),e.closeGroup()}}drawModifiers(){var s,o;if(!this.context)throw new Vex.RERR("NoCanvasContext","Can't draw without a canvas context.");const e=this.context;e.openGroup("modifiers");let r="";for(let a=0;a<this.modifiers.length;a++){const l=this.modifiers[a],c=this.note_heads[l.getIndex()],u=c.getStyle();if(!(this.isRest()&&l.getCategory()==="articulations")&&!(l.note.DYMusicScoreType=="jianpu"&&this.modifiers.length>1&&l.getAttribute("type")==="Accidental"&&this.modifiers.findIndex(g=>g.getAttribute("type")==="GraceNoteGroup")>=0)&&!(l.note&&l.note.DYMusicScoreType=="jianpu"&&l.getAttribute("type")==="Dot"&&!l.note.formatterMetrics.duration)){if(l.note&&l.note.DYMusicScoreType=="jianpu"&&l.getAttribute("type")==="Dot")try{l.note.getModifierStartXY(l.position,0,{forceFlagRight:!0}).x-l.note.x<9&&(l.x_shift+=7)}catch(d){console.log("🚀 ~ error:",d)}l.note&&l.note.DYMusicScoreType=="jianpu"&&(((s=l==null?void 0:l.articulation)==null?void 0:s.code)==="v28"||((o=l==null?void 0:l.articulation)==null?void 0:o.code)==="v42")&&(r="transform"),c.applyStyle(e,u),l.setContext(e),l.drawWithStyle(),c.restoreStyle(e,u)}}e.closeGroup(r),this.drawVibrato(),this.drawSlide()}drawFlag(){const{stem:e,beam:r,context:s}=this;if(!s)throw new Vex.RERR("NoCanvasContext","Can't draw without a canvas context.");const o=r===null&&this.renderFlag;if(this.getGlyph().flag&&o){const{y_top:l,y_bottom:c}=this.getNoteHeadBounds(),u=e.getHeight(),d=this.getStemX();let g=this.getStemDirection()===Stem.DOWN?l-u+2:c-u-2;if(e&&!r){const m=this.keyProps[0].line;(m>6.5||m<-.5)&&(g=g+(m>6.5?(m-6.5)*10:(m+.5)*10))}s.openGroup("flag",null,{pointerBBox:!0}),this.applyStyle(s,this.getFlagStyle()||!1),this.flag.render(s,d,g),this.restoreStyle(s,this.getFlagStyle()||!1),s.closeGroup()}}drawNoteHeads(){this.note_heads.forEach(e=>{this.context.openGroup("notehead",null,{pointerBBox:!0});try{if(this.isRest()&&this.duration==="w"){const r=this.stave.options.line_config.filter(o=>o.visible).length;this.keyProps[0].line===4&&r<5&&e.setY(e.getY()+10),r===1&&e.setLine(3)}}catch(r){}e.setContext(this.context).draw(),this.context.closeGroup()})}drawStem(e){if(!this.context)throw new Vex.RERR("NoCanvasContext","Can't draw without a canvas context.");e&&this.setStem(new Stem(e)),this.stem.id=Vex.Prefix(`${this.getAttribute("id")}-stem`),this.stem&&(this.context.openGroup("stem",null,{pointerBBox:!0}),this.stem.setContext(this.context).draw(),this.context.closeGroup())}draw(){if(!this.context)throw new Vex.RERR("NoCanvasContext","Can't draw without a canvas context.");if(!this.stave)throw new Vex.RERR("NoStave","Can't draw without a stave.");if(this.ys.length===0)throw new Vex.RERR("NoYValues","Can't draw note without Y values.");const e=this.stave.getLines();if(e===2||e===3||e===4)for(let o=0;o<this.note_heads.length;o++)if(this.isRest())e===2&&(this.duration==="q"?this.note_heads[o].setLine(2):this.duration==="w"?this.note_heads[o].setLine(4):this.duration==="h"?this.note_heads[o].setLine(2.5):this.note_heads[o].setLine(2));else{let a=e===2?2:e===3?.65:.3,l=this.note_heads[o].line;this.note_heads[o].setLine(l+a)}const r=this.getNoteHeadBeginX(),s=this.hasStem()&&!this.beam;if(this.note_heads.forEach(o=>o.setX(r)),this.stem){let o=this.getStemX();const a=this.keyProps[0].line;(a>6.5||a<-.5)&&(this.beam||(this.stem.renderHeightAdjustment=a>6.5?(a-6.5)*10:Math.abs(a+.5)*10)),this.stem.setNoteHeadXBounds(o,o)}L$h("Rendering ",this.isChord()?"chord :":"note :",this.keys),this.drawLedgerLines(),this.applyStyle(),this.setAttribute("el",this.context.openGroup("stavenote",this.getAttribute("id"))),this.context.openGroup("note",null,{pointerBBox:!0}),s&&this.drawStem(),this.drawNoteHeads(),this.drawFlag(),this.context.closeGroup(),this.drawModifiers(),this.context.closeGroup(),this.restoreStyle(),this.setRendered()}}class FretHandFinger extends Modifier{static get CATEGORY(){return"frethandfinger"}static format(e,r){const{left_shift:s,right_shift:o}=r,a=1;if(!e||e.length===0)return!1;const l=[];let c=null,u=0,d=0;for(let E=0;E<e.length;++E){const x=e[E],P=x.getNote(),C=x.getPosition(),T=P.getKeyProps()[x.getIndex()];if(P!==c){for(let k=0;k<P.keys.length;++k){const I=P.getKeyProps()[k];s===0&&(u=I.displaced?P.getExtraLeftPx():u),o===0&&(d=I.displaced?P.getExtraRightPx():d)}c=P}l.push({note:P,num:x,pos:C,line:T.line,shiftL:u,shiftR:d})}l.sort((E,x)=>x.line-E.line);let g=0,m=0,y=0,b=0,A=null,S=null;for(let E=0;E<l.length;++E){let x=0;const{note:P,pos:C,num:T,line:k,shiftL:I,shiftR:M}=l[E];(k!==A||P!==S)&&(g=s+I,m=o+M);const R=T.getWidth()+a;C===Modifier.Position.LEFT?(T.setXShift(s+g),x=s+R,y=x>y?x:y):C===Modifier.Position.RIGHT&&(T.setXShift(m),x=d+R,b=x>b?x:b),A=k,S=P}return r.left_shift+=y,r.right_shift+=b,!0}constructor(e){super(),this.setAttribute("type","FretHandFinger"),this.note=null,this.index=null,this.finger=e,this.width=7,this.position=Modifier.Position.LEFT,this.x_shift=0,this.y_shift=0,this.x_offset=0,this.y_offset=0,this.font={family:"sans-serif",size:9,weight:"bold"}}getCategory(){return FretHandFinger.CATEGORY}setFretHandFinger(e){return this.finger=e,this}setOffsetX(e){return this.x_offset=e,this}setOffsetY(e){return this.y_offset=e,this}draw(){if(this.checkContext(),!this.note||this.index==null)throw new Vex.RERR("NoAttachedNote","Can't draw string number without a note and index.");this.setRendered();const e=this.context,r=this.note.getModifierStartXY(this.position,this.index);let s=r.x+this.x_shift+this.x_offset,o=r.y+this.y_shift+this.y_offset+5;switch(this.position){case Modifier.Position.ABOVE:s-=4,o-=12;break;case Modifier.Position.BELOW:s-=2,o+=10;break;case Modifier.Position.LEFT:s-=this.width;break;case Modifier.Position.RIGHT:s+=1;break;default:throw new Vex.RERR("InvalidPostion",`The position ${this.position} does not exist`)}e.save(),e.setFont(this.font.family,this.font.size,this.font.weight),e.fillText(""+this.finger,s,o),e.restore()}}class Music{static get NUM_TONES(){return 12}static get roots(){return["c","d","e","f","g","a","b"]}static get root_values(){return[0,2,4,5,7,9,11]}static get root_indices(){return{c:0,d:1,e:2,f:3,g:4,a:5,b:6}}static get canonical_notes(){return["c","c#","d","d#","e","f","f#","g","g#","a","a#","b"]}static get diatonic_intervals(){return["unison","m2","M2","m3","M3","p4","dim5","p5","m6","M6","b7","M7","octave"]}static get diatonic_accidentals(){return{unison:{note:0,accidental:0},m2:{note:1,accidental:-1},M2:{note:1,accidental:0},m3:{note:2,accidental:-1},M3:{note:2,accidental:0},p4:{note:3,accidental:0},dim5:{note:4,accidental:-1},p5:{note:4,accidental:0},m6:{note:5,accidental:-1},M6:{note:5,accidental:0},b7:{note:6,accidental:-1},M7:{note:6,accidental:0},octave:{note:7,accidental:0}}}static get intervals(){return{u:0,unison:0,m2:1,b2:1,min2:1,S:1,H:1,2:2,M2:2,maj2:2,T:2,W:2,m3:3,b3:3,min3:3,M3:4,3:4,maj3:4,4:5,p4:5,"#4":6,b5:6,aug4:6,dim5:6,5:7,p5:7,"#5":8,b6:8,aug5:8,6:9,M6:9,maj6:9,b7:10,m7:10,min7:10,dom7:10,M7:11,maj7:11,8:12,octave:12}}static get scales(){return{major:[2,2,1,2,2,2,1],dorian:[2,1,2,2,2,1,2],mixolydian:[2,2,1,2,2,1,2],minor:[2,1,2,2,1,2,2]}}static get scaleTypes(){return{M:Music.scales.major,m:Music.scales.minor}}static get accidentals(){return["bb","b","n","#","##"]}static get noteValues(){return{c:{root_index:0,int_val:0},cn:{root_index:0,int_val:0},"c#":{root_index:0,int_val:1},"c##":{root_index:0,int_val:2},cb:{root_index:0,int_val:11},cbb:{root_index:0,int_val:10},d:{root_index:1,int_val:2},dn:{root_index:1,int_val:2},"d#":{root_index:1,int_val:3},"d##":{root_index:1,int_val:4},db:{root_index:1,int_val:1},dbb:{root_index:1,int_val:0},e:{root_index:2,int_val:4},en:{root_index:2,int_val:4},"e#":{root_index:2,int_val:5},"e##":{root_index:2,int_val:6},eb:{root_index:2,int_val:3},ebb:{root_index:2,int_val:2},f:{root_index:3,int_val:5},fn:{root_index:3,int_val:5},"f#":{root_index:3,int_val:6},"f##":{root_index:3,int_val:7},fb:{root_index:3,int_val:4},fbb:{root_index:3,int_val:3},g:{root_index:4,int_val:7},gn:{root_index:4,int_val:7},"g#":{root_index:4,int_val:8},"g##":{root_index:4,int_val:9},gb:{root_index:4,int_val:6},gbb:{root_index:4,int_val:5},a:{root_index:5,int_val:9},an:{root_index:5,int_val:9},"a#":{root_index:5,int_val:10},"a##":{root_index:5,int_val:11},ab:{root_index:5,int_val:8},abb:{root_index:5,int_val:7},b:{root_index:6,int_val:11},bn:{root_index:6,int_val:11},"b#":{root_index:6,int_val:0},"b##":{root_index:6,int_val:1},bb:{root_index:6,int_val:10},bbb:{root_index:6,int_val:9}}}isValidNoteValue(e){return!(e==null||e<0||e>=Music.NUM_TONES)}isValidIntervalValue(e){return this.isValidNoteValue(e)}getNoteParts(e){if(!e||e.length<1)throw new Vex.RERR("BadArguments","Invalid note name: "+e);if(e.length>3)throw new Vex.RERR("BadArguments","Invalid note name: "+e);const r=e.toLowerCase(),o=/^([cdefgab])(b|bb|n|#|##)?$/.exec(r);if(o!=null){const a=o[1],l=o[2];return{root:a,accidental:l}}else throw new Vex.RERR("BadArguments","Invalid note name: "+e)}getKeyParts(e){if(!e||e.length<1)throw new Vex.RERR("BadArguments","Invalid key: "+e);const r=e.toLowerCase(),o=/^([cdefgab])(b|#)?(mel|harm|m|M)?$/.exec(r);if(o!=null){const a=o[1],l=o[2];let c=o[3];return c||(c="M"),{root:a,accidental:l,type:c}}else throw new Vex.RERR("BadArguments",`Invalid key: ${e}`)}getNoteValue(e){const r=Music.noteValues[e];if(r==null)throw new Vex.RERR("BadArguments",`Invalid note name: ${e}`);return r.int_val}getIntervalValue(e){const r=Music.intervals[e];if(r==null)throw new Vex.RERR("BadArguments",`Invalid interval name: ${e}`);return r}getCanonicalNoteName(e){if(!this.isValidNoteValue(e))throw new Vex.RERR("BadArguments",`Invalid note value: ${e}`);return Music.canonical_notes[e]}getCanonicalIntervalName(e){if(!this.isValidIntervalValue(e))throw new Vex.RERR("BadArguments",`Invalid interval value: ${e}`);return Music.diatonic_intervals[e]}getRelativeNoteValue(e,r,s){if(s==null&&(s=1),s!==1&&s!==-1)throw new Vex.RERR("BadArguments",`Invalid direction: ${s}`);let o=(e+s*r)%Music.NUM_TONES;return o<0&&(o+=Music.NUM_TONES),o}getRelativeNoteName(e,r){const s=this.getNoteParts(e),o=this.getNoteValue(s.root);let a=r-o;if(Math.abs(a)>Music.NUM_TONES-3){let c=1;a>0&&(c=-1);const u=(r+1+(o+1))%Music.NUM_TONES*c;if(Math.abs(u)>2)throw new Vex.RERR("BadArguments",`Notes not related: ${e}, ${r})`);a=u}if(Math.abs(a)>2)throw new Vex.RERR("BadArguments",`Notes not related: ${e}, ${r})`);let l=s.root;if(a>0)for(let c=1;c<=a;++c)l+="#";else if(a<0)for(let c=-1;c>=a;--c)l+="b";return l}getScaleTones(e,r){const s=[e];let o=e;for(let a=0;a<r.length;a+=1)o=this.getRelativeNoteValue(o,r[a]),o!==e&&s.push(o);return s}getIntervalBetween(e,r,s){if(s==null&&(s=1),s!==1&&s!==-1)throw new Vex.RERR("BadArguments",`Invalid direction: ${s}`);if(!this.isValidNoteValue(e)||!this.isValidNoteValue(r))throw new Vex.RERR("BadArguments",`Invalid notes: ${e}, ${r}`);let o=s===1?r-e:e-r;return o<0&&(o+=Music.NUM_TONES),o}createScaleMap(e){const r=this.getKeyParts(e),s=Music.scaleTypes[r.type];let o=r.root;if(r.accidental&&(o+=r.accidental),!s)throw new Vex.RERR("BadArguments","Unsupported key type: "+e);const a=this.getScaleTones(this.getNoteValue(o),s),l=Music.root_indices[r.root],c={};for(let u=0;u<Music.roots.length;++u){const d=(l+u)%Music.roots.length,g=Music.roots[d];let m=this.getRelativeNoteName(g,a[u]);m.length===1&&(m+="n"),c[g]=m}return c}}function L$g(...i){Accidental.DEBUG&&Vex.L("Vex.Flow.Accidental",i)}const getGlyphWidth=i=>i.getMetrics().width;class Accidental extends Modifier{static get CATEGORY(){return"accidentals"}static format(e,r){const o=r.left_shift+1,a=3;if(!e||e.length===0)return;const l=[];let c=null,u=0,d;for(let P=0;P<e.length;++P){const C=e[P],T=C.getNote(),k=T.getStave(),I=T.getKeyProps()[C.getIndex()];if(T!==c){for(let M=0;M<T.keys.length;++M)d=T.getKeyProps()[M],u=d.displaced?T.getExtraLeftPx():u;c=T}if(k!==null){const M=k.options.spacing_between_lines_px,R=k.getYForLine(I.line),B=Math.round(R/M*2)/2;l.push({y:R,line:B,shift:u,acc:C,lineSpace:M})}else l.push({line:I.line,shift:u,acc:C})}l.sort((P,C)=>C.line-P.line);const g=[];let m=0,y=null;for(let P=0;P<l.length;P++){const C=l[P];(y===null||y!==C.line)&&g.push({line:C.line,flatLine:!0,dblSharpLine:!0,numAcc:0,width:0}),C.acc.type!=="b"&&C.acc.type!=="bb"&&(g[g.length-1].flatLine=!1),C.acc.type!=="##"&&(g[g.length-1].dblSharpLine=!1),g[g.length-1].numAcc++,g[g.length-1].width+=C.acc.getWidth()+a,m=C.shift>m?C.shift:m,y=C.line}let b=0;for(let P=0;P<g.length;P++){let C=!1;const T=P;let k=P;for(;k+1<g.length&&!C;)this.checkCollision(g[k],g[k+1])?k++:C=!0;const I=N=>g[T+N],M=N=>N.map(I),R=(N,K)=>{const[G,q]=M([N,K]).map(O=>O.line);return G-q},B=(...N)=>N.map(M).every(K=>!this.checkCollision(...K)),_=k-T+1;let V=this.checkCollision(g[T],g[k])?"a":"b";switch(_){case 3:V==="a"&&R(1,2)===.5&&R(0,1)!==.5&&(V="second_on_bottom");break;case 4:B([0,2],[1,3])&&(V="spaced_out_tetrachord");break;case 5:V==="b"&&B([1,3])&&(V="spaced_out_pentachord",B([0,2],[2,4])&&(V="very_spaced_out_pentachord"));break;case 6:B([0,3],[1,4],[2,5])&&(V="spaced_out_hexachord"),B([0,2],[2,4],[1,3],[3,5])&&(V="very_spaced_out_hexachord");break}let D,F;if(_>=7){let N=2,K=!0;for(;K===!0;){K=!1;for(let G=0;G+N<g.length;G++)if(this.checkCollision(g[G],g[G+N])){K=!0,N++;break}}for(D=P;D<=k;D++)F=(D-P)%N+1,g[D].column=F,b=b>F?b:F}else for(D=P;D<=k;D++)F=Flow.accidentalColumnsTable[_][V][D-P],g[D].column=F,b=b>F?b:F;P=k}const A=[],S=[];for(let P=0;P<=b;P++)A[P]=0,S[P]=0;A[0]=m+o,S[0]=m+o,g.forEach(P=>{P.width>A[P.column]&&(A[P.column]=P.width)});for(let P=1;P<A.length;P++)S[P]=A[P]+S[P-1];const E=S[S.length-1];let x=0;g.forEach(P=>{let C=0;const T=x+P.numAcc;for(x;x<T;x++){const k=S[P.column-1]+C;l[x].acc.setXShift(k),C+=l[x].acc.getWidth()+a,L$g("Line, accCount, shift: ",P.line,x,k)}}),r.left_shift+=E}static checkCollision(e,r){let s=r.line-e.line,o=3;s>0?(o=r.flatLine||r.dblSharpLine?2.5:3,e.dblSharpLine&&(s-=.5)):(o=e.flatLine||e.dblSharpLine?2.5:3,r.dblSharpLine&&(s-=.5));const a=Math.abs(s)<o;return L$g("Line_1, Line_2, Collision: ",e.line,r.line,a),a}static applyAccidentals(e,r){const s=[],o={};e.forEach(c=>{const u=new Fraction(0,1);c.getTickables().forEach(g=>{if(g.shouldIgnoreTicks())return;const m=o[u.value()];m?m.push(g):(s.push(u.value()),o[u.value()]=[g]),u.add(g.getTicks())})});const a=new Music;r||(r="C");const l=a.createScaleMap(r);s.forEach(c=>{const u=o[c],d=[],g=m=>{m.isRest()||m.shouldIgnoreTicks()||(m.keys.forEach((y,b)=>{const A=a.getNoteParts(y.split("/")[0]),S=A.accidental||"n",E=A.root+S,x=l[A.root]===E,P=d.indexOf(E)>-1;if(!x||x&&P){l[A.root]=E;const C=new Accidental(S);m.addAccidental(b,C),d.push(E)}}),m.getModifiers().forEach(y=>{y.getCategory()==="gracenotegroups"&&y.getGraceNotes().forEach(g)}))};u.forEach(g)})}constructor(e=null){if(super(),this.setAttribute("type","Accidental"),L$g("New accidental: ",e),this.note=null,this.index=null,this.type=e,this.position=Modifier.Position.LEFT,this.render_options={font_scale:38,stroke_px:3,parenLeftPadding:2,parenRightPadding:2},this.accidental=Flow.accidentalCodes(this.type),!this.accidental)throw new Vex.RERR("ArgumentError",`Unknown accidental type: ${e}`);this.cautionary=!1,this.parenLeft=null,this.parenRight=null,this.reset()}reset(){const e=this.render_options.font_scale;this.glyph=new Glyph(this.accidental.code,e),this.glyph.setOriginX(1),this.cautionary&&(this.parenLeft=new Glyph(Flow.accidentalCodes("{").code,e),this.parenRight=new Glyph(Flow.accidentalCodes("}").code,e),this.parenLeft.setOriginX(1),this.parenRight.setOriginX(1))}getCategory(){return Accidental.CATEGORY}getWidth(){const e=this.cautionary?getGlyphWidth(this.parenLeft)+getGlyphWidth(this.parenRight)+this.render_options.parenLeftPadding+this.render_options.parenRightPadding:0;return getGlyphWidth(this.glyph)+e}setNote(e){if(!e)throw new Vex.RERR("ArgumentError",`Bad note value: ${e}`);this.note=e,this.note.getCategory()==="gracenotes"&&(this.render_options.font_scale=25,this.reset())}setAsCautionary(){return this.cautionary=!0,this.render_options.font_scale=28,this.reset(),this}draw(){const{context:e,type:r,position:s,note:o,index:a,cautionary:l,x_shift:c,y_shift:u,glyph:d,parenLeft:g,parenRight:m,render_options:{parenLeftPadding:y,parenRightPadding:b}}=this;if(this.checkContext(),!(o&&a!=null))throw new Vex.RERR("NoAttachedNote","Can't draw accidental without a note and index.");const A=o.getModifierStartXY(s,a);let S=A.x+c;const E=A.y+u;L$g("Rendering: ",r,S,E),l?(m.render(e,S,E),S-=getGlyphWidth(m),S-=b,S-=this.accidental.parenRightPaddingAdjustment,d.render(e,S,E),S-=getGlyphWidth(d),S-=y,g.render(e,S,E)):d.render(e,S,E),this.setRendered()}}let NoteSubGroup$1=class ji extends Modifier{static get CATEGORY(){return"notesubgroup"}static format(e,r){if(!e||e.length===0)return!1;let s=0;for(let o=0;o<e.length;++o){const a=e[o];a.preFormat(),s+=a.getWidth()}return r.left_shift+=s,!0}constructor(e){return super(),this.setAttribute("type","NoteSubGroup"),this.note=null,this.index=null,this.position=Modifier.Position.LEFT,this.subNotes=e,this.subNotes.forEach(r=>{r.ignore_ticks=!1}),this.width=0,this.preFormatted=!1,this.formatter=new Formatter,this.voice=new Voice$1({num_beats:4,beat_value:4,resolution:Flow.RESOLUTION}).setStrict(!1),this.voice.addTickables(this.subNotes),this}getCategory(){return ji.CATEGORY}preFormat(){this.preFormatted||(this.formatter.joinVoices([this.voice]).format([this.voice],0),this.setWidth(this.formatter.getMinTotalWidth()),this.preFormatted=!0)}setNote(e){this.note=e}setWidth(e){this.width=e}getWidth(){return this.width}draw(){this.checkContext();const e=this.getNote();if(!(e&&this.index!==null))throw new Vex.RuntimeError("NoAttachedNote","Can't draw notes without a parent note and parent note index.");this.setRendered(),this.alignSubNotesWithNote(this.subNotes,e),this.subNotes.forEach(r=>r.setContext(this.context).drawWithStyle())}};class StaveTie extends Element$1{constructor(e,r){super(),this.setAttribute("type","StaveTie"),this.notes=e,this.context=null,this.text=r,this.direction=null,this.render_options={cp1:8,cp2:12,text_shift_x:0,first_x_shift:0,last_x_shift:0,y_shift:7,tie_spacing:0,font:{family:"Arial",size:15,style:""}},this.font=this.render_options.font,this.setNotes(e)}setFont(e){return this.font=e,this}setDirection(e){return this.direction=e,this}setNotes(e){if(!e.first_note&&!e.last_note)throw new Vex.RuntimeError("BadArguments","Tie needs to have either first_note or last_note set.");if(e.first_indices||(e.first_indices=[0]),e.last_indices||(e.last_indices=[0]),e.first_indices.length!==e.last_indices.length)throw new Vex.RuntimeError("BadArguments","Tied notes must have similar index sizes");return this.first_note=e.first_note,this.first_indices=e.first_indices,this.last_note=e.last_note,this.last_indices=e.last_indices,this}isPartial(){return!this.first_note||!this.last_note}renderTie(e){if(e.first_ys.length===0||e.last_ys.length===0)throw new Vex.RERR("BadArguments","No Y-values to render");const r=this.context;let s=this.render_options.cp1,o=this.render_options.cp2;Math.abs(e.last_x_px-e.first_x_px)<10&&(s=2,o=8);const a=this.render_options.first_x_shift,l=this.render_options.last_x_shift,c=this.render_options.y_shift*e.direction;for(let u=0;u<this.first_indices.length;++u){const d=(e.last_x_px+l+(e.first_x_px+a))/2;let g=e.first_ys[this.first_indices[u]]+c,m=e.last_ys[this.last_indices[u]]+c;if(isNaN(g)||isNaN(m))throw new Vex.RERR("BadArguments","Bad indices for tie rendering.");const y=(g+m)/2+s*e.direction,b=(g+m)/2+o*e.direction;let A=g>y&&Math.abs(g-y)<10?-6:0;if(this.first_note&&this.first_note.DYMusicScoreType==="jianpu"){if(this.getAttribute("type")==="TabTie")continue;g<y&&(A=-15),g!=m&&(g=m=Math.max(g,m))}let S;this.first_note&&(S=this.first_note.getAttribute("id")+"-tie"),this.setAttribute("el",r.openGroup("stavetie",S)),r.beginPath(),r.moveTo(e.first_x_px+a,g+A),r.quadraticCurveTo(d,y+A*2.3,e.last_x_px+l,m+A),r.quadraticCurveTo(d,b+A*2.3,e.first_x_px+a,g+A),r.closePath(),r.fill(),r.closeGroup()}}renderText(e,r){if(!this.text)return;let s=(e+r)/2;s-=this.context.measureText(this.text).width/2;let o=0;this.first_note&&this.first_note.DYMusicScoreType==="jianpu"&&(o=2),this.context.save(),this.context.setFont(this.font.family,this.font.size,this.font.style),this.context.fillText(this.text,s+this.render_options.text_shift_x,(this.first_note||this.last_note).getStave().getYForTopText()-1+o),this.context.restore()}draw(){this.checkContext(),this.setRendered();const e=this.first_note,r=this.last_note;let s,o,a,l,c;return e?(s=e.getTieRightX()+this.render_options.tie_spacing,c=e.getStemDirection(),a=e.getYs()):(s=r.getStave().getTieStartX(),a=r.getYs(),this.first_indices=this.last_indices),r?(o=r.getTieLeftX()+this.render_options.tie_spacing,c=r.getStemDirection(),l=r.getYs(),r.attrs.type==="GraceNote"&&(o+=5,s-=15)):(o=e.getStave().getTieEndX(),l=e.getYs(),this.last_indices=this.first_indices),this.direction&&(c=this.direction),this.renderTie({first_x_px:s,last_x_px:o,first_ys:a,last_ys:l,direction:c}),this.renderText(s,o),!0}}class TabTie extends StaveTie{static createHammeron(e){return new TabTie(e,"H")}static createPulloff(e){return new TabTie(e,"P")}constructor(e,r){super(e,r),this.setAttribute("type","TabTie"),this.render_options.cp1=9,this.render_options.cp2=11,this.render_options.y_shift=3,this.setNotes(e)}draw(){this.checkContext(),this.setRendered();const e=this.first_note,r=this.last_note;let s,o,a,l;return e?(s=e.getTieRightX()+this.render_options.tie_spacing,a=e.getYs()):(s=r.getStave().getTieStartX(),a=r.getYs(),this.first_indices=this.last_indices),r?(o=r.getTieLeftX()+this.render_options.tie_spacing,l=r.getYs()):(o=e.getStave().getTieEndX(),l=e.getYs(),this.last_indices=this.first_indices),this.renderTie({first_x_px:s,last_x_px:o,first_ys:a,last_ys:l,direction:-1}),this.renderText(s,o),!0}}function L$f(...i){GraceNoteGroup.DEBUG&&Vex.L("Vex.Flow.GraceNoteGroup",i)}class GraceNoteGroup extends Modifier{static get CATEGORY(){return"gracenotegroups"}static format(e,r){if(!e||e.length===0)return!1;const a=[];let l=null,c=0;for(let g=0;g<e.length;++g){const m=e[g],y=m.getNote(),b=y.getCategory()===StaveNote.CATEGORY;let A=0;if(b&&m.spacing!==null&&m.spacing!==void 0&&(A=m.spacing),b&&y!==l){for(let S=0;S<y.keys.length;++S)c=y.getKeyProps()[S].displaced?y.getExtraLeftPx():c;l=y}a.push({shift:c,gracenote_group:m,spacing:A})}let u=a[0].shift,d;for(let g=0;g<a.length;++g){const m=a[g].gracenote_group;m.preFormat(),d=m.getWidth()+a[g].spacing,u=Math.max(d,u)}for(let g=0;g<a.length;++g){const m=a[g].gracenote_group;d=m.getWidth()+a[g].spacing,m.setSpacingFromNextModifier(u-Math.min(d,u))}return r.left_shift+=u,!0}constructor(e,r){return super(),this.setAttribute("type","GraceNoteGroup"),this.note=null,this.index=null,this.position=Modifier.Position.LEFT,this.grace_notes=e,this.width=0,this.preFormatted=!1,this.show_slur=r,this.slur=null,this.formatter=new Formatter,this.voice=new Voice$1({num_beats:4,beat_value:4,resolution:Flow.RESOLUTION}).setStrict(!1),this.render_options={slur_y_shift:0},this.beams=[],this.voice.addTickables(this.grace_notes),this}getCategory(){return GraceNoteGroup.CATEGORY}preFormat(){this.preFormatted||(this.formatter.joinVoices([this.voice]).format([this.voice],0),this.setWidth(this.formatter.getMinTotalWidth()),this.preFormatted=!0)}beamNotes(e){if(e=e||this.grace_notes,e.length>1){const r=new Beam$1(e);r.render_options.beam_width=3,r.render_options.partial_beam_length=4,this.beams.push(r)}return this}setNote(e){this.note=e}setWidth(e){this.width=e}getWidth(){return this.width}getGraceNotes(){return this.grace_notes}draw(){this.checkContext();const e=this.getNote();if(L$f("Drawing grace note group for:",e),!(e&&this.index!==null))throw new Vex.RuntimeError("NoAttachedNote","Can't draw grace note without a parent note and parent note index.");if(this.setRendered(),this.alignSubNotesWithNote(this.getGraceNotes(),e),this.grace_notes.forEach(r=>{r.setContext(this.context).draw()}),this.beams.forEach(r=>{r.setContext(this.context).draw()}),this.show_slur){const r=this.getNote().getCategory()===StaveNote.CATEGORY,s=r?StaveTie:TabTie;this.slur=new s({last_note:this.grace_notes[0],first_note:e,first_indices:[0],last_indices:[0]}),this.slur.render_options.cp2=12,this.slur.render_options.y_shift=(r?7:5)+this.render_options.slur_y_shift,this.slur.setContext(this.context).draw()}}}class Stroke extends Modifier{static get CATEGORY(){return"strokes"}static get Type(){return{BRUSH_DOWN:1,BRUSH_UP:2,ROLL_DOWN:3,ROLL_UP:4,RASQUEDO_DOWN:5,RASQUEDO_UP:6,ARPEGGIO_DIRECTIONLESS:7}}static format(e,r){const s=r.left_shift,o=0;if(!e||e.length===0)return this;const a=e.map(u=>{const d=u.getNote();if(d instanceof StaveNote){const{line:g,displaced:m}=d.getKeyProps()[u.getIndex()],y=m?d.getExtraLeftPx():0;return{line:g,shift:y,stroke:u}}else{const{str:g}=d.getPositions()[u.getIndex()];return{line:g,shift:0,stroke:u}}}),l=s,c=a.reduce((u,{stroke:d,shift:g})=>(d.setXShift(l+g),Math.max(d.getWidth()+o,u)),0);return r.left_shift+=c,!0}constructor(e,r){super(),this.setAttribute("type","Stroke"),this.note=null,this.options=Vex.Merge({},r),this.all_voices="all_voices"in this.options?this.options.all_voices:!0,this.note_end=null,this.index=null,this.type=e,this.position=Modifier.Position.LEFT,this.render_options={font_scale:38,stroke_px:3,stroke_spacing:10},this.font={family:"serif",size:10,weight:"bold italic"},this.setXShift(0),this.setWidth(10)}getCategory(){return Stroke.CATEGORY}getPosition(){return this.position}addEndNote(e){return this.note_end=e,this}draw(){if(this.checkContext(),this.setRendered(),!(this.note&&this.index!=null))throw new Vex.RERR("NoAttachedNote","Can't draw stroke without a note and index.");const e=this.note.getModifierStartXY(this.position,this.index);let r=this.note.getYs(),s=e.y,o=e.y;const a=e.x-5,l=this.note.stave.options.spacing_between_lines_px,c=this.getModifierContext().getModifiers(this.note.getCategory());for(let b=0;b<c.length;b++){r=c[b].getYs();for(let A=0;A<r.length;A++)(this.note===c[b]||this.all_voices)&&(s=Vex.Min(s,r[A]),o=Vex.Max(o,r[A]))}let u,d,g,m,y;switch(this.type){case Stroke.Type.BRUSH_DOWN:u="vc3",d=-3,g=s-l/2+10,o+=l/2;break;case Stroke.Type.BRUSH_UP:u="v11",d=.5,g=o+l/2,s-=l/2;break;case Stroke.Type.ROLL_DOWN:case Stroke.Type.RASQUEDO_DOWN:u="vc3",d=-3,m=this.x_shift+d-2,this.note instanceof StaveNote?(s+=1.5*l,(o-s)%2!==0?o+=.5*l:o+=l,g=s-l,y=o+l+2):(s+=1.5*l,o+=l,g=s-.75*l,y=o+.25*l);break;case Stroke.Type.ROLL_UP:case Stroke.Type.RASQUEDO_UP:u="v52",d=-4,m=this.x_shift+d-1,this.note instanceof StaveNote?(g=l/2,s+=.5*l,(o-s)%2===0&&(o+=l/2),g=o+.5*l,y=s-1.25*l):(s+=.25*l,o+=.5*l,g=o+.25*l,y=s-l);break;case Stroke.Type.ARPEGGIO_DIRECTIONLESS:s+=.5*l,o+=l;break;default:throw new Vex.RERR("InvalidType",`The stroke type ${this.type} does not exist`)}if(this.type===Stroke.Type.BRUSH_DOWN||this.type===Stroke.Type.BRUSH_UP)this.context.fillRect(a+this.x_shift,s,1,o-s);else if(this.note instanceof StaveNote)for(let b=s;b<=o;b+=l)Glyph.renderGlyph(this.context,a+this.x_shift-4,b,this.render_options.font_scale,"va3");else{let b;for(b=s;b<=o;b+=10)Glyph.renderGlyph(this.context,a+this.x_shift-4,b,this.render_options.font_scale,"va3");this.type===Stroke.Type.RASQUEDO_DOWN&&(y=b+.25*l)}this.type!==Stroke.Type.ARPEGGIO_DIRECTIONLESS&&(Glyph.renderGlyph(this.context,a+this.x_shift+d,g,this.render_options.font_scale,u),(this.type===Stroke.Type.RASQUEDO_DOWN||this.type===Stroke.Type.RASQUEDO_UP)&&(this.context.save(),this.context.setFont(this.font.family,this.font.size,this.font.weight),this.context.fillText("R",a+m,y),this.context.restore()))}}class StringNumber extends Modifier{static get CATEGORY(){return"stringnumber"}static format(e,r){const s=r.left_shift,o=r.right_shift,a=1;if(!e||e.length===0)return this;const l=[];let c=null,u=0,d=0,g,m,y,b,A;for(g=0;g<e.length;++g)for(m=e[g],y=m.getNote(),g=0;g<e.length;++g){m=e[g],y=m.getNote(),b=m.getPosition();const T=y.getKeyProps()[m.getIndex()];if(y!==c){for(let k=0;k<y.keys.length;++k)A=y.getKeyProps()[k],s===0&&(u=A.displaced?y.getExtraLeftPx():u),o===0&&(d=A.displaced?y.getExtraRightPx():d);c=y}l.push({pos:b,note:y,num:m,line:T.line,shiftL:u,shiftR:d})}l.sort((T,k)=>k.line-T.line);let S=0,E=0,x=0,P=null,C=null;for(g=0;g<l.length;++g){let T=0;y=l[g].note,b=l[g].pos,m=l[g].num;const k=l[g].line;l[g].shiftL;const I=l[g].shiftR;(k!==P||y!==C)&&(S=o+I);const M=m.getWidth()+a;b===Modifier.Position.LEFT?(m.setXShift(s),T=u+M,E=T>E?T:E):b===Modifier.Position.RIGHT&&(m.setXShift(S),T+=M,x=T>x?T:x),P=k,C=y}return r.left_shift+=E,r.right_shift+=x,!0}constructor(e){super(),this.setAttribute("type","StringNumber"),this.note=null,this.last_note=null,this.index=null,this.string_number=e,this.setWidth(20),this.position=Modifier.Position.ABOVE,this.x_shift=0,this.y_shift=0,this.x_offset=0,this.y_offset=0,this.dashed=!0,this.leg=Renderer.LineEndType.NONE,this.radius=8,this.font={family:"sans-serif",size:10,weight:"bold"}}getCategory(){return StringNumber.CATEGORY}getNote(){return this.note}setNote(e){return this.note=e,this}getIndex(){return this.index}setIndex(e){return this.index=e,this}setLineEndType(e){return e>=Renderer.LineEndType.NONE&&e<=Renderer.LineEndType.DOWN&&(this.leg=e),this}setStringNumber(e){return this.string_number=e,this}setOffsetX(e){return this.x_offset=e,this}setOffsetY(e){return this.y_offset=e,this}setLastNote(e){return this.last_note=e,this}setDashed(e){return this.dashed=e,this}draw(){const e=this.checkContext();if(!(this.note&&this.index!=null))throw new Vex.RERR("NoAttachedNote","Can't draw string number without a note and index.");this.setRendered();const r=this.note.stave.options.spacing_between_lines_px,s=this.note.getModifierStartXY(this.position,this.index);let o=s.x+this.x_shift+this.x_offset,a=s.y+this.y_shift+this.y_offset;switch(this.position){case Modifier.Position.ABOVE:case Modifier.Position.BELOW:{const c=this.note.getStemExtents();let u=c.topY,d=c.baseY+2;this.note.stem_direction===StaveNote.STEM_DOWN&&(u=c.baseY,d=c.topY-2),this.position===Modifier.Position.ABOVE?a=this.note.hasStem()?u-r*1.75:s.y-r*1.75:a=this.note.hasStem()?d+r*1.5:s.y+r*1.75,a+=this.y_shift+this.y_offset;break}case Modifier.Position.LEFT:o-=this.radius/2+5;break;case Modifier.Position.RIGHT:o+=this.radius/2+6;break;default:throw new Vex.RERR("InvalidPosition",`The position ${this.position} is invalid`)}e.save(),e.beginPath(),e.arc(o,a,this.radius,0,Math.PI*2,!1),e.lineWidth=1.5,e.stroke(),e.setFont(this.font.family,this.font.size,this.font.weight);const l=o-e.measureText(this.string_number).width/2;if(e.fillText(""+this.string_number,l,a+4.5),this.last_note!=null){const c=this.last_note.getStemX()-this.note.getX()+5;e.strokeStyle="#000000",e.lineCap="round",e.lineWidth=.6,this.dashed?Renderer.drawDashedLine(e,o+10,a,o+c,a,[3,3]):Renderer.drawDashedLine(e,o+10,a,o+c,a,[3,0]);let u,d;switch(this.leg){case Renderer.LineEndType.UP:u=-10,d=this.dashed?[3,3]:[3,0],Renderer.drawDashedLine(e,o+c,a,o+c,a+u,d);break;case Renderer.LineEndType.DOWN:u=10,d=this.dashed?[3,3]:[3,0],Renderer.drawDashedLine(e,o+c,a,o+c,a+u,d);break}}e.restore()}}class TickContext extends Tickable{static getNextContext(e){const r=e.tContexts,s=r.indexOf(e);return r[s+1]}constructor(){super(),this.setAttribute("type","TickContext"),this.currentTick=new Fraction(0,1),this.maxTicks=new Fraction(0,1),this.minTicks=null,this.padding=3,this.x=0,this.xBase=0,this.xOffset=0,this.tickables=[],this.notePx=0,this.extraLeftPx=0,this.extraRightPx=0,this.tContexts=[]}getX(){return this.x}setX(e){return this.x=e,this.xBase=e,this.xOffset=0,this}getXBase(){return this.xBase}setXBase(e){this.xBase=e,this.x=e+this.xOffset}getXOffset(){return this.xOffset}setXOffset(e){this.xOffset=e,this.x=this.xBase+e}getWidth(){return this.width+this.padding*2}setPadding(e){return this.padding=e,this}getMaxTicks(){return this.maxTicks}getMinTicks(){return this.minTicks}getTickables(){return this.tickables}getCenterAlignedTickables(){return this.tickables.filter(e=>e.isCenterAligned())}getMetrics(){const{width:e,notePx:r,extraLeftPx:s,extraRightPx:o}=this;return{width:e,notePx:r,extraLeftPx:s,extraRightPx:o}}getCurrentTick(){return this.currentTick}setCurrentTick(e){this.currentTick=e,this.preFormatted=!1}getExtraPx(){let e=0,r=0,s=0,o=0;for(let a=0;a<this.tickables.length;a++){s=Math.max(this.tickables[a].extraLeftPx||0,s),o=Math.max(this.tickables[a].extraRightPx||0,o);const l=this.tickables[a].modifierContext;l&&l!=null&&(e=Math.max(e,l.state.left_shift),r=Math.max(r,l.state.right_shift))}return{left:e,right:r,extraLeft:s,extraRight:o}}addTickable(e){if(!e)throw new Vex.RERR("BadArgument","Invalid tickable added.");if(!e.shouldIgnoreTicks()){this.ignore_ticks=!1;const r=e.getTicks();r.greaterThan(this.maxTicks)&&(this.maxTicks=r.clone()),this.minTicks==null?this.minTicks=r.clone():r.lessThan(this.minTicks)&&(this.minTicks=r.clone())}return e.setTickContext(this),this.tickables.push(e),this.preFormatted=!1,this}preFormat(){if(this.preFormatted)return this;for(let e=0;e<this.tickables.length;++e){const r=this.tickables[e];r.preFormat();const s=r.getMetrics();this.extraLeftPx=Math.max(this.extraLeftPx,s.extraLeftPx+s.modLeftPx),this.extraRightPx=Math.max(this.extraRightPx,s.extraRightPx+s.modRightPx),this.notePx=Math.max(this.notePx,s.noteWidth),this.width=this.notePx+this.extraLeftPx+this.extraRightPx}return this}postFormat(){return this.postFormatted?this:(this.postFormatted=!0,this)}}function L$e(...i){Articulation$1.DEBUG&&Vex.L("Vex.Flow.Articulation",i)}const{ABOVE,BELOW}=Modifier.Position,roundToNearestHalf=(i,e)=>i(e/.5)*.5,isWithinLines=(i,e)=>e===ABOVE?i<=5:i>=1,getRoundingFunction=(i,e)=>isWithinLines(i,e)?e===ABOVE?Math.ceil:Math.floor:Math.round,snapLineToStaff=(i,e,r,s)=>{const o=roundToNearestHalf(getRoundingFunction(e,r),e),a=i&&isWithinLines(o,r),l=o%1===0;return a&&l?o+.5*-s:o},isStaveNote=i=>{const e=i.getCategory();return e==="stavenotes"||e==="gracenotes"},isTabNote=i=>{const e=i.getCategory();return e==="tabnotes"||e==="numberednotes"},getTopY=(i,e)=>{const r=i.getStave(),s=i.getStemDirection(),{topY:o,baseY:a}=i.getStemExtents();if(isStaveNote(i))return i.hasStem()?s===Stem.UP?o:a:Math.min(...i.getYs());if(isTabNote(i))return i.hasStem()&&s===Stem.UP?o:r.getYForTopText(e);throw new Vex.RERR("UnknownCategory","Only can get the top and bottom ys of stavenotes and tabnotes")},getBottomY=(i,e)=>{const r=i.getStave(),s=i.getStemDirection(),{topY:o,baseY:a}=i.getStemExtents();if(isStaveNote(i))return i.hasStem()?s===Stem.UP?a:o:Math.max(...i.getYs());if(isTabNote(i))return i.hasStem()?s===Stem.UP?r.getYForBottomText(e):o:r.getYForBottomText(e);throw new Vex.RERR("UnknownCategory","Only can get the top and bottom ys of stavenotes and tabnotes")},getInitialOffset=(i,e)=>{const r=e===ABOVE&&i.getStemDirection()===Stem.UP||e===BELOW&&i.getStemDirection()===Stem.DOWN;return isStaveNote(i)?i.hasStem()&&r?.5:1:i.hasStem()&&r?1:0};let Articulation$1=class Ei extends Modifier{static get CATEGORY(){return"articulations"}static get INITIAL_OFFSET(){return-.5}static format(e,r){if(!e||e.length===0)return!1;const s=u=>u.getPosition()===ABOVE,o=u=>u.getPosition()===BELOW,a=.5,l=(u,d,g)=>roundToNearestHalf(getRoundingFunction(d,g),u.glyph.getMetrics().height/10+a);e.filter(s).forEach(u=>{u.setTextLine(r.top_text_line),r.top_text_line+=l(u,r.top_text_line,ABOVE)}),e.filter(o).forEach(u=>{u.setTextLine(r.text_line),r.text_line+=l(u,r.text_line,BELOW)});const c=e.map(u=>u.getWidth()).reduce((u,d)=>Math.max(d,u));return r.left_shift+=c/2,r.right_shift+=c/2,!0}static easyScoreHook({articulations:e},r,s){if(!e)return;const o={staccato:"a.",tenuto:"a-"};e.split(",").map(a=>a.trim().split(".")).map(([a,l])=>{const c={type:o[a]};return l&&(c.position=Modifier.PositionString[l]),s.getFactory().Articulation(c)}).map(a=>r.addModifier(0,a))}constructor(e){if(super(),this.setAttribute("type","Articulation"),this.note=null,this.index=null,this.type=e,this.position=BELOW,this.render_options={font_scale:38},this.breathMarkDistance=.8,this.articulation=Flow.articulationCodes(this.type),this.type==="abr"&&(this.articulation={code:"v6c",between_lines:!1}),!this.articulation)throw new Vex.RERR("ArgumentError",`Articulation not found: ${this.type}`);this.glyph=new Glyph(this.articulation.code,this.render_options.font_scale),this.setWidth(this.glyph.getMetrics().width)}getCategory(){return Ei.CATEGORY}draw(){const{note:e,index:r,position:s,glyph:o,articulation:{between_lines:a},text_line:l,context:c}=this;if(this.checkContext(),!e||r==null)throw new Vex.RERR("NoAttachedNote","Can't draw Articulation without a note and index.");this.setRendered();const u=e.getStave(),d=u.getSpacingBetweenLines(),g=e.getCategory()==="tabnotes";let{x:m}=e.getModifierStartXY(s,r);if(this.type==="abr"){let E=0;const x=e.getTickContext(),P=TickContext.getNextContext(x),C=e.getTickContext().getX();if(P)E=(P.getX()-C)*this.breathMarkDistance;else{const T=e.getStave();E=(T.getX()+T.getWidth()-C)*this.breathMarkDistance}m+=E}const y=this.getXShift();y&&(m+=y);const b=!a||g,A=getInitialOffset(e,s);let S={[ABOVE]:()=>{o.setOrigin(.5,1);const E=getTopY(e,l)-(l+A)*d+(this.y_shift||0);return b?Math.min(u.getYForTopText(Ei.INITIAL_OFFSET),E):E},[BELOW]:()=>{o.setOrigin(.5,0);const E=getBottomY(e,l)+(l+A)*d;return b?Math.max(u.getYForBottomText(Ei.INITIAL_OFFSET),E):E}}[s]();if(!g){const E=s===ABOVE?-1:1,x=g?e.positions[r].str:e.getKeyProps()[r].line,C=(e.getYs()[r]-S)/d+x,T=snapLineToStaff(a,C,s,E);isWithinLines(T,s)&&o.setOrigin(.5,.5),S+=Math.abs(T-C)*d*E}L$e(`Rendering articulation at (x: ${m}, y: ${S})`),o.render(c,m,S)}};function L$d(...i){Ornament.DEBUG&&Vex.L("Vex.Flow.Ornament",i)}class Ornament extends Modifier{static get CATEGORY(){return"ornaments"}static format(e,r){if(!e||e.length===0)return!1;let s=0;for(let o=0;o<e.length;++o){const a=e[o],l=2;s=Math.max(a.getWidth(),s),a.getPosition()===Modifier.Position.ABOVE?(a.setTextLine(r.top_text_line),r.top_text_line+=l):(a.setTextLine(r.text_line),r.text_line+=l)}return r.left_shift+=s/2,r.right_shift+=s/2,!0}constructor(e){if(super(),this.setAttribute("type","Ornament"),this.note=null,this.index=null,this.type=e,this.position=Modifier.Position.ABOVE,this.delayed=!1,this.accidentalUpper=null,this.accidentalLower=null,this.render_options={font_scale:38,accidentalLowerPadding:3,accidentalUpperPadding:3},this.ornament=Flow.ornamentCodes(this.type),!this.ornament)throw new Vex.RERR("ArgumentError",`Ornament not found: '${this.type}'`);this.glyph=new Glyph(this.ornament.code,this.render_options.font_scale),this.glyph.setOrigin(.5,1)}getCategory(){return Ornament.CATEGORY}setDelayed(e){return this.delayed=e,this}setUpperAccidental(e){const r=this.render_options.font_scale/1.3;return this.accidentalUpper=new Glyph(Flow.accidentalCodes(e).code,r),this.accidentalUpper.setOrigin(.5,1),this}setLowerAccidental(e){const r=this.render_options.font_scale/1.3;return this.accidentalLower=new Glyph(Flow.accidentalCodes(e).code,r),this.accidentalLower.setOrigin(.5,1),this}draw(){if(this.checkContext(),!this.note||this.index==null)throw new Vex.RERR("NoAttachedNote","Can't draw Ornament without a note and index.");this.setRendered();const e=this.context,r=this.note.getStemDirection(),s=this.note.getStave(),o=this.note.getStem().getExtents();let a=r===StaveNote.STEM_DOWN?o.baseY:o.topY;this.note.getCategory()==="tabnotes"&&(this.note.hasStem()?r===StaveNote.STEM_DOWN&&(a=s.getYForTopText(this.text_line)):a=s.getYForTopText(this.text_line));const l=r===StaveNote.STEM_DOWN,c=s.getSpacingBetweenLines();let u=1;!l&&this.note.beam&&(u+=.5);const d=c*(this.text_line+u),g=a-d;let y=this.note.getModifierStartXY(this.position,this.index).x,b=Math.min(s.getYForTopText(this.text_line),g);if(b+=this.y_shift,this.delayed){let A=0;if(this.delayXShift!==void 0)A=this.delayXShift;else{A+=this.glyph.getMetrics().width/2;const S=TickContext.getNextContext(this.note.getTickContext());S?A+=(S.getX()-y)*.5:A+=(s.x+s.width-y)*.5,this.delayXShift=A}y+=A}L$d("Rendering ornament: ",this.ornament,y,b),this.accidentalLower&&(this.accidentalLower.render(e,y,b),b-=this.accidentalLower.getMetrics().height,b-=this.render_options.accidentalLowerPadding),this.glyph.render(e,y,b),b-=this.glyph.getMetrics().height,this.accidentalUpper&&(b-=this.render_options.accidentalUpperPadding,this.accidentalUpper.render(e,y,b))}}function L$c(...i){Annotation.DEBUG&&Vex.L("Vex.Flow.Annotation",i)}class Annotation extends Modifier{static get CATEGORY(){return"annotations"}static get Justify(){return{LEFT:1,CENTER:2,RIGHT:3,CENTER_STEM:4}}static get JustifyString(){return{left:Annotation.Justify.LEFT,right:Annotation.Justify.RIGHT,center:Annotation.Justify.CENTER,centerStem:Annotation.Justify.CENTER_STEM}}static get VerticalJustify(){return{TOP:1,CENTER:2,BOTTOM:3,CENTER_STEM:4}}static get VerticalJustifyString(){return{above:Annotation.VerticalJustify.TOP,top:Annotation.VerticalJustify.TOP,below:Annotation.VerticalJustify.BOTTOM,bottom:Annotation.VerticalJustify.BOTTOM,center:Annotation.VerticalJustify.CENTER,centerStem:Annotation.VerticalJustify.CENTER_STEM}}static format(e,r){if(!e||e.length===0)return!1;let s=0;for(let o=0;o<e.length;++o){const a=e[o];s=Math.max(a.getWidth(),s),a.getPosition()===Modifier.Position.ABOVE?(a.setTextLine(r.top_text_line),r.top_text_line++):(a.setTextLine(r.text_line),r.text_line++)}return r.left_shift+=s/2,r.right_shift+=s/2,!0}constructor(e){super(),this.setAttribute("type","Annotation"),this.note=null,this.index=null,this.text=e,this.justification=Annotation.Justify.CENTER,this.vert_justification=Annotation.VerticalJustify.TOP,this.font={family:"Arial",size:10,weight:""},this.setWidth(Flow.textWidth(e))}getCategory(){return Annotation.CATEGORY}setFont(e,r,s){return this.font={family:e,size:r,weight:s},this}setVerticalJustification(e){return this.vert_justification=typeof e=="string"?Annotation.VerticalJustifyString[e]:e,this}getJustification(){return this.justification}setJustification(e){return this.justification=typeof e=="string"?Annotation.JustifyString[e]:e,this}draw(){if(this.checkContext(),!this.note)throw new Vex.RERR("NoNoteForAnnotation","Can't draw text annotation without an attached note.");this.setRendered();const e=this.note.getModifierStartXY(Modifier.Position.ABOVE,this.index);this.context.save(),this.context.setFont(this.font.family,this.font.size,this.font.weight);const r=this.context.measureText(this.text).width,s=this.context.measureText("m").width;let o,a;this.justification===Annotation.Justify.LEFT?o=e.x:this.justification===Annotation.Justify.RIGHT?o=e.x-r:this.justification===Annotation.Justify.CENTER?o=e.x-r/2:o=this.note.getStemX()-r/2;let l,c;const u=this.note.hasStem(),d=this.note.getStave();if(u&&(l=this.note.getStem().getExtents(),c=d.getSpacingBetweenLines()),this.vert_justification===Annotation.VerticalJustify.BOTTOM){if(a=d.getYForBottomText(this.text_line+Flow.TEXT_HEIGHT_OFFSET_HACK),u){const m=this.note.getStemDirection()===1?l.baseY:l.topY;a=Math.max(a,m+c*(this.text_line+2))}}else if(this.vert_justification===Annotation.VerticalJustify.CENTER){const m=this.note.getYForTopText(this.text_line)-1,y=d.getYForBottomText(this.text_line);a=m+(y-m)/2+s/2}else if(this.vert_justification===Annotation.VerticalJustify.TOP)a=Math.min(d.getYForTopText(this.text_line),this.note.getYs()[0]-10),u&&(a=Math.min(a,l.topY-5-c*this.text_line));else{const m=this.note.getStemExtents();a=m.topY+(m.baseY-m.topY)/2+s/2}L$c("Rendering annotation: ",this.text,o,a),["b","bb","#","##","n"].includes(this.text)?(new Glyph(Flow.accidentalCodes(this.text).code,38).render(this.context,o+2,a-27),this.setRendered()):(this.context.fillText(this.text,o,a),this.context.restore())}}class Bend extends Modifier{static get CATEGORY(){return"bends"}static get UP(){return 0}static get DOWN(){return 1}static format(e,r){if(!e||e.length===0)return!1;let s=0;const o=r.top_text_line;for(let a=0;a<e.length;++a){const l=e[a];l.setXShift(s),s=l.getWidth(),l.setTextLine(o)}return r.right_shift+=s,r.top_text_line+=1,!0}constructor(e,r,s){super(),this.setAttribute("type","Bend"),this.text=e,this.x_shift=0,this.release=r||!1,this.font="10pt Arial",this.render_options={line_width:1.5,line_style:"#777777",bend_width:8,release_width:8},s?this.phrase=s:(this.phrase=[{type:Bend.UP,text:this.text}],this.release&&this.phrase.push({type:Bend.DOWN,text:""})),this.updateWidth()}getCategory(){return Bend.CATEGORY}setXShift(e){this.x_shift=e,this.updateWidth()}setFont(e){return this.font=e,this}getText(){return this.text}updateWidth(){const e=this;function r(o){let a;return e.context?a=e.context.measureText(o).width:a=Flow.textWidth(o),a}let s=0;for(let o=0;o<this.phrase.length;++o){const a=this.phrase[o];if("width"in a)s+=a.width;else{const l=a.type===Bend.UP?this.render_options.bend_width:this.render_options.release_width;a.width=Vex.Max(l,r(a.text))+3,a.draw_width=a.width/2,s+=a.width}}return this.setWidth(s+this.x_shift),this}draw(){if(this.checkContext(),!(this.note&&this.index!=null))throw new Vex.RERR("NoNoteForBend","Can't draw bend without a note or index.");this.setRendered();const e=this.note.getModifierStartXY(Modifier.Position.RIGHT,this.index);e.x+=3,e.y+=.5;const r=this.x_shift,s=this.context,o=this.note.getStave().getYForTopText(this.text_line)+3,a=this.note.getStave().getYForTopText(this.text_line)-1,l=this;function c(b,A,S,E){const x=b+S,P=A;s.save(),s.beginPath(),s.setLineWidth(l.render_options.line_width),s.setStrokeStyle(l.render_options.line_style),s.setFillStyle(l.render_options.line_style),s.moveTo(b,A),s.quadraticCurveTo(x,P,b+S,E),s.stroke(),s.restore()}function u(b,A,S,E){s.save(),s.beginPath(),s.setLineWidth(l.render_options.line_width),s.setStrokeStyle(l.render_options.line_style),s.setFillStyle(l.render_options.line_style),s.moveTo(b,E),s.quadraticCurveTo(b+S,E,b+S,A),s.stroke(),s.restore()}function d(b,A,S){const x=S||1;s.beginPath(),s.moveTo(b,A),s.lineTo(b-4,A+4*x),s.lineTo(b+4,A+4*x),s.closePath(),s.fill()}function g(b,A){s.save(),s.setRawFont(l.font);const S=b-s.measureText(A).width/2;s.fillText(A,S,a),s.restore()}let m=null,y=0;for(let b=0;b<this.phrase.length;++b){const A=this.phrase[b];b===0&&(A.draw_width_unmodified=A.draw_width,A.draw_width+=r),y=A.draw_width+(m?m.draw_width:0)-(b===1?r:0),A.type===Bend.UP&&(m&&m.type===Bend.UP&&d(e.x,o),c(e.x,e.y,y,o)),A.type===Bend.DOWN&&(m&&m.type===Bend.UP&&u(e.x,e.y,y,o),m&&m.type===Bend.DOWN&&(d(e.x,e.y,-1),u(e.x,e.y,y,o)),m===null&&(y=A.draw_width,u(e.x,e.y,y,o))),g(e.x+y,A.text),m=A,m.x=e.x,e.x+=y}m.type===Bend.UP?d(m.x+y,o):m.type===Bend.DOWN&&d(m.x+y,e.y,-1);for(let b=0;b<this.phrase.length;++b){const A=this.phrase[b];A.draw_width_unmodified&&(A.draw_width=A.draw_width_unmodified)}}}class Vibrato extends Modifier{static get CATEGORY(){return"vibratos"}static format(e,r,s){if(!e||e.length===0)return!1;let o=r.top_text_line,a=0,l=r.right_shift-7;const c=s.getModifiers(Bend.CATEGORY);c&&c.length>0&&o--;for(let u=0;u<e.length;++u){const d=e[u];d.setXShift(l),d.setTextLine(o),a+=d.getWidth(),l+=a}return r.right_shift+=a,r.top_text_line+=1,!0}constructor(){super(),this.setAttribute("type","Vibrato"),this.position=Modifier.Position.RIGHT,this.render_options={harsh:!1,vibrato_width:20,wave_height:6,wave_width:4,wave_girth:2},this.setVibratoWidth(this.render_options.vibrato_width)}getCategory(){return Vibrato.CATEGORY}setHarsh(e){return this.render_options.harsh=e,this}setVibratoWidth(e){return this.render_options.vibrato_width=e,this.setWidth(e),this}draw(){const e=this.checkContext();if(!this.note)throw new Vex.RERR("NoNoteForVibrato","Can't draw vibrato without an attached note.");this.setRendered();const s=this.note.getModifierStartXY(Modifier.Position.RIGHT,this.index).x+this.x_shift,o=this.note.getYForTopText(this.text_line)+2;Vibrato.renderVibrato(e,s,o,this.render_options)}static renderVibrato(e,r,s,o){const{harsh:a,vibrato_width:l,wave_width:c,wave_girth:u,wave_height:d}=o,g=l/c;e.beginPath();let m;if(a){for(e.moveTo(r,s+u+1),m=0;m<g/2;++m)e.lineTo(r+c,s-d/2),r+=c,e.lineTo(r+c,s+d/2),r+=c;for(m=0;m<g/2;++m)e.lineTo(r-c,s-d/2+u+1),r-=c,e.lineTo(r-c,s+d/2+u+1),r-=c;e.fill()}else{for(e.moveTo(r,s+u),m=0;m<g/2;++m)e.quadraticCurveTo(r+c/2,s-d/2,r+c,s),r+=c,e.quadraticCurveTo(r+c/2,s+d/2,r+c,s),r+=c;for(m=0;m<g/2;++m)e.quadraticCurveTo(r-c/2,s+d/2+u,r-c,s+u),r-=c,e.quadraticCurveTo(r-c/2,s-d/2+u,r-c,s+u),r-=c;e.fill()}}}function L$b(...i){ModifierContext.DEBUG&&Vex.L("Vex.Flow.ModifierContext",i)}class ModifierContext{constructor(){this.modifiers={},this.preFormatted=!1,this.postFormatted=!1,this.width=0,this.spacing=0,this.state={left_shift:0,right_shift:0,text_line:0,top_text_line:0},this.PREFORMAT=[StaveNote,Dot,FretHandFinger,Accidental,Stroke,GraceNoteGroup,NoteSubGroup$1,StringNumber,Articulation$1,Ornament,Annotation,Bend,Vibrato],this.POSTFORMAT=[StaveNote]}addModifier(e){const r=e.getCategory();return this.modifiers[r]||(this.modifiers[r]=[]),this.modifiers[r].push(e),e.setModifierContext(this),this.preFormatted=!1,this}getModifiers(e){return this.modifiers[e]}getWidth(){return this.width}getExtraLeftPx(){return this.state.left_shift}getExtraRightPx(){return this.state.right_shift}getState(){return this.state}getMetrics(){if(!this.formatted)throw new Vex.RERR("UnformattedModifier","Unformatted modifier has no metrics.");return{width:this.state.left_shift+this.state.right_shift+this.spacing,spacing:this.spacing,extra_left_px:this.state.left_shift,extra_right_px:this.state.right_shift}}preFormat(){this.preFormatted||(this.PREFORMAT.forEach(e=>{L$b("Preformatting ModifierContext: ",e.CATEGORY),e.format(this.getModifiers(e.CATEGORY),this.state,this)}),this.width=this.state.left_shift+this.state.right_shift,this.preFormatted=!0)}postFormat(){this.postFormatted||this.POSTFORMAT.forEach(e=>{L$b("Postformatting ModifierContext: ",e.CATEGORY),e.postFormat(this.getModifiers(e.CATEGORY),this)})}}function L$a(...i){Formatter.DEBUG&&Vex.L("Vex.Flow.Formatter",i)}function getNext(i,e){var s,o;const r=i[e+1];return r&&((s=r==null?void 0:r.keys)!=null&&s.includes("b/4"))||(o=r==null?void 0:r.keys)!=null&&o.includes("r/4")?getNext(i,e+1):r}function lookAhead(i,e,r,s){let o=e;for(r+=1;r<i.length;r+=1){const a=i[r];if(!a.isRest()&&!a.shouldIgnoreTicks()){o=a.getLineForRest();break}}if(s&&e!==o){const a=Math.max(e,o),l=Math.min(e,o);o=Vex.MidLine(a,l)}return o}function createContexts(i,e,r){if(!i||!i.length)throw new Vex.RERR("BadArgument","No voices to format");i[0].getTotalTicks();const s=i.reduce((c,u)=>{if(u.getMode()===Voice$1.Mode.STRICT&&!u.isComplete())throw new Vex.RERR("IncompleteVoice","Voice does not have enough notes.");return Math.max(c,Fraction.LCM(c,u.getResolutionMultiplier()))},1),o={},a=[],l=[];return i.forEach(c=>{const u=new Fraction(0,s);c.getTickables().forEach(d=>{const g=u.numerator;if(!o[g]){const m=new e;l.push(m),o[g]=m}r(d,o[g]),a.push(g),u.add(d.getTicks())})}),{map:o,array:l,list:Vex.SortAndUnique(a,(c,u)=>c-u,(c,u)=>c===u),resolutionMultiplier:s}}class Formatter{static SimpleFormat(e,r=0,{paddingBetween:s=10}={}){e.reduce((o,a)=>{a.addToModifierContext(new ModifierContext);const l=new TickContext().addTickable(a).preFormat(),c=l.getExtraPx();return l.setX(o+c.left),o+l.getWidth()+c.right+s},r)}static plotDebugging(e,r,s,o,a){const l=s+Note.STAVEPADDING,c=r.contextGaps;function u(d,g,m){e.beginPath(),e.setStrokeStyle(m),e.setFillStyle(m),e.setLineWidth(1),e.fillRect(d,o,g-d,a-o)}e.save(),e.setFont("Arial",8,""),c.gaps.forEach(d=>{u(l+d.x1,l+d.x2,"#aaa"),e.fillText(Math.round(d.x2-d.x1),l+d.x1,a+12)}),e.fillText(Math.round(c.total)+"px",l-20,a+12),e.setFillStyle("red"),e.fillText("Loss: "+r.lossHistory.map(d=>Math.round(d)),l-20,a+22),e.restore()}static FormatAndDraw(e,r,s,o){const a={auto_beam:!1,align_rests:!1};typeof o=="object"?Vex.Merge(a,o):typeof o=="boolean"&&(a.auto_beam=o);const l=new Voice$1(Flow.TIME4_4).setMode(Voice$1.Mode.SOFT).addTickables(s),c=a.auto_beam?Beam$1.applyAndGetBeams(l):[];return new Formatter().joinVoices([l],{align_rests:a.align_rests}).formatToStave([l],r,{align_rests:a.align_rests,stave:r}),l.setStave(r).draw(e,r),c.forEach(u=>u.setContext(e).draw()),l.getBoundingBox()}static FormatAndDrawTab(e,r,s,o,a,l,c){const u={auto_beam:l,align_rests:!1};typeof c=="object"?Vex.Merge(u,c):typeof c=="boolean"&&(u.auto_beam=c);const d=new Voice$1(Flow.TIME4_4).setMode(Voice$1.Mode.SOFT).addTickables(a),g=new Voice$1(Flow.TIME4_4).setMode(Voice$1.Mode.SOFT).addTickables(o),m=u.auto_beam?Beam$1.applyAndGetBeams(d):[];new Formatter().joinVoices([d],{align_rests:u.align_rests}).joinVoices([g]).formatToStave([d,g],s,{align_rests:u.align_rests}),d.draw(e,s),g.draw(e,r),m.forEach(y=>y.setContext(e).draw()),new StaveConnector(s,r).setContext(e).draw()}static AlignRestsToNotes(e,r,s){return e.forEach((o,a)=>{if(o instanceof StaveNote&&o.isRest()){if(o.tuplet&&!s)return;const l=o.getGlyph().position.toUpperCase();if(l!=="R/4"&&l!=="B/4")return;if(r||o.beam!=null){const c=o.getKeyProps()[0];if(a===0)c.line=lookAhead(e,c.line,a,!1),o.setKeyLine(0,c.line);else if(a>0&&a<e.length){let u;e[a-1].isRest()?(u=e[a-1].getKeyProps()[0].line,c.line=u):(u=e[a-1].getLineForRest(),c.line=lookAhead(e,u,a,!0)),o.setKeyLine(0,c.line)}}if(["va5","v3c"].includes(o.glyph.code_head)){const c=o.glyph.code_head==="va5"?10:14,u=e[a-1],d=getNext(e,a);let g=!1;if(u&&d&&u.beam&&d.beam&&(g=u.beam.notes.includes(d)),g){o.setKeyLine(0,3);let m=[...u.beam.notes,...d.beam.notes];o.beam&&o.beam.notes&&m.push(...o.beam.notes),m=Array.from(new Set(m));for(let y=0;y<m.length;y+=1){const b=m[y].getKeyProps()[0].line,A=m[y].stem;if(A)if(A.stem_direction>0){const S=b<1.5?Math.abs(b-1.5)*c:0;A.setResetHeight(S)}else{const S=b>4.5?Math.abs(b-4.5)*c:0;A.setResetHeight(S)}}}}}}),this}constructor(){this.minTotalWidth=0,this.hasMinTotalWidth=!1,this.totalTicks=new Fraction(0,1),this.tickContexts=null,this.modiferContexts=null,this.contextGaps={total:0,gaps:[]},this.voices=[]}alignRests(e,r){if(!e||!e.length)throw new Vex.RERR("BadArgument","No voices to format rests");e.forEach(s=>Formatter.AlignRestsToNotes(s.getTickables(),r))}preCalculateMinTotalWidth(e){if(this.hasMinTotalWidth)return this.minTotalWidth;if(!this.tickContexts){if(!e)throw new Vex.RERR("BadArgument","'voices' required to run preCalculateMinTotalWidth");this.createTickContexts(e)}const{list:r,map:s}=this.tickContexts;return this.minTotalWidth=r.map(o=>{const a=s[o];return a.preFormat(),a.getWidth()}).reduce((o,a)=>o+a,0),this.hasMinTotalWidth=!0,this.minTotalWidth}getMinTotalWidth(){if(!this.hasMinTotalWidth)throw new Vex.RERR("NoMinTotalWidth","Call 'preCalculateMinTotalWidth' or 'preFormat' before calling 'getMinTotalWidth'");return this.minTotalWidth}createModifierContexts(e){const r=createContexts(e,ModifierContext,(s,o)=>s.addToModifierContext(o));return this.modiferContexts=r,r}createTickContexts(e){const r=createContexts(e,TickContext,(s,o)=>o.addTickable(s));return r.array.forEach(s=>{s.tContexts=r.array}),this.totalTicks=e[0].getTicksUsed().clone(),this.tickContexts=r,r}preFormat(e=0,r,s,o){const a=this.tickContexts,{list:l,map:c,resolutionMultiplier:u}=a;s&&o&&s.forEach(E=>E.setStave(o).preFormat());let d=0,g=0;const m=e/2;if(this.minTotalWidth=0,l.forEach(E=>{const x=c[E];r&&x.setContext(r),x.preFormat();const P=x.getWidth();this.minTotalWidth+=P;const C=x.getMetrics();d=d+g+C.extraLeftPx,x.setX(d),g=P-C.extraLeftPx}),this.minTotalWidth=d+g,this.hasMinTotalWidth=!0,e<=0)return;const y=e-this.minTotalWidth;let b=this.totalTicks.value();b===0&&(b=1);const A=y/(b*u);let S=0;l.forEach((E,x)=>{const P=l[x-1]||0,C=c[E],T=(E-P)*A;S+=T,C.setX(C.getX()+S),C.getCenterAlignedTickables().forEach(k=>{k.center_x_shift=m-C.getX()})}),l.length!==1&&(this.justifyWidth=e,this.lossHistory=[],this.evaluate())}evaluate(){const e=this.justifyWidth;this.contextGaps={total:0,gaps:[]},this.tickContexts.list.forEach((a,l)=>{if(l===0)return;const c=this.tickContexts.list[l-1],u=this.tickContexts.map[c],d=this.tickContexts.map[a],g=u.getMetrics(),m=u.getX()+g.width,y=d.getX(),b=y-m;this.contextGaps.total+=b,this.contextGaps.gaps.push({x1:m,x2:y}),d.getFormatterMetrics().freedom.left=b,u.getFormatterMetrics().freedom.right=b});const r=this.durationStats={};function s(a,l){const c=r[a];c===void 0?r[a]={mean:l,count:1}:(c.count+=1,c.mean=(c.mean+l)/2)}this.voices.forEach(a=>{a.getTickables().forEach((l,c,u)=>{const d=l.getTicks().clone().simplify().toString(),g=l.getMetrics(),m=l.getFormatterMetrics(),y=l.getX()+g.noteWidth+g.modRightPx+g.extraRightPx;let b=0;if(c<u.length-1){const A=u[c+1],S=A.getMetrics();b=A.getX()-S.modLeftPx-S.extraLeftPx-y,m.space.used=A.getX()-l.getX(),A.getFormatterMetrics().freedom.left=b}else b=e-y,m.space.used=e-l.getX();m.freedom.right=b,s(d,m.space.used)})});let o=0;return this.voices.forEach(a=>{a.getTickables().forEach(l=>{const c=l.getTicks().clone().simplify().toString(),u=l.getFormatterMetrics();u.iterations+=1,u.space.deviation=u.space.used-r[c].mean,u.duration=c,u.space.mean=r[c].mean,o+=Math.pow(r[c].mean,2)})}),this.totalCost=Math.sqrt(o),this.lossHistory.push(this.totalCost),this}tune(){const e=o=>o.reduce((a,l)=>a+l);function r(o,a,l,c){o.setX(o.getX()+c),o.getFormatterMetrics().freedom.left+=c,o.getFormatterMetrics().freedom.right-=c,a&&(a.getFormatterMetrics().freedom.right+=c),l&&(l.getFormatterMetrics().freedom.left-=c)}let s=0;return this.tickContexts.list.forEach((o,a,l)=>{const c=this.tickContexts.map[o],u=a>0?this.tickContexts.map[l[a-1]]:null,d=a<l.length-1?this.tickContexts.map[l[a+1]]:null;r(c,u,d,s);const g=-e(c.getTickables().map(y=>y.getFormatterMetrics().space.deviation));g>0?s=-Math.min(c.getFormatterMetrics().freedom.right,Math.abs(g)):g<0&&(d?s=Math.min(d.getFormatterMetrics().freedom.right,Math.abs(g)):s=0);const m=Math.min(5,Math.abs(s));s=s>0?m:-m}),this.evaluate()}postFormat(){const e=r=>r.list.forEach(s=>r.map[s].postFormat());return e(this.modiferContexts),e(this.tickContexts),this}joinVoices(e){return this.createModifierContexts(e),this.hasMinTotalWidth=!1,this}format(e,r,s){const o={align_rests:!1,context:null,stave:null};return Vex.Merge(o,s),this.voices=e,this.alignRests(e,o.align_rests),this.createTickContexts(e),this.preFormat(r,o.context,e,o.stave),this}formatToStave(e,r,s){const o=r.getNoteEndX()-r.getNoteStartX()-10;L$a("Formatting voices to width: ",o);const a={context:r.getContext()};return Vex.Merge(a,s),this.format(e,o,a)}}class StaveModifier extends Element$1{static get Position(){return{LEFT:1,RIGHT:2,ABOVE:3,BELOW:4,BEGIN:5,END:6}}constructor(){super(),this.setAttribute("type","StaveModifier"),this.padding=10,this.position=StaveModifier.Position.ABOVE,this.layoutMetrics=null}getPosition(){return this.position}setPosition(e){return this.position=e,this}getStave(){return this.stave}setStave(e){return this.stave=e,this}getWidth(){return this.width}setWidth(e){return this.width=e,this}getX(){return this.x}setX(e){return this.x=e,this}getCategory(){return""}makeSpacer(e){return{getContext(){return!0},setStave(){},renderToStave(){},getMetrics(){return{width:e}}}}placeGlyphOnLine(e,r,s){e.setYShift(r.getYForLine(s)-r.getYForGlyphs())}getPadding(e){return e!==void 0&&e<2?0:this.padding}setPadding(e){return this.padding=e,this}setLayoutMetrics(e){return this.layoutMetrics=e,this}getLayoutMetrics(){return this.layoutMetrics}}class Barline extends StaveModifier{static get CATEGORY(){return"barlines"}static get type(){return{SINGLE:1,DOUBLE:2,END:3,REPEAT_BEGIN:4,REPEAT_END:5,REPEAT_BOTH:6,NONE:7}}static get typeString(){return{single:Barline.type.SINGLE,double:Barline.type.DOUBLE,end:Barline.type.END,repeatBegin:Barline.type.REPEAT_BEGIN,repeatEnd:Barline.type.REPEAT_END,repeatBoth:Barline.type.REPEAT_BOTH,none:Barline.type.NONE}}constructor(e){super(),this.setAttribute("type","Barline"),this.thickness=Flow.STAVE_LINE_THICKNESS;const r=Barline.type;this.widths={},this.widths[r.SINGLE]=5,this.widths[r.DOUBLE]=5,this.widths[r.END]=5,this.widths[r.REPEAT_BEGIN]=5,this.widths[r.REPEAT_END]=5,this.widths[r.REPEAT_BOTH]=5,this.widths[r.NONE]=5,this.paddings={},this.paddings[r.SINGLE]=0,this.paddings[r.DOUBLE]=0,this.paddings[r.END]=0,this.paddings[r.REPEAT_BEGIN]=15,this.paddings[r.REPEAT_END]=15,this.paddings[r.REPEAT_BOTH]=15,this.paddings[r.NONE]=0,this.layoutMetricsMap={},this.layoutMetricsMap[r.SINGLE]={xMin:0,xMax:1,paddingLeft:5,paddingRight:5},this.layoutMetricsMap[r.DOUBLE]={xMin:-3,xMax:1,paddingLeft:5,paddingRight:5},this.layoutMetricsMap[r.END]={xMin:-5,xMax:1,paddingLeft:5,paddingRight:5},this.layoutMetricsMap[r.REPEAT_END]={xMin:-10,xMax:1,paddingLeft:5,paddingRight:5},this.layoutMetricsMap[r.REPEAT_BEGIN]={xMin:-2,xMax:10,paddingLeft:5,paddingRight:5},this.layoutMetricsMap[r.REPEAT_BOTH]={xMin:-10,xMax:10,paddingLeft:5,paddingRight:5},this.layoutMetricsMap[r.NONE]={xMin:0,xMax:0,paddingLeft:5,paddingRight:5},this.setPosition(StaveModifier.Position.BEGIN),this.setType(e)}getCategory(){return Barline.CATEGORY}getType(){return this.type}setType(e){return this.type=typeof e=="string"?Barline.typeString[e]:e,this.setWidth(this.widths[this.type]),this.setPadding(this.paddings[this.type]),this.setLayoutMetrics(this.layoutMetricsMap[this.type]),this}draw(e){switch(e.checkContext(),this.setRendered(),this.type){case Barline.type.SINGLE:this.drawVerticalBar(e,this.x,!1);break;case Barline.type.DOUBLE:this.drawVerticalBar(e,this.x,!0);break;case Barline.type.END:this.drawVerticalEndBar(e,this.x);break;case Barline.type.REPEAT_BEGIN:this.drawRepeatBar(e,this.x,!0),e.getX()!==this.x&&this.drawVerticalBar(e,e.getX());break;case Barline.type.REPEAT_END:this.drawRepeatBar(e,this.x,!1);break;case Barline.type.REPEAT_BOTH:this.drawRepeatBar(e,this.x,!1),this.drawRepeatBar(e,this.x,!0);break}}drawVerticalBar(e,r,s){e.checkContext();const o=e.getTopLineTopY(),a=e.getBottomLineBottomY();s&&e.context.fillRect(r-3,o,1,a-o),e.context.fillRect(r,o,1,a-o)}drawVerticalEndBar(e,r){e.checkContext();const s=e.getTopLineTopY(),o=e.getBottomLineBottomY();e.context.fillRect(r-5,s,1,o-s),e.context.fillRect(r-2,s,3,o-s)}drawRepeatBar(e,r,s){e.checkContext();const o=e.getTopLineTopY(),a=e.getBottomLineBottomY();let l=3;s||(l=-5),e.context.fillRect(r+l,o,1,a-o),e.context.fillRect(r-2,o,3,a-o);const c=2;s?l+=4:l-=4;const u=r+l+c/2;let d=(e.getNumLines()-1)*e.getSpacingBetweenLines();d=d/2-e.getSpacingBetweenLines()/2;let g=o+d+c/2;e.context.beginPath(),e.context.arc(u,g,c,0,Math.PI*2,!1),e.context.fill(),g+=e.getSpacingBetweenLines(),e.context.beginPath(),e.context.arc(u,g,c,0,Math.PI*2,!1),e.context.fill()}}let Repetition$1=class Ot extends StaveModifier{static get CATEGORY(){return"repetitions"}static get type(){return{NONE:1,CODA_LEFT:2,CODA_RIGHT:3,SEGNO_LEFT:4,SEGNO_RIGHT:5,DC:6,DC_AL_CODA:7,DC_AL_FINE:8,DS:9,DS_AL_CODA:10,DS_AL_FINE:11,FINE:12,TO_CODA:13}}constructor(e,r,s){super(),this.setAttribute("type","Repetition"),this.symbol_type=e,this.x=r,this.x_shift=0,this.y_shift=s,this.font={family:"times",size:12,weight:"bold italic"}}getCategory(){return Ot.CATEGORY}setShiftX(e){return this.x_shift=e,this}setShiftY(e){return this.y_shift=e,this}setX(e){return this.x=e,this}draw(e,r){switch(this.setRendered(),this.symbol_type){case Ot.type.CODA_RIGHT:this.drawCodaFixed(e,r+e.width);break;case Ot.type.CODA_LEFT:this.drawSymbolText(e,r,"Coda",!0);break;case Ot.type.SEGNO_LEFT:this.drawSignoFixed(e,r);break;case Ot.type.SEGNO_RIGHT:this.drawSignoFixed(e,r+e.width);break;case Ot.type.DC:this.drawSymbolText(e,r,"D.C.",!1);break;case Ot.type.DC_AL_CODA:this.drawSymbolText(e,r,"D.C. al",!0);break;case Ot.type.DC_AL_FINE:this.drawSymbolText(e,r,"D.C. al Fine",!1);break;case Ot.type.DS:this.drawSymbolText(e,r,"D.S.",!1);break;case Ot.type.DS_AL_CODA:this.drawSymbolText(e,r,"D.S. al",!0);break;case Ot.type.DS_AL_FINE:this.drawSymbolText(e,r,"D.S. al Fine",!1);break;case Ot.type.FINE:this.drawSymbolText(e,r,"Fine",!1);break;case Ot.type.TO_CODA:this.drawSymbolText(e,r,"To",!0);break}return this}drawCodaFixed(e,r){const s=e.getYForTopText(e.options.num_lines)+this.y_shift;return Glyph.renderGlyph(e.context,this.x+r+this.x_shift,s+25,40,"v4d",!0),this}drawSignoFixed(e,r){const s=e.getYForTopText(e.options.num_lines)+this.y_shift;return Glyph.renderGlyph(e.context,this.x+r+this.x_shift,s+25,30,"v8c",!0),this}drawSymbolText(e,r,s,o){const a=e.checkContext();a.save(),a.setFont(this.font.family,this.font.size,this.font.weight);let l=0+this.x_shift,c=r+this.x_shift;if(this.symbol_type===Ot.type.CODA_LEFT?(l=this.x+this.x_shift,c=l+a.measureText(s).width+12):(this.x_shift=-(l+a.measureText(s).width+12+e.options.vertical_bar_width+12),l=this.x+this.x_shift+e.options.vertical_bar_width,c=l+a.measureText(s).width+12),this.xShiftAsPercentOfStaveWidth){const d=e.width*this.xShiftAsPercentOfStaveWidth;(this.symbol_type===Ot.type.DC_AL_FINE||this.symbol_type===Ot.type.FINE||this.symbol_type===Ot.type.DC||this.symbol_type===Ot.type.DS_AL_FINE||this.symbol_type===Ot.type.DS||this.symbol_type===Ot.type.FINE)&&(l+=d)}const u=e.getYForTopText(e.options.num_lines)+this.y_shift+25;return o&&Glyph.renderGlyph(a,c,u,40,"v4d",!0),a.fillText(s,l,u+5),a.restore(),this}};class StaveSection extends StaveModifier{static get CATEGORY(){return"stavesection"}constructor(e,r,s){super(),this.setAttribute("type","StaveSection"),this.setWidth(16),this.section=e,this.x=r,this.shift_x=0,this.shift_y=s,this.font={family:"sans-serif",size:12,weight:"bold"}}getCategory(){return StaveSection.CATEGORY}setStaveSection(e){return this.section=e,this}setShiftX(e){return this.shift_x=e,this}setShiftY(e){return this.shift_y=e,this}draw(e,r){const s=e.checkContext();this.setRendered(),s.save(),s.lineWidth=2,s.setFont(this.font.family,this.font.size,this.font.weight);const o=s.measureText(""+this.section),a=o.width;let l=o.height;!l&&o.emHeightAscent>=0&&(l=o.emHeightAscent+2),l||(l=o.fontBoundingBoxAscent+3);let c=a+6;c<18&&(c=18);const u=l+this.font.size/10,d=e.getYForTopText(3)+19-u*1.15+this.shift_y;let g=this.x+r;return s.beginPath(),s.lineWidth=2,s.rect(g,d+l/4,c,u),s.stroke(),g+=(c-a)/2,s.fillText(""+this.section,g,d+u),s.restore(),this}}class StaveTempo extends StaveModifier{static get CATEGORY(){return"stavetempo"}constructor(e,r,s){super(),this.setAttribute("type","StaveTempo"),this.tempo=e,this.position=Modifier.Position.ABOVE,this.x=r,this.shift_x=10,this.shift_y=s,this.font={family:"times",size:14,weight:"bold"},this.render_options={glyph_font_scale:30}}getCategory(){return StaveTempo.CATEGORY}setTempo(e){return this.tempo=e,this}setShiftX(e){return this.shift_x=e,this}setShiftY(e){return this.shift_y=e,this}draw(e,r){const s=e.checkContext();this.setRendered();const o=this.render_options,a=o.glyph_font_scale/38,l=this.tempo.name,c=this.tempo.duration,u=this.tempo.dots,d=this.tempo.bpm,g=this.font;let m=this.x+this.shift_x+r;const y=e.getYForTopText(1)+this.shift_y;if(s.save(),s.openGroup("stavetempo",null,{}),l&&(s.setFont(g.family,g.size,g.weight),s.fillText(l,m,y),m+=s.measureText(l).width),c&&d){s.setFont(g.family,g.size,"normal"),l&&(m+=s.measureText(" ").width,s.fillText("(",m,y),m+=s.measureText("(").width);const b=Flow.getGlyphProps(c);if(m+=3*a,Glyph.renderGlyph(s,m,y,o.glyph_font_scale,b.code_head),m+=b.getWidth()*a,b.stem){let A=30;b.beam_count&&(A+=3*(b.beam_count-1)),A*=a;const S=y-A;s.fillRect(m-a,S,a,A),b.flag&&(Glyph.renderGlyph(s,m,S,o.glyph_font_scale,b.code_flag_upstem),u||(m+=6*a))}for(let A=0;A<u;A++)m+=6*a,s.beginPath(),s.arc(m,y+2*a,2*a,0,Math.PI*2,!1),s.fill();s.fillText(" = "+d+(l?")":""),m+3*a,y)}return s.closeGroup(),s.restore(),this}}class TextNote extends Note{static get Justification(){return{LEFT:1,CENTER:2,RIGHT:3}}static get GLYPHS(){return{segno:{code:"v8c",point:40,x_shift:0,y_shift:-10},tr:{code:"v1f",point:40,x_shift:0,y_shift:0},mordent_upper:{code:"v1e",point:40,x_shift:0,y_shift:0},mordent_lower:{code:"v45",point:40,x_shift:0,y_shift:0},f:{code:"vba",point:40,x_shift:0,y_shift:0},p:{code:"vbf",point:40,x_shift:0,y_shift:0},m:{code:"v62",point:40,x_shift:0,y_shift:0},s:{code:"v4a",point:40,x_shift:0,y_shift:0},z:{code:"v80",point:40,x_shift:0,y_shift:0},coda:{code:"v4d",point:40,x_shift:0,y_shift:-8},pedal_open:{code:"v36",point:40,x_shift:0,y_shift:0},pedal_close:{code:"v5d",point:40,x_shift:0,y_shift:3},caesura_straight:{code:"v34",point:40,x_shift:0,y_shift:2},caesura_curved:{code:"v4b",point:40,x_shift:0,y_shift:2},breath:{code:"v6c",point:40,x_shift:0,y_shift:0},tick:{code:"v6f",point:50,x_shift:0,y_shift:0},turn:{code:"v72",point:40,x_shift:0,y_shift:0},turn_inverted:{code:"v33",point:40,x_shift:0,y_shift:0},mordent:{code:"v1e",point:40,x_shift:0,y_shift:0}}}constructor(e){if(super(e),this.setAttribute("type","TextNote"),this.text=e.text,this.superscript=e.superscript,this.subscript=e.subscript,this.glyph_type=e.glyph,this.glyph=null,this.font={family:"Arial",size:12,weight:""},e.font&&(this.font=e.font),this.glyph_type){const r=TextNote.GLYPHS[this.glyph_type];if(!r)throw new Vex.RERR("Invalid glyph type: "+this.glyph_type);this.glyph=new Glyph(r.code,r.point,{cache:!1}),r.width?this.setWidth(r.width):this.setWidth(this.glyph.getMetrics().width),this.glyph_struct=r}else this.setWidth(Flow.textWidth(this.text));this.line=e.line||0,this.smooth=e.smooth||!1,this.ignore_ticks=e.ignore_ticks||!1,this.justification=TextNote.Justification.LEFT}setJustification(e){return this.justification=e,this}setLine(e){return this.line=e,this}preFormat(){this.checkContext(),!this.preFormatted&&(this.smooth?this.setWidth(0):this.glyph||this.setWidth(this.context.measureText(this.text).width),this.justification===TextNote.Justification.CENTER?this.extraLeftPx=this.width/2:this.justification===TextNote.Justification.RIGHT&&(this.extraLeftPx=this.width),this.setPreFormatted(!0))}draw(){if(this.checkContext(),!this.stave)throw new Vex.RERR("NoStave","Can't draw without a stave.");this.setRendered();const e=this.context;let r=this.getAbsoluteX();this.justification===TextNote.Justification.CENTER?r-=this.getWidth()/2:this.justification===TextNote.Justification.RIGHT&&(r-=this.getWidth());let s;if(this.glyph)s=this.stave.getYForLine(this.line+-3),this.glyph.render(this.context,r+this.glyph_struct.x_shift,s+this.glyph_struct.y_shift);else{s=this.stave.getYForLine(this.line+-3),this.applyStyle(e),e.setFont(this.font.family,this.font.size,this.font.weight),e.fillText(this.text,r,s);const o=e.measureText("M").width,a=e.measureText(this.text).width;this.superscript&&(e.setFont(this.font.family,this.font.size/1.3,this.font.weight),e.fillText(this.superscript,r+a+2,s-o/2.2)),this.subscript&&(e.setFont(this.font.family,this.font.size/1.3,this.font.weight),e.fillText(this.subscript,r+a+2,s+o/2.2-1)),this.restoreStyle(e)}}}class StaveText extends StaveModifier{static get CATEGORY(){return"stavetext"}constructor(e,r,s){super(),this.setAttribute("type","StaveText"),this.setWidth(16),this.text=e,this.position=r,this.options={shift_x:0,shift_y:0,justification:TextNote.Justification.CENTER},Vex.Merge(this.options,s),this.font={family:"times",size:16,weight:"normal"}}getCategory(){return StaveText.CATEGORY}setStaveText(e){return this.text=e,this}setShiftX(e){return this.shift_x=e,this}setShiftY(e){return this.shift_y=e,this}setFont(e){Vex.Merge(this.font,e)}setText(e){this.text=e}draw(e){const r=e.checkContext();this.setRendered(),r.save(),r.lineWidth=2,r.setFont(this.font.family,this.font.size,this.font.weight);const s=r.measureText(""+this.text).width;let o,a;const l=StaveModifier.Position,c=TextNote.Justification;switch(this.position){case l.LEFT:case l.RIGHT:a=(e.getYForLine(0)+e.getBottomLineY())/2+this.options.shift_y,this.position===l.LEFT?o=e.getX()-s-24+this.options.shift_x:o=e.getX()+e.getWidth()+24+this.options.shift_x;break;case l.ABOVE:case l.BELOW:o=e.getX()+this.options.shift_x,this.options.justification===c.CENTER?o+=e.getWidth()/2-s/2:this.options.justification===c.RIGHT&&(o+=e.getWidth()-s),this.position===l.ABOVE?a=e.getYForTopText(2)+this.options.shift_y:a=e.getYForBottomText(2)+this.options.shift_y;break;default:throw new Vex.RERR("InvalidPosition","Value Must be in Modifier.Position.")}return r.fillText(""+this.text,o,a+4),r.restore(),this}}function L$9(...i){Clef.DEBUG&&Vex.L("Vex.Flow.Clef",i)}class Clef extends StaveModifier{static get CATEGORY(){return"clefs"}static get types(){return{treble:{code:"v83",line:3},bass:{code:"v79",line:1},alto:{code:"vad",line:2},tenor:{code:"vad",line:1},percussion:{code:"v59",line:2},soprano:{code:"vad",line:4},"mezzo-soprano":{code:"vad",line:3},"baritone-c":{code:"vad",line:0},"baritone-f":{code:"v79",line:2},subbass:{code:"v79",line:0},french:{code:"v83",line:4},tab:{code:"v2f"}}}static get sizes(){return{default:{point:40,width:26},small:{point:32,width:20}}}static get annotations(){return{"8va":{code:"v8",sizes:{default:{point:20,attachments:{treble:{line:-1.2,x_shift:11}}},small:{point:18,attachments:{treble:{line:-.4,x_shift:8}}}}},"8vb":{code:"v8",sizes:{default:{point:20,attachments:{treble:{line:6.3,x_shift:10},bass:{line:4,x_shift:1}}},small:{point:18,attachments:{treble:{line:5.8,x_shift:6},bass:{line:3.5,x_shift:.5}}}}}}}constructor(e,r,s){super(),this.setAttribute("type","Clef"),this.setPosition(StaveModifier.Position.BEGIN),this.setType(e,r,s),this.setWidth(Clef.sizes[this.size].width),L$9("Creating clef:",e)}getCategory(){return Clef.CATEGORY}setType(e,r,s){if(this.type=e,this.clef=Clef.types[e],r===void 0?this.size="default":this.size=r,this.clef.point=Clef.sizes[this.size].point,this.glyph=new Glyph(this.clef.code,this.clef.point),s!==void 0){const o=Clef.annotations[s];this.annotation={code:o.code,point:o.sizes[this.size].point,line:o.sizes[this.size].attachments[this.type].line,x_shift:o.sizes[this.size].attachments[this.type].x_shift},this.attachment=new Glyph(this.annotation.code,this.annotation.point),this.attachment.metrics.x_max=0,this.attachment.setXShift(this.annotation.x_shift)}else this.annotation=void 0;return this}getWidth(){if(this.type==="tab"&&!this.stave)throw new Vex.RERR("ClefError","Can't get width without stave.");return this.width}setStave(e){if(this.stave=e,this.type!=="tab")return this;let r,s;const o=this.stave.getOptions().num_lines;switch(o){case 8:r=55,s=14;break;case 7:r=47,s=8;break;case 6:r=40,s=1;break;case 5:r=30,s=-6;break;case 4:r=23,s=-12;break;default:throw new Vex.RERR("ClefError",`Invalid number of lines: ${o}`)}return this.glyph.setPoint(r),this.glyph.setYShift(s),this}draw(){if(!this.x)throw new Vex.RERR("ClefError","Can't draw clef without x.");if(!this.stave)throw new Vex.RERR("ClefError","Can't draw clef without stave.");this.setRendered(),this.glyph.setStave(this.stave),this.glyph.setContext(this.stave.context),this.clef.line!==void 0&&this.placeGlyphOnLine(this.glyph,this.stave,this.clef.line),this.stave.context.openGroup("clef"),this.glyph.renderToStave(this.x),this.annotation!==void 0&&(this.placeGlyphOnLine(this.attachment,this.stave,this.annotation.line),this.attachment.setStave(this.stave),this.attachment.setContext(this.stave.context),this.attachment.renderToStave(this.x)),this.stave.context.closeGroup()}}class KeySignature extends StaveModifier{static get CATEGORY(){return"keysignatures"}static get accidentalSpacing(){return{"#":{above:6,below:4},b:{above:4,below:7},n:{above:4,below:1},"##":{above:6,below:4},bb:{above:4,below:7},db:{above:4,below:7},d:{above:4,below:7},bbs:{above:4,below:7},"++":{above:6,below:4},"+":{above:6,below:4},"+-":{above:6,below:4},"++-":{above:6,below:4},bs:{above:4,below:10},bss:{above:4,below:10}}}constructor(e,r,s){super(),this.setAttribute("type","KeySignature"),this.setKeySig(e,r,s),this.setPosition(StaveModifier.Position.BEGIN),this.glyphFontScale=38,this.glyphs=[],this.xPositions=[],this.paddingForced=!1,this.isDraw=!0}getCategory(){return KeySignature.CATEGORY}setDrawState(e){this.isDraw=e}convertToGlyph(e,r){const s=Flow.accidentalCodes(e.type),o=new Glyph(s.code,this.glyphFontScale);let a=1;if(e.type==="n"&&r){const u=KeySignature.accidentalSpacing[r.type];u&&(a=r.line>=e.line?u.above:u.below)}this.placeGlyphOnLine(o,this.stave,e.line),this.glyphs.push(o);const l=this.xPositions[this.xPositions.length-1],c=o.getMetrics().width+a;this.xPositions.push(l+c),this.width+=c}cancelKey(e){return this.formatted=!1,this.cancelKeySpec=e,this}convertToCancelAccList(e){const r=Flow.keySignature(e),s=this.accList.length>0&&r.length>0&&r[0].type!==this.accList[0].type,o=s?r.length:r.length-this.accList.length;if(o<1)return;const a=[];for(let l=0;l<o;l++){let c=l;s||(c=r.length-o+l);const u=r[c];a.push({type:"n",line:u.line})}return this.accList=a.concat(this.accList),{accList:a,type:r[0].type}}addToStave(e){return this.paddingForced=!0,e.addModifier(this),this}convertAccLines(e,r,s=this.accList){let o=0,a;switch(e){case"soprano":r==="#"?a=[2.5,.5,2,0,1.5,-.5,1]:o=-1;break;case"mezzo-soprano":r==="b"?a=[0,2,.5,2.5,1,3,1.5]:o=1.5;break;case"alto":o=.5;break;case"tenor":r==="#"?a=[3,1,2.5,.5,2,0,1.5]:o=-.5;break;case"baritone-f":case"baritone-c":r==="b"?a=[.5,2.5,1,3,1.5,3.5,2]:o=2;break;case"bass":case"french":o=1;break}let l;if(typeof a<"u")for(l=0;l<s.length;++l)s[l].line=a[l];else if(o!==0)for(l=0;l<s.length;++l)s[l].line+=o}getPadding(e){return this.formatted||this.format(),this.glyphs.length===0||!this.paddingForced&&e<2?0:this.padding}getWidth(){return this.formatted||this.format(),this.width}setKeySig(e,r,s){return this.formatted=!1,this.keySpec=e,this.cancelKeySpec=r,this.alterKeySpec=s,this}alterKey(e){return this.formatted=!1,this.alterKeySpec=e,this}convertToAlterAccList(e){const r=Math.min(e.length,this.accList.length);for(let s=0;s<r;++s)e[s]&&(this.accList[s].type=e[s])}format(){if(!this.stave)throw new Vex.RERR("KeySignatureError","Can't draw key signature without stave.");this.width=0,this.glyphs=[],this.xPositions=[0],this.accList=Flow.keySignature(this.keySpec);const e=this.accList,r=e.length>0?e[0].type:null;let s;if(this.cancelKeySpec&&(s=this.convertToCancelAccList(this.cancelKeySpec)),this.alterKeySpec&&this.convertToAlterAccList(this.alterKeySpec),this.accList.length>0){const o=(this.position===StaveModifier.Position.END?this.stave.endClef:this.stave.clef)||this.stave.clef;s&&this.convertAccLines(o,s.type,s.accList),this.convertAccLines(o,r,e);for(let a=0;a<this.accList.length;++a)this.convertToGlyph(this.accList[a],this.accList[a+1])}this.formatted=!0}draw(){if(!this.x)throw new Vex.RERR("KeySignatureError","Can't draw key signature without x.");if(!this.stave)throw new Vex.RERR("KeySignatureError","Can't draw key signature without stave.");if(this.formatted||this.format(),this.setRendered(),!!this.isDraw&&this.glyphs.length>0){const e=this.stave.context.openGroup("keysignature");for(let r=0;r<this.glyphs.length;r++){const s=this.glyphs[r],o=this.x+this.xPositions[r];s.setStave(this.stave),s.setContext(this.stave.context),s.renderToStave(o)}this.hidden&&e&&e.setAttribute("visibility","hidden"),this.stave.context.closeGroup()}}}const assertIsValidFraction=i=>{const e=i.split("/").filter(r=>r!=="");if(e.length!==2)throw new Vex.RERR("BadTimeSignature",`Invalid time spec: ${i}. Must be in the form "<numerator>/<denominator>"`);e.forEach(r=>{if(isNaN(Number(r)))throw new Vex.RERR("BadTimeSignature",`Invalid time spec: ${i}. Must contain two valid numbers.`)})};class TimeSignature extends StaveModifier{static get CATEGORY(){return"timesignatures"}static get glyphs(){return{C:{code:"v41",point:40,line:2},"C|":{code:"vb6",point:40,line:2}}}constructor(e=null,r=15,s=!0){if(super(),this.setAttribute("type","TimeSignature"),this.validate_args=s,e===null)return;const o=r;this.point=40,this.topLine=2,this.bottomLine=4,this.setPosition(StaveModifier.Position.BEGIN),this.setTimeSig(e),this.setWidth(this.timeSig.glyph.getMetrics().width),this.setPadding(o)}getCategory(){return TimeSignature.CATEGORY}parseTimeSpec(e){if(e==="C"||e==="C|"){const{line:o,code:a,point:l}=TimeSignature.glyphs[e];return{line:o,num:!1,glyph:new Glyph(a,l)}}this.validate_args&&assertIsValidFraction(e);const[r,s]=e.split("/").map(o=>o.split(""));return{num:!0,glyph:this.makeTimeSignatureGlyph(r,s)}}makeTimeSignatureGlyph(e,r){const s=new Glyph("v0",this.point);s.topGlyphs=[],s.botGlyphs=[];let o=0;for(let m=0;m<e.length;++m){const y=e[m],b=new Glyph("v"+y,this.point);s.topGlyphs.push(b),o+=b.getMetrics().width}let a=0;for(let m=0;m<r.length;++m){const y=r[m],b=new Glyph("v"+y,this.point);s.botGlyphs.push(b),a+=b.getMetrics().width}const l=o>a?o:a,c=s.getMetrics().x_min;s.getMetrics=()=>({x_min:c,x_max:c+l,width:l});const u=(l-o)/2,d=(l-a)/2,g=this;return s.renderToStave=function(y){let b=y+u;for(let A=0;A<this.topGlyphs.length;++A){const S=this.topGlyphs[A];Glyph.renderOutline(this.context,S.metrics.outline,S.scale,b+S.x_shift,this.stave.getYForLine(g.topLine)),b+=S.getMetrics().width}b=y+d;for(let A=0;A<this.botGlyphs.length;++A){const S=this.botGlyphs[A];g.placeGlyphOnLine(S,this.stave,S.line),Glyph.renderOutline(this.context,S.metrics.outline,S.scale,b+S.x_shift,this.stave.getYForLine(g.bottomLine)),b+=S.getMetrics().width}},s}getTimeSig(){return this.timeSig}setTimeSig(e){return this.timeSig=this.parseTimeSpec(e),this}draw(){if(!this.x)throw new Vex.RERR("TimeSignatureError","Can't draw time signature without x.");if(!this.stave)throw new Vex.RERR("TimeSignatureError","Can't draw time signature without stave.");this.setRendered(),this.timeSig.glyph.setStave(this.stave),this.timeSig.glyph.setContext(this.stave.context),this.placeGlyphOnLine(this.timeSig.glyph,this.stave,this.timeSig.line);const e=this.stave.context.openGroup("timesignature");this.timeSig.glyph.renderToStave(this.x),this.hidden&&e&&e.setAttribute("visibility","hidden"),this.stave.context.closeGroup("timesignature")}}class Volta extends StaveModifier{static get CATEGORY(){return"voltas"}static get type(){return{NONE:1,BEGIN:2,MID:3,END:4,BEGIN_END:5}}constructor(e,r,s,o){super(),this.setAttribute("type","Volta"),this.volta=e,this.x=s,this.y_shift=o,this.number=r,this.font={family:"sans-serif",size:9,weight:"bold"}}getCategory(){return Volta.CATEGORY}setShiftY(e){return this.y_shift=e,this}draw(e,r){const s=e.checkContext();this.setRendered();let o=e.width-r;const a=e.getYForTopText(e.options.num_lines)+this.y_shift,l=1.5*e.options.spacing_between_lines_px;switch(this.volta){case Volta.type.BEGIN:s.fillRect(this.x+r,a,1,l);break;case Volta.type.END:o-=5,s.fillRect(this.x+r+o,a,1,l);break;case Volta.type.BEGIN_END:o-=3,s.fillRect(this.x+r,a,1,l),s.fillRect(this.x+r+o,a,1,l);break}return(this.volta===Volta.type.BEGIN||this.volta===Volta.type.BEGIN_END)&&(s.save(),s.setFont(this.font.family,this.font.size,this.font.weight),s.fillText(this.number,this.x+r+5,a+15),s.restore()),s.fillRect(this.x+r,a,o,1),this}}let _keySignature="",volta={};const voltaMeasureNumber={};let hideTrackTune$1=!1;class Stave extends Element$1{static saxophoneMap(e){const r={C:"bE","#C":"E","C#":"E",Db:"E",D:"F",Eb:"bG",E:"G",F:"bA","#F":"A","F#":"A",Gb:"A",G:"bB",Ab:"B",A:"C",Bb:"bD",B:"D"};return r[e]?r[e]:e}constructor(e,r,s,o){super(),this.setAttribute("type","Stave"),this.x=e,this.y=r,this.width=s,this.formatted=!1,this.setStartX(e+5),this.end_x=e+s,this.staveTempos=[],this.modifiers=[],this.measure=0,this.clef="treble",this.endClef=void 0,this.font={family:"sans-serif",size:8,weight:""},this.timeSignature={numerator:"",denominator:""},this.options={vertical_bar_width:10,glyph_spacing_px:10,num_lines:5,fill_style:"#999999",left_bar:!0,right_bar:!0,spacing_between_lines_px:10,space_above_staff_ln:4,space_below_staff_ln:4,top_text_position:1,DYMusicScoreType:"",keySignature:""},this.bounds={x:this.x,y:this.y,w:this.width,h:0},Vex.Merge(this.options,o),this.resetLines();const a=Barline.type;this.addModifier(new Barline(this.options.left_bar?a.SINGLE:a.NONE)),this.addEndModifier(new Barline(this.options.right_bar?a.SINGLE:a.NONE))}space(e){return this.options.spacing_between_lines_px*e}resetLines(){this.options.line_config=[];for(let e=0;e<this.options.num_lines;e++)this.options.line_config.push({visible:!0});this.height=(this.options.num_lines+this.options.space_above_staff_ln)*this.options.spacing_between_lines_px,this.options.bottom_text_position=this.options.num_lines}getLines(){return this.options.line_config.map(r=>r.visible).filter(Boolean).length}formatBegModifiers(e){let r=0;e.forEach(s=>{s.getNoteStartX()>r&&(r=s.getNoteStartX())}),e.forEach(s=>{s.setNoteStartX(r)}),r=0,e.forEach(s=>{s.getModifiers(StaveModifier.Position.BEGIN,Barline.CATEGORY).forEach(a=>{a.getType()==Barline.type.REPEAT_BEGIN&&a.getX()>r&&(r=a.getX())})}),e.forEach(s=>{s.getModifiers(StaveModifier.Position.BEGIN,Barline.CATEGORY).forEach(a=>{a.getType()==Barline.type.REPEAT_BEGIN&&a.setX(r)})}),r=0,e.forEach(s=>{s.getModifiers(StaveModifier.Position.BEGIN,TimeSignature.CATEGORY).forEach(a=>{a.getX()>r&&(r=a.getX())})}),e.forEach(s=>{s.getModifiers(StaveModifier.Position.BEGIN,TimeSignature.CATEGORY).forEach(a=>{a.setX(r)})})}getOptions(){return this.options}setNoteStartX(e){return this.formatted||this.format(),this.setStartX(e),this}setStartX(e){this.start_x=e}getNoteStartX(){return this.formatted||this.format(),this.start_x}getNoteEndX(){return this.formatted||this.format(),this.end_x}getTieStartX(){return this.start_x}getTieEndX(){return this.x+this.width}getX(){return this.x}getNumLines(){return this.options.num_lines}setNumLines(e){return this.options.num_lines=parseInt(e,10),this.resetLines(),this}setY(e){return this.y=e,this}getTopLineTopY(){return this.getYForLine(0)-Flow.STAVE_LINE_THICKNESS/2}getBottomLineBottomY(){return this.getLines()===2?this.getYForLine(6)+Flow.STAVE_LINE_THICKNESS/2:this.getYForLine(this.getNumLines()-1)+Flow.STAVE_LINE_THICKNESS/2}setX(e){const r=e-this.x;this.formatted=!1,this.x=e,this.start_x+=r,this.end_x+=r;for(let s=0;s<this.modifiers.length;s++){const o=this.modifiers[s];o.x!==void 0&&(o.x+=r)}return this}setWidth(e){return this.formatted=!1,this.width=e,this.end_x=this.x+e,this}getWidth(){return this.width}getStyle(){return{fillStyle:this.options.fill_style,strokeStyle:this.options.fill_style,lineWidth:Flow.STAVE_LINE_THICKNESS,...this.style||{}}}setMeasure(e){return this.measure=e,this}getModifierXShift(e=0){if(typeof e!="number")throw new Vex.RERR("InvalidIndex","Must be of number type");if(this.formatted||this.format(),this.getModifiers(StaveModifier.Position.BEGIN).length===1)return 0;let r=this.start_x-this.x;const s=this.modifiers[0];return s.getType()===Barline.type.REPEAT_BEGIN&&r>s.getWidth()&&(r-=s.getWidth()),r}setRepetitionTypeLeft(e,r){return this.modifiers.push(new Repetition$1(e,this.x,r)),this}setRepetitionTypeRight(e,r){return this.modifiers.push(new Repetition$1(e,this.x,r)),this}setVoltaType(e,r,s){if(e===2)volta.type===2&&volta.stave.modifiers.push(new Volta(volta.type,volta.number_t,volta.x,volta.y)),volta={stave:this,type:e,number_t:r,MeasureNumber:this.MeasureNumber,y:s,x:this.x};else if(e===4){let o=this.MeasureNumber-volta.MeasureNumber,a=Math.max(volta.y,s);for(let l=0;l<=o;l++)voltaMeasureNumber[volta.MeasureNumber+l]={type:l===0?2:l===o?4:0,number_t:r,y:a};volta={}}else this.modifiers.push(new Volta(e,r,this.x,s));return this}drawVolta(){let e=voltaMeasureNumber[this.MeasureNumber];e&&(this.modifiers.push(new Volta(e.type,e.number_t,this.x,e.y)),delete voltaMeasureNumber[this.MeasureNumber]),volta.type&&volta.MeasureNumber==this.MeasureNumber&&(this.modifiers.push(new Volta(volta.type,volta.number_t,this.x,volta.y)),volta={})}setSection(e,r,s=0,o=12){const a=new StaveSection(e,this.x+s,r);return a.font.size=o,this.modifiers.push(a),this}setTempo(e,r){return this.modifiers.push(new StaveTempo(e,this.x,r)),this}setText(e,r,s){let o=new StaveText(e,r,s);return o.setFont({family:"Arial",size:14,weight:"normal"}),this.modifiers.push(o),this}getHeight(){return this.height}getSpacingBetweenLines(){return this.options.spacing_between_lines_px}getBoundingBox(){return new BoundingBox(this.x,this.y,this.width,this.getBottomY()-this.y)}getBottomY(){const e=this.options,r=e.spacing_between_lines_px;return this.getYForLine(e.num_lines)+e.space_below_staff_ln*r}getBottomLineY(){return this.getYForLine(this.options.num_lines)}getYForLine(e){const r=this.options,s=r.spacing_between_lines_px,o=r.space_above_staff_ln;return this.y+e*s+o*s}getLineForY(e){const r=this.options,s=r.spacing_between_lines_px,o=r.space_above_staff_ln;return(e-this.y)/s-o}getYForTopText(e){const r=e||0;return this.getYForLine(-r-this.options.top_text_position)}getYForBottomText(e){const r=e||0;return this.getYForLine(this.options.bottom_text_position+r)}getYForNote(e){const r=this.options,s=r.spacing_between_lines_px,o=r.space_above_staff_ln;return this.y+o*s+5*s-e*s}getYForGlyphs(){return this.getYForLine(3)}addModifier(e,r,s){return r!==void 0&&e.setPosition(r),s&&(this.timeSignature.numerator=s.numerator,this.timeSignature.denominator=s.denominator),e.setStave(this),this.formatted=!1,this.modifiers.push(e),this}addEndModifier(e){return this.addModifier(e,StaveModifier.Position.END),this}setBegBarType(e){const{SINGLE:r,REPEAT_BEGIN:s,NONE:o}=Barline.type;return(e===r||e===s||e===o)&&(this.modifiers[0].setType(e),this.formatted=!1),this}setEndBarType(e){return e!==Barline.type.REPEAT_BEGIN&&(this.modifiers[1].setType(e),this.formatted=!1),this}setClef(e,r,s,o){o===void 0&&(o=StaveModifier.Position.BEGIN),o===StaveModifier.Position.END?this.endClef=e:this.clef=e;const a=this.getModifiers(o,Clef.CATEGORY);return a.length===0?this.addClef(e,r,s,o):a[0].setType(e,r,s),this}setEndClef(e,r,s){return this.setClef(e,r,s,StaveModifier.Position.END),this}setKeySignature(e,r,s){this.options.keySignature=e,s===void 0&&(s=StaveModifier.Position.BEGIN);const o=this.getModifiers(s,KeySignature.CATEGORY);return o.length===0?this.options.DYMusicScoreType!=="jianpu"&&this.addKeySignature(e,r,s):o[0].setKeySig(e,r),this}setEndKeySignature(e,r){return this.setKeySignature(e,r,StaveModifier.Position.END),this}setTimeSignature(e,r,s){s===void 0&&(s=StaveModifier.Position.BEGIN);const o=this.getModifiers(s,TimeSignature.CATEGORY);return o.length===0?this.addTimeSignature(e,r,s):o[0].setTimeSig(e),this}setEndTimeSignature(e,r){return this.setTimeSignature(e,r,StaveModifier.Position.END),this}addKeySignature(e,r,s){return s===void 0&&(s=StaveModifier.Position.BEGIN),this.addModifier(new KeySignature(e,r).setPosition(s),s),this}addClef(e,r,s,o){return o===void 0||o===StaveModifier.Position.BEGIN?this.clef=e:o===StaveModifier.Position.END&&(this.endClef=e),this.addModifier(new Clef(e,r,s),o),this}addEndClef(e,r,s){return this.addClef(e,r,s,StaveModifier.Position.END),this}addTimeSignature(e,r,s){return this.addModifier(new TimeSignature(e,r),s),this}addEndTimeSignature(e,r){return this.addTimeSignature(e,r,StaveModifier.Position.END),this}addTrebleGlyph(){return this.addClef("treble"),this}getModifiers(e,r){return e===void 0&&r===void 0?this.modifiers:this.modifiers.filter(s=>(e===void 0||e===s.getPosition())&&(r===void 0||r===s.getCategory()))}sortByCategory(e,r){for(let s=e.length-1;s>=0;s--)for(let o=0;o<s;o++)if(r[e[o].getCategory()]>r[e[o+1].getCategory()]){const a=e[o];e[o]=e[o+1],e[o+1]=a}}format(){const e=this.modifiers[0],r=this.modifiers[1],s=this.getModifiers(StaveModifier.Position.BEGIN),o=this.getModifiers(StaveModifier.Position.END);this.sortByCategory(s,{barlines:0,clefs:1,keysignatures:2,timesignatures:3}),this.sortByCategory(o,{timesignatures:0,keysignatures:1,barlines:2,clefs:3}),s.length>1&&e.getType()===Barline.type.REPEAT_BEGIN&&(s.push(s.splice(0,1)[0]),s.splice(0,0,new Barline(Barline.type.SINGLE))),o.indexOf(r)>0&&o.splice(0,0,new Barline(Barline.type.NONE));let a,l,c,u=0,d=this.x;for(let y=0;y<s.length;y++){c=s[y],l=c.getPadding(y+u),a=c.getWidth(),isNaN(a)&&(c.setWidth(10),a=10),d+=l;const b=c.getX();b>d?d=b:c.setX(d),d+=a,l+a===0&&u--}d>this.start_x&&this.setStartX(d),d=this.x+this.width;const g={left:0,right:0,paddingRight:0,paddingLeft:0};let m=0;for(let y=0;y<o.length;y++){c=o[y],m=c.getCategory()==="barlines"?y:m,g.right=0,g.left=0,g.paddingRight=0,g.paddingLeft=0;const b=c.getLayoutMetrics();b?(y!==0&&(g.right=b.xMax||0,g.paddingRight=b.paddingRight||0),g.left=-b.xMin||0,g.paddingLeft=b.paddingLeft||0,y===o.length-1&&(g.paddingLeft=0)):(g.paddingRight=c.getPadding(y-m)||0,y!==0&&(g.right=c.getWidth()||0),y===0&&(g.left=c.getWidth()||0)),d-=g.paddingRight,d-=g.right,c.setX(d),d-=g.left,d-=g.paddingLeft}this.end_x=o.length===1?this.x+this.width:d,this.formatted=!0}draw(){this.checkContext(),this.setRendered(),this.formatted||this.format();const e=this.options.num_lines,r=this.width,s=this.x;let o;const a=this.getLines();if(a===2||a===3){const l=a===2?[2,4]:[0,2,4];this.options.line_config.forEach((c,u)=>{l.includes(u)?c.visible=!0:c.visible=!1})}for(let l=0;l<e;l++)o=this.getYForLine(l),this.options.DYMusicScoreType==="jianpu"?this.applyStyle(this.context,{strokeStyle:"transparent"}):this.applyStyle(),this.options.line_config[l].visible&&(this.context.beginPath(),this.context.moveTo(s,o),this.context.lineTo(s+r,o),this.context.stroke()),this.restoreStyle();this.drawVolta(),this.options.DYMusicScoreType==="jianpu"&&this.drawJianpuKey();for(let l=0;l<this.modifiers.length;l++){if(this.options.DYMusicScoreType==="jianpu"){let u=this.modifiers[l].attrs.type;if(["StaveTempo","TimeSignature"].includes(u))continue}if(this.modifiers[l].attrs.type==="StaveTempo"){this.staveTempos.push(this.modifiers[l]);continue}a===2&&(this.modifiers[l].attrs.type==="Clef"&&(this.modifiers[l].clef.line=3),this.modifiers[l].attrs.type==="TimeSignature"&&(this.modifiers[l].bottomLine=5,this.modifiers[l].topLine=3)),a===4&&this.modifiers[l].attrs.type==="Clef"&&(this.modifiers[l].clef.line=1.5);let c=!1;["StaveSection","Repetition","Volta"].includes(this.modifiers[l].attrs.type)&&(c=!0,this.context.openGroup(this.modifiers[l].attrs.type)),typeof this.modifiers[l].draw=="function"&&(this.modifiers[l].applyStyle(this.context),this.modifiers[l].draw(this,this.getModifierXShift(l)),this.modifiers[l].restoreStyle(this.context)),c&&this.context.closeGroup()}if(setTimeout(()=>this.drawStaveTempo()),this.measure>0){this.context.save(),this.context.setFont(this.font.family,this.font.size,this.font.weight);const l=this.context.measureText(""+this.measure).width;o=this.getYForTopText(0)+3,this.context.fillText(""+this.measure,this.x-l/2,o),this.context.restore()}return this}drawStaveTempo(){if(!this.staveTempos.length)return;const e=document.querySelector(`#${this.attrs.id}`);if(!e)return;const r=e.parentElement.getBBox(),s=this.getYForLine(0),o=e.parentElement.parentElement.querySelectorAll(".vf-curve");if(o.length){const a=this.x+this.staveTempos[0].shift_x+this.getModifierXShift(0),l=this.getYForTopText(1)+r.y-s+5;o.forEach(c=>{const u=c.getBBox();u.x-10<a&&u.x+u.width>a&&u.y-10<l&&u.y+u.height>l&&(r.y=u.y+5)})}for(let a=0;a<this.staveTempos.length;a++)this.staveTempos[a].shift_y=r.y-s+5,this.staveTempos[a].applyStyle(this.context),this.staveTempos[a].draw(this,this.getModifierXShift(a)),this.staveTempos[a].restoreStyle(this.context);this.staveTempos=[]}drawJianpuKey(){var e;if(this.options.keySignature){let r=this.options.keySignature;if(window.DYSubjectId===6&&(r=Stave.saxophoneMap(r)),window&&window.sett&&window.sett.keySignature&&(r="C"),this.MeasureNumber<2){if(hideTrackTune$1||this.setText(`1=${r}`,1,{justification:1,shift_x:50,shift_y:-75}),this.options.DYMusicScoreType==="jianpu"){const s=(e=window==null?void 0:window.GYM)==null?void 0:e.multitrack;s&&s>1&&(hideTrackTune$1=!0)}}else this.options.keySignature!=_keySignature&&this.setText(`1=${r}`,1,{justification:1,shift_x:50,shift_y:-50});_keySignature=this.options.keySignature}if(this.MeasureNumber>=0&&this.timeSignature.numerator){let r=40,s=0;this.MeasureNumber<2&&(r=70,s=-72),this.setText(`${this.timeSignature.numerator}`,1,{justification:1,shift_x:r,shift_y:s-13}),this.setText("ᅳ",1,{justification:1,shift_x:r+3,shift_y:s-2}),this.setText(`${this.timeSignature.denominator}`,1,{justification:1,shift_x:r,shift_y:s+8})}}drawVertical(e,r){this.drawVerticalFixed(this.x+e,r)}drawVerticalFixed(e,r){this.checkContext();const s=this.getYForLine(0),o=this.getYForLine(this.options.num_lines-1);r&&this.context.fillRect(e-3,s,1,o-s+1),this.context.fillRect(e,s,1,o-s+1)}drawVerticalBar(e){this.drawVerticalBarFixed(this.x+e,!1)}drawVerticalBarFixed(e){this.checkContext();const r=this.getYForLine(0),s=this.getYForLine(this.options.num_lines-1);this.context.fillRect(e,r,1,s-r+1)}getConfigForLines(){return this.options.line_config}setConfigForLine(e,r){if(e>=this.options.num_lines||e<0)throw new Vex.RERR("StaveConfigError","The line number must be within the range of the number of lines in the Stave.");if(r.visible===void 0)throw new Vex.RERR("StaveConfigError","The line configuration object is missing the 'visible' property.");if(typeof r.visible!="boolean")throw new Vex.RERR("StaveConfigError","The line configuration objects 'visible' property must be true or false.");return this.options.line_config[e]=r,this}setConfigForLines(e){if(e.length!==this.options.num_lines)throw new Vex.RERR("StaveConfigError","The length of the lines configuration array must match the number of lines in the Stave");for(const r in e)e[r]||(e[r]=this.options.line_config[r]),Vex.Merge(this.options.line_config[r],e[r]);return this.options.line_config=e,this}}class TabStave extends Stave{constructor(e,r,s,o){const a={spacing_between_lines_px:13,num_lines:6,top_text_position:1};Vex.Merge(a,o),super(e,r,s,a),this.setAttribute("type","TabStave")}getYForGlyphs(){return this.getYForLine(2.5)}addTabGlyph(){return this.addClef("tab"),this}}function getUnusedStringGroups(i,e){const r=[];let s=[];for(let o=1;o<=i;o++)e.indexOf(o)>-1?(r.push(s),s=[]):s.push(o);return s.length>0&&r.push(s),r}function getPartialStemLines(i,e,r,s){const o=s!==1,a=s!==-1,l=r.getSpacingBetweenLines(),c=r.getNumLines(),u=[];return e.forEach(d=>{const g=d.indexOf(c)>-1,m=d.indexOf(1)>-1;if(o&&m||a&&g)return;d.length===1&&d.push(d[0]);const y=[];d.forEach((b,A,S)=>{const E=b===1,x=b===c;let P=r.getYForLine(b-1);A===0&&!E?P-=l/2-1:A===S.length-1&&!x&&(P+=l/2-1),y.push(P),s===1&&E?y.push(i-2):s===-1&&x&&y.push(i+2)}),u.push(y.sort((b,A)=>b-A))}),u}let TabNote$1=class Yi extends StemmableNote{static get CATEGORY(){return"tabnotes"}constructor(e,r){if(super(e),this.setAttribute("type","TabNote"),this.ghost=!1,this.positions=e.positions,Vex.Merge(this.render_options,{glyph_font_scale:Flow.DEFAULT_TABLATURE_FONT_SCALE,draw_stem:r,draw_dots:r,draw_stem_through_stave:!1,y_shift:0,scale:1,font:"10pt Arial"}),this.glyph=Flow.getGlyphProps(this.duration,this.noteType),!this.glyph)throw new Vex.RuntimeError("BadArguments",`Invalid note initialization data (No glyph found): ${JSON.stringify(e)}`);this.buildStem(),e.stem_direction?this.setStemDirection(e.stem_direction):this.setStemDirection(Stem.UP),this.ghost=!1,this.updateWidth()}reset(){this.stave&&this.setStave(this.stave)}getCategory(){return Yi.CATEGORY}setGhost(e){return this.ghost=e,this.updateWidth(),this}hasStem(){return this.render_options.draw_stem}getStemExtension(){const e=this.getGlyph();return this.stem_extension_override!=null?this.stem_extension_override:e?this.getStemDirection()===1?e.tabnote_stem_up_extension:e.tabnote_stem_down_extension:0}addDot(){const e=new Dot;return this.dots+=1,this.addModifier(e,0)}updateWidth(){this.glyphs=[],this.width=0;for(let e=0;e<this.positions.length;++e){let r=this.positions[e].fret;this.ghost&&(r="("+r+")");const s=Flow.tabToGlyph(r,this.render_options.scale);this.glyphs.push(s),this.width=Math.max(s.getWidth(),this.width)}this.glyph.getWidth=()=>this.width}setStave(e){super.setStave(e),this.context=e.context;let r;if(this.context){const o=this.context;for(this.width=0,r=0;r<this.glyphs.length;++r){const a=this.glyphs[r],l=""+a.text;l.toUpperCase()!=="X"&&(o.save(),o.setRawFont(this.render_options.font),a.width=o.measureText(l).width,o.restore(),a.getWidth=()=>a.width),this.width=Math.max(a.getWidth(),this.width)}this.glyph.getWidth=()=>this.width}const s=this.positions.map(({str:o})=>e.getYForLine(o-1));return this.setYs(s),this.stem&&this.stem.setYBounds(this.getStemY(),this.getStemY()),this}getPositions(){return this.positions}addToModifierContext(e){this.setModifierContext(e);for(let r=0;r<this.modifiers.length;++r)this.modifierContext.addModifier(this.modifiers[r]);return this.modifierContext.addModifier(this),this.preFormatted=!1,this}getTieRightX(){let e=this.getAbsoluteX();const r=this.glyph.getWidth();return e+=r/2,e+=-this.width/2+this.width+2,e}getTieLeftX(){let e=this.getAbsoluteX();const r=this.glyph.getWidth();return e+=r/2,e-=this.width/2+2,e}getModifierStartXY(e,r){if(!this.preFormatted)throw new Vex.RERR("UnformattedNote","Can't call GetModifierStartXY on an unformatted note");if(this.ys.length===0)throw new Vex.RERR("NoYValues","No Y-Values calculated for this note.");let s=0;return e===Modifier.Position.LEFT?s=-1*2:e===Modifier.Position.RIGHT?s=this.width+2:(e===Modifier.Position.BELOW||e===Modifier.Position.ABOVE)&&(s=this.glyph.getWidth()/2),{x:this.getAbsoluteX()+s,y:this.ys[r]}}getLineForRest(){return this.positions[0].str}preFormat(){this.preFormatted||(this.modifierContext&&this.modifierContext.preFormat(),this.setPreFormatted(!0))}getStemX(){return this.getCenterGlyphX()}getStemY(){const e=this.stave.getNumLines(),r=-.5,s=e-.5,o=Stem.UP===this.stem_direction?r:s;return this.stave.getYForLine(o)}getStemExtents(){return this.stem.getExtents()}drawFlag(){const{beam:e,glyph:r,context:s,stem:o,stem_direction:a,render_options:{draw_stem:l,glyph_font_scale:c}}=this,u=e==null&&l;if(r.flag&&u){const d=this.getStemX()+1,g=this.getStemY()-o.getHeight(),m=a===Stem.DOWN?r.code_flag_downstem:r.code_flag_upstem;Glyph.renderGlyph(s,d,g,c,m)}}drawModifiers(){this.modifiers.forEach(e=>{e.getCategory()==="dots"&&!this.render_options.draw_dots||(e.setContext(this.context),e.drawWithStyle())})}drawStemThrough(){const e=this.getStemX(),r=this.getStemY(),s=this.context,o=this.render_options.draw_stem_through_stave;if(this.render_options.draw_stem&&o){const l=this.stave.getNumLines(),c=this.positions.map(g=>g.str),u=getUnusedStringGroups(l,c),d=getPartialStemLines(r,u,this.getStave(),this.getStemDirection());s.save(),s.setLineWidth(Stem.WIDTH),d.forEach(g=>{g.length!==0&&(s.beginPath(),s.moveTo(e,g[0]),s.lineTo(e,g[g.length-1]),s.stroke(),s.closePath())}),s.restore()}}drawPositions(){const e=this.context,r=this.getAbsoluteX(),s=this.ys;for(let o=0;o<this.positions.length;++o){const a=s[o]+this.render_options.y_shift,l=this.glyphs[o];let c=l.getWidth();c===0&&l.text&&l.text.toString()&&l.text.toString().length&&(c=l.text.toString().length*7);let u=this.glyph.getWidth();u===0&&(u=c);const d=r+u/2-c/2;if(this.BackgroundColor?(e.save(),e.setFillStyle(this.BackgroundColor),e.setLineWidth(0),e.fillRect(d-2,a-3,c+4,6),e.restore()):e.clearRect(d-2,a-3,c+4,6),l.code)Glyph.renderGlyph(e,d,a,this.render_options.glyph_font_scale*this.render_options.scale,l.code);else{e.save(),e.setRawFont(this.render_options.font);const g=l.text.toString();e.fillText(g,d,a+5*this.render_options.scale),e.restore()}}}draw(){if(this.checkContext(),!this.stave)throw new Vex.RERR("NoStave","Can't draw without a stave.");if(this.ys.length===0)throw new Vex.RERR("NoYValues","Can't draw note without Y values.");this.setRendered();const e=this.beam==null&&this.render_options.draw_stem;this.context.openGroup("tabnote",this.getAttribute("id"),{pointerBBox:!0}),this.drawPositions(),this.drawStemThrough();const r=this.getStemX();this.stem.setNoteHeadXBounds(r,r),e&&(this.context.openGroup("stem",null,{pointerBBox:!0}),this.stem.setContext(this.context).draw(),this.context.closeGroup()),this.drawFlag(),this.drawModifiers(),this.context.closeGroup()}};function L$8(...i){VibratoBracket.DEBUG&&Vex.L("Vex.Flow.VibratoBracket",i)}class VibratoBracket extends Element$1{constructor(e){super(),this.setAttribute("type","VibratoBracket"),this.start=e.start,this.stop=e.stop,this.toEndOfStopStave=e.toEndOfStopStave,this.line=1,this.render_options={harsh:!1,wave_height:6,wave_width:4,wave_girth:2}}setLine(e){return this.line=e,this}setHarsh(e){return this.render_options.harsh=e,this}draw(){const e=this.context;this.setRendered();const r=this.start?this.start.getStave().getYForTopText(this.line):this.stop.getStave().getYForTopText(this.line);let s=0;if(this.start){let a=0;for(const l of this.start.modifiers)if(l&&l.type==="tr"){a=l.glyph.bbox.w;break}s=this.start.getNoteHeadBeginX?this.start.getNoteHeadBeginX():this.start.getAbsoluteX(),s+=a}else s=this.stop.getStave().getTieStartX();let o=0;this.stop?o=this.toEndOfStopStave?this.stop.getStave().getTieEndX()-10:this.stop.getAbsoluteX()+this.stop.getWidth():o=this.start.getStave().getTieEndX()-10,this.render_options.vibrato_width=o-s,L$8("Rendering VibratoBracket: start_x:",s,"stop_x:",o,"y:",r),Vibrato.renderVibrato(e,s,r,this.render_options)}}let semibrave_rest;function get_semibrave_rest(){if(!semibrave_rest){const i=new NoteHead({duration:"w",note_type:"r"});semibrave_rest={glyph_font_scale:i.render_options.glyph_font_scale,glyph_code:i.glyph_code,width:i.getWidth()}}return semibrave_rest}class MultiMeasureRest extends Element$1{constructor(e,r){super(),this.setAttribute("type","MultiMeasureRest"),this.render_options={show_number:!0,number_line:-.5,number_glyph_point:40,padding_left:void 0,padding_right:void 0,line:2,spacing_between_lines_px:10,line_thickness:void 0,serif_thickness:2,use_symbols:!1,symbol_spacing:void 0,semibrave_rest_glyph_scale:Flow.DEFAULT_NOTATION_FONT_SCALE},Vex.Merge(this.render_options,r),this.number_of_measures=e,this.xs={left:NaN,right:NaN}}getXs(){return this.xs}setStave(e){return this.stave=e,this}getStave(){return this.stave}drawLine(e,r,s,o){const a=this.stave.getYForLine(this.render_options.line),l=(s-r)*.1;r+=l,s-=l;const c={thickness:this.render_options.serif_thickness,height:o};let u=o*.25;isNaN(this.render_options.line_thickness)||(u=this.render_options.line_thickness*.5),e.save(),e.beginPath(),e.moveTo(r,a-o),e.lineTo(r+c.thickness,a-o),e.lineTo(r+c.thickness,a-u),e.lineTo(s-c.thickness,a-u),e.lineTo(s-c.thickness,a-o),e.lineTo(s,a-o),e.lineTo(s,a+o),e.lineTo(s-c.thickness,a+o),e.lineTo(s-c.thickness,a+u),e.lineTo(r+c.thickness,a+u),e.lineTo(r+c.thickness,a+o),e.lineTo(r,a+o),e.closePath(),e.fill()}drawSymbols(e,r,s,o){const a=Math.floor(this.number_of_measures/4),l=this.number_of_measures%4,c=Math.floor(l/2),u=l%2,d=get_semibrave_rest(),g=d.width*(this.render_options.semibrave_rest_glyph_scale/d.glyph_font_scale),m={2:{width:g*.5,height:o},1:{width:g}};let y=g*1.35;isNaN(this.render_options.symbol_spacing)||(y=this.render_options.symbol_spacing);const b=a*m[2].width+c*m[2].width+u*m[1].width+(a+c+u-1)*y;let A=r+(s-r)*.5-b*.5;const S=this.stave.getYForLine(this.render_options.line-1),E=this.stave.getYForLine(this.render_options.line),x=this.stave.getYForLine(this.render_options.line+1);e.save(),e.setStrokeStyle("none"),e.setLineWidth(0);for(let P=0;P<a;++P)e.fillRect(A,E-m[2].height,m[2].width,m[2].height),e.fillRect(A,x-m[2].height,m[2].width,m[2].height),A+=m[2].width+y;for(let P=0;P<c;++P)e.fillRect(A,E-m[2].height,m[2].width,m[2].height),A+=m[2].width+y;for(let P=0;P<u;++P)Glyph.renderGlyph(e,A,S,this.render_options.semibrave_rest_glyph_scale,d.glyph_code),A+=m[1].width+y;e.restore()}draw(){this.checkContext(),this.setRendered();const e=this.context,r=this.stave,s=this.render_options.spacing_between_lines_px;let o=r.getNoteStartX(),a=r.getNoteEndX();const l=r.getModifiers(StaveModifier.Position.BEGIN);if(l.length===1&&l[0].getCategory()==="barlines"&&(o-=l[0].getWidth()),isNaN(this.render_options.padding_left)||(o=r.getX()+this.render_options.padding_left),isNaN(this.render_options.padding_right)||(a=r.getX()+r.getWidth()-this.render_options.padding_right),this.xs.left=o,this.xs.right=a,this.render_options.use_symbols?this.drawSymbols(e,o,a,s):this.drawLine(e,o,a,s),this.render_options.show_number){const c="/"+this.number_of_measures,u=new TimeSignature(null,void 0,!1);u.point=this.render_options.number_glyph_point,u.setTimeSig(c),u.setStave(r),u.x=o+(a-o)*.5-u.timeSig.glyph.getMetrics().width*.5,u.bottomLine=this.render_options.number_line,u.setContext(e).draw()}}}class ClefNote extends Note{static get CATEGORY(){return"clefnote"}constructor(e,r,s){super({duration:"b"}),this.setAttribute("type","ClefNote"),this.setType(e,r,s),this.ignore_ticks=!0}setType(e,r,s){return this.type=e,this.clef_obj=new Clef(e,r,s),this.clef=this.clef_obj.clef,this.glyph=new Glyph(this.clef.code,this.clef.point),this.setWidth(this.glyph.getMetrics().width),this}getClef(){return this.clef}setContext(e){return this.context=e,this.glyph.setContext(this.context),this}getBoundingBox(){return super.getBoundingBox()}addToModifierContext(){return this}getCategory(){return ClefNote.CATEGORY}preFormat(){return this.setPreFormatted(!0),this}draw(){if(!this.stave)throw new Vex.RERR("NoStave","Can't draw without a stave.");this.glyph.getContext()||this.glyph.setContext(this.context),this.setRendered();const e=this.getAbsoluteX();if(this.glyph.setStave(this.stave),this.glyph.setYShift(this.stave.getYForLine(this.clef.line)-this.stave.getYForGlyphs()),this.glyph.renderToStave(e),this.clef_obj.annotation!==void 0){const r=new Glyph(this.clef_obj.annotation.code,this.clef_obj.annotation.point);r.getContext()||r.setContext(this.context),r.setStave(this.stave),r.setYShift(this.stave.getYForLine(this.clef_obj.annotation.line)-this.stave.getYForGlyphs()),r.setXShift(this.clef_obj.annotation.x_shift),r.renderToStave(e)}}}class KeySigNote extends Note{constructor(e,r,s){super({duration:"b"}),this.setAttribute("type","KeySigNote"),this.keySignature=new KeySignature(e,r,s),this.ignore_ticks=!0}getBoundingBox(){return super.getBoundingBox()}addToModifierContext(){return this}preFormat(){return this.setPreFormatted(!0),this.keySignature.setStave(this.stave),this.keySignature.format(),this.setWidth(this.keySignature.width),this}draw(){this.stave.checkContext(),this.setRendered(),this.keySignature.x=this.getAbsoluteX(),this.keySignature.setContext(this.context),this.keySignature.draw()}}class TimeSigNote extends Note{constructor(e,r){super({duration:"b"}),this.setAttribute("type","TimeSigNote");const s=new TimeSignature(e,r);this.timeSig=s.getTimeSig(),this.setWidth(this.timeSig.glyph.getMetrics().width),this.ignore_ticks=!0}getBoundingBox(){return super.getBoundingBox()}addToModifierContext(){return this}preFormat(){return this.setPreFormatted(!0),this}draw(){this.stave.checkContext(),this.setRendered(),this.timeSig.glyph.getContext()||this.timeSig.glyph.setContext(this.context),this.timeSig.glyph.setStave(this.stave),this.timeSig.glyph.setYShift(this.stave.getYForLine(this.timeSig.line)-this.stave.getYForGlyphs()),this.timeSig.glyph.renderToStave(this.getAbsoluteX())}}class TabSlide extends TabTie{static get SLIDE_UP(){return 1}static get SLIDE_DOWN(){return-1}static createSlideUp(e){return new TabSlide(e,TabSlide.SLIDE_UP)}static createSlideDown(e){return new TabSlide(e,TabSlide.SLIDE_DOWN)}constructor(e,r){if(super(e,"sl."),this.setAttribute("type","TabSlide"),!r){const s=e.first_note.getPositions()[0].fret,o=e.last_note.getPositions()[0].fret;r=parseInt(s,10)>parseInt(o,10)?TabSlide.SLIDE_DOWN:TabSlide.SLIDE_UP}this.slide_direction=r,this.render_options.cp1=11,this.render_options.cp2=14,this.render_options.y_shift=.5,this.setFont({font:"Times",size:10,style:"bold italic"}),this.setNotes(e)}renderTie(e){if(e.first_ys.length===0||e.last_ys.length===0)throw new Vex.RERR("BadArguments","No Y-values to render");const r=this.context,s=e.first_x_px,o=e.first_ys,a=e.last_x_px,l=this.slide_direction;if(l!==TabSlide.SLIDE_UP&&l!==TabSlide.SLIDE_DOWN)throw new Vex.RERR("BadSlide","Invalid slide direction");for(let c=0;c<this.first_indices.length;++c){const u=o[this.first_indices[c]]+this.render_options.y_shift;if(isNaN(u))throw new Vex.RERR("BadArguments","Bad indices for slide rendering.");r.beginPath(),r.moveTo(s,u+3*l),r.lineTo(a,u-3*l),r.closePath(),r.stroke()}this.setRendered()}}class GraceNote extends StaveNote{static get CATEGORY(){return"gracenotes"}static get LEDGER_LINE_OFFSET(){return 2}static get SCALE(){return .66}constructor(e){super(Object.assign(e,{glyph_font_scale:Flow.DEFAULT_NOTATION_FONT_SCALE*GraceNote.SCALE,stroke_px:GraceNote.LEDGER_LINE_OFFSET})),this.setAttribute("type","GraceNote"),this.slash=e.slash,this.slur=!0,this.buildNoteHeads(),this.width=3}getStemExtension(){if(this.stem_extension_override!=null)return this.stem_extension_override;const e=this.getGlyph();if(e){let r=super.getStemExtension();if(e.stem){const s=this.getStaveNoteScale();r=(Stem.HEIGHT+r)*s-Stem.HEIGHT}return r}return 0}getCategory(){return GraceNote.CATEGORY}getStaveNoteScale(){return this.render_options.glyph_font_scale/Flow.DEFAULT_NOTATION_FONT_SCALE}draw(){super.draw(),this.setRendered();const e=this.stem;if(this.slash&&e){const r=this.getStaveNoteScale(),s=r/.66;let o;const a=this.beam;if(a)a.postFormatted||a.postFormat(),o=this.calcBeamedNotesSlashBBox(8*s,8*s,{stem:6*s,beam:5*s});else{const c=this.getStemDirection(),u=this.getNoteHeadBounds(),d=e.getHeight();let g=this.getAbsoluteX(),m=c===Flow.Stem.DOWN?u.y_top-d:u.y_bottom-d;const y=c===Flow.Stem.DOWN?this.glyph.stem_down_extension:this.glyph.stem_up_extension;let b=Flow.STEM_HEIGHT;b-=b/2.8,b+=y,m+=b*r*c;const A=c===Flow.Stem.UP?{x1:1,y1:0,x2:13,y2:-9}:{x1:-4,y1:1,x2:13,y2:9};g+=A.x1*s,m+=A.y1*s,o={x1:g,y1:m,x2:g+A.x2*s,y2:m+A.y2*s}}const l=this.context;l.save(),l.setLineWidth(1*s),l.beginPath(),l.moveTo(o.x1,o.y1),l.lineTo(o.x2,o.y2),l.closePath(),l.stroke(),l.restore()}}calcBeamedNotesSlashBBox(e,r,s){const o=this.beam,a=o.slope,c=o.notes[o.notes.length-1]===this?-1:1,u=Math.atan(a*c),d={dx:Math.cos(u)*r,dy:Math.sin(u)*r};e*=this.getStemDirection();const g=Math.atan((d.dy-e)/d.dx),m=Math.cos(g)*s.stem*c,y=Math.sin(g)*s.stem,b=Math.cos(g)*s.beam*c,A=Math.sin(g)*s.beam,S=this.getStemX(),E=o.notes[0].getStemX(),x=this.beam.getBeamYToDraw()+(S-E)*a;return{x1:S-m,y1:x+e-y,x2:S+d.dx*c+b,y2:x+d.dy+A}}}class GraceTabNote extends TabNote$1{static get CATEGORY(){return"gracetabnotes"}constructor(e){super(e,!1),this.setAttribute("type","GraceTabNote"),Vex.Merge(this.render_options,{y_shift:.3,scale:.6,font:"7.5pt Arial"}),this.updateWidth()}getCategory(){return GraceTabNote.CATEGORY}draw(){super.draw(),this.setRendered()}}class Tuning{static get names(){return{standard:"E/5,B/4,G/4,D/4,A/3,E/3",dagdad:"D/5,A/4,G/4,D/4,A/3,D/3",dropd:"E/5,B/4,G/4,D/4,A/3,D/3",eb:"Eb/5,Bb/4,Gb/4,Db/4,Ab/3,Db/3",standardBanjo:"D/5,B/4,G/4,D/4,G/5"}}constructor(e="E/5,B/4,G/4,D/4,A/3,E/3,B/2,E/2"){this.setTuning(e)}noteToInteger(e){return Flow.keyProperties(e).int_value}setTuning(e){Tuning.names[e]&&(e=Tuning.names[e]),this.tuningString=e,this.tuningValues=[],this.numStrings=0;const r=e.split(/\s*,\s*/);if(r.length===0)throw new Vex.RERR("BadArguments","Invalid tuning string: "+e);this.numStrings=r.length;for(let s=0;s<this.numStrings;++s)this.tuningValues[s]=this.noteToInteger(r[s])}getValueForString(e){const r=parseInt(e,10);if(r<1||r>this.numStrings)throw new Vex.RERR("BadArguments",`String number must be between 1 and ${this.numStrings}:${e}`);return this.tuningValues[r-1]}getValueForFret(e,r){const s=this.getValueForString(r),o=parseInt(e,10);if(o<0)throw new Vex.RERR("BadArguments","Fret number must be 0 or higher: "+e);return s+o}getNoteForFret(e,r){const s=this.getValueForFret(e,r),o=Math.floor(s/12),a=s%12;return Flow.integerToNote(a)+"/"+o}}class KeyManager{constructor(e){this.music=new Music,this.setKey(e)}setKey(e){return this.key=e,this.reset(),this}getKey(){return this.key}reset(){if(this.keyParts=this.music.getKeyParts(this.key),this.keyString=this.keyParts.root,this.keyParts.accidental&&(this.keyString+=this.keyParts.accidental),!Music.scaleTypes[this.keyParts.type])throw new Vex.RERR("BadArguments",`Unsupported key type: ${this.key}`);this.scale=this.music.getScaleTones(this.music.getNoteValue(this.keyString),Music.scaleTypes[this.keyParts.type]),this.scaleMap={},this.scaleMapByValue={},this.originalScaleMapByValue={};const r=Music.root_indices[this.keyParts.root];for(let s=0;s<Music.roots.length;++s){const o=(r+s)%Music.roots.length,a=Music.roots[o],l=this.music.getRelativeNoteName(a,this.scale[s]);this.scaleMap[a]=l,this.scaleMapByValue[this.scale[s]]=l,this.originalScaleMapByValue[this.scale[s]]=l}return this}getAccidental(e){const r=this.music.getKeyParts(e).root,s=this.music.getNoteParts(this.scaleMap[r]);return{note:this.scaleMap[r],accidental:s.accidental}}selectNote(e){e=e.toLowerCase();const r=this.music.getNoteParts(e),s=this.scaleMap[r.root],o=this.music.getNoteParts(s);if(s===e)return{note:s,accidental:r.accidental,change:!1};const a=this.scaleMapByValue[this.music.getNoteValue(e)];if(a!=null)return{note:a,accidental:this.music.getNoteParts(a).accidental,change:!1};const l=this.originalScaleMapByValue[this.music.getNoteValue(e)];return l!=null?(this.scaleMap[o.root]=l,delete this.scaleMapByValue[this.music.getNoteValue(s)],this.scaleMapByValue[this.music.getNoteValue(e)]=l,{note:l,accidental:this.music.getNoteParts(l).accidental,change:!0}):o.root===e?(delete this.scaleMapByValue[this.music.getNoteValue(this.scaleMap[r.root])],this.scaleMapByValue[this.music.getNoteValue(o.root)]=o.root,this.scaleMap[o.root]=o.root,{note:o.root,accidental:null,change:!0}):(delete this.scaleMapByValue[this.music.getNoteValue(this.scaleMap[r.root])],this.scaleMapByValue[this.music.getNoteValue(e)]=e,delete this.scaleMap[o.root],this.scaleMap[o.root]=e,{note:e,accidental:r.accidental,change:!0})}}class StaveHairpin extends Element$1{static get type(){return{CRESC:1,DECRESC:2}}static FormatByTicksAndDraw(e,r,s,o,a,l){const c=r.pixelsPerTick;if(c==null)throw new Vex.RuntimeError("BadArguments","A valid Formatter must be provide to draw offsets by ticks.");const u=c*l.left_shift_ticks,d=c*l.right_shift_ticks,g={height:l.height,y_shift:l.y_shift,left_shift_px:u,right_shift_px:d};new StaveHairpin({first_note:s.first_note,last_note:s.last_note},o).setContext(e).setRenderOptions(g).setPosition(a).draw()}constructor(e,r){super(),this.setAttribute("type","StaveHairpin"),this.notes=e,this.hairpin=r,this.position=Modifier.Position.BELOW,this.render_options={height:10,y_shift:0,left_shift_px:0,right_shift_px:0},this.setNotes(e)}setPosition(e){return(e===Modifier.Position.ABOVE||e===Modifier.Position.BELOW)&&(this.position=e),this}setRenderOptions(e){return e.height!=null&&e.y_shift!=null&&e.left_shift_px!=null&&e.right_shift_px!=null&&(this.render_options=e),this}setNotes(e){if(!e.first_note&&!e.last_note)throw new Vex.RuntimeError("BadArguments","Hairpin needs to have either first_note or last_note set.");return this.first_note=e.first_note,this.last_note=e.last_note,this}renderHairpin(e){const r=this.checkContext();let s=this.render_options.y_shift+20,o=e.first_y;this.position===Modifier.Position.ABOVE&&(s=-s+30,o=e.first_y-e.staff_height);const a=this.render_options.left_shift_px,l=this.render_options.right_shift_px;switch(r.beginPath(),this.hairpin){case StaveHairpin.type.CRESC:r.moveTo(e.last_x+l,o+s),r.lineTo(e.first_x+a,o+this.render_options.height/2+s),r.lineTo(e.last_x+l,o+this.render_options.height+s);break;case StaveHairpin.type.DECRESC:r.moveTo(e.first_x+a,o+s),r.lineTo(e.last_x+l,o+this.render_options.height/2+s),r.lineTo(e.first_x+a,o+this.render_options.height+s);break}r.stroke(),r.closePath()}draw(){this.checkContext(),this.setRendered();const e=this.first_note,r=this.last_note,s=e.getModifierStartXY(this.position,0),o=r.getModifierStartXY(this.position,0);return this.renderHairpin({first_x:s.x,last_x:o.x,first_y:e.getStave().y+e.getStave().height,last_y:r.getStave().y+r.getStave().height,staff_height:e.getStave().height}),!0}}class Curve extends Element$1{static get Position(){return{NEAR_HEAD:1,NEAR_TOP:2}}static get PositionString(){return{nearHead:Curve.Position.NEAR_HEAD,nearTop:Curve.Position.NEAR_TOP}}constructor(e,r,s){super(),this.setAttribute("type","Curve"),this.render_options={spacing:2,thickness:2,x_shift:0,y_shift:10,position:Curve.Position.NEAR_HEAD,position_end:Curve.Position.NEAR_HEAD,invert:!1,cps:[{x:0,y:10},{x:0,y:10}]},Vex.Merge(this.render_options,s),this.setNotes(e,r)}setNotes(e,r){if(!e&&!r)throw new Vex.RuntimeError("BadArguments","Curve needs to have either first_note or last_note set.");return this.from=e,this.to=r,this}isPartial(){return!this.from||!this.to}renderCurve(e){const r=this.context,s=this.render_options.cps,o=this.render_options.x_shift,a=this.render_options.y_shift*e.direction,l=e.first_x+o,c=e.first_y+a,u=e.last_x-o,d=e.last_y+a,g=this.render_options.thickness,m=(u-l)/(s.length+2);r.beginPath(),r.moveTo(l,c),r.bezierCurveTo(l+m+s[0].x,c+s[0].y*e.direction,u-m+s[1].x,d+s[1].y*e.direction,u,d),r.bezierCurveTo(u-m+s[1].x,d+(s[1].y+g)*e.direction,l+m+s[0].x,c+(s[0].y+g)*e.direction,l,c),r.stroke(),r.closePath(),r.fill()}draw(){this.checkContext(),this.setRendered();const e=this.from,r=this.to;let s,o,a,l,c,u="baseY",d="baseY";function g(b){return typeof b=="string"?Curve.PositionString[b]:b}const m=g(this.render_options.position),y=g(this.render_options.position_end);return m===Curve.Position.NEAR_TOP&&(u="topY",d="topY"),y===Curve.Position.NEAR_HEAD?d="baseY":y===Curve.Position.NEAR_TOP&&(d="topY"),e?(s=e.getTieRightX(),c=e.getStemDirection(),a=e.getStemExtents()[u]):(s=r.getStave().getTieStartX(),a=r.getStemExtents()[u]),r?(o=r.getTieLeftX(),c=r.getStemDirection(),l=r.getStemExtents()[d]):(o=e.getStave().getTieEndX(),l=e.getStemExtents()[d]),this.renderCurve({first_x:s,last_x:o,first_y:a,last_y:l,direction:c*(this.render_options.invert===!0?-1:1)}),!0}}function L$7(...i){TextDynamics.DEBUG&&Vex.L("Vex.Flow.TextDynamics",i)}class TextDynamics extends Note{static get GLYPHS(){return{f:{code:"vba",width:12},p:{code:"vbf",width:14},m:{code:"v62",width:17},s:{code:"v4a",width:10},z:{code:"v80",width:12},r:{code:"vb1",width:12}}}constructor(e){super(e),this.setAttribute("type","TextDynamics"),this.sequence=e.text.toLowerCase(),this.line=e.line||0,this.glyphs=[],Vex.Merge(this.render_options,{glyph_font_size:40}),L$7("New Dynamics Text: ",this.sequence)}setLine(e){return this.line=e,this}preFormat(){let e=0;return this.sequence.split("").forEach(r=>{const s=TextDynamics.GLYPHS[r];if(!s)throw new Vex.RERR("Invalid dynamics character: "+r);const o=this.render_options.glyph_font_size,a=new Glyph(s.code,o);this.glyphs.push(a),e+=s.width}),this.setWidth(e),this.preFormatted=!0,this}draw(){this.setRendered();const e=this.getAbsoluteX(),r=this.stave.getYForLine(this.line+-3);L$7("Rendering Dynamics: ",this.sequence);let s=e;this.glyphs.forEach((o,a)=>{const l=this.sequence[a];o.render(this.context,s,r),s+=TextDynamics.GLYPHS[l].width})}}function drawArrowHead(i,e,r,s,o,a,l){i.beginPath(),i.moveTo(e,r),i.lineTo(s,o),i.lineTo(a,l),i.lineTo(e,r),i.closePath(),i.fill()}function drawArrowLine(i,e,r,s){const o=s.draw_start_arrow&&s.draw_end_arrow,a=e.x,l=e.y,c=r.x,u=r.y,d=Math.sqrt((c-a)*(c-a)+(u-l)*(u-l)),g=(d-s.arrowhead_length/3)/d;let m,y,b,A;s.draw_end_arrow||o?(m=Math.round(a+(c-a)*g),y=Math.round(l+(u-l)*g)):(m=c,y=u),s.draw_start_arrow||o?(b=a+(c-a)*(1-g),A=l+(u-l)*(1-g)):(b=a,A=l),s.color&&(i.setStrokeStyle(s.color),i.setFillStyle(s.color)),i.beginPath(),i.moveTo(b,A),i.lineTo(m,y),i.stroke(),i.closePath();const S=Math.atan2(u-l,c-a),E=Math.abs(s.arrowhead_length/Math.cos(s.arrowhead_angle));let x,P,C,T,k,I;(s.draw_end_arrow||o)&&(x=S+Math.PI+s.arrowhead_angle,C=c+Math.cos(x)*E,T=u+Math.sin(x)*E,P=S+Math.PI-s.arrowhead_angle,k=c+Math.cos(P)*E,I=u+Math.sin(P)*E,drawArrowHead(i,C,T,c,u,k,I)),(s.draw_start_arrow||o)&&(x=S+s.arrowhead_angle,C=a+Math.cos(x)*E,T=l+Math.sin(x)*E,P=S-s.arrowhead_angle,k=a+Math.cos(P)*E,I=l+Math.sin(P)*E,drawArrowHead(i,C,T,a,l,k,I))}class StaveLine extends Element$1{static get TextVerticalPosition(){return{TOP:1,BOTTOM:2}}static get TextJustification(){return{LEFT:1,CENTER:2,RIGHT:3}}constructor(e){super(),this.setAttribute("type","StaveLine"),this.notes=e,this.text="",this.font={family:"Arial",size:10,weight:""},this.render_options={padding_left:4,padding_right:3,line_width:1,line_dash:null,rounded_end:!0,color:null,draw_start_arrow:!1,draw_end_arrow:!1,arrowhead_length:10,arrowhead_angle:Math.PI/8,text_position_vertical:StaveLine.TextVerticalPosition.TOP,text_justification:StaveLine.TextJustification.CENTER},this.setNotes(e)}setFont(e){return this.font=e,this}setText(e){return this.text=e,this}setNotes(e){if(!e.first_note&&!e.last_note)throw new Vex.RuntimeError("BadArguments","Notes needs to have either first_note or last_note set.");if(e.first_indices||(e.first_indices=[0]),e.last_indices||(e.last_indices=[0]),e.first_indices.length!==e.last_indices.length)throw new Vex.RuntimeError("BadArguments","Connected notes must have similar index sizes");return this.first_note=e.first_note,this.first_indices=e.first_indices,this.last_note=e.last_note,this.last_indices=e.last_indices,this}applyLineStyle(){const e=this.checkContext(),r=this.render_options;r.line_dash&&e.setLineDash(r.line_dash),r.line_width&&e.setLineWidth(r.line_width),r.rounded_end?e.setLineCap("round"):e.setLineCap("square")}applyFontStyle(){const e=this.checkContext();this.font&&e.setFont(this.font.family,this.font.size,this.font.weight),this.render_options.color&&(e.setStrokeStyle(this.render_options.color),e.setFillStyle(this.render_options.color))}draw(){const e=this.checkContext();this.setRendered();const r=this.first_note,s=this.last_note,o=this.render_options;e.save(),this.applyLineStyle();let a,l;this.first_indices.forEach((y,b)=>{const A=this.last_indices[b];a=r.getModifierStartXY(2,y),l=s.getModifierStartXY(1,A);const S=a.y>l.y;a.x+=r.getMetrics().modRightPx+o.padding_left,l.x-=s.getMetrics().modLeftPx+o.padding_right;const E=r.getGlyph().getWidth();r.getKeyProps()[y].displaced&&r.getStemDirection()===1&&(a.x+=E+o.padding_left),s.getKeyProps()[A].displaced&&s.getStemDirection()===-1&&(l.x-=E+o.padding_right),a.y+=S?-3:1,l.y+=S?2:0,drawArrowLine(e,a,l,this.render_options)}),e.restore();const c=e.measureText(this.text).width,u=o.text_justification;let d=0;u===StaveLine.TextJustification.LEFT?d=a.x:u===StaveLine.TextJustification.CENTER?d=(l.x-a.x)/2+a.x-c/2:u===StaveLine.TextJustification.RIGHT&&(d=l.x-c);let g;const m=o.text_position_vertical;return m===StaveLine.TextVerticalPosition.TOP?g=r.getStave().getYForTopText():m===StaveLine.TextVerticalPosition.BOTTOM&&(g=r.getStave().getYForBottomText(Flow.TEXT_HEIGHT_OFFSET_HACK)),e.save(),this.applyFontStyle(),e.fillText(this.text,d,g),e.restore(),this}}function L$6(...i){PedalMarking.DEBUG&&Vex.L("Vex.Flow.PedalMarking",i)}function drawPedalGlyph(i,e,r,s,o){const a=PedalMarking.GLYPHS[i];new Glyph(a.code,o).render(e,r+a.x_shift,s+a.y_shift)}class PedalMarking extends Element$1{static get GLYPHS(){return{pedal_depress:{code:"v36",x_shift:-10,y_shift:0},pedal_release:{code:"v5d",x_shift:-2,y_shift:3}}}static get Styles(){return{TEXT:1,BRACKET:2,MIXED:3,MIXED_OPEN_END:4,BRACKET_OPEN_BEGIN:5,BRACKET_OPEN_END:6,BRACKET_OPEN_BOTH:7}}static get StylesString(){return{text:PedalMarking.Styles.TEXT,bracket:PedalMarking.Styles.BRACKET,mixed:PedalMarking.Styles.MIXED,mixed_open_end:PedalMarking.Styles.MIXED_OPEN_END,bracket_open_begin:PedalMarking.Styles.BRACKET_OPEN_BEGIN,bracket_open_end:PedalMarking.Styles.BRACKET_OPEN_END,bracket_open_both:PedalMarking.Styles.BRACKET_OPEN_BOTH}}static createSustain(e){return new PedalMarking(e)}static createSostenuto(e){const r=new PedalMarking(e);return r.setStyle(PedalMarking.Styles.MIXED),r.setCustomText("Sost. Ped."),r}static createUnaCorda(e){const r=new PedalMarking(e);return r.setStyle(PedalMarking.Styles.TEXT),r.setCustomText("una corda","tre corda"),r}constructor(e){super(),this.setAttribute("type","PedalMarking"),this.EndsStave=!1,this.ChangeBegin=!1,this.ChangeEnd=!1,this.notes=e,this.style=PedalMarking.TEXT,this.line=0,this.custom_depress_text="",this.custom_release_text="",this.font={family:"Times New Roman",size:12,weight:"italic bold"},this.render_options={bracket_height:10,text_margin_right:6,bracket_line_width:1,glyph_point_size:40,color:"black"}}setEndStave(e){if(this.endStave=e,this.endStaveAddedWidth=0,this.startMargin=0,this.endMargin=0,Array.isArray(this.endStave.modifiers))for(let r=0;r<this.endStave.modifiers.length;r++){let s=this.endStave.modifiers[r];s&&s.position===StaveModifier.Position.END&&s.width&&(this.endStaveAddedWidth+=s.width)}}setCustomText(e,r){return this.custom_depress_text=e||"",this.custom_release_text=r||"",this}setStyle(e){if(e<1&&e>3)throw new Vex.RERR("InvalidParameter","The style must be one found in PedalMarking.Styles");return this.style=e,this}setLine(e){return this.line=e,this}drawBracketed(){const e=this.context;let r=!1,s,o;const a=this;this.notes.forEach((l,c,u)=>{r=!r;let d=0;if(l?(d=l.getNoteHeadBeginX(),this.BeginsStave&&(d=l.getStave().getNoteStartX())):d=this.endStave.end_x+this.endStaveAddedWidth,this.EndsStave)r?this.ChangeBegin&&(d=l.getAbsoluteX()):(l?this.ChangeEnd?d=l.getAbsoluteX():d=l.getStave().end_x+this.endStaveAddedWidth-a.render_options.text_margin_right:d=this.endStave.end_x+this.endStaveAddedWidth-a.render_options.text_margin_right,this.endMargin=-a.render_options.text_margin_right);else if(l)if(r)this.ChangeBegin&&(d=l.getAbsoluteX());else switch(a.style){case PedalMarking.Styles.BRACKET_OPEN_END:case PedalMarking.Styles.BRACKET_OPEN_BOTH:case PedalMarking.Styles.MIXED_OPEN_END:d=l.getNoteHeadEndX();break;default:this.ChangeEnd?d=l.getAbsoluteX():(d=l.getNoteHeadBeginX()-a.render_options.text_margin_right,this.startMargin=-a.render_options.text_margin_right);break}let g=this.endStave;l&&(g=l.getStave());let m=g.getYForBottomText(a.line+3);o&&o>m&&(m=o);const y=u[c+1]===l,b=u[c-1]===l;let A=0;if(r)if(A=b?5:0,(a.style===PedalMarking.Styles.MIXED||a.style===PedalMarking.Styles.MIXED_OPEN_END)&&!b)if(a.custom_depress_text){const S=e.measureText(a.custom_depress_text).width;e.fillText(a.custom_depress_text,d-S/2,m),A=S/2+a.render_options.text_margin_right}else drawPedalGlyph("pedal_depress",e,d,m,a.render_options.glyph_point_size),A=20+a.render_options.text_margin_right;else e.beginPath(),a.style===PedalMarking.Styles.BRACKET_OPEN_BEGIN||a.style===PedalMarking.Styles.BRACKET_OPEN_BOTH?e.moveTo(d+A,m):(this.ChangeBegin&&(d+=5),e.moveTo(d,m-a.render_options.bracket_height),this.ChangeBegin&&(d+=5),e.lineTo(d+A,m)),e.stroke(),e.closePath();else A=y&&!this.EndsStave?-5:0,e.beginPath(),e.moveTo(s,o),e.lineTo(d+A,m),a.style!==PedalMarking.Styles.BRACKET_OPEN_END&&a.style!==PedalMarking.Styles.MIXED_OPEN_END&&a.style!==PedalMarking.Styles.BRACKET_OPEN_BOTH&&(this.ChangeEnd&&(d+=5),e.lineTo(d,m-a.render_options.bracket_height)),e.stroke(),e.closePath();s=d+A,o=m})}drawText(){const e=this.context;let r=!1;const s=this,o=s.render_options.glyph_point_size;this.notes.forEach(a=>{if(!a)return;r=!r;const l=a.getStave(),c=a.getAbsoluteX(),u=l.getYForBottomText(s.line+3);let d=0;r?s.custom_depress_text?(d=e.measureText(s.custom_depress_text).width,e.fillText(s.custom_depress_text,c-d/2,u)):drawPedalGlyph("pedal_depress",e,c,u,o):s.custom_release_text?(d=e.measureText(s.custom_release_text).width,e.fillText(s.custom_release_text,c-d/2,u)):drawPedalGlyph("pedal_release",e,c,u,o)})}draw(){const e=this.checkContext();this.setRendered(),e.save(),e.setStrokeStyle(this.render_options.color),e.setFillStyle(this.render_options.color),e.setFont(this.font.family,this.font.size,this.font.weight),L$6("Rendering Pedal Marking"),this.style===PedalMarking.Styles.BRACKET||this.style===PedalMarking.Styles.MIXED||this.style===PedalMarking.Styles.MIXED_OPEN_END||this.style===PedalMarking.Styles.BRACKET_OPEN_BEGIN||this.style===PedalMarking.Styles.BRACKET_OPEN_END||this.style===PedalMarking.Styles.BRACKET_OPEN_BOTH?(e.setLineWidth(this.render_options.bracket_line_width),this.drawBracketed()):this.style===PedalMarking.Styles.TEXT&&this.drawText(),e.restore()}}function L$5(...i){TextBracket.DEBUG&&Vex.L("Vex.Flow.TextBracket",i)}class TextBracket extends Element$1{static get Positions(){return{TOP:1,BOTTOM:-1}}static get PositionString(){return{top:TextBracket.Positions.TOP,bottom:TextBracket.Positions.BOTTOM}}constructor({start:e,stop:r,text:s="",superscript:o="",position:a=TextBracket.Positions.TOP}){super(),this.setAttribute("type","TextBracket"),this.start=e,this.stop=r,this.text=s,this.superscript=o,this.position=typeof a=="string"?TextBracket.PositionString[a]:a,this.line=1,this.font={family:"Serif",size:15,weight:"italic"},this.render_options={dashed:!0,dash:[5],color:"black",line_width:1,show_bracket:!0,bracket_height:8,underline_superscript:!0}}applyStyle(e){return e.setFont(this.font.family,this.font.size,this.font.weight),e.setStrokeStyle(this.render_options.color),e.setFillStyle(this.render_options.color),e.setLineWidth(this.render_options.line_width),this}setDashed(e,r){return this.render_options.dashed=e,r&&(this.render_options.dash=r),this}setFont(e){return this.font={...this.font,...e},this}setLine(e){return this.line=e,this}draw(){const e=this.context;this.setRendered();let r=0;switch(this.position){case TextBracket.Positions.TOP:r=this.start.getStave().getYForTopText(this.line);break;case TextBracket.Positions.BOTTOM:r=this.start.getStave().getYForBottomText(this.line+Flow.TEXT_HEIGHT_OFFSET_HACK);break;default:throw new Vex.RERR("InvalidPosition",`The position ${this.position} is invalid`)}const s={x:this.start.getAbsoluteX(),y:r},o={x:this.stop.getAbsoluteX(),y:r};L$5("Rendering TextBracket: start:",s,"stop:",o,"y:",r);const a=this.render_options.bracket_height*this.position;e.save(),this.applyStyle(e),e.fillText(this.text,s.x,s.y);let l=e.measureText(this.text).width;l>0||(l=10*this.text.length);let c=e.measureText("M").width;c>0||(c=20);const u=s.y-c/2.5;e.setFont(this.font.family,this.font.size/1.4,this.font.weight),e.fillText(this.superscript,s.x+l+1,u);let d=e.measureText(this.superscript).width;d>0||(d=12,this.superscript.includes("m")&&(d+=5));let g=e.measureText("M").width;g>0||(g=10);let m=s.x,y=u,b=o.x+this.stop.getGlyph().getWidth();this.position===TextBracket.Positions.TOP?(m+=l+d+5,y-=g/2.7):this.position===TextBracket.Positions.BOTTOM&&(y+=g/2.7,m+=l+2,this.render_options.underline_superscript||(m+=d)),this.render_options.dashed?(b<m+5&&this.position===TextBracket.Positions.TOP?b=m+5:b<m+d&&this.position===TextBracket.Positions.BOTTOM&&(b=m+d),Renderer.drawDashedLine(e,m,y,b,y,this.render_options.dash),this.render_options.show_bracket&&Renderer.drawDashedLine(e,b,y+1*this.position,b,y+a,this.render_options.dash)):(e.beginPath(),e.moveTo(m,y),e.lineTo(b,y),this.render_options.show_bracket&&e.lineTo(b,y+a),e.stroke(),e.closePath()),e.restore()}}function L$4(...i){BarNote.DEBUG&&Vex.L("Vex.Flow.BarNote",i)}class BarNote extends Note{constructor(e=Barline.type.SINGLE){super({duration:"b"}),this.setAttribute("type","BarNote"),this.metrics={widths:{}};const r=Barline.type;this.metrics.widths={[r.SINGLE]:8,[r.DOUBLE]:12,[r.END]:15,[r.REPEAT_BEGIN]:14,[r.REPEAT_END]:14,[r.REPEAT_BOTH]:18,[r.NONE]:0},this.ignore_ticks=!0,this.setType(e)}getType(){return this.type}setType(e){return this.type=typeof e=="string"?Barline.typeString[e]:e,this.setWidth(this.metrics.widths[this.type]),this}getBoundingBox(){return super.getBoundingBox()}addToModifierContext(){return this}preFormat(){return this.setPreFormatted(!0),this}draw(){if(this.checkContext(),!this.stave)throw new Vex.RERR("NoStave","Can't draw without a stave.");L$4("Rendering bar line at: ",this.getAbsoluteX());const e=new Barline(this.type);e.setX(this.getAbsoluteX()),e.draw(this.stave),this.setRendered()}}class GhostNote extends StemmableNote{constructor(e){if(!e)throw new Vex.RuntimeError("BadArguments","Ghost note must have valid initialization data to identify duration.");let r;if(typeof e=="string")r={duration:e};else if(typeof e=="object")r=e;else throw new Vex.RuntimeError("BadArguments","Ghost note must have valid initialization data to identify duration.");super(r),this.setAttribute("type","GhostNote"),this.setWidth(0)}isRest(){return!0}setStave(e){super.setStave(e)}addToModifierContext(){return this}preFormat(){return this.setPreFormatted(!0),this}draw(){if(!this.stave)throw new Vex.RERR("NoStave","Can't draw without a stave.");this.setRendered();for(let e=0;e<this.modifiers.length;++e){const r=this.modifiers[e];r.setContext(this.context),r.drawWithStyle()}}}class Tremolo extends Modifier{static get CATEGORY(){return"tremolo"}static get YOFFSETSTEMUP(){return-9}static get YOFFSETSTEMDOWN(){return-21}static get XOFFSETSTEMUP(){return 6}static get XOFFSETSTEMDOWN(){return-2}constructor(e,r){super(),this.setAttribute("type","Tremolo"),this.num=e,this.note=null,this.index=null,this.position=Modifier.Position.CENTER,this.code="v74",this.y_spacing_scale=1,this.extra_stroke_scale=1,this.y_offset_for_beam=5,this.noteTremoloList=[],r&&Array.isArray(r)&&(this.noteTremoloList=r)}getCategory(){return Tremolo.CATEGORY}getShift_x(){let e=0;if(this.noteTremoloList.length===2)try{e=this.noteTremoloList[0].formatterMetrics.freedom.right/1.5,e=isNaN(e)?0:-e}catch(r){}return e}draw(){if(this.checkContext(),!(this.note&&this.index!=null))throw new Vex.RERR("NoAttachedNote","Can't draw Tremolo without a note and index.");this.setRendered();const e=this.note.getStemDirection();this.y_spacing=4*e*this.y_spacing_scale;let s=this.note.getModifierStartXY(this.position,this.index).x,o=this.note.stem.getExtents().topY,a=this.note.getCategory()==="gracenotes"?GraceNote.SCALE:1;a*=this.extra_stroke_scale,e<0?o+=Tremolo.YOFFSETSTEMDOWN*a:o+=Tremolo.YOFFSETSTEMUP*a,this.note.beam&&(o+=this.y_offset_for_beam*e),this.font={family:"Arial",size:16*a,weight:""},this.render_options={font_scale:35*a,stroke_px:3,stroke_spacing:10*a},s+=e<0?Tremolo.XOFFSETSTEMDOWN:Tremolo.XOFFSETSTEMUP;const l=this.getShift_x();s+=l;for(let c=0;c<this.num;++c)Glyph.renderGlyph(this.context,s,o,this.render_options.font_scale,this.code),o+=this.y_spacing}}function L$3(...i){Crescendo.DEBUG&&Vex.L("Vex.Flow.Crescendo",i)}function renderHairpin(i,e){const r=e.begin_x,s=e.end_x,o=e.y,a=e.height/2;i.beginPath(),e.reverse?(i.moveTo(r,o-a),i.lineTo(s,o),i.lineTo(r,o+a)):(i.moveTo(s,o-a),i.lineTo(r,o),i.lineTo(s,o+a)),i.stroke(),i.closePath()}class Crescendo extends Note{constructor(e){super(e),this.setAttribute("type","Crescendo"),this.decrescendo=!1,this.line=e.line||0,this.height=15,Vex.Merge(this.render_options,{extend_left:0,extend_right:0,y_shift:0})}setLine(e){return this.line=e,this}setHeight(e){return this.height=e,this}setDecrescendo(e){return this.decrescendo=e,this}preFormat(){return this.preFormatted=!0,this}draw(){this.checkContext(),this.setRendered();const e=this.getTickContext(),r=TickContext.getNextContext(e),s=this.getAbsoluteX(),o=r?r.getX():this.stave.x+this.stave.width,a=this.stave.getYForLine(this.line+-3)+1;L$3("Drawing ",this.decrescendo?"decrescendo ":"crescendo ",this.height,"x",s-o),renderHairpin(this.context,{begin_x:s-this.render_options.extend_left,end_x:o+this.render_options.extend_right,y:a+this.render_options.y_shift,height:this.height,reverse:this.decrescendo})}}function L$2(...i){Parser.DEBUG&&Vex.L("Vex.Flow.Parser",i)}const X$2=Vex.MakeException("ParserError");function flattenMatches(i){return i.matchedString!==void 0?i.matchedString:i.results?flattenMatches(i.results):i.length===1?flattenMatches(i[0]):i.length===0?null:i.map(flattenMatches)}class Parser{constructor(e){this.grammar=e}parse(e){this.line=e,this.pos=0,this.errorPos=-1;const r=this.expect(this.grammar.begin());return r.errorPos=this.errorPos,r}matchFail(e){this.errorPos===-1&&(this.errorPos=this.pos),this.pos=e}matchSuccess(){this.errorPos=-1}matchToken(e,r=!1){const s=r?new RegExp("^(("+e+"))"):new RegExp("^(("+e+")\\s*)"),a=this.line.slice(this.pos).match(s);return a!==null?{success:!0,matchedString:a[2],incrementPos:a[1].length,pos:this.pos}:{success:!1,pos:this.pos}}expectOne(e,r=!1){const s=[],o=this.pos;let a=!0,l=!1;r=r===!0||e.maybe===!0;for(let d=0;d<e.expect.length;d++){const g=e.expect[d],m=this.pos,y=this.expect(g);if(y.success){if(s.push(y),l=!0,e.or)break}else if(a=!1,!e.or){this.pos=m;break}}const c=e.or&&l||a,u=c||r===!0;return r&&!c&&(this.pos=o),u?this.matchSuccess():this.matchFail(o),{success:u,results:s,numMatches:c?1:0}}expectOneOrMore(e,r=!1){const s=[],o=this.pos;let a=0,l=!0;do{const u=this.expectOne(e);u.success?(a++,s.push(u.results)):l=!1}while(l);const c=a>0||r===!0;return r&&!(a>0)&&(this.pos=o),c?this.matchSuccess():this.matchFail(o),{success:c,results:s,numMatches:a}}expectZeroOrMore(e){return this.expectOneOrMore(e,!0)}expect(e){L$2("Evaluating rules:",e);let r;if(!e)throw new X$2("Invalid Rule: "+e,e);const s=e.bind(this.grammar)();if(s.token)r=this.matchToken(s.token,s.noSpace===!0),r.success&&(this.pos+=r.incrementPos);else if(s.expect)s.oneOrMore?r=this.expectOneOrMore(s):s.zeroOrMore?r=this.expectZeroOrMore(s):r=this.expectOne(s);else throw new X$2("Bad grammar! No `token` or `expect` property",s);return r.matches=[],r.results&&r.results.forEach(o=>r.matches.push(flattenMatches(o))),s.run&&r.success&&s.run(r),r}}function L$1(...i){EasyScore.DEBUG&&Vex.L("Vex.Flow.EasyScore",i)}const X$1=Vex.MakeException("EasyScoreError");class Grammar{constructor(e){this.builder=e}begin(){return this.LINE}LINE(){return{expect:[this.PIECE,this.PIECES,this.EOL]}}PIECE(){return{expect:[this.CHORDORNOTE,this.PARAMS],run:()=>this.builder.commitPiece()}}PIECES(){return{expect:[this.COMMA,this.PIECE],zeroOrMore:!0}}PARAMS(){return{expect:[this.DURATION,this.TYPE,this.DOTS,this.OPTS]}}CHORDORNOTE(){return{expect:[this.CHORD,this.SINGLENOTE],or:!0}}CHORD(){return{expect:[this.LPAREN,this.NOTES,this.RPAREN],run:e=>this.builder.addChord(e.matches[1])}}NOTES(){return{expect:[this.NOTE],oneOrMore:!0}}NOTE(){return{expect:[this.NOTENAME,this.ACCIDENTAL,this.OCTAVE]}}SINGLENOTE(){return{expect:[this.NOTENAME,this.ACCIDENTAL,this.OCTAVE],run:e=>this.builder.addSingleNote(e.matches[0],e.matches[1],e.matches[2])}}ACCIDENTAL(){return{expect:[this.ACCIDENTALS],maybe:!0}}DOTS(){return{expect:[this.DOT],zeroOrMore:!0,run:e=>this.builder.setNoteDots(e.matches[0])}}TYPE(){return{expect:[this.SLASH,this.MAYBESLASH,this.TYPES],maybe:!0,run:e=>this.builder.setNoteType(e.matches[2])}}DURATION(){return{expect:[this.SLASH,this.DURATIONS],maybe:!0,run:e=>this.builder.setNoteDuration(e.matches[1])}}OPTS(){return{expect:[this.LBRACKET,this.KEYVAL,this.KEYVALS,this.RBRACKET],maybe:!0}}KEYVALS(){return{expect:[this.COMMA,this.KEYVAL],zeroOrMore:!0}}KEYVAL(){const e=r=>r.slice(1,-1);return{expect:[this.KEY,this.EQUALS,this.VAL],run:r=>this.builder.addNoteOption(r.matches[0],e(r.matches[2]))}}VAL(){return{expect:[this.SVAL,this.DVAL],or:!0}}KEY(){return{token:"[a-zA-Z][a-zA-Z0-9]*"}}DVAL(){return{token:'["][^"]*["]'}}SVAL(){return{token:"['][^']*[']"}}NOTENAME(){return{token:"[a-gA-G]"}}OCTAVE(){return{token:"[0-9]+"}}ACCIDENTALS(){return{token:"bbs|bb|bss|bs|b|db|d|##|#|n|\\+\\+-|\\+-|\\+\\+|\\+|k|o"}}DURATIONS(){return{token:"[0-9whq]+"}}TYPES(){return{token:"[rRsSxX]"}}LPAREN(){return{token:"[(]"}}RPAREN(){return{token:"[)]"}}COMMA(){return{token:"[,]"}}DOT(){return{token:"[.]"}}SLASH(){return{token:"[/]"}}MAYBESLASH(){return{token:"[/]?"}}EQUALS(){return{token:"[=]"}}LBRACKET(){return{token:"\\["}}RBRACKET(){return{token:"\\]"}}EOL(){return{token:"$"}}}class Builder{constructor(e){this.factory=e,this.commitHooks=[],this.reset()}reset(e={}){this.options={stem:"auto",clef:"treble"},this.elements={notes:[],accidentals:[]},this.rollingDuration="8",this.resetPiece(),Object.assign(this.options,e)}getFactory(){return this.factory}getElements(){return this.elements}addCommitHook(e){this.commitHooks.push(e)}resetPiece(){L$1("resetPiece"),this.piece={chord:[],duration:this.rollingDuration,dots:0,type:void 0,options:{}}}setNoteDots(e){L$1("setNoteDots:",e),e&&(this.piece.dots=e.length)}setNoteDuration(e){L$1("setNoteDuration:",e),this.rollingDuration=this.piece.duration=e||this.rollingDuration}setNoteType(e){L$1("setNoteType:",e),e&&(this.piece.type=e)}addNoteOption(e,r){L$1("addNoteOption: key:",e,"value:",r),this.piece.options[e]=r}addNote(e,r,s){L$1("addNote:",e,r,s),this.piece.chord.push({key:e,accid:r,octave:s})}addSingleNote(e,r,s){L$1("addSingleNote:",e,r,s),this.addNote(e,r,s)}addChord(e){L$1("startChord"),typeof e[0]!="object"?this.addSingleNote(e[0]):e.forEach(r=>{r&&this.addNote(...r)}),L$1("endChord")}commitPiece(){L$1("commitPiece");const{factory:e}=this;if(!e)return;const r={...this.options,...this.piece.options},{stem:s,clef:o}=r,a=s.toLowerCase()==="auto",l=!a&&s.toLowerCase()==="up"?StaveNote.STEM_UP:StaveNote.STEM_DOWN,{chord:c,duration:u,dots:d,type:g}=this.piece,m=c.map(A=>A.key+"/"+A.octave),y=e.StaveNote({keys:m,duration:u,dots:d,type:g,clef:o,auto_stem:a});a||y.setStemDirection(l);const b=c.map(A=>A.accid||null);b.forEach((A,S)=>{A&&y.addAccidental(S,e.Accidental({type:A}))});for(let A=0;A<d;A++)y.addDotToAll();this.commitHooks.forEach(A=>A(r,y,this)),this.elements.notes.push(y),this.elements.accidentals.concat(b),this.resetPiece()}}function setId({id:i},e){i!==void 0&&e.setAttribute("id",i)}function setClass(i,e){if(!i.class)return;const r=/\s*,\s*/;i.class.split(r).forEach(s=>e.addClass(s))}class EasyScore{constructor(e={}){this.setOptions(e),this.defaults={clef:"treble",time:"4/4",stem:"auto"}}set(e){return Object.assign(this.defaults,e),this}setOptions(e){return this.options={factory:null,builder:null,commitHooks:[setId,setClass,Articulation$1.easyScoreHook],throwOnError:!1,...e},this.factory=this.options.factory,this.builder=this.options.builder||new Builder(this.factory),this.grammar=new Grammar(this.builder),this.parser=new Parser(this.grammar),this.options.commitHooks.forEach(r=>this.addCommitHook(r)),this}setContext(e){return this.factory&&this.factory.setContext(e),this}parse(e,r={}){this.builder.reset(r);const s=this.parser.parse(e);if(!s.success&&this.options.throwOnError)throw new X$1("Error parsing line: "+e,s);return s}beam(e,r={}){return this.factory.Beam({notes:e,options:r}),e}tuplet(e,r={}){return this.factory.Tuplet({notes:e,options:r}),e}notes(e,r={}){return r={clef:this.defaults.clef,stem:this.defaults.stem,...r},this.parse(e,r),this.builder.getElements().notes}voice(e,r){return r={time:this.defaults.time,...r},this.factory.Voice(r).addTickables(e)}addCommitHook(e){return this.builder.addCommitHook(e)}}function initGroup(){return{notes:[],finish:!1,total:0,staveId:""}}let _text_width=null,tone="C",group=initGroup(),_denominator="",_numerator="",ornamentGroup="";class NumberedNote extends StaveNote{static get CATEGORY(){return"numberednotes"}static accidentalAndKey(e){switch(e){case"G":return{4:"#"};case"D":return{1:"#",4:"#"};case"A":return{1:"#",4:"#",5:"#"};case"E":return{1:"#",2:"#",4:"#",5:"#"};case"B":return{1:"#",2:"#",4:"#",5:"#",6:"#"};case"F#":return{1:"#",2:"#",3:"#",4:"#",5:"#",6:"#"};case"C#":return{1:"#",2:"#",3:"#",4:"#",5:"#",6:"#",7:"#"};case"F":return{7:"b"};case"Bb":return{7:"b",3:"b"};case"Eb":return{7:"b",3:"b",6:"b"};case"Ab":return{7:"b",2:"b",3:"b",6:"b"};case"Db":return{7:"b",2:"b",3:"b",5:"b",6:"b"};case"Gb":return{7:"b",1:"b",2:"b",3:"b",5:"b",6:"b"};case"Cb":return{7:"b",1:"b",2:"b",3:"b",4:"b",5:"b",6:"b"};default:return{}}}static accidentalMap(e){switch(e){case"C":return"";case"F":case"Bb":case"Eb":case"Ab":case"Db":case"Gb":case"Cb":return{bb:"b",b:"",n:"#","#":"##"};default:return{b:"bb",n:"b","#":"","##":"#"}}}static get noteLift(){switch(tone){case"G":return["7"];case"D":return["7","3"];case"A":return["7","3","6"];case"E":return["2","6","3","7"];case"B":return["5","2","6","3","7"];case"F#":return["1","5","2","6","3","7"];case"C#":return["4","1","5","2","6","3","7"];case"F":return["4"];case"Bb":return["1","4"];case"Eb":return["5","1","4"];case"Ab":return["2","5","1","4"];case"Db":return["6","2","5","1","4"];case"Gb":return["3","6","2","5","1","4"];case"Cb":return["7","3","6","2","5","1","4"]}}static get longDurationLine(){return{1:3,2:1,6:2}}static get numberedDurationLine(){return{8:1,16:2,32:3,64:4,128:5}}static get durationTime(){return{8:6144,4:4096}}constructor(e){super(e),this.setAttribute("type","NumberedNote"),tone=e.keyString,this.ornament=!!e.ornament,this.line=0,this.keys=e.keys||[],this.fontSize=20,this.offset_x=0,this.offset_y=0,this.note_tones=[],this.duration_lines=0,this.long_duration_lines=0,this.note_size=e.note_size||16;const r=Flow.sanitizeDuration(this.duration);var s=NumberedNote.numberedDurationLine[r.toString()];if(s&&(this.duration_lines=s),s=NumberedNote.longDurationLine[r.toString()],s&&(this.long_duration_lines=s),!_text_width){var o="__$text_wraper$$__";let l=document.createElement("canvas");l.id=o,document.body.append(l);const c=document.getElementById(o),u=c.getContext("2d");u.font="Arial 22px";var a=u.measureText("5");_text_width=a.width+2,document.body.removeChild(c)}}getCategory(){return NumberedNote.CATEGORY}setKeySignature(e){this.keySignature=e}preFormat(){this.preFormatted||(this.modifierContext&&this.modifierContext.preFormat(),this.setWidth(this.full_width),this.setPreFormatted(!0))}filterNote(){if(window&&window.sett&&window.sett.keySignature||!this.keys||!this.keys.length)return;const e=NumberedNote.accidentalMap(tone);if(!e)return;const r=NumberedNote.noteLift;if(!r)return;var s=this.keys[0].split("/"),o=s[0];o==="b"&&(o="R"),o=o.replace(new RegExp("#","g"),""),o=o.replace(new RegExp("n","g"),""),o.length>1&&(o=o.replace(new RegExp("b","g"),""));const a=NumberedNoteHead.numberedNotationMapping[o.toUpperCase()];if(r.includes(a))for(let l=0;l<this.modifiers.length;l++){const c=this.modifiers[l];if(c.getAttribute("type")==="Accidental"&&c.accidental){const u=e[c.type];u?c.accidental=Flow.accidentalCodes(u):this.modifiers.splice(l,1)}}}preFormatModifier(){let e=0,r=0;this.filterNote(),this.modifiers.forEach((s,o)=>{switch(s.getAttribute("type")){case"Accidental":s.render_options.font_scale=this.note_width*1.4,s.x_shift=2,s.y_shift=this.unit_height/2,this.ornament&&(s.render_options.font_scale=this.note_width,s.x_shift=14,s.y_shift=-10);break;case"Stroke":s.x_shift=-1*e,s.y_shift=1*this.unit_height;break;case"Dot":s.x_shift=r*this.duration_dot_width+7,s.y_shift=1*this.unit_height,r++;break;case"Ornament":s.y_shift=-3;break;default:s.y_shift=1*this.unit_height}s.reset&&s.reset(),e+=s.getWidth()/2})}handleDeleteDot(){for(let e=0;e<this.modifiers.length;e++)this.modifiers[e].attrs.type=="Dot"&&this.modifiers.splice(e,1)}calcGroup(){var l;if(group.staveId!=this.stave.attrs.id&&(this.drawDurationLoneLine(),group=initGroup()),this.stave&&this.stave.timeSignature&&((l=this.stave.timeSignature)!=null&&l.denominator)&&(_denominator=this.stave.timeSignature.denominator,_numerator=this.stave.timeSignature.numerator),!_denominator||!_numerator)return;let e=NumberedNote.durationTime[_denominator],r=this.formatterMetrics.duration.split("/").filter(c=>c),s=r.length?r[0]/r[1]:0;if(this.ornament)return;if(s===0)return this.long_duration_lines=this.intrinsicTicks/e-1,this.long_duration_lines>=_numerator&&(this.long_duration_lines=_numerator-1),_denominator==8&&(this.long_duration_lines=0,_numerator==3&&this.draw_dot(this.context,this.bottom_x+25,this.bottom_y-30,this.dot_width),_numerator==6&&(this.draw_dot(this.context,this.bottom_x+25,this.bottom_y-30,this.dot_width),new Glyph("v0",40).render(this.context,this.bottom_x+40,this.top_y),this.draw_dot(this.context,this.bottom_x+65,this.bottom_y-30,this.dot_width))),group=initGroup();let o={lines:this.duration_lines,duration:s,id:this.attrs.id,x:this.x-this.duration_line_space/2-this.left_width,y:this.y,width:this.full_width};s>e*2&&(this.long_duration_lines=parseInt(s/e)-1,this.handleDeleteDot()),ornamentGroup&&(o.x+=this.note_width),group.notes.push(o);let a=group.notes.reduce((c,u)=>c+u.duration,0);a=parseInt(a),a>e&&(a-=e),a>e-10&&a<e+10&&(group.finish=!0,group.notes.length===1&&(group=initGroup()),group.notes.filter(u=>u.lines===0).length&&(this.drawDurationLoneLine(),group=initGroup()))}draw(){if(this.checkContext(),!this.stave)throw new Vex.RERR("NoStave","Can't draw without a stave.");let e=this.context;e.save(),e.setFont("Arial",this.note_height,"normal"),this.setAttribute("el",e.openGroup("stavenote",this.getAttribute("id"))),e.openGroup("note",null,{pointerBBox:!0});let r=this.getAbsoluteX()+2.5;this.x=r;let s=this.stave.getYForLine(2)+this.note_height/2;this.y=s,this.buildToneHeads(),this.preFormatModifier(),this.applyStyle(),this.note_tones.forEach(o=>{o!=null&&o.key.includes("X2")?o.draw(e,"isX"):o.draw(e)}),e.openGroup("modifier",null,{pointerBBox:!0}),this.drawModifiers(),e.closeGroup(),e.closeGroup(),e.closeGroup(),this.calcGroup(),group.staveId=this.stave.attrs.id,this.drawDurationLine(e,{}),this.drawLongDurationLines(e),this.restoreStyle(),this.setRendered(),this.ornament?ornamentGroup?ornamentGroup=Object.assign(ornamentGroup,{lines:this.duration_lines,id:this.attrs.id,x:this.x-this.duration_line_space/2-this.left_width,width:this.full_width}):ornamentGroup={lines:this.duration_lines,id:this.attrs.id,x:this.x-this.duration_line_space/2-this.left_width,width:this.full_width}:ornamentGroup=""}drawDurationLoneLine(e,r){e=e||this.context;let s=r||this.y+this.duration_line_space;for(let o=0;o<5;o++){let a=[],l=0;for(let c=0;c<group.notes.length;c++){let u=group.notes[c];if(l==c&&u.lines>o)a.push(u),l++;else{if(a.length>1){let d=a.length-1;s=a[0].y+this.duration_line_space,e.rect(a[0].x,s+o*3,a[d].x-a[0].x+a[d].width,.5)}a=[],l=c+1}}if(a.length>1){let c=a.length-1;s=a[0].y+this.duration_line_space,e.rect(a[0].x,s+o*3,a[c].x-a[0].x+a[c].width,.5)}}}draw_dot(e,r,s,o){e.openGroup("numbered-note-dot"),e.beginPath(),e.arc(r,s,o,0,2*Math.PI),e.closePath(),e.fill(),e.closeGroup()}drawDurationLine(e,r){var s=this.attrs.id+"-lines";e.openGroup("numbered_note_lines",s);var o,a;if(this.duration_lines>0){const u=this.duration_line_space;var l=this.full_width;if(r&&r.width&&(l=r.width),l<0&&(l=this.note_width),!r||typeof r.startX>"u"?o=this.x-u/2-this.left_width:o=r.startX,!r||typeof r.startY>"u"?a=this.y+this.duration_line_space:a=r.startY,group.finish&&(this.drawDurationLoneLine(e,a),group=initGroup()),this.ornament?(o+=12,a-=22,l=15,ornamentGroup&&(o-=10,l+=10)):ornamentGroup&&(o+=this.note_width,l-=this.note_width),l>0){for(var c=0;c<this.duration_lines;c++)e.rect(o,a,l,.5),a+=3;this.ornament&&(ornamentGroup?(ornamentGroup.startX=o,ornamentGroup.startY=a):ornamentGroup={startX:o,startY:a})}}!this.ornament&&ornamentGroup&&(o=ornamentGroup.startX,a=ornamentGroup.startY,o+=5,a-=3,e.beginPath(),e.moveTo(o,a),e.lineTo(o,a+5),e.lineTo(o+5,a+5),e.stroke()),e.closeGroup()}removeDurationLines(){var e="vf-"+this.attrs.id+"-lines",r=document.getElementById(e);r&&r.remove()}drawLongDurationLines(e){let r=this.x+this.note_width+this.right_width+10;for(let s=1;s<=this.long_duration_lines;s++)e.fillRect(r+2,this.y-this.full_height/2,this.long_duration_width,2),r+=this.long_duration_space+this.long_duration_width}setStave(e){return super.setStave(e),this}buildToneHeads(){this.offset_x=this.x,this.offset_y=this.y;let e=[];this.note_tones=[];for(let r=0;r<this.keys.length;r++){const s=new NumberedNoteHead({key:this.keys[r],x:this.ornament?this.note_x+12:this.note_x,y:this.ornament?this.offset_y-this.note_height:this.offset_y,idx:r,note:this});this.offset_y-=s.height+this.head_space,this.note_tones.push(s),e.push(this.offset_y);try{if(r===0&&window&&window.sett&&window.sett.keySignature){const o=NumberedNote.accidentalAndKey(tone)[s.meta.key],a=this.modifiers.findIndex(u=>u.getAttribute("type")==="Dot"),l=this.modifiers.findIndex(u=>u.getAttribute("type")==="Accidental"),c=this.modifiers.findIndex(u=>u.getAttribute("type")==="GraceNoteGroup");o&&l>-1?this.modifiers[l].accidental.code=o==="#"?"v18":"v44":a>=0||c>=0?a>=0&&this.modifiers.splice(a+1,1):this.modifiers.splice(l,1)}}catch(o){console.log("🚀 ~ error",o)}}this.setYs(e)}getFullWidth(){return this.full_width}getFullHeight(){return this.full_height}getLine(){return this.keyProps[0].line}get full_width(){return this.note_width+this.left_width+this.right_width+this.long_duration_line_width}get long_duration_line_width(){return(this.long_duration_width+this.long_duration_space)*this.long_duration_lines}get full_height(){return this.bottom_y-this.top_y}get note_width(){return this.note_size||0}get note_dot_width(){return 6}get note_height(){return this.unit_height}get unit_height(){return this.note_size||0}get note_x(){return this.x||0}get top_x(){return this.x||0}get top_y(){var e=this;return(this.y||0)-(e.note_tones.map(s=>(s.td+s.bd)*(e.dot_space+e.dot_width)).reduce((s,o)=>s+o,0)+this.note_height*this.note_tones.length-this.unit_height-this.note_tones[0].bd*(e.dot_space+e.dot_width)+(this.note_tones.length-1)*this.head_space)}get bottom_x(){return this.x||0}get bottom_y(){return(this.y||0)+this.unit_height+this.duration_lines*(this.duration_line_height+this.duration_line_space)+this.note_tones[0].meta.bd*(this.dot_width+this.dot_space)}get left_width(){return this.modifiers_width}get right_width(){return this.full_duration_dot_width}get duration_dot_width(){return 6}get full_duration_dot_width(){return this.duration_dot_width*this.getModifiersByCategory(Dot.CATEGORY).length}getModifiersByCategory(e){var r=[];return this.modifiers.forEach(s=>{s.getCategory()===e&&r.push(s)}),r}get head_space(){return 6}get duration_line_height(){return 2}get duration_line_space(){return 4}get dot_width(){return 2}get dot_space(){return 2}get long_duration_space(){return 10}get long_duration_width(){return 20}getWidth(){return this.full_width}get modifiers_width(){let e=0;return this.modifiers.forEach(r=>{e+=r.getWidth()}),e}}class NumberedNoteHead{static get numberedNotationMapping(){let e=tone;switch(window&&window.sett&&window.sett.keySignature&&(e="C"),e){case"A":return{C:"3",D:"4",E:"5",F:"6",G:"7",A:"1",B:"2",R:"0",X:"x",min:2.5,max:5.5};case"B":return{C:"2",D:"3",E:"4",F:"5",G:"6",A:"7",B:"1",R:"0",X:"x",min:-.5,max:2.5};case"D":return{C:"7",D:"1",E:"2",F:"3",G:"4",A:"5",B:"6",R:"0",X:"x",min:.5,max:3.5};case"E":return{C:"6",D:"7",E:"1",F:"2",G:"3",A:"4",B:"5",R:"0",X:"x",min:1,max:4};case"F":return{C:"5",D:"6",E:"7",F:"1",G:"2",A:"3",B:"4",R:"0",X:"x",min:1.5,max:4.5};case"G":case"Gb":return{C:"4",D:"5",E:"6",F:"7",G:"1",A:"2",B:"3",R:"0",X:"x",min:2,max:5};case"Eb":return{C:"6",D:"7",E:"1",F:"2",G:"3",A:"4",B:"5",R:"0",X:"x",min:1,max:4};case"D#":case"Db":return{C:"7",D:"1",E:"2",F:"3",G:"4",A:"5",B:"6",R:"0",X:"x",min:.5,max:3.5};case"F#":return{C:"5",D:"6",E:"7",F:"1",G:"2",A:"3",B:"4",R:"0",X:"x",min:1.5,max:4.5};case"Ab":case"G#":return{C:"3",D:"4",E:"5",F:"6",G:"7",A:"1",B:"2",R:"0",X:"x",min:-1,max:2};case"Bb":case"A#":return{C:"2",D:"3",E:"4",F:"5",G:"6",A:"7",B:"1",R:"0",X:"x",min:-.5,max:2.5};case"C#":case"Cb":default:return{C:"1",D:"2",E:"3",F:"4",G:"5",A:"6",B:"7",R:"0",X:"x",min:0,max:3}}}tone_to_numbered_key(){var e=this.key.split("/"),r=e[0];r==="b"&&(r="R"),r=r.replace(new RegExp("#","g"),""),r=r.replace(new RegExp("n","g"),""),r.length>1&&(r=r.replace(new RegExp("b","g"),"")),e.includes("X2")&&(r="X");let s=0,o=0;this.note.stave&&this.note.stave.options&&this.note.stave.options.keySignature&&(tone=this.note.stave.options.keySignature);const a=this.note.getLine();return a<NumberedNoteHead.numberedNotationMapping.min&&(s=Math.ceil(Math.abs((a-NumberedNoteHead.numberedNotationMapping.min)/3.5))),a>NumberedNoteHead.numberedNotationMapping.max&&(o=Math.ceil((a-NumberedNoteHead.numberedNotationMapping.max)/3.5)),r.toUpperCase()==="R"&&(s=0,o=0),{key:NumberedNoteHead.numberedNotationMapping[r.toUpperCase()],td:o,bd:s}}constructor(e){this.key=e.key,this.x=e.x||0,this.y=e.y||0,this.idx=e.idx||0,this.note=e.note||0,this.meta=this.tone_to_numbered_key(),this.noteSize=e.noteSize||16,this.td=this.meta.td,this.bd=this.meta.bd}draw(e,r){let s=this.y;r&&r==="isX"?e.openGroup("numbered-note-head","","","isX"):e.openGroup("numbered-note-head");var o=this.x+(this.note.ornament?-2:0);let a=s-this.note.unit_height-this.note.dot_space-(this.note.ornament?-4:2);for(let c=0;c<this.meta.td;c++)this.draw_dot(e,o+_text_width-1,a,this.note.dot_width),a-=this.note.dot_width+this.note.dot_space+4;new Glyph("v"+this.meta.key,this.note.ornament?30:40).render(e,o+1,s),s+=this.note.dot_space+this.note.dot_width-(this.note.ornament?2:0);for(let c=0;c<this.meta.bd;c++){if(this.idx===0){let u=this.note.duration_lines*(this.note.duration_line_height+this.note.duration_line_space);this.note.duration_lines>1&&(u-=this.note.duration_line_space),s+=u}this.draw_dot(e,o+_text_width,s,this.note.dot_width),s+=this.note.dot_width+this.note.dot_space}e.closeGroup()}get height(){return this.note.note_height+(this.meta.bd+this.meta.td)*(this.note.dot_width+this.note.dot_space)}draw_dot(e,r,s,o){e.openGroup("numbered-note-dot"),e.beginPath(),e.arc(r,s,o,0,2*Math.PI),e.closePath(),e.fill(),e.closeGroup()}}function L(...i){Factory.DEBUG&&Vex.L("Vex.Flow.Factory",i)}const X=Vex.MakeException("FactoryError");function setDefaults$1(i={},e){const r=e.options;return i=Object.assign(e,i),i.options=Object.assign(r,i.options),i}class Factory{constructor(e){L("New factory: ",e);const r={stave:{space:10},renderer:{context:null,elementId:"",backend:Renderer.Backends.SVG,width:500,height:200,background:"#FFF"},font:{face:"Arial",point:10,style:""}};this.options=r,this.setOptions(e)}static newFromElementId(e,r=500,s=200){return new Factory({renderer:{elementId:e,width:r,height:s}})}reset(){this.renderQ=[],this.systems=[],this.staves=[],this.voices=[],this.stave=null}getOptions(){return this.options}setOptions(e){for(const r of["stave","renderer","font"])Object.assign(this.options[r],e[r]);(this.options.renderer.elementId!==null||this.options.renderer.context)&&this.initRenderer(),this.reset()}initRenderer(){const{elementId:e,backend:r,width:s,height:o,background:a}=this.options.renderer;if(e==="")throw new X("HTML DOM element not set in Factory");this.context=Renderer.buildContext(e,r,s,o,a)}getContext(){return this.context}setContext(e){return this.context=e,this}getStave(){return this.stave}getVoices(){return this.voices}space(e){return this.options.stave.space*e}Stave(e){e=setDefaults$1(e,{x:0,y:0,width:this.options.renderer.width-this.space(1),options:{spacing_between_lines_px:this.options.stave.space}});const r=new Stave(e.x,e.y,e.width,e.options);return this.staves.push(r),r.setContext(this.context),this.stave=r,r}TabStave(e){e=setDefaults$1(e,{x:0,y:0,width:this.options.renderer.width-this.space(1),options:{spacing_between_lines_px:this.options.stave.space*1.3}});const r=new TabStave(e.x,e.y,e.width,e.options);return this.staves.push(r),r.setContext(this.context),this.stave=r,r}StaveNote(e){const r=new StaveNote(e);return this.stave&&r.setStave(this.stave),r.setContext(this.context),this.renderQ.push(r),r}GhostNote(e){const r=new GhostNote(e);return this.stave&&r.setStave(this.stave),r.setContext(this.context),this.renderQ.push(r),r}TextNote(e){const r=new TextNote(e);return this.stave&&r.setStave(this.stave),r.setContext(this.context),this.renderQ.push(r),r}NumberedNote(e){const r=new NumberedNote(e);return this.stave&&r.setStave(this.stave),r.setContext(this.context),this.renderQ.push(r),r}BarNote(e){e=setDefaults$1(e,{type:"single",options:{}});const r=new BarNote(e.type);return this.stave&&r.setStave(this.stave),r.setContext(this.context),this.renderQ.push(r),r}ClefNote(e){e=setDefaults$1(e,{type:"treble",options:{size:"default"}});const r=new ClefNote(e.type,e.options.size,e.options.annotation);return this.stave&&r.setStave(this.stave),r.setContext(this.context),this.renderQ.push(r),r}TimeSigNote(e){e=setDefaults$1(e,{time:"4/4",options:{}});const r=new TimeSigNote(e.time);return this.stave&&r.setStave(this.stave),r.setContext(this.context),this.renderQ.push(r),r}KeySigNote(e){const r=new KeySigNote(e.key,e.cancelKey,e.alterKey);return this.stave&&r.setStave(this.stave),r.setContext(this.context),this.renderQ.push(r),r}TabNote(e){const r=new TabNote$1(e);return this.stave&&r.setStave(this.stave),r.setContext(this.context),this.renderQ.push(r),r}GraceNote(e){const r=new GraceNote(e);return this.stave&&r.setStave(this.stave),r.setContext(this.context),r}GraceNoteGroup(e){const r=new GraceNoteGroup(e.notes,e.slur);return r.setContext(this.context),r}Accidental(e){e=setDefaults$1(e,{type:null,options:{}});const r=new Accidental(e.type);return r.setContext(this.context),r}Annotation(e){e=setDefaults$1(e,{text:"p",vJustify:"below",hJustify:"center",fontFamily:"Times",fontSize:14,fontWeight:"bold italic",options:{}});const r=new Annotation(e.text);return r.setJustification(e.hJustify),r.setVerticalJustification(e.vJustify),r.setFont(e.fontFamily,e.fontSize,e.fontWeight),r.setContext(this.context),r}Articulation(e){e=setDefaults$1(e,{type:"a.",position:"above",options:{}});const r=new Articulation$1(e.type);return r.setPosition(e.position),r.setContext(this.context),r}TextDynamics(e){e=setDefaults$1(e,{text:"p",duration:"q",dots:0,line:0,options:{}});const r=new TextDynamics({text:e.text,line:e.line,duration:e.duration,dots:e.dots});return this.stave&&r.setStave(this.stave),r.setContext(this.context),this.renderQ.push(r),r}Fingering(e){e=setDefaults$1(e,{number:"0",position:"left",options:{}});const r=new FretHandFinger(e.number);return r.setPosition(e.position),r.setContext(this.context),r}StringNumber(e){e=setDefaults$1(e,{number:"0",position:"left",options:{}});const r=new StringNumber(e.number);return r.setPosition(e.position),r.setContext(this.context),r}TickContext(){return new TickContext().setContext(this.context)}ModifierContext(){return new ModifierContext}MultiMeasureRest(e){const r=new MultiMeasureRest(e.number_of_measures,e);return r.setContext(this.context),this.renderQ.push(r),r}Voice(e){e=setDefaults$1(e,{time:"4/4",options:{}});const r=new Voice$1(e.time);return this.voices.push(r),r}StaveConnector(e){e=setDefaults$1(e,{top_stave:null,bottom_stave:null,type:"double",options:{}});const r=new StaveConnector(e.top_stave,e.bottom_stave);return r.setType(e.type).setContext(this.context),this.renderQ.push(r),r}Formatter(){return new Formatter}Tuplet(e){e=setDefaults$1(e,{notes:[],options:{}});const r=new Tuplet$1(e.notes,e.options).setContext(this.context);return this.renderQ.push(r),r}Beam(e){e=setDefaults$1(e,{notes:[],options:{autoStem:!1,secondaryBeamBreaks:[]}});const r=new Beam$1(e.notes,e.options.autoStem).setContext(this.context);return r.breakSecondaryAt(e.options.secondaryBeamBreaks),this.renderQ.push(r),r}Curve(e){e=setDefaults$1(e,{from:null,to:null,options:{}});const r=new Curve(e.from,e.to,e.options).setContext(this.context);return this.renderQ.push(r),r}StaveTie(e){e=setDefaults$1(e,{from:null,to:null,first_indices:[0],last_indices:[0],text:null,options:{direction:void 0}});const r=new StaveTie({first_note:e.from,last_note:e.to,first_indices:e.first_indices,last_indices:e.last_indices},e.text);return e.options.direction&&r.setDirection(e.options.direction),r.setContext(this.context),this.renderQ.push(r),r}StaveLine(e){e=setDefaults$1(e,{from:null,to:null,first_indices:[0],last_indices:[0],options:{}});const r=new StaveLine({first_note:e.from,last_note:e.to,first_indices:e.first_indices,last_indices:e.last_indices});return e.options.text&&r.setText(e.options.text),e.options.font&&r.setFont(e.options.font),r.setContext(this.context),this.renderQ.push(r),r}VibratoBracket(e){e=setDefaults$1(e,{from:null,to:null,options:{harsh:!1}});const r=new VibratoBracket({start:e.from,stop:e.to});return e.options.line&&r.setLine(e.options.line),e.options.harsh&&r.setHarsh(e.options.harsh),r.setContext(this.context),this.renderQ.push(r),r}TextBracket(e){e=setDefaults$1(e,{from:null,to:null,text:"",options:{superscript:"",position:1}});const r=new TextBracket({start:e.from,stop:e.to,text:e.text,superscript:e.options.superscript,position:e.options.position});return e.options.line&&r.setLine(e.options.line),e.options.font&&r.setFont(e.options.font),r.setContext(this.context),this.renderQ.push(r),r}System(e={}){e.factory=this;const r=new System(e).setContext(this.context);return this.systems.push(r),r}EasyScore(e={}){return e.factory=this,new EasyScore(e)}PedalMarking(e={}){e=setDefaults$1(e,{notes:[],options:{style:"mixed"}});const r=new PedalMarking(e.notes);return r.setStyle(PedalMarking.StylesString[e.options.style]),r.setContext(this.context),this.renderQ.push(r),r}NoteSubGroup(e={}){e=setDefaults$1(e,{notes:[],options:{}});const r=new NoteSubGroup$1(e.notes);return r.setContext(this.context),r}draw(){this.systems.forEach(e=>e.setContext(this.context).format()),this.staves.forEach(e=>e.setContext(this.context).draw()),this.voices.forEach(e=>e.setContext(this.context).draw()),this.renderQ.forEach(e=>{e.isRendered()||e.setContext(this.context).draw()}),this.systems.forEach(e=>e.setContext(this.context).draw()),this.reset()}}function setDefaults(i,e){const r=e.options;return i=Object.assign(e,i),i.options=Object.assign(r,i.options),i}class System extends Element$1{constructor(e={}){super(),this.setAttribute("type","System"),this.setOptions(e),this.parts=[]}setOptions(e={}){this.options=setDefaults(e,{x:10,y:10,width:500,connector:null,spaceBetweenStaves:12,factory:null,debugFormatter:!1,formatIterations:0,options:{}}),this.factory=this.options.factory||new Factory({renderer:{el:null}})}setContext(e){return super.setContext(e),this.factory.setContext(e),this}addConnector(e="double"){return this.connector=this.factory.StaveConnector({top_stave:this.parts[0].stave,bottom_stave:this.parts[this.parts.length-1].stave,type:e}),this.connector}addStave(e){return e=setDefaults(e,{stave:null,voices:[],spaceAbove:0,spaceBelow:0,debugNoteMetrics:!1,options:{left_bar:!1}}),e.stave||(e.stave=this.factory.Stave({x:this.options.x,y:this.options.y,width:this.options.width,options:e.options})),e.voices.forEach(r=>r.setContext(this.context).setStave(e.stave).getTickables().forEach(s=>s.setStave(e.stave))),this.parts.push(e),e.stave}format(){const e=new Formatter;this.formatter=e;let r=this.options.y,s=0,o=[];const a=[];this.parts.forEach(c=>{r=r+c.stave.space(c.spaceAbove),c.stave.setY(r),e.joinVoices(c.voices),r=r+c.stave.space(c.spaceBelow),r=r+c.stave.space(this.options.spaceBetweenStaves),c.debugNoteMetrics&&(a.push({y:r,voice:c.voices[0]}),r+=15),o=o.concat(c.voices),s=Math.max(s,c.stave.getNoteStartX())}),this.parts.forEach(c=>c.stave.setNoteStartX(s));const l=this.options.width-(s-this.options.x)-Note.STAVEPADDING;e.format(o,l);for(let c=0;c<this.options.formatIterations;c++)e.tune();this.startX=s,this.debugNoteMetricsYs=a,this.lastY=r}draw(){const e=this.checkContext();this.setRendered(),this.options.debugFormatter&&Formatter.plotDebugging(e,this.formatter,this.startX,this.options.y,this.lastY),this.debugNoteMetricsYs.forEach(r=>{r.voice.getTickables().forEach(s=>Note.plotMetrics(e,s,r.y))})}}Vex.Flow=Flow;Vex.Flow.Element=Element$1;Vex.Flow.Fraction=Fraction;Vex.Flow.Renderer=Renderer;Vex.Flow.Formatter=Formatter;Vex.Flow.Music=Music;Vex.Flow.Glyph=Glyph;Vex.Flow.Stave=Stave;Vex.Flow.StaveNote=StaveNote;Vex.Flow.StaveModifier=StaveModifier;Vex.Flow.StaveTempo=StaveTempo;Vex.Flow.Voice=Voice$1;Vex.Flow.Accidental=Accidental;Vex.Flow.Beam=Beam$1;Vex.Flow.StaveTie=StaveTie;Vex.Flow.TabStave=TabStave;Vex.Flow.TabNote=TabNote$1;Vex.Flow.Bend=Bend;Vex.Flow.Vibrato=Vibrato;Vex.Flow.VibratoBracket=VibratoBracket;Vex.Flow.Note=Note;Vex.Flow.ModifierContext=ModifierContext;Vex.Flow.MultiMeasureRest=MultiMeasureRest;Vex.Flow.TickContext=TickContext;Vex.Flow.Articulation=Articulation$1;Vex.Flow.Annotation=Annotation;Vex.Flow.Barline=Barline;Vex.Flow.NoteHead=NoteHead;Vex.Flow.StaveConnector=StaveConnector;Vex.Flow.ClefNote=ClefNote;Vex.Flow.KeySignature=KeySignature;Vex.Flow.KeySigNote=KeySigNote;Vex.Flow.TimeSignature=TimeSignature;Vex.Flow.TimeSigNote=TimeSigNote;Vex.Flow.Stem=Stem;Vex.Flow.TabTie=TabTie;Vex.Flow.Clef=Clef;Vex.Flow.Dot=Dot;Vex.Flow.Modifier=Modifier;Vex.Flow.TabSlide=TabSlide;Vex.Flow.Tuplet=Tuplet$1;Vex.Flow.GraceNote=GraceNote;Vex.Flow.GraceTabNote=GraceTabNote;Vex.Flow.Tuning=Tuning;Vex.Flow.KeyManager=KeyManager;Vex.Flow.StaveHairpin=StaveHairpin;Vex.Flow.BoundingBox=BoundingBox;Vex.Flow.Stroke=Stroke;Vex.Flow.TextNote=TextNote;Vex.Flow.Curve=Curve;Vex.Flow.TextDynamics=TextDynamics;Vex.Flow.StaveLine=StaveLine;Vex.Flow.Ornament=Ornament;Vex.Flow.PedalMarking=PedalMarking;Vex.Flow.TextBracket=TextBracket;Vex.Flow.FretHandFinger=FretHandFinger;Vex.Flow.Repetition=Repetition$1;Vex.Flow.BarNote=BarNote;Vex.Flow.GhostNote=GhostNote;Vex.Flow.NoteSubGroup=NoteSubGroup$1;Vex.Flow.GraceNoteGroup=GraceNoteGroup;Vex.Flow.Tremolo=Tremolo;Vex.Flow.StringNumber=StringNumber;Vex.Flow.Crescendo=Crescendo;Vex.Flow.Volta=Volta;Vex.Flow.Font=Font;Vex.Flow.System=System;Vex.Flow.Factory=Factory;Vex.Flow.Parser=Parser;Vex.Flow.EasyScore=EasyScore;Vex.Flow.Registry=Registry;var SystemLinesEnum=(i=>(i[i.SingleThin=0]="SingleThin",i[i.DoubleThin=1]="DoubleThin",i[i.ThinBold=2]="ThinBold",i[i.BoldThinDots=3]="BoldThinDots",i[i.DotsThinBold=4]="DotsThinBold",i[i.DotsBoldBoldDots=5]="DotsBoldBoldDots",i[i.None=6]="None",i[i.Dotted=7]="Dotted",i[i.Dashed=8]="Dashed",i[i.Bold=9]="Bold",i[i.BoldThin=10]="BoldThin",i[i.DoubleBold=11]="DoubleBold",i[i.Tick=12]="Tick",i[i.Short=13]="Short",i))(SystemLinesEnum||{});class SystemLinesEnumHelper{static xmlBarlineStyleToSystemLinesEnum(e){return e==="regular"?0:e==="dotted"?7:e==="dashed"?8:e==="heavy"?9:e==="light-light"?1:e==="light-heavy"?2:e==="heavy-light"?10:e==="heavy-heavy"?11:e==="tick"?12:e==="short"?13:e==="none"?6:0}}class Matrix2D{constructor(){this.matrix=[];for(let e=0;e<2;e++){this.matrix[e]=[];for(let r=0;r<2;r++)this.matrix[e][r]=0}}static getRotationMatrix(e){const r=new Matrix2D,s=Math.cos(e),o=Math.sin(e);return r.matrix[0][0]=s,r.matrix[0][1]=-o,r.matrix[1][0]=o,r.matrix[1][1]=s,r}scalarMultiplication(e){for(let r=0;r<2;r++)for(let s=0;s<2;s++)this.matrix[r][s]*=e}getTransposeMatrix(){const e=new Matrix2D;for(let r=0;r<2;r++)for(let s=0;s<2;s++)e.matrix[r][s]=this.matrix[s][r];return e}vectorMultiplication(e){const r=new PointF2D;return r.x=e.x*this.matrix[0][0]+e.y*this.matrix[0][1],r.y=e.x*this.matrix[1][0]+e.y*this.matrix[1][1],r}}class MusicSheetErrors{constructor(){this.measureErrors={},this.errors=[],this.tempErrors=[]}finalizeMeasure(e){let r=this.measureErrors[e];r||(r=[]),this.measureErrors[e]=r.concat(this.tempErrors),this.tempErrors=[]}pushMeasureError(e){this.tempErrors.push(e)}push(e){this.errors.push(e)}}class Arpeggio{constructor(e,r=7){this.parentVoiceEntry=e,this.type=r,this.notes=[]}addNote(e){this.notes.push(e),e.Arpeggio=this}}var ArpeggioType=(i=>(i[i.BRUSH_DOWN=1]="BRUSH_DOWN",i[i.BRUSH_UP=2]="BRUSH_UP",i[i.ROLL_DOWN=3]="ROLL_DOWN",i[i.ROLL_UP=4]="ROLL_UP",i[i.RASQUEDO_DOWN=5]="RASQUEDO_DOWN",i[i.RASQUEDO_UP=6]="RASQUEDO_UP",i[i.ARPEGGIO_DIRECTIONLESS=7]="ARPEGGIO_DIRECTIONLESS",i))(ArpeggioType||{});class Beam{constructor(e=1,r=0){this.notes=[],this.extendedNoteList=[],this.BeamNumberOffsetToXML=0,this.AutoGenerated=!1,this.BeamNumber=e,this.BeamNumberOffsetToXML=r}get Notes(){return this.notes}set Notes(e){this.notes=e}get ExtendedNoteList(){return this.extendedNoteList}set ExtendedNoteList(e){this.extendedNoteList=e}addNoteToBeam(e){e&&(e.NoteBeam=this,this.notes.push(e),this.extendedNoteList.push(e))}}class Glissando{constructor(e){this.notes=[],this.XMLNumber=1,this.AddNote(e),this.StartNote=e,this.Direction=ColDirEnum.NotYetDefined}get Notes(){return this.notes}get Duration(){const e=new Fraction$1;for(const r of this.notes)e.Add(r.Length);return e}get Pitch(){return this.StartNote.Pitch}AddNote(e){this.notes.push(e),e.NoteGlissando=this,this.notes.length===2&&(this.notes[0].Pitch.getHalfTone()<this.notes[1].Pitch.getHalfTone()?this.Direction=ColDirEnum.Up:this.Direction=ColDirEnum.Down)}}class Voice{constructor(e,r){this.voiceEntries=[],this.volume=1,this.parent=e,this.visible=!0,this.audible=!0,this.following=!0,this.voiceId=r,this.uniqueVoiceId="I:"+this.parent.Id+" V: "+this.voiceId}get VoiceEntries(){return this.voiceEntries}get Parent(){return this.parent}get Visible(){return this.visible}set Visible(e){this.visible=e}get Audible(){return this.audible}set Audible(e){this.audible=e}get Following(){return this.following}set Following(e){this.following=e}get Solo(){return this.solo}set Solo(e){this.solo=e}get VoiceId(){return this.voiceId}get Volume(){return this.volume}set Volume(e){this.volume=e}toString(){return this.uniqueVoiceId}}class LinkedVoice extends Voice{constructor(e,r,s){super(e,r),this.master=s}get Master(){return this.master}}class Notehead{constructor(e,r,s=void 0){this.sourceNote=e,this.setShapeFromXml(r,s)}setShapeFromXml(e,r=void 0){this.shape=Notehead.ShapeTypeXmlToShape(e);let s=r;s===void 0&&(this.sourceNote?s=this.sourceNote.Length.Denominator>2:(loglevelExports.warn("notehead: sourceNote and filledXmlAttribute undefined."),s=!0)),this.filled=s}get SourceNote(){return this.sourceNote}get Shape(){return this.shape}get Filled(){return this.filled}static ShapeTypeXmlToShape(e){switch(e.toLowerCase()){case"normal":return 2;case"x":return 8;case"slash":return 4;case"diamond":return 1;case"square":return 5;case"la":return 5;case"do":case"triangle":return 6;case"inverted triangle":return 7;case"rectangle":return 3;case"circle-x":return 0;default:return loglevelExports.info("unsupported/unhandled xml notehead '"+e+"'. Using normal notehead."),2}}}var NoteHeadShape=(i=>(i[i.CIRCLEX=0]="CIRCLEX",i[i.DIAMOND=1]="DIAMOND",i[i.NORMAL=2]="NORMAL",i[i.RECTANGLE=3]="RECTANGLE",i[i.SLASH=4]="SLASH",i[i.SQUARE=5]="SQUARE",i[i.TRIANGLE=6]="TRIANGLE",i[i.TRIANGLE_INVERTED=7]="TRIANGLE_INVERTED",i[i.X=8]="X",i))(NoteHeadShape||{});class ITextTranslation{static translateText(e,r){if(!this.defaultTextTranslation)return r}}var NoteType=(i=>(i[i.UNDEFINED=0]="UNDEFINED",i[i._1024th=1]="_1024th",i[i._512th=2]="_512th",i[i._256th=3]="_256th",i[i._128th=4]="_128th",i[i._64th=5]="_64th",i[i._32nd=6]="_32nd",i[i._16th=7]="_16th",i[i.EIGTH=8]="EIGTH",i[i.QUARTER=9]="QUARTER",i[i.HALF=10]="HALF",i[i.WHOLE=11]="WHOLE",i[i.BREVE=12]="BREVE",i[i.LONG=13]="LONG",i[i.MAXIMA=14]="MAXIMA",i))(NoteType||{});class NoteTypeHandler{static NoteTypeToString(e){return this.NoteTypeXmlValues[e]}static StringToNoteType(e){const r=this.NoteTypeXmlValues.indexOf(e);return r!==-1?r:0}static getNoteDurationFromType(e){switch(e){case"1024th":return new Fraction$1(1,1024);case"512th":return new Fraction$1(1,512);case"256th":return new Fraction$1(1,256);case"128th":return new Fraction$1(1,128);case"64th":return new Fraction$1(1,64);case"32th":case"32nd":return new Fraction$1(1,32);case"16th":return new Fraction$1(1,16);case"eighth":return new Fraction$1(1,8);case"quarter":return new Fraction$1(1,4);case"half":return new Fraction$1(1,2);case"whole":return new Fraction$1(1,1);case"breve":return new Fraction$1(2,1);case"long":return new Fraction$1(4,1);case"maxima":return new Fraction$1(8,1);default:{const r=ITextTranslation.translateText("ReaderErrorMessages/NoteDurationError","Invalid note duration.");throw new MusicSheetReadingException(r)}}}}NoteTypeHandler.NoteTypeXmlValues=["","1024th","512th","256th","128th","64th","32nd","16th","eigth","quarter","half","whole","breve","long","maxima"];class OrnamentContainer{constructor(e){this.placement=PlacementEnum.Above,this.accidentalAbove=AccidentalEnum.NONE,this.accidentalBelow=AccidentalEnum.NONE,this.ornament=e}get GetOrnament(){return this.ornament}get AccidentalAbove(){return this.accidentalAbove}set AccidentalAbove(e){this.accidentalAbove=e}get AccidentalBelow(){return this.accidentalBelow}set AccidentalBelow(e){this.accidentalBelow=e}}var OrnamentEnum=(i=>(i[i.Trill=0]="Trill",i[i.Turn=1]="Turn",i[i.InvertedTurn=2]="InvertedTurn",i[i.DelayedTurn=3]="DelayedTurn",i[i.DelayedInvertedTurn=4]="DelayedInvertedTurn",i[i.Mordent=5]="Mordent",i[i.InvertedMordent=6]="InvertedMordent",i))(OrnamentEnum||{});class VerticalSourceStaffEntryContainer{constructor(e,r,s){this.staffEntries=[],this.comments=[],this.timestamp=r,this.staffEntries=new Array(s),this.parentMeasure=e}$get$(e){return this.staffEntries[e]}$set$(e,r){this.staffEntries[e]=r}get Timestamp(){return this.timestamp}set Timestamp(e){this.timestamp=e}get StaffEntries(){return this.staffEntries}set StaffEntries(e){this.staffEntries=e}get Comments(){return this.comments}set Comments(e){this.comments=e}get ParentMeasure(){return this.parentMeasure}set ParentMeasure(e){this.parentMeasure=e}getAbsoluteTimestamp(){return Fraction$1.plus(this.timestamp,this.parentMeasure.AbsoluteTimestamp)}}class SourceStaffEntry{constructor(e,r){this.voiceEntries=[],this.instructions=[],this.chordSymbolContainers=[],this.verticalContainerParent=e,this.parentStaff=r}get ParentStaff(){return this.parentStaff}get VerticalContainerParent(){return this.verticalContainerParent}get Timestamp(){if(this.VerticalContainerParent)return this.VerticalContainerParent.Timestamp}get AbsoluteTimestamp(){if(this.VerticalContainerParent)return Fraction$1.plus(this.VerticalContainerParent.ParentMeasure.AbsoluteTimestamp,this.VerticalContainerParent.Timestamp)}get VoiceEntries(){return this.voiceEntries}set VoiceEntries(e){this.voiceEntries=e}get Link(){return this.staffEntryLink}set Link(e){this.staffEntryLink=e}get Instructions(){return this.instructions}set Instructions(e){this.instructions=e}get ChordContainers(){return this.chordSymbolContainers}set ChordContainers(e){this.chordSymbolContainers=e}removeAllInstructionsOfTypeClefInstruction(){let e=0,r=0;for(;e<this.instructions.length;)this.instructions[e]instanceof ClefInstruction?(this.instructions.splice(e,1),r++):e++;return r}removeFirstInstructionOfTypeClefInstruction(){for(let e=0;e<this.instructions.length;e++)if(this.instructions[e]instanceof ClefInstruction)return this.instructions.splice(e,1),!0;return!1}removeAllInstructionsOfTypeKeyInstruction(){let e=0,r=0;for(;e<this.instructions.length;)this.instructions[e]instanceof KeyInstruction?(this.instructions.splice(e,1),r++):e++;return r}removeFirstInstructionOfTypeKeyInstruction(){for(let e=0;e<this.instructions.length;e++)if(this.instructions[e]instanceof KeyInstruction)return this.instructions.splice(e,1),!0;return!1}removeAllInstructionsOfTypeRhythmInstruction(){let e=0,r=0;for(;e<this.instructions.length;)this.instructions[e]instanceof RhythmInstruction?(this.instructions.splice(e,1),r++):e++;return r}removeFirstInstructionOfTypeRhythmInstruction(){for(let e=0;e<this.instructions.length;e++)if(this.instructions[e]instanceof RhythmInstruction)return this.instructions.splice(e,1),!0;return!1}calculateMinNoteLength(){let e=new Fraction$1(Number.MAX_VALUE,1);for(let r=0,s=this.VoiceEntries.length;r<s;++r){const o=this.VoiceEntries[r];for(let a=0,l=o.Notes.length;a<l;++a){const c=o.Notes[a];c.Length.lt(e)&&(e=c.Length)}}return e}calculateMaxNoteLength(e=!0){let r=new Fraction$1(0,1);for(let s=0,o=this.VoiceEntries.length;s<o;++s){const a=this.VoiceEntries[s];for(let l=0,c=a.Notes.length;l<c;++l){const u=a.Notes[l];if(e&&u.NoteTie){const d=Fraction$1.createFromFraction(u.Length);let g=!1;for(const m of u.NoteTie.Notes){if(m===u){g=!0;continue}g&&d.Add(m.Length)}r.lt(d)&&(r=d)}else r.lt(u.Length)&&(r=u.Length)}}return r}hasNotes(){for(let e=0,r=this.VoiceEntries.length;e<r;++e)if(this.VoiceEntries[e].Notes.length>0)return!0;return!1}hasTie(){for(let e=0,r=this.VoiceEntries.length;e<r;++e)if(this.VoiceEntries[e].hasTie())return!0;return!1}findLinkedNotes(e){for(let r=0,s=this.voiceEntries.length;r<s;++r){const o=this.voiceEntries[r];for(let a=0,l=o.Notes.length;a<l;++a){const c=o.Notes[a];c.ParentStaffEntry===this&&e.push(c)}}}get hasOnlyRests(){for(const e of this.voiceEntries)for(const r of e.Notes)if(!r.isRest())return!1;return!0}}class RepetitionInstructionComparer{static Compare(e,r){if(e.parentRepetition!==void 0&&r.parentRepetition){if(e.alignment===1&&r.alignment===1){if(e.parentRepetition.StartIndex<r.parentRepetition.StartIndex)return 1;if(e.parentRepetition.StartIndex>r.parentRepetition.StartIndex)return-1}if(e.alignment===0&&r.alignment===0){if(e.parentRepetition.EndIndex<r.parentRepetition.EndIndex)return 1;if(e.parentRepetition.EndIndex>r.parentRepetition.EndIndex)return-1}}return 0}}class RepetitionInstruction{constructor(e,r,s=1,o=void 0,a=void 0){this.endingIndices=void 0,this.measureIndex=e,a&&(this.endingIndices=a.slice()),this.type=r,this.alignment=s,this.parentRepetition=o}CompareTo(e){const r=e;if(this.measureIndex>r.measureIndex)return 1;if(this.measureIndex<r.measureIndex)return-1;if(this.alignment===0){if(r.alignment===1)return-1;switch(this.type){case 3:return 1;case 0:return r.type===3?-1:1;case 12:case 13:return r.type===12?1:-1}}else{if(r.alignment===0)return 1;switch(this.type){case 3:return-1;case 6:case 7:return r.type===3?1:-1;case 1:switch(r.type){case 3:case 6:case 7:return 1}return-1;case 8:case 9:case 10:case 11:case 4:case 5:case 2:return 1}}return 0}equals(e){if(this.measureIndex!==e.measureIndex||this.type!==e.type||this.alignment!==e.alignment)return!1;if(this.endingIndices===e.endingIndices)return!0;if(!this.endingIndices||!e.endingIndices||this.endingIndices.length!==e.endingIndices.length)return!1;for(let r=0;r<this.endingIndices.length;r++)if(this.endingIndices[r]!==e.endingIndices[r])return!1;return!0}}var RepetitionInstructionEnum=(i=>(i[i.StartLine=0]="StartLine",i[i.ForwardJump=1]="ForwardJump",i[i.BackJumpLine=2]="BackJumpLine",i[i.Ending=3]="Ending",i[i.DaCapo=4]="DaCapo",i[i.DalSegno=5]="DalSegno",i[i.Fine=6]="Fine",i[i.ToCoda=7]="ToCoda",i[i.DalSegnoAlFine=8]="DalSegnoAlFine",i[i.DaCapoAlFine=9]="DaCapoAlFine",i[i.DalSegnoAlCoda=10]="DalSegnoAlCoda",i[i.DaCapoAlCoda=11]="DaCapoAlCoda",i[i.Coda=12]="Coda",i[i.Segno=13]="Segno",i[i.None=14]="None",i))(RepetitionInstructionEnum||{}),AlignmentType=(i=>(i[i.Begin=0]="Begin",i[i.End=1]="End",i))(AlignmentType||{});let prevSourceMeasure=null;class SourceMeasure{constructor(e,r){this.printNewSystemXml=!1,this.printNewPageXml=!1,this.IsSystemStartMeasure=!1,this.hasLyrics=!1,this.hasMoodExpressions=!1,this.allRests=!1,this.isReducedToMultiRest=!1,this.multipleRestMeasureNumber=0,this.staffLinkedExpressions=[],this.tempoExpressions=[],this.verticalSourceStaffEntryContainers=[],this.graphicalMeasureErrors=[],this.firstRepetitionInstructions=[],this.lastRepetitionInstructions=[],this.metronomeNoteIndex=0,this.WasRendered=!1,this.completeNumberOfStaves=e,this.implicitMeasure=!1,this.hasEndLine=!1,this.endingBarStyleXml="",this.endingBarStyleEnum=SystemLinesEnum.SingleThin,this.firstInstructionsStaffEntries=new Array(e),this.lastInstructionsStaffEntries=new Array(e),this.rules=r,this.TempoInBPM=0;for(let s=0;s<e;s++)this.graphicalMeasureErrors.push(!1),this.staffLinkedExpressions.push([])}get MeasureNumber(){return this.measureNumber}set MeasureNumber(e){this.measureNumber=e}getPrintedMeasureNumber(){return this.rules.UseXMLMeasureNumbers&&Number.isInteger(this.MeasureNumberXML)?(this.MeasureNumberPrinted=this.MeasureNumberXML,this.MeasureNumberPrinted):(this.MeasureNumberPrinted=this.MeasureNumber,this.MeasureNumberPrinted)}get AbsoluteTimestamp(){return this.absoluteTimestamp}set AbsoluteTimestamp(e){this.absoluteTimestamp=e}get CompleteNumberOfStaves(){return this.completeNumberOfStaves}get Duration(){return this.duration}set Duration(e){this.duration=e}get ActiveTimeSignature(){return this.activeTimeSignature}set ActiveTimeSignature(e){this.activeTimeSignature=e}get ImplicitMeasure(){return this.implicitMeasure}set ImplicitMeasure(e){this.implicitMeasure=e}get HasEndLine(){return this.hasEndLine}set HasEndLine(e){this.hasEndLine=e}get StaffLinkedExpressions(){return this.staffLinkedExpressions}get TempoExpressions(){return this.tempoExpressions}get VerticalSourceStaffEntryContainers(){return this.verticalSourceStaffEntryContainers}get FirstInstructionsStaffEntries(){return this.firstInstructionsStaffEntries}get LastInstructionsStaffEntries(){return this.lastInstructionsStaffEntries}get FirstRepetitionInstructions(){return this.firstRepetitionInstructions}get LastRepetitionInstructions(){return this.lastRepetitionInstructions}getErrorInMeasure(e){return this.graphicalMeasureErrors[e]}setErrorInGraphicalMeasure(e,r){this.graphicalMeasureErrors[e]=r}getNextMeasure(e){return e[this.measureListIndex+1]}getPreviousMeasure(e){if(this.measureListIndex>1)return e[this.measureListIndex-1]}get Rules(){return this.rules}get VerticalMeasureList(){return this.verticalMeasureList}set VerticalMeasureList(e){this.verticalMeasureList=e}get TempoInBPM(){return this.tempoInBPM}set TempoInBPM(e){this.tempoInBPM=e}findOrCreateStaffEntry(e,r,s){let o,a;for(const c of this.verticalSourceStaffEntryContainers)if(c.Timestamp.Equals(e)){a=c;break}if(a)return a.StaffEntries[r]?o=a.StaffEntries[r]:(o=new SourceStaffEntry(a,s),a.StaffEntries[r]=o),{createdNewContainer:!1,staffEntry:o};const l=this.verticalSourceStaffEntryContainers[this.verticalSourceStaffEntryContainers.length-1];if(this.verticalSourceStaffEntryContainers.length===0||l.Timestamp.lt(e)){const c=new VerticalSourceStaffEntryContainer(this,e.clone(),this.completeNumberOfStaves);this.verticalSourceStaffEntryContainers.push(c),o=new SourceStaffEntry(c,s),c.StaffEntries[r]=o}else for(let c=this.verticalSourceStaffEntryContainers.length-1;c>=0;c--){if(this.verticalSourceStaffEntryContainers[c].Timestamp.lt(e)){const u=new VerticalSourceStaffEntryContainer(this,e.clone(),this.completeNumberOfStaves);this.verticalSourceStaffEntryContainers.splice(c+1,0,u),o=new SourceStaffEntry(u,s),u.StaffEntries[r]=o;break}if(c===0){const u=new VerticalSourceStaffEntryContainer(this,e.clone(),this.completeNumberOfStaves);this.verticalSourceStaffEntryContainers.splice(c,0,u),o=new SourceStaffEntry(u,s),u.StaffEntries[r]=o;break}}return{createdNewContainer:!0,staffEntry:o}}findOrCreateVoiceEntry(e,r){let s,o=!1;for(const a of e.VoiceEntries)if(a.ParentVoice===r){s=a;break}return s||(s=new VoiceEntry(e.Timestamp,r,e),o=!0),{createdVoiceEntry:o,voiceEntry:s}}getPreviousSourceStaffEntryFromIndex(e,r){for(let s=r-1;s>=0;s--)if(this.verticalSourceStaffEntryContainers[s][e])return this.verticalSourceStaffEntryContainers[s][e]}getVerticalContainerIndexByTimestamp(e){for(let r=0,s=this.VerticalSourceStaffEntryContainers.length;r<s;++r)if(this.VerticalSourceStaffEntryContainers[r].Timestamp.Equals(e))return r;return-1}getVerticalContainerByTimestamp(e){for(let r=0,s=this.VerticalSourceStaffEntryContainers.length;r<s;++r){const o=this.VerticalSourceStaffEntryContainers[r];if(o.Timestamp.Equals(e))return o}}checkForEmptyVerticalContainer(e){let r=0;for(let s=0;s<this.completeNumberOfStaves;s++)this.verticalSourceStaffEntryContainers[e][s]||r++;r===this.completeNumberOfStaves&&this.verticalSourceStaffEntryContainers.splice(e,1)}reverseCheck(e,r){let s=new Fraction$1(0,1);const o=[];for(let a=0;a<e.Instruments.length;a++){let l=new Fraction$1(0,1);const c=e.getGlobalStaffIndexOfFirstStaff(e.Instruments[a]);for(let u=0;u<e.Instruments[a].Staves.length;u++){const d=this.getLastSourceStaffEntryForInstrument(c+u);if(d!==void 0&&!d.hasTie()){const g=this.verticalSourceStaffEntryContainers.indexOf(d.VerticalContainerParent);for(let m=g-1;m>=0;m--){const y=this.verticalSourceStaffEntryContainers[m][c+u];if(y!==void 0&&y.hasTie()&&l.lt(Fraction$1.plus(y.Timestamp,y.calculateMaxNoteLength()))){l=Fraction$1.plus(y.Timestamp,y.calculateMaxNoteLength());break}}}}o.push(l)}for(let a=0,l=o.length;a<l;++a){const c=o[a];s.lt(c)&&(s=c)}return Fraction$1.max(s,r)}calculateInstrumentsDuration(e,r){const s=[];for(let o=0;o<e.Instruments.length;o++){let a=new Fraction$1(0,1);const l=e.getGlobalStaffIndexOfFirstStaff(e.Instruments[o]);for(let c=0;c<e.Instruments[o].Staves.length;c++){const u=this.getLastSourceStaffEntryForInstrument(l+c);u!==void 0&&u.Timestamp&&a.lt(Fraction$1.plus(u.Timestamp,u.calculateMaxNoteLength()))&&(a=Fraction$1.plus(u.Timestamp,u.calculateMaxNoteLength()))}a.lt(r[o])&&(a=r[o]),s.push(a)}return s}getEntriesPerStaff(e){const r=[];for(const s of this.VerticalSourceStaffEntryContainers){const o=s.StaffEntries[e];o&&r.push(o)}return r}hasBeginInstructions(){for(let e=0,r=this.FirstInstructionsStaffEntries.length;e<r;e++){const s=this.FirstInstructionsStaffEntries[e];if(s!==void 0&&s.Instructions.length>0)return!0}return!1}beginsWithLineRepetition(){for(let e=0,r=this.FirstRepetitionInstructions.length;e<r;++e){const s=this.FirstRepetitionInstructions[e];if(s.type===RepetitionInstructionEnum.StartLine||s.parentRepetition!==void 0&&s===s.parentRepetition.startMarker&&!s.parentRepetition.FromWords)return!0}return!1}endsWithLineRepetition(){for(let e=0,r=this.LastRepetitionInstructions.length;e<r;++e){const s=this.LastRepetitionInstructions[e];if(s.type===RepetitionInstructionEnum.BackJumpLine)return!0;const o=s.parentRepetition;if(o&&!o.FromWords)for(let a=0,l=o.BackwardJumpInstructions.length;a<l;++a){const c=o.BackwardJumpInstructions[a];if(s===c)return!0}}return!1}beginsWithWordRepetition(){for(let e=0,r=this.FirstRepetitionInstructions.length;e<r;++e){const s=this.FirstRepetitionInstructions[e];if(s.parentRepetition!==void 0&&s===s.parentRepetition.startMarker&&s.parentRepetition.FromWords)return!0}return!1}endsWithWordRepetition(){for(let e=0,r=this.LastRepetitionInstructions.length;e<r;++e){const s=this.LastRepetitionInstructions[e],o=s.parentRepetition;if(o&&o.FromWords){for(let a=0,l=o.BackwardJumpInstructions.length;a<l;++a){const c=o.BackwardJumpInstructions[a];if(s===c)return!0}if(s===o.forwardJumpInstruction)return!0}}return!1}beginsRepetitionEnding(){for(const e of this.FirstRepetitionInstructions)if(e.type===RepetitionInstructionEnum.Ending&&e.alignment===AlignmentType.Begin)return!0;return!1}endsRepetitionEnding(){for(const e of this.LastRepetitionInstructions)if(e.type===RepetitionInstructionEnum.Ending&&e.alignment===AlignmentType.End)return!0;return!1}getKeyInstruction(e){if(this.FirstInstructionsStaffEntries[e]){const r=this.FirstInstructionsStaffEntries[e];for(let s=0,o=r.Instructions.length;s<o;++s){const a=r.Instructions[s];if(a instanceof KeyInstruction)return a}}}getLastSourceStaffEntryForInstrument(e,r=!0){let s;for(let o=this.verticalSourceStaffEntryContainers.length-1;o>=0;o--)if(s=this.verticalSourceStaffEntryContainers[o].StaffEntries[e],s&&(!r||s.VoiceEntries.length>0))return s}canBeReducedToMultiRest(){var s,o,a,l,c,u;if(this.firstRepetitionInstructions.length>0||this.lastRepetitionInstructions.length>0)return!1;let e=!0,r=!1;for(const d of this.verticalSourceStaffEntryContainers)if(d){for(const g of d.StaffEntries)if(!(!g||!g.ParentStaff.ParentInstrument.Visible)){if(g.ChordContainers.length>0)return!1;g.ParentStaff.hasLyrics&&(r=!0);for(const m of g.VoiceEntries){for(const y of m.Notes)if(!y.isRest()){e=!1;break}if(!e)break}}}if(!e||r||this.hasMoodExpressions||this.tempoExpressions.length>0)return!1;for(const d of this.staffLinkedExpressions)if(d.length>0)return!1;for(const d of this.lastInstructionsStaffEntries)for(let g=0,m=d==null?void 0:d.Instructions.length;g<m;++g)if(d.Instructions[g]instanceof ClefInstruction)return!1;return prevSourceMeasure&&(((s=prevSourceMeasure==null?void 0:prevSourceMeasure.ActiveTimeSignature)==null?void 0:s.Numerator)!==((o=this.ActiveTimeSignature)==null?void 0:o.Numerator)||((a=prevSourceMeasure==null?void 0:prevSourceMeasure.ActiveTimeSignature)==null?void 0:a.Denominator)!==((l=this.ActiveTimeSignature)==null?void 0:l.Denominator))?(prevSourceMeasure=this,!1):(prevSourceMeasure=this,((c=this.Duration)==null?void 0:c.RealValue)===((u=this.ActiveTimeSignature)==null?void 0:u.RealValue))}}class Staff{constructor(e,r){this.isTab=!1,this.voices=[],this.volume=1,this.stafflineCount=5,this.hasLyrics=!1,this.openTieDict={},this.parentInstrument=e,this.id=r,this.audible=!0,this.following=!0}get ParentInstrument(){return this.parentInstrument}set ParentInstrument(e){this.parentInstrument=e}get Voices(){return this.voices}get Solo(){return this.solo}set Solo(e){this.solo=e}get Id(){return this.id}get Volume(){return this.volume}set Volume(e){this.volume=e}get StafflineCount(){return this.stafflineCount}set StafflineCount(e){this.stafflineCount=e}toString(){return"Staff "+this.idInMusicSheet.toString()}}class StaffEntryLink{constructor(e){this.linkStaffEntries=[],this.voiceEntry=e}get GetVoiceEntry(){return this.voiceEntry}get LinkStaffEntries(){return this.linkStaffEntries}set LinkStaffEntries(e){this.linkStaffEntries=e}}class Tie{constructor(e,r){this.notes=[],this.TieNumber=1,this.TieDirection=PlacementEnum.NotYetDefined,this.NoteIndexToTieDirection={},this.AddNote(e),this.type=r}getTieDirection(e){if(!e)return this.TieDirection;for(let r=0;r<this.Notes.length;r++)if(this.Notes[r]===e){const o=this.NoteIndexToTieDirection[r];return o||this.TieDirection}return loglevelExports.debug("tie.getTieDuration note not in tie.Notes"),this.TieDirection}get Notes(){return this.notes}get Type(){return this.type}get StartNote(){return this.notes[0]}get Duration(){const e=new Fraction$1;for(const r of this.notes)e.Add(r.Length);return e}get Pitch(){return this.StartNote.Pitch}AddNote(e){this.notes.push(e),e.NoteTie=this}}class Tuplet{constructor(e,r=!1){this.PlacementFromXml=!1,this.RenderTupletNumber=!0,this.notes=[],this.fractions=[],this.tupletLabelNumber=e,this.bracket=r}shouldBeBracketed(e,r,s,o=!1,a=!1){if(o)return a;if(e&&this.BracketedXmlValue!==void 0)return this.BracketedXmlValue;const l=this.Notes[0][0].NoteBeam;if(l){for(const c of this.Notes)if(c[0].NoteBeam!==l)return!0}else return!0;return this.Bracket||this.TupletLabelNumber===3&&s||this.TupletLabelNumber!==3&&r}get TupletLabelNumber(){return this.tupletLabelNumber}set TupletLabelNumber(e){this.tupletLabelNumber=e}get Notes(){return this.notes}set Notes(e){this.notes=e}get Fractions(){return this.fractions}set Fractions(e){this.fractions=e}get Bracket(){return this.bracket}set Bracket(e){this.bracket=e}getNoteIndex(e){for(let r=this.notes.length-1;r>=0;r--)for(let s=0;s<this.notes[r].length;s++)if(e===this.notes[r][s])return r;return 0}}var TechnicalInstructionType=(i=>(i[i.Fingering=0]="Fingering",i[i.String=1]="String",i))(TechnicalInstructionType||{});class TechnicalInstruction{}class PlaybackNote{constructor(e,r){this.parentEntry=e,this.parentNote=r,this.ParentNote.PlaybackNote=this,this.Length=this.ParentNote.Length,r.Pitch!==void 0?this.ParentNote.ParentStaff.ParentInstrument.MidiInstrumentId===MidiInstrument.Percussion?this.MidiKey=PlaybackNote.noteToMidiDrumKey(r):this.MidiKey=r.Pitch.getHalfTone()+12:this.MidiKey=0}setLength(){this.ParentNote.NoteTie!==void 0&&this.ParentNote.NoteTie.StartNote===this.ParentNote&&(this.Length=this.ParentNote.NoteTie.Duration)}get ParentEntry(){return this.parentEntry}get ParentNote(){return this.parentNote}static noteToMidiDrumKey(e){var o;const r=e.Pitch.getHalfTone()-12,s=(o=e.Notehead)==null?void 0:o.Shape;switch(e.Pitch.Octave){case 1:switch(e.Pitch.FundamentalNote){case NoteEnum.D:switch(s){default:return 44}case NoteEnum.E:switch(s){default:return 35}case NoteEnum.F:switch(s){default:return 36}case NoteEnum.G:switch(s){default:return 41}case NoteEnum.A:switch(s){default:return 43}case NoteEnum.B:switch(s){case NoteHeadShape.TRIANGLE:return 54;default:return 47}default:return r}case 2:switch(e.Pitch.FundamentalNote){case NoteEnum.C:switch(s){case NoteHeadShape.X:return 37;default:return 38}case NoteEnum.D:switch(s){case NoteHeadShape.X:return 59;default:return 48}case NoteEnum.E:switch(s){case NoteHeadShape.X:return 42;case NoteHeadShape.CIRCLEX:return 46;case NoteHeadShape.TRIANGLE:return 56;default:return 50}case NoteEnum.F:switch(s){case NoteHeadShape.DIAMOND:return 53;default:return 51}case NoteEnum.G:switch(s){case NoteHeadShape.CIRCLEX:case NoteHeadShape.DIAMOND:return 46;default:return 42}case NoteEnum.A:switch(s){default:return 49}case NoteEnum.B:switch(s){default:return 57}default:return r}case 3:switch(e.Pitch.FundamentalNote){case NoteEnum.C:switch(s){case NoteHeadShape.CIRCLEX:return 52;default:return 55}default:return r}default:return r}}}class PlaybackEntry{constructor(e){this.notes=[],this.TimestampShift=new Fraction$1,this.parentVoiceEntry=e;for(const r of e.Notes)this.Notes.push(new PlaybackNote(this,r))}get ParentVoiceEntry(){return this.parentVoiceEntry}get Notes(){return this.notes}get Length(){if(this.Notes.length>0)return this.Notes[0].Length}set Length(e){for(const r of this.Notes)r.Length=e}get HasNotes(){return this.Notes.length>0}}class VoiceEntry{constructor(e,r,s,o=!0,a=!1,l=!1,c=!1){if(this.notes=[],this.graceVoiceEntriesBefore=[],this.graceVoiceEntriesAfter=[],this.articulations=[],this.playbackEntries=[],this.technicalInstructions=[],this.lyricsEntries=new Dictionary,this.wantedStemDirection=-1,this.stemDirectionXml=-1,this.stemDirection=-1,this.timestamp=e,this.parentVoice=r,this.parentSourceStaffEntry=s,this.isGrace=a,this.graceAfterMainNote=!1,this.graceNoteSlash=l,this.graceSlur=c,a||r.VoiceEntries.push(this),o&&s!==void 0){const u=s.VoiceEntries;u.indexOf(this)===-1&&u.push(this)}this.mainPlaybackEntry=new PlaybackEntry(this),this.PlaybackEntries.push(this.mainPlaybackEntry)}get ParentSourceStaffEntry(){return this.parentSourceStaffEntry}get ParentVoice(){return this.parentVoice}get Timestamp(){return this.timestamp}set Timestamp(e){this.timestamp=e}get Notes(){return this.notes}addNote(e){this.notes.push(e),!e.isRest()&&(e.NoteTie===void 0||e.NoteTie.StartNote===e)&&this.MainPlaybackEntry.Notes.push(new PlaybackNote(this.MainPlaybackEntry,e))}get GraceVoiceEntriesBefore(){return this.graceVoiceEntriesBefore}set GraceVoiceEntriesBefore(e){this.graceVoiceEntriesBefore=e;for(const r of this.graceVoiceEntriesBefore)r.parentSourceStaffEntry=this.ParentSourceStaffEntry}get GraceVoiceEntriesAfter(){return this.graceVoiceEntriesAfter}set GraceVoiceEntriesAfter(e){this.graceVoiceEntriesAfter=e;for(const r of this.graceVoiceEntriesAfter)r.parentSourceStaffEntry=this.ParentSourceStaffEntry}get IsGrace(){return this.isGrace}set IsGrace(e){this.isGrace=e}get GraceAfterMainNote(){return this.graceAfterMainNote}set GraceAfterMainNote(e){this.graceAfterMainNote=e}get GraceNoteSlash(){return this.graceNoteSlash}set GraceNoteSlash(e){this.graceNoteSlash=e}get GraceSlur(){return this.graceSlur}set GraceSlur(e){this.graceSlur=e}get Articulations(){return this.articulations}get PlaybackEntries(){return this.playbackEntries}get Fermata(){return this.fermata}get MainPlaybackEntry(){return this.mainPlaybackEntry}set MainPlaybackEntry(e){this.mainPlaybackEntry=e}removeMainPlaybackEntry(){this.mainPlaybackEntry!==void 0&&this.removePlaybackEntry(this.mainPlaybackEntry)}removePlaybackEntry(e){this.mainPlaybackEntry===e&&(this.mainPlaybackEntry=void 0);const r=this.playbackEntries.indexOf(e);r>-1&&this.playbackEntries.splice(r,1)}set Articulations(e){this.articulations=e}get TechnicalInstructions(){return this.technicalInstructions}get LyricsEntries(){return this.lyricsEntries}get Arpeggio(){return this.arpeggio}set Arpeggio(e){this.arpeggio=e}get OrnamentContainer(){return this.ornamentContainer}set OrnamentContainer(e){this.ornamentContainer=e}set WantedStemDirection(e){this.wantedStemDirection=e}get WantedStemDirection(){return this.wantedStemDirection}set StemDirectionXml(e){this.stemDirectionXml=e}get StemDirectionXml(){return this.stemDirectionXml}set StemDirection(e){this.stemDirection=e}get StemDirection(){return this.stemDirection}get StemColorXml(){return this.stemColorXml}set StemColorXml(e){this.stemColorXml=e}get StemColor(){return this.stemColor}set StemColor(e){this.stemColor=e}get VolumeModifier(){return this.volumeModifier}set VolumeModifier(e){this.volumeModifier=e}get DurationModifier(){return this.durationModifier}set DurationModifier(e){this.durationModifier=e}hasArticulation(e){for(const r of this.articulations)if(r.Equals(e))return!0;return!1}static isSupportedArticulation(e){switch(e){case 0:case 1:case 2:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 27:return!0;default:return!1}}hasTie(){for(let e=0,r=this.Notes.length;e<r;++e)if(this.Notes[e].NoteTie)return!0;return!1}hasSlur(){for(let e=0,r=this.Notes.length;e<r;++e)if(this.Notes[e].NoteSlurs.length>0)return!0;return!1}isStaccato(){for(const e of this.Articulations)if(e.articulationEnum===6)return!0;return!1}isAccent(){for(const e of this.Articulations)if(e.articulationEnum===0||e.articulationEnum===1)return!0;return!1}getVerseNumberForLyricEntry(e){let r="1";return this.lyricsEntries.forEach((s,o)=>{e===o&&(r=s)}),r}}var ArticulationEnum=(i=>(i[i.accent=0]="accent",i[i.strongaccent=1]="strongaccent",i[i.softaccent=2]="softaccent",i[i.marcatoup=3]="marcatoup",i[i.marcatodown=4]="marcatodown",i[i.invertedstrongaccent=5]="invertedstrongaccent",i[i.staccato=6]="staccato",i[i.staccatissimo=7]="staccatissimo",i[i.spiccato=8]="spiccato",i[i.tenuto=9]="tenuto",i[i.fermata=10]="fermata",i[i.invertedfermata=11]="invertedfermata",i[i.breathmark=12]="breathmark",i[i.caesura=13]="caesura",i[i.lefthandpizzicato=14]="lefthandpizzicato",i[i.naturalharmonic=15]="naturalharmonic",i[i.snappizzicato=16]="snappizzicato",i[i.upbow=17]="upbow",i[i.downbow=18]="downbow",i[i.scoop=19]="scoop",i[i.plop=20]="plop",i[i.doit=21]="doit",i[i.falloff=22]="falloff",i[i.stress=23]="stress",i[i.unstress=24]="unstress",i[i.detachedlegato=25]="detachedlegato",i[i.otherarticulation=26]="otherarticulation",i[i.bend=27]="bend",i))(ArticulationEnum||{}),StemDirectionType=(i=>(i[i.Undefined=-1]="Undefined",i[i.Up=0]="Up",i[i.Down=1]="Down",i[i.None=2]="None",i[i.Double=3]="Double",i))(StemDirectionType||{}),SystemLinePosition=(i=>(i[i.MeasureBegin=0]="MeasureBegin",i[i.MeasureEnd=1]="MeasureEnd",i))(SystemLinePosition||{});class GraphicalLabel extends Clickable{constructor(e,r,s,o,a=void 0){super(),this.CenteringXShift=0,this.label=e,this.boundingBox=new BoundingBox$1(this,a),this.label.fontHeight=r,this.label.textAlignment=s,this.rules=o,this.rules.MpatMode&&this.label.text==="TRIO"&&(this.label.fontFamily="Arial")}get Label(){return this.label}toString(){return`${this.label.text} (${this.boundingBox.RelativePosition.x},${this.boundingBox.RelativePosition.y})`}setLabelPositionAndShapeBorders(){var c,u;if(this.Label.text.trim()==="")return;this.TextLines=[];const e=(u=(c=this.rules)==null?void 0:c.LabelMarginBorderFactor)!=null?u:.1,r=this.Label.text.split(/[\n\r]+/g),s=r.length;let o=0;for(let d=0;d<s;d++){const g=r[d].trim();if(!g||g==="")continue;const m=MusicSheetCalculator.TextMeasurer.computeTextWidthToHeightRatio(g,this.Label.font,this.Label.fontStyle,this.label.fontFamily),y=this.Label.fontHeight*m;o=Math.max(o,y),this.TextLines.push({text:g,xOffset:0,width:y})}for(const d of this.TextLines){let g=0;switch(this.Label.textAlignment){case TextAlignmentEnum.RightBottom:case TextAlignmentEnum.RightCenter:case TextAlignmentEnum.RightTop:g=o-d.width;break;case TextAlignmentEnum.CenterBottom:case TextAlignmentEnum.CenterCenter:case TextAlignmentEnum.CenterTop:g=(o-d.width)/2;break}d.xOffset=g}let a=this.Label.fontHeight*s;this.rules.SpacingBetweenTextLines>0&&this.TextLines.length>1&&(a+=this.rules.SpacingBetweenTextLines*s/10);const l=this.PositionAndShape;switch(this.Label.textAlignment){case TextAlignmentEnum.CenterBottom:l.BorderTop=-a,l.BorderLeft=-o/2,l.BorderBottom=0,l.BorderRight=o/2;break;case TextAlignmentEnum.CenterCenter:l.BorderTop=-a/2,l.BorderLeft=-o/2,l.BorderBottom=a/2,l.BorderRight=o/2;break;case TextAlignmentEnum.CenterTop:l.BorderTop=0,l.BorderLeft=-o/2,l.BorderBottom=a,l.BorderRight=o/2;break;case TextAlignmentEnum.LeftBottom:l.BorderTop=-a,l.BorderLeft=0,l.BorderBottom=0,l.BorderRight=o;break;case TextAlignmentEnum.LeftCenter:l.BorderTop=-a/2,l.BorderLeft=0,l.BorderBottom=a/2,l.BorderRight=o;break;case TextAlignmentEnum.LeftTop:l.BorderTop=0,l.BorderLeft=0,l.BorderBottom=a,l.BorderRight=o;break;case TextAlignmentEnum.RightBottom:l.BorderTop=-a,l.BorderLeft=-o,l.BorderBottom=0,l.BorderRight=0;break;case TextAlignmentEnum.RightCenter:l.BorderTop=-a/2,l.BorderLeft=-o,l.BorderBottom=a/2,l.BorderRight=0;break;case TextAlignmentEnum.RightTop:l.BorderTop=0,l.BorderLeft=-o,l.BorderBottom=a,l.BorderRight=0;break}l.BorderMarginTop=l.BorderTop-a*e,l.BorderMarginLeft=l.BorderLeft-a*e,l.BorderMarginBottom=l.BorderBottom+a*e,l.BorderMarginRight=l.BorderRight+a*e}}class Label{constructor(e="",r=TextAlignmentEnum.CenterBottom,s=void 0,o=!0){this.IsCreditLabel=!1,this.isLyricText=!1,this.text=e,this.print=o,this.textAlignment=r,this.font=s,this.fontFamily=void 0}set font(e){this.fontEnumValue=e,this.fontFamily=FontStringNames[e]}get font(){return this.fontEnumValue}ToString(){return this.text}}const SpeedTag={Grava:40,Largo:46,Lento:52,Adagio:56,Larghetto:60,Andante:66,Anderato:69,Andantino:69,Moderato:88,Allegretto:108,"Allegro Moderato":108,Allegro:132,Vivace:152,Vivo:160,Vivacissimo:168,Presto:184,Prestissimo:208},SpecialMarks=["纯律","纯律结束"],HideWords=["跳过下一个","b","#","§","º","X"],GradientWords=["poco rit.","rall.","rit.","accel.","molto rit.","molto rall","lentando","poco accel.","calando"],GRADIENT_SPEED_CLOSE_TAG="结束范围速度",GRADIENT_SPEED_RESET_TAG="a tempo",SpecialWords=[GRADIENT_SPEED_CLOSE_TAG],SpeedKeyword="速度 ",SpeedHiddenKeyword="仅文本速度 ";function isSpeedKeyword(i){return i.indexOf(SpeedKeyword)===0}function isSpeedHiddenKeyword(i){return i.indexOf(SpeedHiddenKeyword)===0}function formatSpeedKeyword(i){return i.replace(SpeedHiddenKeyword,"").replace(SpeedKeyword,"")}function isGradientWords(i){return GradientWords.includes(i)}function isSpecialMark(i){return[...Object.keys(SpeedTag),...SpecialMarks,...SpecialWords,...HideWords].map(e=>e.trim().toLocaleUpperCase()).includes(i.toLocaleUpperCase().trim())}function isTopFont(i){return[TextAlignmentEnum.CenterTop,TextAlignmentEnum.RightTop].includes(i)}var MusicSymbol=(i=>(i[i.Unused_first_Symbol=0]="Unused_first_Symbol",i[i.BLACK_HEAD=1]="BLACK_HEAD",i[i.UPWARDS_TAIL=2]="UPWARDS_TAIL",i[i.DOWNWARDS_TAIL=3]="DOWNWARDS_TAIL",i[i.UPWARDS_DOUBLE_TAIL=4]="UPWARDS_DOUBLE_TAIL",i[i.DOWNWARDS_DOUBLE_TAIL=5]="DOWNWARDS_DOUBLE_TAIL",i[i.UPWARDS_TRIPLE_TAIL=6]="UPWARDS_TRIPLE_TAIL",i[i.DOWNWARDS_TRIPLE_TAIL=7]="DOWNWARDS_TRIPLE_TAIL",i[i.UPWARDS_QUAD_TAIL=8]="UPWARDS_QUAD_TAIL",i[i.DOWNWARDS_QUAD_TAIL=9]="DOWNWARDS_QUAD_TAIL",i[i.ROUND_HEAD=10]="ROUND_HEAD",i[i.WHITE_HEAD=11]="WHITE_HEAD",i[i.G_CLEF=12]="G_CLEF",i[i.F_CLEF=13]="F_CLEF",i[i.C_CLEF=14]="C_CLEF",i[i.BREVE=15]="BREVE",i[i.BREVE_REST=16]="BREVE_REST",i[i.COMMON_TIME=17]="COMMON_TIME",i[i.CUT_TIME=18]="CUT_TIME",i[i.WHOLE_REST=19]="WHOLE_REST",i[i.HALF_REST=20]="HALF_REST",i[i.QUARTER_REST=21]="QUARTER_REST",i[i.EIGHTH_REST=22]="EIGHTH_REST",i[i.SIXTEENTH_REST=23]="SIXTEENTH_REST",i[i.THIRTYSECOND_REST=24]="THIRTYSECOND_REST",i[i.SIXTYFOURTH_REST=25]="SIXTYFOURTH_REST",i[i.FLAT=26]="FLAT",i[i.SHARP=27]="SHARP",i[i.NATURAL=28]="NATURAL",i[i.DOUBLE_FLAT=29]="DOUBLE_FLAT",i[i.DOUBLE_SHARP=30]="DOUBLE_SHARP",i[i.ZERO=31]="ZERO",i[i.ONE=32]="ONE",i[i.TWO=33]="TWO",i[i.THREE=34]="THREE",i[i.FOUR=35]="FOUR",i[i.FIVE=36]="FIVE",i[i.SIX=37]="SIX",i[i.SEVEN=38]="SEVEN",i[i.EIGHT=39]="EIGHT",i[i.NINE=40]="NINE",i[i.DOT=41]="DOT",i[i.FERMATA=42]="FERMATA",i[i.INVERTED_FERMATA=43]="INVERTED_FERMATA",i[i.SPICCATO=44]="SPICCATO",i[i.TENUTO=45]="TENUTO",i[i.MARCATO=46]="MARCATO",i[i.MARCATISSIMO=47]="MARCATISSIMO",i[i.INVERTED_MARCATISSIMO=48]="INVERTED_MARCATISSIMO",i[i.P=49]="P",i[i.F=50]="F",i[i.S=51]="S",i[i.Z=52]="Z",i[i.M=53]="M",i[i.R=54]="R",i[i.SEGNO=55]="SEGNO",i[i.CODA=56]="CODA",i[i.DRUM_CLEF=57]="DRUM_CLEF",i[i.G_CLEF_SUB8=58]="G_CLEF_SUB8",i[i.G_CLEF_SUPER8=59]="G_CLEF_SUPER8",i[i.G_CLEF_SUB15=60]="G_CLEF_SUB15",i[i.G_CLEF_SUPER15=61]="G_CLEF_SUPER15",i[i.F_CLEF_SUB8=62]="F_CLEF_SUB8",i[i.F_CLEF_SUPER8=63]="F_CLEF_SUPER8",i[i.F_CLEF_SUB15=64]="F_CLEF_SUB15",i[i.F_CLEF_SUPER15=65]="F_CLEF_SUPER15",i[i.DOWN_BOW=66]="DOWN_BOW",i[i.MORDENT=67]="MORDENT",i[i.INVERTED_MORDENT=68]="INVERTED_MORDENT",i[i.TURN=69]="TURN",i[i.INVERTED_TURN=70]="INVERTED_TURN",i[i.LEFTHAND_PIZZICATO=71]="LEFTHAND_PIZZICATO",i[i.RELEASE_PED=72]="RELEASE_PED",i[i.ENGAGE_PED=73]="ENGAGE_PED",i[i.VA8=74]="VA8",i[i.VB8=75]="VB8",i[i.TRILL=76]="TRILL",i[i.MA15=77]="MA15",i[i.MB15=78]="MB15",i[i.HIGH=79]="HIGH",i[i.PLAY=80]="PLAY",i[i.MIC=81]="MIC",i[i.SNAP_PIZZICATO=82]="SNAP_PIZZICATO",i[i.NATURAL_HARMONIC=83]="NATURAL_HARMONIC",i[i.EditPen=84]="EditPen",i[i.PEDAL_BRACKET=85]="PEDAL_BRACKET",i[i.PEDAL_MIXED=86]="PEDAL_MIXED",i[i.PEDAL_SYMBOL=87]="PEDAL_SYMBOL",i))(MusicSymbol||{}),MusicSymbolDrawingStyle=(i=>(i[i.Normal=0]="Normal",i[i.Disabled=1]="Disabled",i[i.Selected=2]="Selected",i[i.Clickable=3]="Clickable",i[i.PlaybackSymbols=4]="PlaybackSymbols",i[i.FollowSymbols=5]="FollowSymbols",i[i.QFeedbackNotFound=6]="QFeedbackNotFound",i[i.QFeedbackOk=7]="QFeedbackOk",i[i.QFeedbackPerfect=8]="QFeedbackPerfect",i[i.Debug1=9]="Debug1",i[i.Debug2=10]="Debug2",i[i.Debug3=11]="Debug3",i))(MusicSymbolDrawingStyle||{}),PhonicScoreModes=(i=>(i[i.Following=0]="Following",i[i.Midi=1]="Midi",i[i.Manual=2]="Manual",i))(PhonicScoreModes||{});class LabelRenderSpecs{}class MusicSheetDrawer{constructor(e,r){this.drawableBoundingBoxElement="None",this.skyLineVisible=!1,this.bottomLineVisible=!1,this.needSpecialArrTs=[],this.phonicScoreMode=PhonicScoreModes.Manual,this.textMeasurer=e,this.splitScreenLineColor=-1,this.drawingParameters=r,this.rules=r.Rules}set Mode(e){this.phonicScoreMode=e}drawSheet(e){if(this.graphicalMusicSheet=e,this.rules=e.ParentMusicSheet.Rules,this.drawSplitScreenLine(),this.drawingParameters.drawCursors)for(const s of e.Cursors){if(!s)continue;const o=new BoundingBox$1(s);o.AbsolutePosition=s.Start,o.BorderBottom=s.End.y-s.Start.y,o.BorderRight=s.Width/2,o.BorderLeft=-s.Width/2,this.isVisible(o)&&this.drawLineAsVerticalRectangle(s,GraphicalLayers.Cursor)}this.drawingParameters.drawScrollIndicator&&this.drawScrollIndicator();const r=Math.min(this.graphicalMusicSheet.MusicPages.length,this.rules.MaxPageToDrawNumber);for(let s=0;s<r;s++){const o=this.graphicalMusicSheet.MusicPages[s];this.drawPage(o)}}drawLineAsHorizontalRectangle(e,r){let s=new RectangleF2D(e.Start.x,e.End.y-e.Width/2,e.End.x-e.Start.x,e.Width);s=this.applyScreenTransformationForRect(s),this.renderRectangle(s,r,e.styleId,e.colorHex)}drawLineAsVerticalRectangle(e,r){const s=e.Start,o=e.Width;let a=new RectangleF2D(s.x-o/2,s.y,o,e.End.y-s.y);a=this.applyScreenTransformationForRect(a),this.renderRectangle(a,r,e.styleId)}drawLineAsHorizontalRectangleWithOffset(e,r,s){const o=new PointF2D(e.Start.x+r.x,e.Start.y+r.y),a=new PointF2D(e.End.x+r.x,e.End.y+r.y),l=e.Width;let c=new RectangleF2D(o.x,a.y-l/2,a.x-o.x,l);c=this.applyScreenTransformationForRect(c),this.renderRectangle(c,s,e.styleId)}drawLineAsVerticalRectangleWithOffset(e,r,s){const o=new PointF2D(e.Start.x+r.x,e.Start.y+r.y),a=new PointF2D(e.End.x+r.x,e.End.y+r.y),l=e.Width;let c=new RectangleF2D(o.x,o.y,l,a.y-o.y);c=this.applyScreenTransformationForRect(c),this.renderRectangle(c,s,e.styleId)}drawRectangle(e,r){const s=e.PositionAndShape;let o=new RectangleF2D(s.AbsolutePosition.x,s.AbsolutePosition.y,s.BorderRight,s.BorderBottom);o=this.applyScreenTransformationForRect(o),this.renderRectangle(o,r,e.style)}drawLabel(e,r){var y,b,A,S,E,x,P,C,T,k,I,M,R,B,_;const s=this.graphicalMusicSheet.GetNearestNote(e.PositionAndShape.AbsolutePosition);if(!this.isVisible(e.PositionAndShape))return;const o=e.Label;if(o.text.trim()==="")return;const a=this.calculateLabel(e),l=this.applyScreenTransformation(e.PositionAndShape.AbsolutePosition),c=e.PositionAndShape.Parent.DataObject;if(this.rules.MetronomeMarksDrawn&&((b=(y=c==null?void 0:c.measures)==null?void 0:y[0])==null?void 0:b.MeasureNumber)===1&&((A=c==null?void 0:c.ParentMusicSystem)==null?void 0:A.Id)===0&&isTopFont(e.Label.textAlignment)&&(a.ScreenPosition.y-=1*10),o.text===","){let V=0;const D=((x=(E=(S=this.graphicalMusicSheet)==null?void 0:S.MusicPages)==null?void 0:E[0])==null?void 0:x.MusicSystems)||[];let F;try{for(let G=0;G<D.length;G++){const q=D[G];if(e.PositionAndShape.AbsolutePosition.x<10){console.log(e.PositionAndShape.AbsolutePosition.x);const O=this.graphicalMusicSheet.MeasureList[s.sourceNote.SourceMeasure.MeasureNumber-2];O&&O[0]&&(F=O[0],V=F.PositionAndShape.AbsolutePosition.y-F.PositionAndShape.Size.height/2);break}if(q.PositionAndShape.AbsolutePosition.y-10<e.PositionAndShape.AbsolutePosition.y&&e.PositionAndShape.AbsolutePosition.y<q.PositionAndShape.AbsolutePosition.y+10){const O=(q==null?void 0:q.GraphicalMeasures.map(Y=>Y[0]).filter(Boolean))||[],U=[];let $=!1;for(let Y=0;Y<O.length;Y++){const Q=O[Y];if(((T=(C=(P=Q.vfVoices)==null?void 0:P["1"])==null?void 0:C.tickables)==null?void 0:T.length)===1&&Q.PositionAndShape.AbsolutePosition.x<e.PositionAndShape.AbsolutePosition.x&&e.PositionAndShape.AbsolutePosition.x<Q.PositionAndShape.AbsolutePosition.x+Q.PositionAndShape.Size.width){F=Q,$=!0;break}const xe=Q.PositionAndShape.AbsolutePosition.x+Q.PositionAndShape.Size.width,ue=e.PositionAndShape.AbsolutePosition.x;xe-15<ue&&ue<xe+15&&U.push({measure:Q,x:Math.abs(ue-xe)})}if($)break;F=(I=(k=U.sort((Y,Q)=>Y.x-Q.x))==null?void 0:k[0])==null?void 0:I.measure;break}}}catch(G){console.log("🚀 ~ error",G)}let N=0;F?N=((M=F.stave)==null?void 0:M.end_x)||0:N=((R=s.sourceNote.SourceMeasure.VerticalMeasureList[0])==null?void 0:R.getVFStave()).end_x;const K=0;a.ScreenPosition.x=N,a.ScreenPosition.y=V===0?(e.PositionAndShape.Parent.AbsolutePosition.y-3-K)*10:V*10}const u=["C","G","D","A","E","B","F#","C#","G#","F","Bb","Eb","Ab","Db","Gb","Cb","Fb","D#","A#","E#"];u.includes(o.text)&&(a.ScreenPosition.y=(e.PositionAndShape.Parent.AbsolutePosition.y+e.PositionAndShape.Parent.BorderTop+e.PositionAndShape.Parent.BorderMarginTop)*10),["play","listen"].includes(o.text.toLocaleLowerCase())&&o.textAlignment===TextAlignmentEnum.LeftBottom&&(a.ScreenPosition.y=(e.PositionAndShape.Parent.AbsolutePosition.y-1+e.PositionAndShape.Parent.BorderBottom)*10);const d=["ffp","p-f","sfzp","szf","sffzp"];for(let V=0;V<d.length;V++){const D=d[V].replace(/ /g,""),F=o.text.replace(/ /g,"");if(F.toLocaleLowerCase()===D.toLocaleLowerCase()||F.includes(D)){o.fontStyle=3,o.text==="sfzp"&&(o.fontHeight=2.3);break}}const g=e.PositionAndShape.Size.width/2*10;if(l.x-g<e.PositionAndShape.RelativePosition.x&&(a.ScreenPosition.x=(e.PositionAndShape.RelativePosition.x+this.rules.PageLeftMargin)*10),isSpecialMark(e.Label.text||"")&&!u.includes(o.text)&&!e.Label.isLyricText&&(e.Label.fontHeight=0),this.rules.MetronomeMarksDrawn&&e.Label.fontHeight>0&&(isTopFont(e.Label.textAlignment)||[TextAlignmentEnum.CenterBottom].includes(e.Label.textAlignment))){let V=-1,D=!1;for(const F of(c==null?void 0:c.AbstractExpressions)||[])if(F.Label===e?V=(B=F==null?void 0:F.parentMeasure)==null?void 0:B.measureListIndex:(_=F.expression)!=null&&_.TempoInBpm&&(D=F.expression.TempoInBpm>0),D&&V>-1){a.ScreenPosition.y-=4*10;break}}this.renderLabel(e,r,a)}calculateLabel(e){var c,u;const r=new LabelRenderSpecs,s=e.Label;r.ScreenPosition=this.applyScreenTransformation(e.PositionAndShape.AbsolutePosition),r.FontHeightInPixel=this.calculatePixelDistance(s.fontHeight);const o=this.calculatePixelDistance(e.PositionAndShape.Size.width);switch(r.BitmapWidth=Math.ceil(o),r.BitmapHeight=e.TextLines?Math.ceil(r.FontHeightInPixel*(.2+e.TextLines.length)):10,s.textAlignment){case TextAlignmentEnum.LeftTop:break;case TextAlignmentEnum.LeftCenter:r.ScreenPosition.y-=r.BitmapHeight/2;break;case TextAlignmentEnum.LeftBottom:r.ScreenPosition.y-=r.BitmapHeight;break;case TextAlignmentEnum.CenterTop:r.ScreenPosition.x-=r.BitmapWidth/2;break;case TextAlignmentEnum.CenterCenter:r.ScreenPosition.x-=r.BitmapWidth/2,r.ScreenPosition.y-=r.BitmapHeight/2;break;case TextAlignmentEnum.CenterBottom:r.ScreenPosition.x-=r.BitmapWidth/2,r.ScreenPosition.y-=r.BitmapHeight,s.text==="筒音作5"&&this.rules.DYMusicScoreType==="jianpu"&&(r.ScreenPosition.x=80);break;case TextAlignmentEnum.RightTop:r.ScreenPosition.x-=r.BitmapWidth;break;case TextAlignmentEnum.RightCenter:r.ScreenPosition.x-=r.BitmapWidth,r.ScreenPosition.y-=r.BitmapHeight/2;break;case TextAlignmentEnum.RightBottom:r.ScreenPosition.x-=r.BitmapWidth,r.ScreenPosition.y-=r.BitmapHeight;break;default:throw new ArgumentOutOfRangeException("")}const a=e.PositionAndShape.Parent.DataObject,l=[1,3,7,9,15,20,22,24,28,30,36,41];this.rules.DYMusicScoreId&&this.rules.DYMusicScoreId==="1722157850347765762"&&(s.text==="."&&(r.ScreenPosition.x=142,r.ScreenPosition.y=134),s.text==="T"&&(this.needSpecialArrTs.push(r),((u=(c=a==null?void 0:a.measures)==null?void 0:c[0])==null?void 0:u.MeasureNumber)===1?r.ScreenPosition.y+=20:r.ScreenPosition.y-=20));for(let d in this.needSpecialArrTs)l.includes(Number(d))&&(this.needSpecialArrTs[d].ScreenPosition.x-=20);return r}applyScreenTransformations(e){const r=[];for(const s of e)r.push(this.applyScreenTransformation(s));return r}drawSplitScreenLine(){}renderRectangle(e,r,s,o=void 0,a=1){throw new Error("not implemented")}drawScrollIndicator(){}drawSelectionStartSymbol(e){}drawSelectionEndSymbol(e){}renderLabel(e,r,s){throw new Error("not implemented")}renderSystemToScreen(e,r,s){}drawSkyLine(e){}drawBottomLine(e){}drawInstrumentBrace(e,r){}drawGroupBracket(e,r){}isVisible(e){return!0}drawMusicSystem(e){const r=this.getSystemAbsBoundingRect(e),s=this.getSytemBoundingBoxInPixels(r);this.drawMusicSystemComponents(e,s,r)}getSytemBoundingBoxInPixels(e){const r=this.applyScreenTransformationForRect(e);return r.x=Math.round(r.x),r.y=Math.round(r.y),r}getSystemAbsBoundingRect(e){const r=e.PositionAndShape.BoundingRectangle;return new RectangleF2D(e.PositionAndShape.AbsolutePosition.x+e.PositionAndShape.BorderLeft-1,e.PositionAndShape.AbsolutePosition.y+e.PositionAndShape.BorderTop-1,r.width+6,r.height+2)}drawMusicSystemComponents(e,r,s){const o=this.graphicalMusicSheet.SelectionStartSymbol,a=this.graphicalMusicSheet.SelectionEndSymbol;this.drawingParameters.drawSelectionStartSymbol&&o!==void 0&&this.isVisible(o.PositionAndShape)&&this.drawSelectionStartSymbol(o),this.drawingParameters.drawSelectionEndSymbol&&a!==void 0&&this.isVisible(a.PositionAndShape)&&this.drawSelectionEndSymbol(a);for(const u of e.StaffLines)this.drawStaffLine(u),this.rules.RenderLyrics&&(u.LyricsDashes.length>0&&this.drawDashes(u.LyricsDashes),u.LyricLines.length>0&&this.drawLyricLines(u.LyricLines,u));for(const u of e.SystemLines)this.drawSystemLineObject(u);if(this.rules.RenderSystemLabelsAfterFirstPage||e.Parent===e.Parent.Parent.MusicPages[0])for(const u of e.Labels)u.SVGNode=this.drawLabel(u,GraphicalLayers.Notes);const l=this.graphicalMusicSheet.ParentMusicSheet.Instruments,c=l.filter(u=>u.Visible).length;for(const u of e.InstrumentBrackets)this.drawInstrumentBrace(u,e);if(l.length>0)if(c>1)for(const u of e.GroupBrackets)this.drawGroupBracket(u,e);else for(const u of e.GroupBrackets)u.Visible=!1;if(!this.leadSheet)for(const u of e.MeasureNumberLabels)u.SVGNode=this.drawLabel(u,GraphicalLayers.Notes);for(const u of e.StaffLines)this.drawStaffLineSymbols(u);this.drawingParameters.drawMarkedAreas&&this.drawMarkedAreas(e)}activateSystemRendering(e,r,s,o){return!0}drawSystemLineObject(e){}drawStaffLine(e){for(const r of e.Measures)this.drawMeasure(r),r.parentSourceMeasure&&(r.parentSourceMeasure.WasRendered=!0);this.rules.RenderLyrics&&e.LyricsDashes.length>0&&this.drawDashes(e.LyricsDashes),this.drawOctaveShifts(e),this.drawPedals(e),this.drawWavyLines(e),this.drawExpressions(e),this.skyLineVisible&&this.drawSkyLine(e),this.bottomLineVisible&&this.drawBottomLine(e)}drawLyricLines(e,r){r.LyricLines.forEach(s=>{s.Start.y+=r.PositionAndShape.AbsolutePosition.y,s.End.y+=r.PositionAndShape.AbsolutePosition.y,s.Start.x+=r.PositionAndShape.AbsolutePosition.x,s.End.x+=r.PositionAndShape.AbsolutePosition.x,this.drawGraphicalLine(s,this.rules.LyricUnderscoreLineWidth,s.colorHex)})}drawExpressions(e){}drawGraphicalLine(e,r,s="black"){return this.drawLine(e.Start,e.End,s,r)}drawLine(e,r,s="#FF0000FF",o){}drawDashes(e){e.forEach(r=>r.SVGNode=this.drawLabel(r,GraphicalLayers.Notes))}drawOctaveShifts(e){}drawStaffLines(e){if(e.StaffLines){const r=e.PositionAndShape.AbsolutePosition;for(let s=0;s<5;s++)this.drawLineAsHorizontalRectangleWithOffset(e.StaffLines[s],r,GraphicalLayers.Notes)}}drawSymbol(e,r,s,o=1,a=GraphicalLayers.Notes){}get leadSheet(){return this.graphicalMusicSheet.LeadSheet}set leadSheet(e){this.graphicalMusicSheet.LeadSheet=e}drawPage(e){if(this.isVisible(e.PositionAndShape)){for(const r of e.MusicSystems)this.isVisible(r.PositionAndShape)&&this.drawMusicSystem(r);if(e===e.Parent.MusicPages[0])for(const r of e.Labels)r.SVGNode=this.drawLabel(r,GraphicalLayers.Notes);this.drawableBoundingBoxElement&&this.drawBoundingBoxes(e.PositionAndShape,0,this.drawableBoundingBoxElement)}}drawBoundingBoxes(e,r=0,s="all"){const o=e.DataObject.constructor.name;let a=!1;s==="all"&&(a=!0),(a||o===s)&&this.drawBoundingBox(e,void 0,!0,o,r),r++,e.ChildElements.forEach(l=>this.drawBoundingBoxes(l,r,s))}drawBoundingBox(e,r=void 0,s=!1,o=void 0,a=0){let l=new RectangleF2D(e.AbsolutePosition.x+e.BorderMarginLeft,e.AbsolutePosition.y+e.BorderMarginTop,e.BorderMarginRight-e.BorderMarginLeft,e.BorderMarginBottom-e.BorderMarginTop);s&&(this.drawLineAsHorizontalRectangle(new GraphicalLine(new PointF2D(e.AbsolutePosition.x-1,e.AbsolutePosition.y),new PointF2D(e.AbsolutePosition.x+1,e.AbsolutePosition.y),.1,OutlineAndFillStyleEnum.BaseWritingColor,r),a-1),this.drawLineAsVerticalRectangle(new GraphicalLine(new PointF2D(e.AbsolutePosition.x,e.AbsolutePosition.y-1),new PointF2D(e.AbsolutePosition.x,e.AbsolutePosition.y+1),.1,OutlineAndFillStyleEnum.BaseWritingColor,r),a-1)),l=this.applyScreenTransformationForRect(l);const c=this.renderRectangle(l,GraphicalLayers.Background,a,r,.5);if(o){const u=new Label(o),d=new LabelRenderSpecs;d.BitmapWidth=l.width,d.BitmapHeight=l.height,d.FontHeightInPixel=l.height,d.ScreenPosition=new PointF2D(l.x,l.y+12),this.renderLabel(new GraphicalLabel(u,.8,TextAlignmentEnum.CenterCenter,this.rules),a,d)}return c}drawMarkedAreas(e){for(const r of e.GraphicalMarkedAreas)r&&(r.systemRectangle&&this.drawRectangle(r.systemRectangle,GraphicalLayers.Background),r.settings&&(r.settings.SVGNode=this.drawLabel(r.settings,GraphicalLayers.Comment)),r.labelRectangle&&this.drawRectangle(r.labelRectangle,GraphicalLayers.Background),r.label&&(r.label.SVGNode=this.drawLabel(r.label,GraphicalLayers.Comment)))}drawStaffLineSymbols(e){const r=e.ParentStaff.ParentInstrument,s=e.PositionAndShape.AbsolutePosition.x,o=e.PositionAndShape.AbsolutePosition.y+2,a=e.PositionAndShape.BorderRight;r.highlight&&this.drawingParameters.drawHighlights&&this.drawLineAsHorizontalRectangle(new GraphicalLine(new PointF2D(s,o),new PointF2D(s+a,o),4,OutlineAndFillStyleEnum.Highlighted),GraphicalLayers.Highlight);let l=MusicSymbolDrawingStyle.Disabled,c=MusicSymbol.PLAY,u=this.drawingParameters.drawActivitySymbols;switch(this.phonicScoreMode){case PhonicScoreModes.Midi:c=MusicSymbol.PLAY,this.midiPlaybackAvailable&&e.ParentStaff.audible&&(l=MusicSymbolDrawingStyle.PlaybackSymbols);break;case PhonicScoreModes.Following:c=MusicSymbol.MIC,e.ParentStaff.following&&(l=MusicSymbolDrawingStyle.FollowSymbols);break;default:u=!1;break}if(u){const d=new PointF2D(s+a+2,o);this.drawSymbol(c,l,d)}if(this.drawingParameters.drawErrors)for(const d of e.Measures){const g=d.PositionAndShape,m=g.AbsolutePosition.x,y=g.AbsolutePosition.y+2;d.hasError&&this.graphicalMusicSheet.ParentMusicSheet.DrawErroneousMeasures&&this.drawLineAsHorizontalRectangle(new GraphicalLine(new PointF2D(m,y),new PointF2D(m+g.BorderRight,y),4,OutlineAndFillStyleEnum.ErrorUnderlay),GraphicalLayers.MeasureError)}}}class VexFlowTextMeasurer{constructor(e){this.fontSize=20,this.fontSizeStandard=this.fontSize;const r=document.createElement("canvas");this.context=r.getContext("2d"),this.rules=e}computeTextWidthToHeightRatio(e,r,s,o=void 0,a=this.fontSize){return this.context.font=VexFlowConverter.font(a,s,r,this.rules,o),this.context.measureText(e).width/a}setFontSize(e=this.fontSizeStandard){return this.fontSize=e,e}}class AbstractGraphicalExpression extends GraphicalObject{constructor(e,r,s){super(),this.expression=r,this.parentMeasure=s,this.boundingBox=new BoundingBox$1(this,e.PositionAndShape),this.parentStaffLine=e,this.parentStaffLine.AbstractExpressions.push(this),this.rules=e.ParentMusicSystem.rules}get Label(){return this.label}get ParentStaffLine(){return this.parentStaffLine}get SourceExpression(){return this.expression}get Placement(){return this.expression.Placement}}class GraphicalInstantaneousTempoExpression extends AbstractGraphicalExpression{constructor(e,r){super(r.PositionAndShape.Parent.DataObject,e,e.parentMeasure),this.label=r}get GraphicalLabel(){return this.label}updateSkyBottomLine(){}}class GraphicalInstantaneousDynamicExpression extends AbstractGraphicalExpression{constructor(e,r,s){super(r,e,s.parentSourceMeasure),this.mInstantaneousDynamicExpression=e,this.mMeasure=s}updateSkyBottomLine(){const e=this.parentStaffLine.SkyBottomLineCalculator,r=this.PositionAndShape.RelativePosition.x+this.PositionAndShape.BorderMarginLeft,s=this.PositionAndShape.RelativePosition.x+this.PositionAndShape.BorderMarginRight;let o=0;switch(this.Placement){case PlacementEnum.Above:o=this.PositionAndShape.RelativePosition.y+this.PositionAndShape.BorderMarginTop,e.updateSkyLineInRange(r,s,o);break;case PlacementEnum.Below:o=this.PositionAndShape.RelativePosition.y+this.PositionAndShape.BorderMarginBottom,e.updateBottomLineInRange(r,s,o);break;default:loglevelExports.error("Placement for GraphicalInstantaneousDynamicExpression is unknown")}}}class GraphicalContinuousDynamicExpression extends AbstractGraphicalExpression{constructor(e,r,s){super(r,e,s),this.lines=[],this.isSplittedPart=!1,this.notToBeRemoved=!1}get StartMeasure(){return this.startMeasure}set StartMeasure(e){this.startMeasure=e}get EndMeasure(){return this.endMeasure}set EndMeasure(e){this.endMeasure=e}get EndStaffLine(){return this.endMeasure?this.endMeasure.ParentStaffLine:void 0}get IsSplittedPart(){return this.isSplittedPart}set IsSplittedPart(e){this.isSplittedPart=e}get IsVerbal(){return this.ContinuousDynamic.Label&&this.ContinuousDynamic.Label.length>0}get NotToBeRemoved(){return this.notToBeRemoved}set NotToBeRemoved(e){this.notToBeRemoved=e}get Lines(){return this.lines}get ContinuousDynamic(){return this.SourceExpression}updateSkyBottomLine(){var o;const e=this.parentStaffLine.SkyBottomLineCalculator,r=this.IsVerbal?this.label.PositionAndShape.RelativePosition.x+this.label.PositionAndShape.BorderMarginLeft:0,s=this.IsVerbal?this.label.PositionAndShape.RelativePosition.x+this.label.PositionAndShape.BorderMarginRight:0;switch(!this.IsSoftAccent&&!this.IsVerbal&&this.lines.length<2&&loglevelExports.warn("Not enough lines for SkyBottomLine calculation"),this.IsVerbal||this.ContinuousDynamic.DynamicType!==ContDynamicEnum.crescendo&&this.ContinuousDynamic.DynamicType!==ContDynamicEnum.diminuendo&&loglevelExports.warn("GraphicalContinuousDynamicExpression.updateSkyBottomLine(): unhandled continuous dynamic type. start measure: "+((o=this.startMeasure)==null?void 0:o.MeasureNumber)),this.Placement){case PlacementEnum.Above:if(this.IsSoftAccent)e.updateSkyLineWithWedge(this.lines[0].Start,this.lines[0].End),e.updateSkyLineWithWedge(this.lines[2].End,this.lines[2].Start),e.updateSkyLineWithLine(this.lines[0].End,this.lines[2].End,this.lines[0].End.y);else if(!this.IsVerbal)this.ContinuousDynamic.DynamicType===ContDynamicEnum.crescendo?e.updateSkyLineWithWedge(this.lines[0].Start,this.lines[0].End):this.ContinuousDynamic.DynamicType===ContDynamicEnum.diminuendo&&e.updateSkyLineWithWedge(this.lines[0].End,this.lines[0].Start);else{const a=this.label.PositionAndShape.BorderMarginTop+this.label.PositionAndShape.RelativePosition.y;e.updateSkyLineInRange(r,s,a)}break;case PlacementEnum.Below:if(!this.IsVerbal)this.ContinuousDynamic.DynamicType===ContDynamicEnum.crescendo?e.updateBottomLineWithWedge(this.lines[1].Start,this.lines[1].End):this.ContinuousDynamic.DynamicType===ContDynamicEnum.diminuendo&&e.updateBottomLineWithWedge(this.lines[1].End,this.lines[1].Start);else{const a=this.label.PositionAndShape.BorderMarginBottom+this.label.PositionAndShape.RelativePosition.y;e.updateBottomLineInRange(r,s,a)}break;default:loglevelExports.error("Placement for GraphicalContinuousDynamicExpression is unknown")}}createCrescendoLines(e,r,s,o=this.rules.WedgeOpeningLength,a=this.rules.WedgeLineWidth){const l=new PointF2D(e,s),c=new PointF2D(r,s-o/2),u=new PointF2D(r,s+o/2);this.addWedgeLines(l,c,u,a)}createFirstHalfCrescendoLines(e,r,s,o=this.rules.WedgeMeasureEndOpeningLength,a=this.rules.WedgeLineWidth){const l=new PointF2D(e,s),c=new PointF2D(r,s-o/2),u=new PointF2D(r,s+o/2);this.addWedgeLines(l,c,u,a)}createSecondHalfCrescendoLines(e,r,s,o=this.rules.WedgeMeasureBeginOpeningLength,a=this.rules.WedgeOpeningLength,l=this.rules.WedgeLineWidth){const c=new PointF2D(e,s-o/2),u=new PointF2D(e,s+o/2),d=new PointF2D(r,s-a/2),g=new PointF2D(r,s+a/2);this.addDoubleLines(c,d,u,g,l)}recalculateCrescendoLines(e,r,s){const o=Math.abs(this.lines[0].Start.y-this.lines[1].Start.y)>1e-4;this.lines.clear(),o?this.createSecondHalfCrescendoLines(e,r,s):this.isSplittedPart?this.createFirstHalfCrescendoLines(e,r,s):this.createCrescendoLines(e,r,s)}createDiminuendoLines(e,r,s,o=this.rules.WedgeOpeningLength,a=this.rules.WedgeLineWidth){const l=new PointF2D(e,s-o/2),c=new PointF2D(e,s+o/2),u=new PointF2D(r,s);this.addWedgeLines(u,l,c,a)}createFirstHalfDiminuendoLines(e,r,s,o=this.rules.WedgeOpeningLength,a=this.rules.WedgeMeasureEndOpeningLength,l=this.rules.WedgeLineWidth){const c=new PointF2D(e,s-o/2),u=new PointF2D(e,s+o/2),d=new PointF2D(r,s-a/2),g=new PointF2D(r,s+a/2);this.addDoubleLines(c,d,u,g,l)}createSecondHalfDiminuendoLines(e,r,s,o=this.rules.WedgeMeasureBeginOpeningLength,a=this.rules.WedgeLineWidth){const l=new PointF2D(e,s-o/2),c=new PointF2D(e,s+o/2),u=new PointF2D(r,s);this.addWedgeLines(u,l,c,a)}recalculateDiminuendoLines(e,r,s){const o=Math.abs(this.lines[0].End.y-this.lines[1].End.y)>1e-4;this.lines.clear(),o?this.createFirstHalfDiminuendoLines(e,r,s):this.isSplittedPart?this.createSecondHalfDiminuendoLines(e,r,s):this.createDiminuendoLines(e,r,s)}createFirstHalfLines(e,r,s,o=this.rules.WedgeOpeningLength,a=this.rules.WedgeMeasureEndOpeningLength,l=this.rules.WedgeLineWidth){this.ContinuousDynamic.DynamicType===ContDynamicEnum.crescendo?this.createFirstHalfCrescendoLines(e,r,s,a,l):this.ContinuousDynamic.DynamicType===ContDynamicEnum.diminuendo&&this.createFirstHalfDiminuendoLines(e,r,s,o,a,l)}createSecondHalfLines(e,r,s,o=this.rules.WedgeMeasureBeginOpeningLength,a=this.rules.WedgeOpeningLength,l=this.rules.WedgeLineWidth){this.ContinuousDynamic.DynamicType===ContDynamicEnum.crescendo?this.createSecondHalfCrescendoLines(e,r,s,o,a,l):this.ContinuousDynamic.DynamicType===ContDynamicEnum.diminuendo&&this.createSecondHalfDiminuendoLines(e,r,s,o,l)}createLines(e,r,s,o=this.rules.WedgeOpeningLength,a=this.rules.WedgeLineWidth){this.ContinuousDynamic.DynamicType===ContDynamicEnum.crescendo?this.createCrescendoLines(e,r,s,o,a):this.ContinuousDynamic.DynamicType===ContDynamicEnum.diminuendo&&this.createDiminuendoLines(e,r,s,o,a)}calcPsi(){if(this.IsVerbal){this.PositionAndShape.calculateBoundingBox();return}this.PositionAndShape.RelativePosition=this.lines[0].Start,this.PositionAndShape.BorderMarginTop=this.lines[0].End.y-this.lines[0].Start.y,this.PositionAndShape.BorderMarginBottom=this.lines[1].End.y-this.lines[1].Start.y,this.PositionAndShape.Center.y=(this.PositionAndShape.BorderMarginTop+this.PositionAndShape.BorderMarginBottom)/2,this.IsSoftAccent?(this.PositionAndShape.BorderMarginLeft=0,this.PositionAndShape.BorderMarginRight=this.lines[3].Start.x-this.lines[0].Start.x):this.ContinuousDynamic.DynamicType===ContDynamicEnum.crescendo?(this.PositionAndShape.BorderMarginLeft=0,this.PositionAndShape.BorderMarginRight=this.lines[0].End.x-this.lines[0].Start.x):(this.PositionAndShape.BorderMarginLeft=this.lines[0].End.x-this.lines[0].Start.x,this.PositionAndShape.BorderMarginRight=0)}cleanUp(){this.lines.clear()}shiftYPosition(e){this.IsVerbal?(this.PositionAndShape.RelativePosition.y+=e,this.PositionAndShape.calculateBoundingBox()):(this.lines[0].Start.y+=e,this.lines[0].End.y+=e,this.lines[1].End.y+=e)}squeeze(e){this.IsVerbal||Math.abs(this.lines[0].End.x-this.lines[0].Start.x)<Math.abs(e)||(this.ContinuousDynamic.DynamicType===ContDynamicEnum.crescendo?e>0?this.lines[0].Start.x+=e:(this.lines[0].End.x+=e,this.lines[1].End.x+=e):e<0?this.lines[0].Start.x+=e:(this.lines[0].End.x+=e,this.lines[1].End.x+=e),this.calcPsi())}addWedgeLines(e,r,s,o){const a=new GraphicalLine(e,r,o),l=new GraphicalLine(e,s,o);this.rules.DefaultColorMusic&&(a.colorHex=this.rules.DefaultColorMusic,l.colorHex=this.rules.DefaultColorMusic),this.lines.push(a),this.lines.push(l)}addDoubleLines(e,r,s,o,a){const l=new GraphicalLine(e,r,a),c=new GraphicalLine(s,o,a);this.rules.DefaultColorMusic&&(l.colorHex=this.rules.DefaultColorMusic,c.colorHex=this.rules.DefaultColorMusic),this.lines.push(l),this.lines.push(c)}}class DrawingParameters{constructor(e=DrawingParametersEnum.default,r){this.drawCursors=!0,this.drawTitle=!0,this.drawSubtitle=!0,this.drawLyricist=!0,this.drawComposer=!0,this.drawCopyright=!1,this.drawCredits=!0,this.drawPartNames=!0,this.fingeringPosition=PlacementEnum.Left,this.drawHiddenNotes=!1,this.rules=r,this.rules||(this.rules=new EngravingRules),this.DrawingParametersEnum=e}set DrawingParametersEnum(e){switch(this.drawingParametersEnum=e,e){case DrawingParametersEnum.allon:this.setForAllOn();break;case DrawingParametersEnum.thumbnail:this.setForThumbnail();break;case DrawingParametersEnum.leadsheet:this.setForLeadsheet();break;case DrawingParametersEnum.compact:this.setForCompactMode();break;case DrawingParametersEnum.compacttight:this.setForCompactTightMode();break;case DrawingParametersEnum.default:default:this.setForDefault()}}get DrawingParametersEnum(){return this.drawingParametersEnum}setForAllOn(){this.drawHighlights=!0,this.drawErrors=!0,this.drawSelectionStartSymbol=!0,this.drawSelectionEndSymbol=!0,this.drawCursors=!0,this.drawActivitySymbols=!0,this.drawScrollIndicator=!0,this.drawAnnotations=!0,this.drawComments=!0,this.drawMarkedAreas=!0,this.DrawTitle=!0,this.DrawSubtitle=!0,this.DrawComposer=!0,this.DrawLyricist=!0,this.drawCredits=!0,this.DrawPartNames=!0,this.drawHiddenNotes=!0,this.rules.CompactMode=!1}setForDefault(){this.rules.loadDefaultValues(),this.setForAllOn(),this.drawHiddenNotes=!1}setForThumbnail(){this.drawHighlights=!1,this.drawErrors=!1,this.drawSelectionStartSymbol=!1,this.drawSelectionStartSymbol=!1,this.drawCursors=!1,this.drawActivitySymbols=!1,this.drawScrollIndicator=!1,this.drawAnnotations=!0,this.drawComments=!0,this.drawMarkedAreas=!0,this.drawHiddenNotes=!1}setForCompactMode(){this.rules.CompactMode=!0,this.DrawCredits=!1,this.drawHiddenNotes=!1}setForCompactTightMode(){this.setForCompactMode(),this.DrawPartNames=!1,this.rules.VoiceSpacingMultiplierVexflow=.65,this.rules.VoiceSpacingAddendVexflow=2,this.rules.MinSkyBottomDistBetweenStaves=1,this.rules.MinSkyBottomDistBetweenSystems=1,this.rules.BetweenStaffDistance=2.5,this.rules.StaffDistance=3.5,this.rules.MinimumDistanceBetweenSystems=1,this.rules.PageBottomMargin=0,this.rules.PageLeftMargin=2,this.rules.PageRightMargin=2}setForLeadsheet(){this.drawHighlights=!1,this.drawErrors=!1,this.drawSelectionStartSymbol=!0,this.drawSelectionEndSymbol=!0,this.drawCursors=!0,this.drawActivitySymbols=!1,this.drawScrollIndicator=!0,this.drawAnnotations=!0,this.drawComments=!0,this.drawMarkedAreas=!0}get DrawCredits(){return this.drawCredits}set DrawCredits(e){this.drawCredits=e,this.DrawComposer=e,this.DrawTitle=e,this.DrawSubtitle=e,this.DrawLyricist=e,this.DrawCopyright=e}get DrawTitle(){return this.drawTitle}set DrawTitle(e){this.drawTitle=e,this.rules.RenderTitle=e,e||(this.DrawSubtitle=!1)}get DrawSubtitle(){return this.drawSubtitle}set DrawSubtitle(e){this.drawSubtitle=e,this.rules.RenderSubtitle=e,e&&(this.DrawTitle=!0)}get DrawComposer(){return this.drawComposer}set DrawComposer(e){this.drawComposer=e,this.rules.RenderComposer=e}get DrawLyricist(){return this.drawLyricist}set DrawLyricist(e){this.drawLyricist=e,this.rules.RenderLyricist=e}get DrawCopyright(){return this.drawCopyright}set DrawCopyright(e){this.drawCopyright=e,this.rules.RenderCopyright=e}get DrawPartNames(){return this.drawPartNames}set DrawPartNames(e){this.drawPartNames=e,this.rules.RenderPartNames=e,this.rules.RenderPartNames||(this.rules.RenderPartAbbreviations=!1)}get FingeringPosition(){return this.fingeringPosition}set FingeringPosition(e){this.fingeringPosition=e,this.rules.FingeringPosition=e}get Rules(){return this.rules}set Rules(e){this.rules=e}}class GraphicalUnknownExpression extends AbstractGraphicalExpression{constructor(e,r,s,o,a=void 0){super(e,new AbstractExpression(s),o),this.label=r,this.sourceMultiExpression=a}updateSkyBottomLine(){const e=this.parentStaffLine.SkyBottomLineCalculator,r=this.label.PositionAndShape.RelativePosition.x+this.label.PositionAndShape.BorderMarginLeft,s=this.label.PositionAndShape.RelativePosition.x+this.label.PositionAndShape.BorderMarginRight;switch(this.Placement){case PlacementEnum.Above:const o=this.label.PositionAndShape.BorderMarginTop+this.label.PositionAndShape.RelativePosition.y;e.updateSkyLineInRange(r,s,o);break;case PlacementEnum.Below:const a=this.label.PositionAndShape.BorderMarginBottom+this.label.PositionAndShape.RelativePosition.y;e.updateBottomLineInRange(r,s,a);break;default:loglevelExports.error("Placement for GraphicalUnknownExpression is unknown")}}}const VF$c=Vex.Flow;class VexFlowBackend{getInnerElement(){return this.inner}getCanvas(){return this.canvas}getRenderElement(){let e=this.canvas;return this.getVexflowBackendType()===VF$c.Renderer.Backends.CANVAS&&(e=this.inner),e}getRenderer(){return this.renderer}removeAllChildrenFromContainer(e){for(;e.children.length!==0;)e.removeChild(e.children.item(0))}removeFromContainer(e){const r=this.getRenderElement();for(let s=0;s<e.children.length;s++)if(e.children.item(s)===r){e.removeChild(r);break}}resize(e,r){this.renderer.resize(e,r),this.width=e,this.height=r}}const VF$b=Vex.Flow;class SvgVexFlowBackend extends VexFlowBackend{constructor(e){super(),this.rules=e,this.textId=0}getVexflowBackendType(){return VF$b.Renderer.Backends.SVG}getOSMDBackendType(){return BackendType.SVG}getCanvasSize(){var e;return(e=document.getElementById("osmdCanvasPage"+this.graphicalMusicPage.PageNumber))==null?void 0:e.offsetHeight}initialize(e,r,s=void 0){this.zoom=r,this.canvas=document.createElement("div"),s||(s=this.graphicalMusicPage?this.graphicalMusicPage.PageNumber.toString():"1"),this.canvas.id="osmdCanvasPage"+s,this.inner=this.canvas,this.inner.style.position="relative",this.canvas.style.zIndex="0",e.appendChild(this.inner),this.renderer=new Vex.Flow.Renderer(this.canvas,this.getVexflowBackendType()),this.ctx=this.renderer.getContext(),this.ctx.svg.id="osmdSvgPage"+s}getContext(){return this.ctx}getSvgElement(){return this.ctx.svg}removeNode(e){var s;const r=(s=this.ctx)==null?void 0:s.svg;if(!r)return!1;try{r.removeChild(e)}catch(o){return loglevelExports.error(o),!1}return!0}free(){const e=this.ctx.svg;for(;e.lastChild;)e.removeChild(e.lastChild)}clear(){this.ctx&&(this.free(),this.rules.PageBackgroundColor&&(this.ctx.svg.style["background-color"]=this.rules.PageBackgroundColor))}scale(e){this.ctx.scale(e,e)}translate(e,r){}renderText(e,r,s,o,a,l,c=void 0,u=void 0,d){this.ctx.save();const g=this.ctx.openGroup("text");d!==void 0&&g.setAttribute("class",`vf-lyric lyric${d}`),c&&(this.ctx.attributes.fill=c,this.ctx.attributes.stroke=c);let m=u;(!u||u==="default")&&(m=this.rules.DefaultFontFamily),this.ctx.setFont(m,e,VexFlowConverter.fontStyle(r)),this.ctx.attributes["font-size"]=`${e}px`,this.ctx.state["font-size"]=`${e}px`;let y="normal",b="normal";switch(r){case FontStyles.Bold:y="bold";break;case FontStyles.Italic:b="italic";break;case FontStyles.BoldItalic:y="bold",b="italic";break;default:y="normal"}return this.ctx.attributes["font-weight"]=y,this.ctx.state["font-weight"]=y,this.ctx.attributes["font-style"]=b,this.ctx.state["font-style"]=b,this.ctx.fillText(o,l.x,l.y+a),this.ctx.closeGroup(),this.ctx.restore(),g}renderRectangle(e,r,s,o=1){this.ctx.save();const a=this.ctx.openGroup("rect");return s?this.ctx.attributes.fill=s:this.ctx.attributes.fill=VexFlowConverter.style(r),this.ctx.attributes["fill-opacity"]=o,this.ctx.fillRect(e.x,e.y,e.width,e.height),this.ctx.restore(),this.ctx.attributes["fill-opacity"]=1,this.ctx.closeGroup(),a}renderLine(e,r,s="#FF0000FF",o=2,a){this.ctx.save();const l=this.ctx.openGroup("line",a);return this.ctx.beginPath(),this.ctx.moveTo(e.x,e.y),this.ctx.lineTo(r.x,r.y),this.ctx.attributes.stroke=s,this.ctx.lineWidth=o,this.ctx.stroke(),this.ctx.closeGroup(),this.ctx.restore(),l}renderCurve(e){const r=this.ctx.openGroup("curve");return this.ctx.beginPath(),this.ctx.moveTo(e[0].x,e[0].y),this.ctx.bezierCurveTo(e[1].x,e[1].y,e[2].x,e[2].y,e[3].x,e[3].y),this.ctx.lineTo(e[7].x,e[7].y),this.ctx.bezierCurveTo(e[6].x,e[6].y,e[5].x,e[5].y,e[4].x,e[4].y),this.ctx.lineTo(e[0].x,e[0].y),this.ctx.closePath(),this.ctx.fill(),this.ctx.closeGroup(),r}renderPath(e,r=!0,s){const o=this.ctx.openGroup("path",s);this.ctx.beginPath();let a;for(const l of e){if(!a){this.ctx.moveTo(l.x,l.y),a=l;continue}this.ctx.lineTo(l.x,l.y)}return this.ctx.closePath(),r?this.ctx.fill():this.ctx.stroke(),this.ctx.stroke(),this.ctx.closeGroup(),o}export(){const e=this.ctx.svg.cloneNode(!0),r=document.implementation.createDocumentType("svg","-//W3C//DTD SVG 1.1//EN","http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"),s=document.implementation.createDocument("http://www.w3.org/2000/svg","svg",r);s.replaceChild(e,s.documentElement);const o=new XMLSerializer().serializeToString(s),a=document.createElement("a");a.href="data:image/svg+xml; charset=utf8, "+encodeURIComponent(o.replace(/></g,`>
  60. \r<`)),a.download="opensheetmusicdisplay_download.svg",a.innerHTML=window.location.href+"/download",document.body.appendChild(a)}}const unitInPixels=10;class VexFlowMusicSheetDrawer extends MusicSheetDrawer{constructor(e=new DrawingParameters){super(new VexFlowTextMeasurer(e.Rules),e),this.backends=[],this.zoom=1,this.pageIdx=0,this.getDotId=(r,s)=>s?String(r.Label.PositionAndShape.RelativePosition[s]):String(r.Label.PositionAndShape.RelativePosition.x)+String(r.Label.PositionAndShape.RelativePosition.y),this.hasDot=(r,s,o,a)=>{const l=s||Object.values(a);for(const c of l){if(o)return r.x===c.x&&r.y===c.y;if(r.x===c.x)return!0}return!1}}get Zoom(){return this.zoom}get Backends(){return this.backends}initializeBackendForPage(e){this.backend=this.backends[e.PageNumber-1]}drawSheet(e){var r,s,o;this.rules.DefaultVexFlowNoteFont==="gonville"&&(Vex.Flow.DEFAULT_FONT_STACK=[(r=Vex.Flow.Fonts)==null?void 0:r.Gonville,(s=Vex.Flow.Fonts)==null?void 0:s.Bravura,(o=Vex.Flow.Fonts)==null?void 0:o.Custom]),Vex.Flow.STAVE_LINE_THICKNESS=this.rules.StaffLineWidth*unitInPixels,Vex.Flow.STEM_WIDTH=this.rules.StemWidth*unitInPixels,Vex.Flow.DEFAULT_NOTATION_FONT_SCALE=this.rules.VexFlowDefaultNotationFontScale,Vex.Flow.DEFAULT_TAB_FONT_SCALE=this.rules.VexFlowDefaultTabFontScale,this.pageIdx=0;for(const a of e.MusicPages){if(a.PageNumber>this.rules.MaxPageToDrawNumber)break;const l=this.backends[this.pageIdx];l.graphicalMusicPage=a,l.scale(this.zoom),this.pageIdx+=1}this.pageIdx=0,this.backend=this.backends[0],super.drawSheet(e)}drawPage(e){e&&(this.backend=this.backends[e.PageNumber-1],super.drawPage(e),this.pageIdx+=1)}clear(){for(const e of this.backends)e.clear()}setZoom(e){this.zoom=e}calculatePixelDistance(e){return e*unitInPixels}drawStaffLine(e){const r=this.backend.getContext().openGroup();r&&r.classList.add("staffline"),super.drawStaffLine(e);const s=e.PositionAndShape.AbsolutePosition;this.rules.RenderSlurs&&this.drawSlurs(e,s),this.backend.getContext().closeGroup(),this.rules.RenderGlissandi&&this.drawGlissandi(e,s)}drawSlurs(e,r){var o,a,l,c;const s=(o=window.GYM)==null?void 0:o.vfcurveItem;for(let u=0;u<e.GraphicalSlurs.length;u++){const d=e.GraphicalSlurs[u];if(!d.slur.isCrossed()){if(s&&s.length)try{const g=s.find((m,y)=>(m.index?m.index===u:!0)&&m.MeasureNumberXML==d.staffEntries[d.staffEntries.length-1].parentMeasure.MeasureNumber);g&&(d.bezierEndControlPt.y+=(a=g==null?void 0:g.bezierEndControlPt)!=null&&a.y?g.bezierEndControlPt.y:0,d.bezierEndPt.y+=(l=g==null?void 0:g.bezierEndPt)!=null&&l.y?g.bezierEndPt.y:0,d.bezierStartControlPt.y+=(c=g==null?void 0:g.bezierStartControlPt)!=null&&c.y?g.bezierStartControlPt.y:0)}catch(g){console.log(g)}this.drawSlur(d,r)}}}drawGlissandi(e,r){for(const s of e.GraphicalGlissandi)this.drawGlissando(s,r)}drawGlissando(e,r){if(e.StaffLine.ParentStaff.isTab||e.calculateLine(this.rules),e.Line){const s=new PointF2D(e.Line.Start.x+r.x,e.Line.Start.y),o=new PointF2D(e.Line.End.x+r.x,e.Line.End.y);this.drawLine(s,o,e.Color,e.Width)}else{const s=e.vfTie;if(s){const o=this.backend.getContext();s.setContext(o),s.draw()}}}drawSlur(e,r){const s=[];let o,a,l,c;this.rules.DYMusicScoreType==="jianpu"?((e.placement>0||e.bezierStartPt.y>0)&&(e.bezierStartPt.y=-.8,e.bezierStartControlPt.y=-2.5),o=new PointF2D(e.bezierStartPt.x+r.x,e.bezierStartPt.y+r.y),a=new PointF2D(e.bezierStartControlPt.x+r.x,e.bezierStartControlPt.y+r.y),l=new PointF2D(e.bezierEndControlPt.x+r.x,e.bezierStartControlPt.y+r.y),c=new PointF2D(e.bezierEndPt.x+r.x,e.bezierStartPt.y+r.y)):(o=new PointF2D(e.bezierStartPt.x+r.x,e.bezierStartPt.y+r.y),a=new PointF2D(e.bezierStartControlPt.x+r.x,e.bezierStartControlPt.y+r.y),l=new PointF2D(e.bezierEndControlPt.x+r.x,e.bezierEndControlPt.y+r.y),c=new PointF2D(e.bezierEndPt.x+r.x,e.bezierEndPt.y+r.y)),s.push(this.applyScreenTransformation(o)),s.push(this.applyScreenTransformation(a)),s.push(this.applyScreenTransformation(l)),s.push(this.applyScreenTransformation(c)),e.placement===PlacementEnum.Above?(o.y-=.05,a.y-=.3,l.y-=.3,c.y-=.05):(o.y+=.05,a.y+=.3,l.y+=.3,c.y+=.05),s.push(this.applyScreenTransformation(o)),s.push(this.applyScreenTransformation(a)),s.push(this.applyScreenTransformation(l)),s.push(this.applyScreenTransformation(c)),e.SVGElement=this.backend.renderCurve(s)}drawMeasure(e){e.setAbsoluteCoordinates(e.PositionAndShape.AbsolutePosition.x*unitInPixels,e.PositionAndShape.AbsolutePosition.y*unitInPixels);const r=this.backend.getContext();try{e.draw(r)}catch(o){loglevelExports.warn("VexFlowMusicSheetDrawer.drawMeasure",o)}let s=0;for(const o of e.staffEntries)this.drawStaffEntry(o),s=this.drawBuzzRolls(o,s)}drawBuzzRolls(e,r){var s;for(const o of e.graphicalVoiceEntries)for(const a of o.notes)if((s=a.sourceNote.TremoloInfo)!=null&&s.tremoloUnmeasured){const l=this.rules.TremoloBuzzRollThickness,c=.9,u=.5,d=a;let g,m;const y=d.vfnote[0].getStemDirection();let b;if(this.backend instanceof SvgVexFlowBackend&&(b=d.getStemSVG()),(b==null?void 0:b.getBbox)!==void 0){const k=b.getBBox();g=new PointF2D(k.x/10,k.y/10),m=k.height/10}else m=d.vfnote[0].getStemLength()/10,g=new PointF2D(d.vfnote[0].getStem().x_begin/10,d.vfnote[0].getStem().y_top/10),y===1&&(g.y-=m);let S=g.y+m/3;d.vfnote[0].getBeamCount()>1&&(S=g.y+m/2,y===-1&&(S-=u+.2));const E=g.x-.5,x=S,P=[],C=[new PointF2D(0,-l),new PointF2D(c-l,0),new PointF2D(-c+l,-u),new PointF2D(0,-l),new PointF2D(c,0),new PointF2D(0,l),new PointF2D(-c+l,0),new PointF2D(c-l,u),new PointF2D(0,l),new PointF2D(-c,0)];let T=new PointF2D(E,x);P.push(T);for(const k of C)T=P.last(),P.push(new PointF2D(T.x+k.x,T.y-k.y));this.DrawPath(P,d.ParentMusicPage,!0,`buzzRoll${r}`),r++}return r}drawLine(e,r,s="#000000FF",o=.2){return e=this.applyScreenTransformation(e),r=this.applyScreenTransformation(r),this.backend.renderLine(e,r,s,o*unitInPixels)}DrawOverlayLine(e,r,s,o="#FF0000FF",a=.2,l){if(!s.PageNumber||s.PageNumber>this.backends.length||s.PageNumber<1){console.log("VexFlowMusicSheetDrawer.drawOverlayLine: invalid page number / music page number doesn't correspond to an existing backend.");return}const c=s.PageNumber-1,u=this.backends[c];return e=this.applyScreenTransformation(e),r=this.applyScreenTransformation(r),l||(l=`overlayLine ${e.x}/${e.y}`),u.renderLine(e,r,o,a*unitInPixels,l)}DrawPath(e,r,s=!0,o){const a=r.PageNumber-1,l=this.backends[a],c=[];for(const u of e)c.push(this.applyScreenTransformation(u));return l.renderPath(c,s,o)}drawSkyLine(e){const r=e.PositionAndShape.AbsolutePosition,s=e.PositionAndShape.Size.width;this.drawSampledLine(e.SkyLine,r,s)}drawBottomLine(e){const r=new PointF2D(e.PositionAndShape.AbsolutePosition.x,e.PositionAndShape.AbsolutePosition.y),s=e.PositionAndShape.Size.width;this.drawSampledLine(e.BottomLine,r,s,"#0000FFFF")}drawSampledLine(e,r,s,o="#FF0000FF"){const a=[];let l=0;for(let u=0;u<e.length;u++)e[u]!==l&&(a.push(u),l=e[u]);const c=r;if(a.length>0){const u=this.rules.SamplingUnit;let d=new PointF2D(c.x,c.y),g=new PointF2D(a[0]/u+c.x,c.y);this.drawLine(d,g,o);let m,y;e[0]>=0&&(m=new PointF2D(a[0]/u+c.x,c.y),y=new PointF2D(a[0]/u+c.x,c.y+e[a[0]]),this.drawLine(m,y,o));for(let b=1;b<a.length;b++)d=new PointF2D(a[b-1]/u+c.x,c.y+e[a[b-1]]),g=new PointF2D(a[b]/u+c.x,c.y+e[a[b-1]]),this.drawLine(d,g,o),m=new PointF2D(a[b]/u+c.x,c.y+e[a[b-1]]),y=new PointF2D(a[b]/u+c.x,c.y+e[a[b]]),this.drawLine(m,y,o);a[a.length-1]<e.length?(d=new PointF2D(a[a.length-1]/u+c.x,c.y+e[a[a.length-1]]),g=new PointF2D(c.x+s,c.y+e[a[a.length-1]]),this.drawLine(d,g,o)):(d=new PointF2D(a[a.length-1]/u+c.x,c.y),g=new PointF2D(c.x+s,c.y),this.drawLine(d,g,o))}else{const u=new PointF2D(c.x,c.y),d=new PointF2D(c.x+s,c.y);this.drawLine(u,d,o)}}drawStaffEntry(e){if(e.FingeringEntries.length>0)for(const r of e.FingeringEntries)r.SVGNode=this.drawLabel(r,GraphicalLayers.Notes);if(e.graphicalChordContainers!==void 0&&e.graphicalChordContainers.length>0)for(const r of e.graphicalChordContainers){const s=r.GraphicalLabel;s.SVGNode=this.drawLabel(s,GraphicalLayers.Notes)}this.rules.RenderLyrics&&e.LyricsEntries.length>0&&this.drawLyrics(e.LyricsEntries,GraphicalLayers.Notes)}drawLyrics(e,r){e.forEach(s=>{const o=s.GraphicalLabel;o.Label.colorDefault=this.rules.DefaultColorLyrics,o.SVGNode=this.drawLabel(o,r)})}drawInstrumentBrace(e,r){e.draw(this.backend.getContext())}drawGroupBracket(e,r){e.draw(this.backend.getContext())}drawOctaveShifts(e){for(const r of e.OctaveShifts)if(r){const s=r,o=this.backend.getContext(),a=s.getTextBracket();this.rules.DefaultColorMusic&&(a.render_options.color=this.rules.DefaultColorMusic),a.setContext(o);try{a.draw()}catch(l){loglevelExports.warn(l)}}}drawPedals(e){for(const r of e.Pedals)if(r){const s=r,o=this.backend.getContext(),a=s.getPedalMarking();a.render_options.color=this.rules.DefaultColorMusic,a.setContext(o),a.draw()}}drawWavyLines(e){for(const r of e.WavyLines)if(r){const s=r,o=this.backend.getContext(),a=s.getVibratoBracket();a.setContext(o),a.draw()}}getMaxExpressionsYAndDots(e){var u,d;const r=[];let s=0;for(const g of e.measures)r.push(g.measureNumber);const o={},a={},l={};for(const g of e.AbstractExpressions)if(g instanceof GraphicalUnknownExpression&&r.includes(g.parentMeasure.MeasureNumber)){const m=this.getDotId(g),y=this.getDotId(g,"x");a[m]||(a[m]=[]),l[y]||(l[y]=[]),this.hasDot(g.Label.PositionAndShape.RelativePosition,a[m],!0)||(a[m].push(g.Label.PositionAndShape.RelativePosition),l[y].push(g.Label.PositionAndShape.RelativePosition)),o[m]=g.Label.PositionAndShape.RelativePosition}let c=0;for(const g of e.AbstractExpressions){const m=(u=g.parentMeasure)==null?void 0:u.MeasureNumber;if(g instanceof GraphicalUnknownExpression&&r.includes(m)){const y=(d=g.parentMeasure.verticalMeasureList[0])==null?void 0:d.stave,b=(y==null?void 0:y.end_x)-(y==null?void 0:y.x),A=this.getDotId(g,"x");if((l[A]||[]).length===1&&c!==m){const S=g.Label.PositionAndShape.AbsolutePosition.y;s=s===0?S:Math.min(s,S)}(l[A]||[]).length!==1&&b/10<g.Label.PositionAndShape.MarginSize.width&&(c=m+1)}}return{maxY:s,dots:o,dotsPoint:a,dotsPointByX:l}}drawExpressions(e){const r={},s=[],{maxY:o,dotsPointByX:a}=this.getMaxExpressionsYAndDots(e);for(const l of e.AbstractExpressions)if(l instanceof GraphicalInstantaneousDynamicExpression)this.drawInstantaneousDynamic(l);else if(l instanceof GraphicalInstantaneousTempoExpression){const c=l.GraphicalLabel;c.SVGNode=this.drawLabel(c,GraphicalLayers.Notes)}else if(l instanceof GraphicalContinuousDynamicExpression)this.drawContinuousDynamic(l);else if(l instanceof GraphicalUnknownExpression){const c=this.getDotId(l),u=this.getDotId(l,"x");if((a[u]||[]).length!==1){const g=l.Label.PositionAndShape.AbsolutePosition.y;r[u]?!s.includes(c)&&r[u]!==0&&(l.Label.PositionAndShape.AbsolutePosition.y=g-1):(r[u]=-Math.abs(o-g),l.Label.PositionAndShape.AbsolutePosition.y=g+r[u]),s.push(c)}const d=l.Label;d.SVGNode=this.drawLabel(d,GraphicalLayers.Notes)}else loglevelExports.warn("Unkown type of expression!")}drawInstantaneousDynamic(e){const r=e.Label;r.SVGNode=this.drawLabel(r,GraphicalLayers.Notes)}drawContinuousDynamic(e){var r;if(e.IsVerbal){const s=e.Label;s.SVGNode=this.drawLabel(s,GraphicalLayers.Notes)}else{try{if(e.Lines.length===2&&Math.abs(e.Lines[0].Start.x-e.Lines[1].Start.x)>Number.EPSILON){let o=Math.min(...e.Lines.map(l=>l.Start.x)),a=Math.min(...e.Lines.map(l=>l.Start.y));e.Lines[0].Start.x=o,e.Lines[1].Start.x=o,e.Lines[0].Start.y=a+this.rules.WedgeOpeningLength/2,e.Lines[1].Start.y=a+this.rules.WedgeOpeningLength*2,e.Lines[0].End.y+=this.rules.WedgeOpeningLength/2,e.Lines[1].End.y+=this.rules.WedgeOpeningLength}}catch(o){}const s=this.backend.getContext();s.openGroup("lineGroup");for(const o of e.Lines){const a=new PointF2D(e.ParentStaffLine.PositionAndShape.AbsolutePosition.x+o.Start.x,e.ParentStaffLine.PositionAndShape.AbsolutePosition.y+o.Start.y),l=new PointF2D(e.ParentStaffLine.PositionAndShape.AbsolutePosition.x+o.End.x,e.ParentStaffLine.PositionAndShape.AbsolutePosition.y+o.End.y);this.drawLine(a,l,(r=o.colorHex)!=null?r:"#000000",o.Width)}s.closeGroup()}}renderLabel(e,r,s){return this._renderLabel(e,s)}_renderLabel(e,r){var d,g;if(!e.Label.print)return;const s=e.Label.fontHeight*unitInPixels,{font:o}=e.Label;let a;this.rules.ColoringEnabled&&(a=e.Label.colorDefault,e.ColorXML&&(a=e.ColorXML),e.Label.color&&(a=e.Label.color.toString()),a||(a=this.rules.DefaultColorLabel));let{fontStyle:l,fontFamily:c}=e.Label;l||(l=this.rules.DefaultFontStyle),c||(c=this.rules.DefaultFontFamily);let u;for(let m=0;m<((d=e.TextLines)==null?void 0:d.length);m++){const y=e.TextLines[m],b=this.calculatePixelDistance(y.xOffset),A=new PointF2D(r.ScreenPosition.x+b,r.ScreenPosition.y),S=this.backend.renderText(s,l,o,y.text,r.FontHeightInPixel,A,a,e.Label.fontFamily,(g=e.Label)==null?void 0:g.lyricExtendNoteId);u?u.appendChild(S):u=S,r.ScreenPosition.y=r.ScreenPosition.y+r.FontHeightInPixel,e.TextLines.length>1&&(r.ScreenPosition.y+=this.rules.SpacingBetweenTextLines)}return u}renderRectangle(e,r,s,o,a){return this.backend.renderRectangle(e,s,o,a)}applyScreenTransformation(e){return new PointF2D(e.x*unitInPixels,e.y*unitInPixels)}applyScreenTransformationForRect(e){return new RectangleF2D(e.x*unitInPixels,e.y*unitInPixels,e.width*unitInPixels,e.height*unitInPixels)}}class TabNote extends Note$1{constructor(e,r,s,o,a,l,c,u){super(e,r,s,o,a),this.stringNumberTab=l,this.fretNumber=c,this.bendArray=u}get StringNumberTab(){return this.stringNumberTab}get FretNumber(){return this.fretNumber}get BendArray(){return this.bendArray}hasTabEffects(){var e;return((e=this.bendArray)==null?void 0:e.length)>0}}const VF$a=Vex.Flow,_VexFlowConverter=class{static durations(i,e){const r=[],s=i.clone();for(;s.RealValue>1e-4;){const o=s.RealValue;if(o>=2)r.push("1/2"),s.Sub(new Fraction$1(2,1));else if(o>=1)r.push("w"),s.Sub(new Fraction$1(1,1));else if(o<1&&o>=.5){if(e&&o>.5)return["w"];r.push("h"),s.Sub(new Fraction$1(1,2))}else if(o<.5&&o>=.25){if(e&&o>.25)return["h"];r.push("q"),s.Sub(new Fraction$1(1,4))}else if(o<.25&&o>=.125){if(e&&o>.125)return["q"];r.push("8"),s.Sub(new Fraction$1(1,8))}else if(o<.125&&o>=.0625){if(e&&o>.0625)return["8"];r.push("16"),s.Sub(new Fraction$1(1,16))}else if(o<.0625&&o>=.03125){if(e&&o>.03125)return["16"];r.push("32"),s.Sub(new Fraction$1(1,32))}else if(o<.03125&&o>=.015625){if(e&&o>.015625)return["32"];r.push("64"),s.Sub(new Fraction$1(1,64))}else{if(e)return["64"];r.push("128"),s.Sub(new Fraction$1(1,128))}}return r}static pitch(i,e,r,s=void 0,o=void 0){let a=o;o===void 0&&(a=3),e&&o===void 0&&(a=0,r.ClefType===ClefEnum.F&&(a=2),r.ClefType===ClefEnum.C&&(a=2));const l=NoteEnum[i.FundamentalNote].toLowerCase(),c=Pitch.accidentalVexflow(i.Accidental),u=i.Octave-r.OctaveOffset+a;let d="";return s&&(d=this.NoteHeadCode(s)),[l+"n/"+u+d,c,r]}static restToNotePitch(i,e){let r=i.Octave;switch(e){case ClefEnum.C:case ClefEnum.F:{r+=2;break}case ClefEnum.G:}return new Pitch(i.FundamentalNote,r,AccidentalEnum.NONE)}static NoteHeadCode(i){const e="/",r=i.Filled?"2":"1";switch(i.Shape){case NoteHeadShape.NORMAL:return"";case NoteHeadShape.DIAMOND:return e+"D"+r;case NoteHeadShape.TRIANGLE:return e+"T"+r;case NoteHeadShape.TRIANGLE_INVERTED:return e+"TI";case NoteHeadShape.X:return e+"X"+r;case NoteHeadShape.CIRCLEX:return e+"X3";case NoteHeadShape.RECTANGLE:return e+"R"+r;case NoteHeadShape.SQUARE:return e+"S"+r;case NoteHeadShape.SLASH:return"";default:return""}}static GhostNotes(i){const e=[],r=_VexFlowConverter.durations(i,!1);for(const s of r)e.push(new VF$a.GhostNote({duration:s}));return e}static StaveNote(i){var I,M,R,B,_,V,D,F,N,K,G,q,O,U,$,Y,Q,xe,ue;i.sortForVexflow();const e=i.notes,r=i.parentStaffEntry.parentMeasure.parentSourceMeasure.Rules,s=e[0];let o=[],a;const l=[],c=s.graphicalNoteLength,u=s.sourceNote.NoteTuplet!==void 0;let d=_VexFlowConverter.durations(c,u)[0];_VexFlowConverter.idx+=1,s.sourceNote.TypeLength!==void 0&&s.sourceNote.TypeLength!==c&&s.sourceNote.TypeLength.RealValue!==0&&(d=_VexFlowConverter.durations(s.sourceNote.TypeLength,u)[0],s.numberOfDots=s.sourceNote.DotsXml);let g,m=s.numberOfDots,y=!1,b=0,A=!1,S;for(const W of e){if(m<W.numberOfDots&&(m=W.numberOfDots),W.sourceNote.isRest()){if(A=!0,W.sourceNote.Pitch){o=[W.vfpitch[0]];break}else{o=["b/4"];const Ee=(I=W.parentVoiceEntry)==null?void 0:I.parentVoiceEntry;if(Ee){const Te=(M=W.parentVoiceEntry)==null?void 0:M.parentStaffEntry.parentMeasure.staffEntries;let De,te,ae=-1;for(let H=0;H<Te.length;H++)if(((R=Te[H])==null?void 0:R.graphicalVoiceEntries[0].parentVoiceEntry)===Ee){ae=H;break}if(ae>=1&&Te.length-1>=ae+1&&(De=(_=(B=Te[ae-1])==null?void 0:B.graphicalVoiceEntries[0])==null?void 0:_.parentVoiceEntry,te=(D=(V=Te[ae+1])==null?void 0:V.graphicalVoiceEntries[0])==null?void 0:D.parentVoiceEntry,De&&te)){const H=De.Notes[0],ve=te.Notes[0];if((F=H.NoteBeam)!=null&&F.Notes.includes(ve)&&ve.ParentStaffEntry.ParentStaff.StafflineCount!==1){const pe=De.Notes.last().Pitch,ee=W.Clef(),ne=_VexFlowConverter.pitch(_VexFlowConverter.restToNotePitch(pe.getTransposedPitch(-2),ee.ClefType),!1,ee);pe.FundamentalNote===4&&(o=[ne[0]])}}}}if((W.sourceNote.IsWholeMeasureRest||c.RealValue===W.sourceNote.SourceMeasure.ActiveTimeSignature.RealValue)&&(o=r.DYMusicScoreType==="staff"?["d/5"]:["R/5"],d="w",m=0,y=!0,b=r.WholeRestXShiftVexflow*unitInPixels),[...W.sourceNote.ParentStaff.Voices].filter(Ee=>(Ee==null?void 0:Ee.VoiceId)!=1).length){const Ee=W.parentVoiceEntry.parentStaffEntry.graphicalVoiceEntries,Te=W.parentVoiceEntry.parentVoiceEntry.ParentVoice.VoiceId;let De,te;for(const ae of Ee)for(const H of ae.notes){if(H===W||H.sourceNote.isRest()||!H.sourceNote.PrintObject){W.lineShift=-2;continue}const ve=H.parentVoiceEntry.parentVoiceEntry.WantedStemDirection,pe=Te===1||Te===5,ee=pe?1:-1,me=H.sourceNote.Pitch.getHalfTone(),Be=ee===1&&me>De,oe=ee===-1&&me<De;(!De||Be||oe)&&(De=me,te=0,pe&&ve===StemDirectionType.Up||!pe&&ve===StemDirectionType.Down?te+=7:pe?te+=1:te+=2,d.includes("8")||ve===StemDirectionType.Up&&ee===-1&&(te+=1),H.sourceNote.NoteBeam&&(te+=1),d.includes("w")&&(te=3.5),te+=Math.ceil(r.RestCollisionYPadding)*.5,te*=ee,W.lineShift=te)}if(De>0){let ae=3;const H=W.Clef();switch(H.ClefType){case ClefEnum.F:ae=5;break;case ClefEnum.C:ae=4;break}S=Pitch.fromHalftone(De),o=[_VexFlowConverter.pitch(S,!0,H,void 0,ae)[0]]}}break}W.sourceNote.Notehead&&(W.sourceNote.Notehead.Shape,NoteHeadShape.SLASH);const J=W.vfpitch;if((K=(N=J[2])==null?void 0:N.Parent)!=null&&K.Instructions)for(let ce=0,ge=J[2].Parent.Instructions.length;ce<ge;++ce){const Ee=J[2].Parent.Instructions[ce];Ee instanceof KeyInstruction&&(a=Ee)}o.push(J[0]),l.push(J[1]),g||(g=_VexFlowConverter.Clef(J[2]).type),g==="percussion"&&W.sourceNote.ParentStaff.StafflineCount}if(!g)try{const W=_VexFlowConverter.Clef(i.notes[0].clef);(W==null?void 0:W.type)==="percussion"&&i.notes[0].sourceNote.ParentStaff.StafflineCount}catch(W){}for(let W=0,J=m;W<J;++W)d+="d";e.length===1&&((G=e[0].sourceNote.Notehead)==null?void 0:G.Shape)===NoteHeadShape.SLASH&&(d+="s"),A&&(d+="r");let E;const x={align_center:y,auto_stem:!1,clef:g,duration:d,keys:o,stem_direction:1,slash:i.GraceSlash,note_size:20,DYMusicScoreType:r.DYMusicScoreType,keyString:_VexFlowConverter.keySignature(a)},P=i.notes[0].sourceNote;if(P.IsCueNote&&(x.glyph_font_scale=VF$a.DEFAULT_NOTATION_FONT_SCALE*VF$a.GraceNote.SCALE,x.stroke_px=VF$a.GraceNote.LEDGER_LINE_OFFSET),i.parentVoiceEntry.IsGrace||i.notes[0].sourceNote.IsCueNote)r.DYMusicScoreType==="jianpu"?(x.ornament=!0,E=new NumberedNote(x)):E=new VF$a.GraceNote(x);else{r.DYMusicScoreType==="jianpu"?E=new NumberedNote(x):E=new VF$a.StaveNote(x),E.stagger_same_whole_notes=r.StaggerSameWholeNotes;const W=i.parentStaffEntry.LyricsEntries;let J=!0,ce=0;if(W.length>0&&r.RenderLyrics&&r.LyricsUseXPaddingForLongLyrics){const ge=i.parentStaffEntry.parentMeasure,Ee=ge.staffEntries.indexOf(i.parentStaffEntry),Te=[];for(let ae=Ee+1;ae<ge.staffEntries.length;ae++){const H=ge.staffEntries[ae];H.graphicalVoiceEntries[0]&&Te.push(H)}let De,te=i.parentStaffEntry.relInMeasureTimestamp.clone();for(const ae of Te){const H=ae.relInMeasureTimestamp.clone();if(De=Fraction$1.minus(H,i.parentVoiceEntry.Timestamp),De.RealValue>.25){J=!1;break}if(ae.LyricsEntries.length>0)break;const ve=Fraction$1.minus(H,te);ce+=ve.RealValue*32,te=H}}if(r.RenderLyrics&&r.LyricsUseXPaddingForLongLyrics&&W.length>0&&J){let ge=!1,Ee=0;for(const De of e)if(De.sourceNote.Length.RealValue<=.125){ge=!0;break}let Te=!1;for(const De of W){const te=r.LyricsXPaddingWidthThreshold;let ae=De.GraphicalLabel.PositionAndShape.Size.width;if(De.hasDashFromLyricWord()&&(ae+=.5),ae>te){Ee+=ae-te;const H=i.parentStaffEntry,ve=H.parentMeasure.staffEntries,ee=ve.indexOf(H)===ve.length-1;ee&&(ce+=r.LyricsXPaddingReductionForLastNoteInMeasure),ge||(ce+=r.LyricsXPaddingReductionForLongNotes),(r.LyricsXPaddingForLastNoteInMeasure||!ee)&&ae>te+ce&&(Te=!0,Ee-=ce);break}}Te&&(E.paddingRight=10*r.LyricsXPaddingFactorForLongLyrics*Ee)}}const C=i.notes[0].lineShift;if(C!==0&&(E.getKeyProps()[0].line+=C),e.length>1)for(let W=0;W<e.length;W++)((q=e[W].sourceNote.Notehead)==null?void 0:q.Shape)===NoteHeadShape.SLASH&&(E.note_heads[W].note_type="s");((O=window.GYM)==null?void 0:O.isDrumset)&&i.notes[0].sourceNote.isRest()&&(($=(U=i.notes[0].sourceNote.ParentStaffEntry)==null?void 0:U.VoiceEntries)==null?void 0:$.length)>1&&i.notes[0].sourceNote.ParentVoiceEntry.ParentVoice.VoiceId==1&&(E.getKeyProps()[0].line=4.5);const k=(Y=window.GYM)==null?void 0:Y.customBassDrum;if(k&&E.isRest()&&(E.getDuration()==="q"&&(E.getKeyProps()[0].line=k),E.getDuration()==="h"&&(E.getKeyProps()[0].line=k-1)),E.getKeyProps().forEach(({line:W},J)=>i.notes[J].staffLine=W),(r.LedgerLineWidth||r.LedgerLineStrokeStyle)&&(E.ledgerLineStyle||(E.ledgerLineStyle={}),r.LedgerLineWidth&&(E.ledgerLineStyle.lineWidth=r.LedgerLineWidth),r.LedgerLineStrokeStyle&&(E.ledgerLineStyle.strokeStyle=r.LedgerLineStrokeStyle)),r.ColoringEnabled){const W=r.DefaultColorStem;let J=i.parentVoiceEntry.StemColor;!J&&W&&(J=W);const ce={fillStyle:J,strokeStyle:J};J&&(E.setStemStyle(ce),E.flag&&r.ColorFlags&&E.setFlagStyle(ce))}if(E.x_shift=b,i.parentVoiceEntry.IsGrace&&i.notes[0].sourceNote.NoteBeam&&(i.parentVoiceEntry.WantedStemDirection=i.notes[0].sourceNote.NoteBeam.Notes[0].ParentVoiceEntry.WantedStemDirection),i.parentVoiceEntry){let W=i.parentVoiceEntry.WantedStemDirection;const J=((Q=window.GYM)==null?void 0:Q.stemDirectionNote)||[],ce=J==null?void 0:J.find(ge=>ge.id===i.notes[0].sourceNote.NoteToGraphicalNoteObjectId);switch(ce&&typeof(ce==null?void 0:ce.direction)=="number"&&(W=ce.direction),W){case StemDirectionType.Up:E.setStemDirection(VF$a.Stem.UP),i.parentVoiceEntry.StemDirection=StemDirectionType.Up;break;case StemDirectionType.Down:E.setStemDirection(VF$a.Stem.DOWN),i.parentVoiceEntry.StemDirection=StemDirectionType.Down;break}}for(let W=0,J=e.length;W<J;W+=1){if(e[W].setIndex(E,W),l[W]){if(l[W]==="###"){E.addAccidental(W,new VF$a.Accidental("##")),E.addAccidental(W,new VF$a.Accidental("#"));continue}else if(l[W]==="bbs"){E.addAccidental(W,new VF$a.Accidental("bb")),E.addAccidental(W,new VF$a.Accidental("b"));continue}E.addAccidental(W,new VF$a.Accidental(l[W]))}const ce=e[W].sourceNote.TremoloStrokes,ge=e[W].sourceNote.TremoloType;if(ce>0&&ge==="single"){const Ee=new VF$a.Tremolo(ce);Ee.extra_stroke_scale=r.TremoloStrokeScale,Ee.y_spacing_scale=r.TremoloYSpacingScale,E&&E.duration==="w"&&E.stem.setExtension(-9),E.addModifier(W,Ee)}if(ce>0&&ge==="start"&&this.noteTremoloList.push(E),ce>0&&ge==="stop"){if(this.noteTremoloList.push(E),this.noteTremoloList.filter(De=>De.duration==="w").length===this.noteTremoloList.length)try{this.noteTremoloList[0].keyProps&&this.noteTremoloList[1].keyProps&&((xe=(this.noteTremoloList[0].keyProps[0].line>this.noteTremoloList[1].keyProps[0].line?this.noteTremoloList[1]:this.noteTremoloList[0]).stem)==null||xe.setResetHeight(30))}catch(De){console.error("设置都是全音符,stem的高度失败")}const Te=new VF$a.Tremolo(ce,[...this.noteTremoloList]);Te.extra_stroke_scale=1.2,Te.y_spacing_scale=1.2,Te.x_shift=-30,E.addModifier(W,Te),this.noteTremoloList=[]}this.glissandoList.length&&(E.setVibrato(this.glissandoList[0].vfnote[0]),this.glissandoList=[]),e[W].sourceNote.glissandoType==="start"&&this.glissandoList.push(e[W])}if(this.slideNote){try{E.setSlideNote(this.slideNote)}catch(W){console.error(W)}this.slideNote=null}if(i.notes[0].sourceNote.slideType==="start"&&(this.slideNote=E),P.Length.RealValue===.25&&P.Notehead&&P.Notehead.Filled===!1){const W=E.getKeyProps();for(let J=0;J<W.length;J++)W[J].code="v81"}for(let W=0,J=m;W<J;++W)E.addDotToAll();if(o.length>1){let W=E.getKeyProps().filter(ce=>!ce.code&&ce.line>3);!((ue=window.GYM)==null?void 0:ue.stemDirectionNote)&&W.length===o.length&&E.setStemDirection(-1)}r.DYMusicScoreType==="jianpu"&&window&&window.sett&&window.sett.keySignature&&E.addAccidental(0,new VF$a.Accidental("#"));try{const W=["b","#","§","º","X"],J={b:"b","#":"#","§":"n",º:"bb",X:"##"};for(const ce of e){const ge=ce.sourceNote.voiceEntry.Timestamp;for(const Ee of ce.sourceNote.SourceMeasure.StaffLinkedExpressions)for(const Te of Ee){const De=Fraction$1.Equal(ge,Te.Timestamp),ae=Te.EntriesList.map(H=>H.label).filter(H=>W.includes(H)).map(H=>J[H]);if(De){for(const H of ae)H&&E.addAnnotation(0,new VF$a.Annotation(H));break}}}}catch(W){}return E}static generateArticulations(i,e,r){var s,o,a,l,c,u;if(!(!i||i.getAttribute("type")==="GhostNote"))for(const d of e.sourceNote.ParentVoiceEntry.Articulations){let g=VF$a.Modifier.Position.ABOVE;i.getStemDirection()===VF$a.Stem.UP&&(g=VF$a.Modifier.Position.BELOW);let m;const y=d.articulationEnum;switch(r.ArticulationPlacementFromXML&&(d.placement===PlacementEnum.Above?g=VF$a.Modifier.Position.ABOVE:d.placement===PlacementEnum.Below&&(g=VF$a.Modifier.Position.BELOW)),y){case ArticulationEnum.accent:{m=new VF$a.Articulation("a>");const b=e.sourceNote.NoteSlurs;for(const A of b)A.StartNote===e.sourceNote&&(A.PlacementXml===PlacementEnum.Above?m.setYShift(-r.SlurStartArticulationYOffsetOfArticulation*10):A.PlacementXml===PlacementEnum.Below&&m.setYShift(r.SlurStartArticulationYOffsetOfArticulation*10));break}case ArticulationEnum.breathmark:{m=new VF$a.Articulation("abr"),d.placement===PlacementEnum.Above&&(g=VF$a.Modifier.Position.ABOVE),m.breathMarkDistance=r.BreathMarkDistance;break}case ArticulationEnum.downbow:{m=new VF$a.Articulation("am"),d.placement===void 0&&(g=VF$a.Modifier.Position.ABOVE,d.placement=PlacementEnum.Above);break}case ArticulationEnum.fermata:{m=new VF$a.Articulation("a@a"),g=VF$a.Modifier.Position.ABOVE,d.placement=PlacementEnum.Above;break}case ArticulationEnum.marcatodown:{m=new VF$a.Articulation("a|");break}case ArticulationEnum.marcatoup:{m=new VF$a.Articulation("a^"),g=VF$a.Modifier.Position.ABOVE;break}case ArticulationEnum.invertedfermata:{const b=e.sourceNote.ParentVoiceEntry,A=e.sourceNote;if(b!==A.ParentVoiceEntry.ParentSourceStaffEntry.VoiceEntries.last()){b.Articulations=b.Articulations.slice(b.Articulations.indexOf(d)),b.ParentSourceStaffEntry.VoiceEntries.last().Articulations.push(d);continue}m=new VF$a.Articulation("a@u"),g=VF$a.Modifier.Position.BELOW,d.placement=PlacementEnum.Below;break}case ArticulationEnum.lefthandpizzicato:{m=new VF$a.Articulation("a+");break}case ArticulationEnum.naturalharmonic:{m=new VF$a.Articulation("ah");break}case ArticulationEnum.snappizzicato:{m=new VF$a.Articulation("ao");break}case ArticulationEnum.staccatissimo:{m=new VF$a.Articulation("av");break}case ArticulationEnum.staccato:{m=new VF$a.Articulation("a.");break}case ArticulationEnum.tenuto:{m=new VF$a.Articulation("a-");break}case ArticulationEnum.upbow:{m=new VF$a.Articulation("a|"),d.placement===void 0&&(g=VF$a.Modifier.Position.ABOVE,d.placement=PlacementEnum.Above);break}case ArticulationEnum.strongaccent:{m=new VF$a.Articulation("a^");break}}m&&(!i.hasStem()&&!i.isRest()&&y==ArticulationEnum.accent&&i.getLineNumber()>=3&&(g=VF$a.Modifier.Position.ABOVE,(o=(s=i==null?void 0:i.modifiers)==null?void 0:s.filter(S=>["TREMOLO"].includes(S.getCategory().toLocaleUpperCase())))!=null&&o.length&&m.setYShift(-16)),y===ArticulationEnum.strongaccent&&(g=VF$a.Modifier.Position.ABOVE,(a=window.GYM)!=null&&a.customArtPosition&&(i.getStemDirection()===1?g=VF$a.Modifier.Position.ABOVE:(g=VF$a.Modifier.Position.BELOW,m=new VF$a.Articulation("a|")))),(l=window.GYM)!=null&&l.customAccentItem&&y===ArticulationEnum.accent&&(g=VF$a.Modifier.Position.ABOVE),(c=window.GYM)!=null&&c.customLefthandpizzicatoItem&&(y===ArticulationEnum.lefthandpizzicato||y===ArticulationEnum.naturalharmonic)&&(g=VF$a.Modifier.Position.ABOVE),y===ArticulationEnum.tenuto&&i.getDuration()==="w"&&((u=window.GYM)!=null&&u.customTenutoItem)&&(g=VF$a.Modifier.Position.ABOVE),m.setPosition(g),i.addModifier(0,m))}}static generateOrnaments(i,e){let r=VF$a.Modifier.Position.ABOVE;e.placement===PlacementEnum.Below&&(r=VF$a.Modifier.Position.BELOW);let s;switch(e.GetOrnament){case OrnamentEnum.DelayedInvertedTurn:{s=new VF$a.Ornament("turn_inverted"),s.setDelayed(!0);break}case OrnamentEnum.DelayedTurn:{s=new VF$a.Ornament("turn"),s.setDelayed(!0);break}case OrnamentEnum.InvertedMordent:{s=new VF$a.Ornament("mordent"),s.setDelayed(!1);break}case OrnamentEnum.InvertedTurn:{s=new VF$a.Ornament("turn_inverted"),s.setDelayed(!1);break}case OrnamentEnum.Mordent:{s=new VF$a.Ornament("mordent_inverted"),s.setDelayed(!1);break}case OrnamentEnum.Trill:{s=new VF$a.Ornament("tr"),s.setDelayed(!1);break}case OrnamentEnum.Turn:{s=new VF$a.Ornament("turn"),s.setDelayed(!1);break}default:{loglevelExports.warn("unhandled OrnamentEnum type: "+e.GetOrnament);return}}s&&(e.AccidentalBelow!==AccidentalEnum.NONE&&s.setLowerAccidental(Pitch.accidentalVexflow(e.AccidentalBelow)),e.AccidentalAbove!==AccidentalEnum.NONE&&s.setUpperAccidental(Pitch.accidentalVexflow(e.AccidentalAbove)),s.setPosition(r),i.addModifier(0,s))}static StrokeTypeFromArpeggioType(i){switch(i){case ArpeggioType.ARPEGGIO_DIRECTIONLESS:return VF$a.Stroke.Type.ARPEGGIO_DIRECTIONLESS;case ArpeggioType.BRUSH_DOWN:return VF$a.Stroke.Type.BRUSH_UP;case ArpeggioType.BRUSH_UP:return VF$a.Stroke.Type.BRUSH_DOWN;case ArpeggioType.RASQUEDO_DOWN:return VF$a.Stroke.Type.RASQUEDO_UP;case ArpeggioType.RASQUEDO_UP:return VF$a.Stroke.Type.RASQUEDO_DOWN;case ArpeggioType.ROLL_DOWN:return VF$a.Stroke.Type.ROLL_UP;case ArpeggioType.ROLL_UP:return VF$a.Stroke.Type.ROLL_DOWN;default:return VF$a.Stroke.Type.ARPEGGIO_DIRECTIONLESS}}static CreateTabNote(i){const e=[],r=i.notes.reverse(),s=[],o=i.notes[0].graphicalNoteLength,a=i.notes[0].sourceNote.NoteTuplet!==void 0;let l=_VexFlowConverter.durations(o,a)[0],c=0;for(const d of i.notes){const g=d.sourceNote;let m={str:g.StringNumberTab,fret:g.FretNumber};d.sourceNote instanceof TabNote||(loglevelExports.info(`invalid tab note: ${d.sourceNote.Pitch.ToString()} in measure ${i.parentStaffEntry.parentMeasure.MeasureNumber}, likely missing XML string+fret number.`),m={str:1,fret:0}),e.push(m),g.BendArray&&g.BendArray.forEach(function(y){let b;const A=y.bendalter-m.fret;A>1?b="Full":A===1?b="1/2":b="1/4",y.direction==="up"?s.push({type:VF$a.Bend.UP,text:b,width:10}):s.push({type:VF$a.Bend.DOWN,text:b,width:10})}),c<d.numberOfDots&&(c=d.numberOfDots)}for(let d=0,g=c;d<g;++d)l+="d";const u=new VF$a.TabNote({duration:l,positions:e});u.BackgroundColor=i.parentStaffEntry.parentMeasure.parentSourceMeasure.Rules.PageBackgroundColor;for(let d=0,g=r.length;d<g;d+=1)r[d].setIndex(u,d);return s.forEach(function(d){d.type===VF$a.Bend.UP?u.addModifier(new VF$a.Bend(d.text,!1)):u.addModifier(new VF$a.Bend(d.text,!0))}),u}static Clef(i,e="default"){let r,s;switch(e!=="default"&&e!=="small"&&(loglevelExports.warn(`Invalid VexFlow clef size "${e}" specified. Using "default".`),e="default"),i.ClefType){case ClefEnum.G:switch(i.Line){case 1:r="french";break;case 2:r="treble";break;default:r="treble",loglevelExports.error(`Clef ${ClefEnum[i.ClefType]} on line ${i.Line} not supported by VexFlow. Using default value "${r}".`)}break;case ClefEnum.F:switch(i.Line){case 4:r="bass";break;case 3:r="baritone-f";break;case 5:r="subbass";break;default:r="bass",loglevelExports.error(`Clef ${ClefEnum[i.ClefType]} on line ${i.Line} not supported by VexFlow. Using default value "${r}".`)}break;case ClefEnum.C:switch(i.Line){case 3:r="alto";break;case 4:r="tenor";break;case 1:r="soprano";break;case 2:r="mezzo-soprano";break;default:r="alto",loglevelExports.error(`Clef ${ClefEnum[i.ClefType]} on line ${i.Line} not supported by VexFlow. Using default value "${r}".`)}break;case ClefEnum.percussion:r="percussion";break;case ClefEnum.TAB:r="treble";break;default:loglevelExports.info("bad clef type: "+i.ClefType),r="treble"}return i.OctaveOffset===1&&r!=="bass"?s="8va":i.OctaveOffset===-1&&(s="8vb"),{type:r,size:e,annotation:s}}static TimeSignature(i){let e;switch(i.SymbolEnum){case RhythmSymbolEnum.NONE:e=i.Rhythm.Numerator+"/"+i.Rhythm.Denominator;break;case RhythmSymbolEnum.COMMON:e="C";break;case RhythmSymbolEnum.CUT:e="C|";break}return new VF$a.TimeSignature(e)}static keySignature(i){if(!i)return;let e;switch(i.Mode){case KeyEnum.minor:e=_VexFlowConverter.minorMap[i.Key]+"m";break;case KeyEnum.major:e=_VexFlowConverter.majorMap[i.Key];break;case KeyEnum.none:e=_VexFlowConverter.majorMap[i.Key];break;default:e="C"}return e}static line(i,e){switch(i){case SystemLinesEnum.SingleThin:return e===SystemLinePosition.MeasureBegin?VF$a.StaveConnector.type.SINGLE:VF$a.StaveConnector.type.SINGLE_RIGHT;case SystemLinesEnum.DoubleThin:return VF$a.StaveConnector.type.THIN_DOUBLE;case SystemLinesEnum.ThinBold:return VF$a.StaveConnector.type.BOLD_DOUBLE_RIGHT;case SystemLinesEnum.BoldThinDots:return VF$a.StaveConnector.type.BOLD_DOUBLE_LEFT;case SystemLinesEnum.DotsThinBold:return VF$a.StaveConnector.type.BOLD_DOUBLE_RIGHT;case SystemLinesEnum.DotsBoldBoldDots:return VF$a.StaveConnector.type.BOLD_DOUBLE_RIGHT;case SystemLinesEnum.None:return VF$a.StaveConnector.type.NONE}}static font(i,e=FontStyles.Regular,r=Fonts.TimesNewRoman,s,o=void 0){let a="normal",l="normal",c=`'${s.DefaultFontFamily}'`;switch(e){case FontStyles.Bold:l="bold";break;case FontStyles.Italic:a="italic";break;case FontStyles.BoldItalic:a="italic",l="bold";break;case FontStyles.Underlined:break}switch(r){case Fonts.Kokila:break}return o&&o!=="default"&&(c=`'${o}'`),a+" "+l+" "+Math.floor(i)+"px "+c}static fontStyle(i){switch(i){case FontStyles.Bold:return"bold";case FontStyles.Italic:return"italic";case FontStyles.BoldItalic:return"italic bold";default:return"normal"}}static style(i){return OUTLINE_AND_FILL_STYLE_DICT.getValue(i)}};let VexFlowConverter=_VexFlowConverter;VexFlowConverter.majorMap={"-1":"F","-2":"Bb","-3":"Eb","-4":"Ab","-5":"Db","-6":"Gb","-7":"Cb","-8":"Fb",0:"C",1:"G",2:"D",3:"A",4:"E",5:"B",6:"F#",7:"C#",8:"G#"};VexFlowConverter.minorMap={"-1":"D","-2":"G","-3":"C","-4":"F","-5":"Bb","-6":"Eb","-7":"Ab","-8":"Db",0:"A",1:"E",2:"B",3:"F#",4:"C#",5:"G#",6:"D#",7:"A#",8:"E#"};VexFlowConverter.noteTremoloList=[];VexFlowConverter.glissandoList=[];VexFlowConverter.slideNote=null;VexFlowConverter.idx=0;class OctaveShift{constructor(e,r){this.numberXml=1,this.setOctaveShiftValue(e,r)}get Type(){return this.octaveValue}set Type(e){this.octaveValue=e}get StaffNumber(){return this.staffNumber}set StaffNumber(e){this.staffNumber=e}get ParentStartMultiExpression(){return this.startMultiExpression}set ParentStartMultiExpression(e){this.startMultiExpression=e}get ParentEndMultiExpression(){return this.endMultiExpression}set ParentEndMultiExpression(e){this.endMultiExpression=e}setOctaveShiftValue(e,r){r===1&&e==="down"?this.octaveValue=0:r===1&&e==="up"?this.octaveValue=1:r===2&&e==="down"?this.octaveValue=2:r===2&&e==="up"?this.octaveValue=3:this.octaveValue=4}static getPitchFromOctaveShift(e,r){if(!e)return;let s=e.Octave;switch(r){case 0:s-=1;break;case 1:s+=1;break;case 2:s-=2;break;case 3:s+=2;break;case 4:default:s+=0}return new Pitch(e.FundamentalNote,s,e.Accidental)}}var OctaveEnum=(i=>(i[i.VA8=0]="VA8",i[i.VB8=1]="VB8",i[i.MA15=2]="MA15",i[i.MB15=3]="MB15",i[i.NONE=4]="NONE",i))(OctaveEnum||{});class AbstractTempoExpression extends AbstractExpression{constructor(e,r,s,o){super(r),this.label=e,this.staffNumber=s,this.parentMultiTempoExpression=o}get Label(){return this.label}set Label(e){this.label=e}get Placement(){return this.placement}set Placement(e){this.placement=e}get StaffNumber(){return this.staffNumber}set StaffNumber(e){this.staffNumber=e}get ParentMultiTempoExpression(){return this.parentMultiTempoExpression}static isStringInStringList(e,r){for(const s of e)if(AbstractTempoExpression.stringContainsSeparatedWord(r.toLowerCase().trim(),s.toLowerCase().trim()))return!0;return!1}static stringContainsSeparatedWord(e,r){return e===r||e.indexOf(" "+r)!==-1||e.indexOf(r+" ")!==-1}}const _InstantaneousTempoExpression=class extends AbstractTempoExpression{constructor(i,e,r,s,o,a=!1){super(i,e,r,o),this.isMetronomeMark=a,this.setTempoAndTempoType(s)}static getDefaultValueForTempoType(i){switch(i){case 1:return 20;case 2:return 30;case 3:return 48;case 4:return 52;case 5:return 63;case 6:return 70;case 7:return 75;case 8:return 88;case 9:return 92;case 10:return 96;case 11:return 106;case 12:return 112;case 13:return 118;case 14:return 130;case 15:return 140;case 16:return 155;case 17:return 170;case 18:return 184;case 19:return 200;default:throw new ArgumentOutOfRangeException("tempoEnum")}}static isInputStringInstantaneousTempo(i){return i?_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoLarghissimo,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoGrave,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoLento,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoLargo,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoLarghetto,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAdagio,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAdagietto,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAndanteModerato,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAndante,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAndantino,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoModerato,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAllegretto,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAllegroModerato,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAllegro,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoVivace,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoVivacissimo,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAllegrissimo,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoPresto,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoPrestissimo,i)||_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoChangesGeneral,i):!1}get Label(){return this.label}set Label(i){this.label=i}get Placement(){return this.placement}set Placement(i){this.placement=i}get StaffNumber(){return this.staffNumber}set StaffNumber(i){this.staffNumber=i}get Enum(){return this.tempoEnum}get TempoInBpm(){return this.tempoInBpm}set TempoInBpm(i){this.tempoInBpm=i}get ParentMultiTempoExpression(){return this.parentMultiTempoExpression}getAbsoluteTimestamp(){return Fraction$1.plus(this.ParentMultiTempoExpression.SourceMeasureParent.AbsoluteTimestamp,this.ParentMultiTempoExpression.Timestamp)}getAbsoluteFloatTimestamp(){return Fraction$1.plus(this.ParentMultiTempoExpression.SourceMeasureParent.AbsoluteTimestamp,this.ParentMultiTempoExpression.Timestamp).RealValue}setTempoAndTempoType(i){if(!this.label){this.tempoInBpm=i,this.tempoEnum=23;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoLarghissimo,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(1)),this.tempoInBpm=i,this.tempoEnum=1;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoGrave,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(2)),this.tempoInBpm=i,this.tempoEnum=2;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoLento,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(3)),this.tempoInBpm=i,this.tempoEnum=3;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoLargo,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(4)),this.tempoInBpm=i,this.tempoEnum=4;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoLarghetto,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(5)),this.tempoInBpm=i,this.tempoEnum=5;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAdagio,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(6)),this.tempoInBpm=i,this.tempoEnum=6;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAdagietto,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(7)),this.tempoInBpm=i,this.tempoEnum=7;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAndanteModerato,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(8)),this.tempoInBpm=i,this.tempoEnum=8;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAndante,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(9)),this.tempoInBpm=i,this.tempoEnum=9;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAndantino,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(10)),this.tempoInBpm=i,this.tempoEnum=10;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoModerato,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(11)),this.tempoInBpm=i,this.tempoEnum=11;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAllegretto,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(12)),this.tempoInBpm=i,this.tempoEnum=12;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAllegroModerato,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(13)),this.tempoInBpm=i,this.tempoEnum=13;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAllegro,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(14)),this.tempoInBpm=i,this.tempoEnum=14;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoVivace,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(15)),this.tempoInBpm=i,this.tempoEnum=15;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoVivacissimo,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(16)),this.tempoInBpm=i,this.tempoEnum=16;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAllegrissimo,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(17)),this.tempoInBpm=i,this.tempoEnum=17;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoPresto,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(18)),this.tempoInBpm=i,this.tempoEnum=18;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoPrestissimo,this.label)){i===0&&(i=_InstantaneousTempoExpression.getDefaultValueForTempoType(19)),this.tempoInBpm=i,this.tempoEnum=19;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoAddons,this.label)){this.tempoInBpm=0,this.tempoEnum=21;return}if(_InstantaneousTempoExpression.isStringInStringList(_InstantaneousTempoExpression.listInstantaneousTempoChangesGeneral,this.label)){this.tempoInBpm=0,this.tempoEnum=22;return}}};let InstantaneousTempoExpression=_InstantaneousTempoExpression;InstantaneousTempoExpression.listInstantaneousTempoLarghissimo=["Larghissimo","Sehr breit","very, very slow"];InstantaneousTempoExpression.listInstantaneousTempoGrave=["Grave","Schwer","slow and solemn"];InstantaneousTempoExpression.listInstantaneousTempoLento=["Lento","Lent","Langsam","slowly"];InstantaneousTempoExpression.listInstantaneousTempoLargo=["Largo","Breit","broadly"];InstantaneousTempoExpression.listInstantaneousTempoLarghetto=["Larghetto","Etwas breit","rather broadly"];InstantaneousTempoExpression.listInstantaneousTempoAdagio=["Adagio","Langsam","Ruhig","slow and stately"];InstantaneousTempoExpression.listInstantaneousTempoAdagietto=["Adagietto","Ziemlich ruhig","Ziemlich langsam","rather slow"];InstantaneousTempoExpression.listInstantaneousTempoAndanteModerato=["Andante moderato"];InstantaneousTempoExpression.listInstantaneousTempoAndante=["Andante","Gehend","Schreitend","at a walking pace"];InstantaneousTempoExpression.listInstantaneousTempoAndantino=["Andantino","Maestoso"];InstantaneousTempoExpression.listInstantaneousTempoModerato=["Moderato","Mäßig","Modéré","moderately"];InstantaneousTempoExpression.listInstantaneousTempoAllegretto=["Allegretto","Animato","fast"];InstantaneousTempoExpression.listInstantaneousTempoAllegroModerato=["Allegro moderato"];InstantaneousTempoExpression.listInstantaneousTempoAllegro=["Allegro","Rapide","Vite","Rasch","Schnell","Fröhlich"];InstantaneousTempoExpression.listInstantaneousTempoVivace=["Vivace","Allegro Assai","Lebhaft","Lebendig","lively and fast"];InstantaneousTempoExpression.listInstantaneousTempoVivacissimo=["Vivacissimo","Sehr lebhaft","Sehr lebendig"];InstantaneousTempoExpression.listInstantaneousTempoAllegrissimo=["Allegrissimo","very fast"];InstantaneousTempoExpression.listInstantaneousTempoPresto=["Presto","Sehr schnell","Geschwind"];InstantaneousTempoExpression.listInstantaneousTempoPrestissimo=["Prestissimo","äußerst schnell"];InstantaneousTempoExpression.listInstantaneousTempoChangesGeneral=["tempo primo","a tempo","tempo i","rubato","doppio movimento","rallentando","ritardando","ritard.","rit.","ritard","rall...","accelerando","accel"];InstantaneousTempoExpression.listInstantaneousTempoAddons=["assai","amoroso","cantabile","con brio","con dolore","con espressione","con fuoco","con moto","con spirito","spiritoso","espressivo","giocoso","giusto","grazioso","lesto","lugubre","maestoso","ma non troppo","marcato","molto","morendo","mosso","non tanto","piu","un poco","poco","quasi","risoluto","scherzando","sostenuto","teneramente","tempo giusto","tranquillo","sehr","lieblich","liebevoll","mit Leidenschaft","mit Liebe","amourös","gesanglich","mit Schwung","mit Feuer","mit Schmerz","mit Ausdruck","mit Bewegung","geistvoll","ausdrucksvoll","freudig","verspielt","angemessen","graziös","mit Grazie","flink","behände","traurig","klagend","majestätisch","aber nicht zu sehr","markant","gemäßigt","viel","sehr","ersterbend","bewegt","nicht zu sehr","mehr","ein wenig","gleichsam","entschlossen","zupackend","heiter","nachdrücklich","getragen","gewichtig","zart","zärtlich","im angemessenen Zeitmaß","ruhig","ein wenig","alla marcia","ad libitum","alla breve"];var TempoEnum=(i=>(i[i.none=0]="none",i[i.larghissimo=1]="larghissimo",i[i.grave=2]="grave",i[i.lento=3]="lento",i[i.largo=4]="largo",i[i.larghetto=5]="larghetto",i[i.adagio=6]="adagio",i[i.adagietto=7]="adagietto",i[i.andanteModerato=8]="andanteModerato",i[i.andante=9]="andante",i[i.andantino=10]="andantino",i[i.moderato=11]="moderato",i[i.allegretto=12]="allegretto",i[i.allegroModerato=13]="allegroModerato",i[i.allegro=14]="allegro",i[i.vivace=15]="vivace",i[i.vivacissimo=16]="vivacissimo",i[i.allegrissimo=17]="allegrissimo",i[i.presto=18]="presto",i[i.prestissimo=19]="prestissimo",i[i.lastRealTempo=20]="lastRealTempo",i[i.addon=21]="addon",i[i.changes=22]="changes",i[i.metronomeMark=23]="metronomeMark",i))(TempoEnum||{});const _MoodExpression=class extends AbstractExpression{constructor(i,e,r){super(e),this.label=i,this.staffNumber=r,this.setMoodType()}static isInputStringMood(i){return i?_MoodExpression.isStringInStringList(_MoodExpression.listMoodAffettuoso,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodAgitato,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodAnimato,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodAppassionato,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodBrillante,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodCantabile,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodDolce,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodEnergico,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodEroico,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodEspressivo,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodFurioso,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodGiocoso,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodGioioso,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodGrandioso,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodGrazioso,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodLacrimoso,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodLeggiero,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodMaestoso,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodMalinconico,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodMarcato,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodMarziale,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodMesto,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodMorendo,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodNobilmente,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodPatetico,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodPesante,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodSaltando,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodSautille,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodScherzando,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodSostenuto,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodSpiccato,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodTenerezza,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodTranquillamente,i)||_MoodExpression.isStringInStringList(_MoodExpression.listMoodTrionfante,i):!1}get Label(){return this.label}set Label(i){this.label=i}get Mood(){return this.moodType}set Mood(i){this.moodType=i}get StaffNumber(){return this.staffNumber}set StaffNumber(i){this.staffNumber=i}get Placement(){return this.placement}set Placement(i){this.placement=i}setMoodType(){_MoodExpression.isStringInStringList(_MoodExpression.listMoodAffettuoso,this.label)?this.moodType=0:_MoodExpression.isStringInStringList(_MoodExpression.listMoodAgitato,this.label)?this.moodType=1:_MoodExpression.isStringInStringList(_MoodExpression.listMoodAnimato,this.label)?this.moodType=3:_MoodExpression.isStringInStringList(_MoodExpression.listMoodAppassionato,this.label)?this.moodType=2:_MoodExpression.isStringInStringList(_MoodExpression.listMoodBrillante,this.label)?this.moodType=4:_MoodExpression.isStringInStringList(_MoodExpression.listMoodCantabile,this.label)?this.moodType=5:_MoodExpression.isStringInStringList(_MoodExpression.listMoodDolce,this.label)?this.moodType=6:_MoodExpression.isStringInStringList(_MoodExpression.listMoodEnergico,this.label)?this.moodType=7:_MoodExpression.isStringInStringList(_MoodExpression.listMoodEroico,this.label)?this.moodType=8:_MoodExpression.isStringInStringList(_MoodExpression.listMoodEspressivo,this.label)?this.moodType=9:_MoodExpression.isStringInStringList(_MoodExpression.listMoodFurioso,this.label)?this.moodType=10:_MoodExpression.isStringInStringList(_MoodExpression.listMoodGiocoso,this.label)?this.moodType=11:_MoodExpression.isStringInStringList(_MoodExpression.listMoodGioioso,this.label)?this.moodType=12:_MoodExpression.isStringInStringList(_MoodExpression.listMoodGrandioso,this.label)?this.moodType=14:_MoodExpression.isStringInStringList(_MoodExpression.listMoodGrazioso,this.label)?this.moodType=15:_MoodExpression.isStringInStringList(_MoodExpression.listMoodLacrimoso,this.label)?this.moodType=13:_MoodExpression.isStringInStringList(_MoodExpression.listMoodLeggiero,this.label)?this.moodType=16:_MoodExpression.isStringInStringList(_MoodExpression.listMoodMaestoso,this.label)?this.moodType=17:_MoodExpression.isStringInStringList(_MoodExpression.listMoodMalinconico,this.label)?this.moodType=18:_MoodExpression.isStringInStringList(_MoodExpression.listMoodMarcato,this.label)?this.moodType=19:_MoodExpression.isStringInStringList(_MoodExpression.listMoodMarziale,this.label)?this.moodType=20:_MoodExpression.isStringInStringList(_MoodExpression.listMoodMesto,this.label)?this.moodType=21:_MoodExpression.isStringInStringList(_MoodExpression.listMoodMorendo,this.label)?this.moodType=22:_MoodExpression.isStringInStringList(_MoodExpression.listMoodNobilmente,this.label)?this.moodType=23:_MoodExpression.isStringInStringList(_MoodExpression.listMoodPatetico,this.label)?this.moodType=24:_MoodExpression.isStringInStringList(_MoodExpression.listMoodPesante,this.label)?this.moodType=25:_MoodExpression.isStringInStringList(_MoodExpression.listMoodSaltando,this.label)?this.moodType=27:_MoodExpression.isStringInStringList(_MoodExpression.listMoodSautille,this.label)?this.moodType=26:_MoodExpression.isStringInStringList(_MoodExpression.listMoodScherzando,this.label)?this.moodType=28:_MoodExpression.isStringInStringList(_MoodExpression.listMoodSostenuto,this.label)?this.moodType=29:_MoodExpression.isStringInStringList(_MoodExpression.listMoodSpiccato,this.label)?this.moodType=30:_MoodExpression.isStringInStringList(_MoodExpression.listMoodTenerezza,this.label)?this.moodType=31:_MoodExpression.isStringInStringList(_MoodExpression.listMoodTranquillamente,this.label)?this.moodType=32:_MoodExpression.isStringInStringList(_MoodExpression.listMoodTrionfante,this.label)&&(this.moodType=33)}};let MoodExpression=_MoodExpression;MoodExpression.listMoodAffettuoso=["affettuoso"];MoodExpression.listMoodAgitato=["agitato"];MoodExpression.listMoodAppassionato=["appassionato"];MoodExpression.listMoodAnimato=["animato","lively"];MoodExpression.listMoodBrillante=["brillante"];MoodExpression.listMoodCantabile=["cantabile"];MoodExpression.listMoodDolce=["dolce"];MoodExpression.listMoodEnergico=["energico"];MoodExpression.listMoodEroico=["eroico"];MoodExpression.listMoodEspressivo=["espressivo"];MoodExpression.listMoodFurioso=["furioso"];MoodExpression.listMoodGiocoso=["giocoso"];MoodExpression.listMoodGioioso=["gioioso"];MoodExpression.listMoodLacrimoso=["lacrimoso"];MoodExpression.listMoodGrandioso=["grandioso"];MoodExpression.listMoodGrazioso=["grazioso"];MoodExpression.listMoodLeggiero=["leggiero"];MoodExpression.listMoodMaestoso=["maestoso"];MoodExpression.listMoodMalinconico=["malinconico"];MoodExpression.listMoodMarcato=["marcato"];MoodExpression.listMoodMarziale=["marziale"];MoodExpression.listMoodMesto=["mesto"];MoodExpression.listMoodMorendo=["morendo"];MoodExpression.listMoodNobilmente=["nobilmente"];MoodExpression.listMoodPatetico=["patetico"];MoodExpression.listMoodPesante=["pesante"];MoodExpression.listMoodSautille=["sautille"];MoodExpression.listMoodSaltando=["saltando"];MoodExpression.listMoodScherzando=["scherzando"];MoodExpression.listMoodSostenuto=["sostenuto"];MoodExpression.listMoodSpiccato=["spiccato"];MoodExpression.listMoodTenerezza=["tenerezza"];MoodExpression.listMoodTranquillamente=["tranquillamente"];MoodExpression.listMoodTrionfante=["trionfante"];class UnknownExpression extends AbstractExpression{constructor(e,r,s,o){super(r),this.label=e,this.staffNumber=o,s===void 0&&(s=TextAlignmentEnum.LeftBottom),this.textAlignment=s}get Label(){return this.label}get Placement(){return this.placement}set Placement(e){this.placement=e}get StaffNumber(){return this.staffNumber}set StaffNumber(e){this.staffNumber=e}get TextAlignment(){return this.textAlignment}}class MultiExpression{constructor(e,r){this.unknownList=[],this.moodList=[],this.expressions=[],this.sourceMeasure=e,this.timestamp=r}get SourceMeasureParent(){return this.sourceMeasure}set SourceMeasureParent(e){this.sourceMeasure=e}get StaffNumber(){return this.staffNumber}set StaffNumber(e){this.staffNumber=e}get Timestamp(){return this.timestamp}set Timestamp(e){this.timestamp=e}get AbsoluteTimestamp(){return Fraction$1.plus(this.timestamp,this.sourceMeasure.AbsoluteTimestamp)}get InstantaneousDynamic(){return this.instantaneousDynamic}set InstantaneousDynamic(e){this.instantaneousDynamic=e}get EndingContinuousDynamic(){return this.endingContinuousDynamic}set EndingContinuousDynamic(e){this.endingContinuousDynamic=e}get StartingContinuousDynamic(){return this.startingContinuousDynamic}set StartingContinuousDynamic(e){this.startingContinuousDynamic=e}get MoodList(){return this.moodList}get UnknownList(){return this.unknownList}get EntriesList(){return this.expressions}get OctaveShiftStart(){return this.octaveShiftStart}set OctaveShiftStart(e){this.octaveShiftStart=e}get OctaveShiftEnd(){return this.octaveShiftEnd}set OctaveShiftEnd(e){this.octaveShiftEnd=e}get CombinedExpressionsText(){return this.combinedExpressionsText}set CombinedExpressionsText(e){this.combinedExpressionsText=e}getPlacementOfFirstEntry(){let e=PlacementEnum.Above;return this.expressions.length>0&&(this.expressions[0].expression instanceof InstantaneousDynamicExpression?e=this.expressions[0].expression.Placement:this.expressions[0].expression instanceof ContinuousDynamicExpression?e=this.expressions[0].expression.Placement:this.expressions[0].expression instanceof MoodExpression?e=this.expressions[0].expression.Placement:this.expressions[0].expression instanceof UnknownExpression&&(e=this.expressions[0].expression.Placement)),e}getFontstyleOfFirstEntry(){var r;let e=FontStyles.Regular;return this.expressions.length>0&&(this.expressions[0].expression instanceof ContinuousDynamicExpression||this.expressions[0].expression instanceof MoodExpression?e=FontStyles.Italic:this.expressions[0].expression instanceof UnknownExpression&&(e=(r=this.expressions[0].expression.fontStyle)!=null?r:FontStyles.Regular)),e}addExpression(e,r){e instanceof InstantaneousDynamicExpression?(this.instantaneousDynamic&&this.removeExpressionFromEntryList(this.InstantaneousDynamic),this.instantaneousDynamic=e,this.instantaneousDynamic.ParentMultiExpression=this):e instanceof ContinuousDynamicExpression?this.startingContinuousDynamic=e:e instanceof MoodExpression?this.moodList.push(e):e instanceof UnknownExpression&&this.unknownList.push(e),this.addExpressionToEntryList(e,r)}CompareTo(e){return this.Timestamp.RealValue>e.Timestamp.RealValue?1:this.Timestamp.RealValue<e.Timestamp.RealValue?-1:0}addExpressionToEntryList(e,r){const s=new MultiExpressionEntry;s.prefix=r,s.expression=e,e instanceof ContinuousDynamicExpression||e instanceof MoodExpression||e instanceof UnknownExpression?s.label=e.Label:s.label="",this.expressions.push(s)}removeExpressionFromEntryList(e){for(let r=0,s=this.expressions.length;r<s;++r)if(this.expressions[r].expression===e){this.expressions.splice(r,1);break}}}class MultiExpressionEntry{}const _ContinuousTempoExpression=class extends AbstractTempoExpression{constructor(i,e,r,s){super(i,e,r,s),this.setTempoType()}static isInputStringContinuousTempo(i){return i?_ContinuousTempoExpression.isStringInStringList(_ContinuousTempoExpression.listContinuousTempoFaster,i)||_ContinuousTempoExpression.isStringInStringList(_ContinuousTempoExpression.listContinuousTempoSlower,i):!1}static isIncreasingTempo(i){return i<=4}static isDecreasingTempo(i){return i>=5&&i<=12}get TempoType(){return this.tempoType}set TempoType(i){this.tempoType=i}get StartTempo(){return this.startTempo}set StartTempo(i){this.startTempo=i}get EndTempo(){return this.endTempo}set EndTempo(i){this.endTempo=i}get AbsoluteEndTimestamp(){return this.absoluteEndTimestamp}set AbsoluteEndTimestamp(i){this.absoluteEndTimestamp=i}get AbsoluteTimestamp(){return this.ParentMultiTempoExpression.AbsoluteTimestamp}getAbsoluteFloatTimestamp(){return this.ParentMultiTempoExpression.AbsoluteTimestamp.RealValue}getInterpolatedTempo(i){const e=Fraction$1.plus(this.parentMultiTempoExpression.SourceMeasureParent.AbsoluteTimestamp,this.parentMultiTempoExpression.Timestamp);if(i.lt(e))return-1;if(this.absoluteEndTimestamp.lt(i))return-2;const r=Fraction$1.minus(i,e).RealValue/Fraction$1.minus(this.absoluteEndTimestamp,e).RealValue;return Math.max(0,Math.min(250,this.startTempo+(this.endTempo-this.startTempo)*r))}setTempoType(){_ContinuousTempoExpression.isStringInStringList(_ContinuousTempoExpression.listContinuousTempoFaster,this.label)?this.tempoType=0:_ContinuousTempoExpression.isStringInStringList(_ContinuousTempoExpression.listContinuousTempoSlower,this.label)&&(this.tempoType=9)}};let ContinuousTempoExpression=_ContinuousTempoExpression;ContinuousTempoExpression.listContinuousTempoFaster=["accelerando","piu mosso","poco piu","stretto"];ContinuousTempoExpression.listContinuousTempoSlower=["poco meno","meno mosso","piu lento","calando","allargando","rallentando","ritardando","ritenuto","ritard.","ritard","rit.","rit","riten.","riten"];class MultiTempoExpression{constructor(e,r){this.expressions=[],this.sourceMeasure=e,this.timestamp=r}get Timestamp(){return this.timestamp}get AbsoluteTimestamp(){return Fraction$1.plus(this.sourceMeasure.AbsoluteTimestamp,this.timestamp)}get SourceMeasureParent(){return this.sourceMeasure}set SourceMeasureParent(e){this.sourceMeasure=e}get InstantaneousTempo(){return this.instantaneousTempo}get ContinuousTempo(){return this.continuousTempo}get EntriesList(){return this.expressions}get CombinedExpressionsText(){return this.combinedExpressionsText}set CombinedExpressionsText(e){this.combinedExpressionsText=e}getPlacementOfFirstEntry(){let e=PlacementEnum.Above;return this.expressions.length>0&&(this.expressions[0].Expression instanceof InstantaneousTempoExpression?e=this.expressions[0].Expression.Placement:this.expressions[0].Expression instanceof ContinuousTempoExpression&&(e=this.expressions[0].Expression.Placement)),e}getFontstyleOfFirstEntry(){let e=FontStyles.Regular;return this.expressions[0].Expression instanceof InstantaneousTempoExpression?e=FontStyles.Bold:this.expressions[0].Expression instanceof ContinuousTempoExpression&&(e=FontStyles.Italic),e}addExpression(e,r){if(this.checkIfAlreadyExists(e))return;e instanceof InstantaneousTempoExpression?this.instantaneousTempo=e:e instanceof ContinuousTempoExpression&&(this.continuousTempo=e);const s=new TempoExpressionEntry;s.prefix=r,s.Expression=e,s.label=e.Label,this.expressions.push(s)}CompareTo(e){return this.Timestamp.RealValue>e.Timestamp.RealValue?1:this.Timestamp.RealValue<e.Timestamp.RealValue?-1:0}checkIfAlreadyExists(e){for(const r of this.expressions)if(r.label===e.Label)return!0;return!1}}class TempoExpressionEntry{get Expression(){return this.expression}set Expression(e){this.expression=e}}class RehearsalExpression extends AbstractExpression{constructor(e,r){super(r),this.label=e}}class MusicSystemBuilder{constructor(){this.musicSystems=[],this.globalSystemIndex=0,this.leadSheet=!1}initialize(e,r,s){this.leadSheet=e.LeadSheet,this.graphicalMusicSheet=e,this.rules=this.graphicalMusicSheet.ParentMusicSheet.Rules,this.measureList=r,this.numberOfVisibleStaffLines=s,this.activeRhythm=new Array(this.numberOfVisibleStaffLines),this.activeKeys=new Array(this.numberOfVisibleStaffLines),this.activeClefs=new Array(this.numberOfVisibleStaffLines),this.initializeActiveInstructions(this.measureList[0])}buildMusicSystems(){var a,l,c;const e=this.getFullPageSystemWidth();let r=!1;this.measureListIndex=0,this.currentSystemParams=new SystemBuildParameters,this.currentSystemParams.currentSystem=this.initMusicSystem();let s=0,o=0;for(;this.measureListIndex<this.measureList.length;){const u=this.measureList[this.measureListIndex];if(!u||!u[0]){this.measureListIndex++;continue}for(let _=0,V=u.length;_<V;++_)u[_].resetLayout();const d=u[0].parentSourceMeasure,g=d.HasEndLine,m=g&&this.rules.NewPartAndSystemAfterFinalBarline,y=this.currentSystemParams.IsSystemStartMeasure();d.IsSystemStartMeasure=y;const b=d===this.graphicalMusicSheet.ParentMusicSheet.getFirstSourceMeasure();let A=this.rules.MeasureLeftMargin,S=0;const E=this.getMeasureStartLine();if(A+=this.getLineWidth(u[0],E,y),!this.leadSheet){let _=!1;r&&this.rules.ShowRhythmAgainAfterPartEndOrFinalBarline&&(_=!0),A+=this.addBeginInstructions(u,y,b||_),S+=this.addEndInstructions(u)}let x=0;for(let _=0;_<this.numberOfVisibleStaffLines;_++)x=Math.max(x,u[_].minimumStaffEntriesWidth);const P=this.getMeasureEndLine();S+=this.getLineWidth(u[0],P,y);let C=this.rules.MeasureLeftMargin,T;if(this.measureListIndex+1<this.measureList.length){const _=this.measureList[this.measureListIndex+1];T=(a=_[0])==null?void 0:a.parentSourceMeasure,T!=null&&T.hasBeginInstructions()&&(C+=this.addBeginInstructions(_,!1,!1))}let k=A+S+x;(c=(l=u[0])==null?void 0:l.parentSourceMeasure)!=null&&c.multipleRestMeasures&&(k=this.rules.MultipleRestMeasureDefaultWidth);const I=this.currentSystemParams.currentWidth+k+C<e;s===0&&(s=Math.abs(Math.floor((e-A-S-C)/(k-A))),s=s%2===0?s:s-1,s<1&&(s=1));const M=this.rules.NewPageAtXMLNewPageAttribute&&d.printNewPageXml,B=M||this.rules.NewSystemAtXMLNewPageAttribute&&d.printNewPageXml||this.rules.NewSystemAtXMLNewSystemAttribute&&d.printNewSystemXml;if((y||I&&!B)&&(this.rules.DYWorkSpecial||o<s)){if(this.addMeasureToSystem(u,E,P,k,A,x,S),this.updateActiveClefs(d,u),this.measureListIndex++,m){if(this.rules.MaxSystemToDrawNumber===this.musicSystems.length)return this.finalizeCurrentSystem(u,!this.rules.StretchLastSystemLine,!1),this.musicSystems;this.finalizeCurrentAndCreateNewSystem(u,!this.rules.StretchLastSystemLine,!1)}r=g}else{if(o=0,this.rules.MaxSystemToDrawNumber===this.musicSystems.length)return this.finalizeCurrentSystem(u,!1,!0,M),this.musicSystems;this.finalizeCurrentAndCreateNewSystem(u,!1,!0,M)}}if(this.currentSystemParams.systemMeasures.length>0){if(this.rules.MaxSystemToDrawNumber===this.musicSystems.length)return this.finalizeCurrentSystem(this.measureList[this.measureList.length-1],!this.rules.StretchLastSystemLine,!1),this.musicSystems;this.finalizeCurrentAndCreateNewSystem(this.measureList[this.measureList.length-1],!this.rules.StretchLastSystemLine,!1)}return this.musicSystems}calculateSystemYLayout(){for(const e of this.musicSystems)this.optimizeDistanceBetweenStaffLines(e);this.calculateMusicSystemsRelativePositions()}setMeasureWidth(e,r,s,o){for(let a=0,l=e.length;a<l;++a){const c=e[a];c.setWidth(r),s>0&&(c.beginInstructionsWidth=s),o>0&&(c.endInstructionsWidth=o)}}finalizeCurrentAndCreateNewSystem(e,r=!1,s=!0,o=!1){this.finalizeCurrentSystem(e,r,s,o),this.currentSystemParams=new SystemBuildParameters,e!==void 0&&this.measureListIndex<this.measureList.length&&(this.currentSystemParams.currentSystem=this.initMusicSystem())}finalizeCurrentSystem(e,r=!1,s=!0,o=!1){this.currentSystemParams.currentSystem.breaksPage=o,this.adaptRepetitionLineWithIfNeeded(),e!==void 0&&s&&this.checkAndCreateExtraInstructionMeasure(e),this.stretchMusicSystem(r)}adaptRepetitionLineWithIfNeeded(){const e=this.currentSystemParams.systemMeasures;if(e.length>=1){const r=this.currentSystemParams.currentSystem.GraphicalMeasures[this.currentSystemParams.currentSystem.GraphicalMeasures.length-1];let s=0;const o=e[e.length-1];o.endLine===SystemLinesEnum.DotsBoldBoldDots&&(o.endLine=SystemLinesEnum.DotsThinBold,s=r[0].getLineWidth(SystemLinesEnum.DotsBoldBoldDots)/2-r[0].getLineWidth(SystemLinesEnum.DotsThinBold)),this.currentSystemParams.currentSystemFixWidth-=s;for(let a=0,l=r.length;a<l;++a){const c=r[a];c.endInstructionsWidth-=s}}}addMeasureToSystem(e,r,s,o,a,l,c){this.currentSystemParams.systemMeasures.push({beginLine:r,endLine:s}),this.setMeasureWidth(e,o,a,c),this.addStaveMeasuresToSystem(e),this.currentSystemParams.currentWidth+=o,this.currentSystemParams.currentSystemFixWidth+=a+c,this.currentSystemParams.currentSystemVarWidth+=l,this.currentSystemParams.systemMeasureIndex++}initMusicSystem(){const e=MusicSheetCalculator.symbolFactory.createMusicSystem(this.globalSystemIndex++,this.rules);return this.musicSystems.push(e),this.layoutSystemStaves(e),e.createMusicSystemLabel(this.rules.InstrumentLabelTextHeight,this.rules.SystemLabelsRightMargin,this.rules.LabelMarginBorderFactor,this.musicSystems.length===1),e}getFullPageSystemWidth(){return this.graphicalMusicSheet.ParentMusicSheet.pageWidth-this.rules.PageLeftMargin-this.rules.PageRightMargin-this.rules.SystemLeftMargin-this.rules.SystemRightMargin}layoutSystemStaves(e){const r=this.getFullPageSystemWidth(),s=e.PositionAndShape;s.BorderLeft=0,s.BorderRight=r,s.BorderTop=0;const o=[],a=this.graphicalMusicSheet.ParentMusicSheet.Instruments;for(let u=0,d=a.length;u<d;++u){const g=a[u];if(!(!g.Visible||g.Voices.length===0))for(let m=0,y=g.Staves.length;m<y;++m){const b=g.Staves[m];o.push(b)}}let l=!1;if(this.leadSheet){for(let u=0,d=o.length;u<d;++u)if(o[u].ParentInstrument.LyricVersesNumbers.length>1){l=!0;break}}let c=0;for(let u=0;u<o.length;u++)if(this.addStaffLineToMusicSystem(e,c,o[u]),c+=this.rules.StaffHeight,u+1<o.length){let d=0;this.leadSheet&&!l?d=2.5:o[u].ParentInstrument===o[u+1].ParentInstrument?d=this.rules.BetweenStaffDistance:d=this.rules.StaffDistance,c+=d}s.BorderBottom=c}addStaffLineToMusicSystem(e,r,s){if(e){const o=MusicSheetCalculator.symbolFactory.createStaffLine(e,s);e.StaffLines.push(o);const a=o.PositionAndShape,l=new PointF2D;l.x=0,a.BorderRight=e.PositionAndShape.Size.width,l.y=r,a.RelativePosition=l,a.BorderLeft=0,a.BorderTop=0,a.BorderBottom=this.rules.StaffHeight;for(let c=0;c<5;c++){const u=new PointF2D;u.x=0,u.y=c*this.rules.StaffHeight/4;const d=new PointF2D;d.x=o.PositionAndShape.Size.width,d.y=c*this.rules.StaffHeight/4,this.leadSheet&&(u.y=d.y=0),o.StaffLines[c]=new GraphicalLine(u,d,this.rules.StaffLineWidth)}}}initializeActiveInstructions(e){const r=this.graphicalMusicSheet.ParentMusicSheet.getFirstSourceMeasure();if(r){this.visibleStaffIndices=this.graphicalMusicSheet.getVisibleStavesIndicesFromSourceMeasure(e);for(let s=0,o=this.visibleStaffIndices.length;s<o;s++){const a=this.visibleStaffIndices[s],l=this.graphicalMusicSheet.getGraphicalMeasureFromSourceMeasureAndIndex(r,a);this.activeClefs[s]=r.FirstInstructionsStaffEntries[a].Instructions[0],l.InitiallyActiveClef=this.activeClefs[s];const c=r.FirstInstructionsStaffEntries[a].Instructions[1];if(c){let d=KeyInstruction.copy(c);d=this.transposeKeyInstruction(d,l),this.activeKeys[s]=d}const u=r.FirstInstructionsStaffEntries[a].Instructions[2];this.activeRhythm[s]=u}}}transposeKeyInstruction(e,r){const s=r.getTransposedHalftones();return s!==e.isTransposedBy&&r.ParentStaff.ParentInstrument.MidiInstrumentId!==MidiInstrument.Percussion&&MusicSheetCalculator.transposeCalculator!==void 0&&MusicSheetCalculator.transposeCalculator.transposeKey(e,s),e}addBeginInstructions(e,r,s){var u;const o=e.length;if(o===0)return 0;let a=0;const l=e[0].parentSourceMeasure,c=[];for(let d=0;d<o;++d){const g=e[d];g&&c.push(g.getVFStave());const m=this.visibleStaffIndices[d],y=l.FirstInstructionsStaffEntries[m],b=this.AddInstructionsAtMeasureBegin(y,g,d,s,r);a=Math.max(a,b)}return(u=c[0])!=null&&u.formatBegModifiers&&c[0].formatBegModifiers(c),a}addEndInstructions(e){const r=e.length;if(r===0)return 0;let s=.5;const o=e[0].parentSourceMeasure;for(let a=0;a<r;a++){const l=e[a],c=this.visibleStaffIndices[a],u=o.LastInstructionsStaffEntries[c],d=this.addInstructionsAtMeasureEnd(u,l,e);s=Math.max(s,d)}return s}AddInstructionsAtMeasureBegin(e,r,s,o,a){var A,S,E,x,P,C;let l=0,c,u,d;if(e)for(let T=0,k=e.Instructions.length;T<k;++T){const I=e.Instructions[T];I instanceof ClefInstruction?c=I:I instanceof KeyInstruction?u=I:I instanceof RhythmInstruction&&(d=I)}r.InitiallyActiveClef=c!=null?c:this.activeClefs[s];const g=(A=window.GYM)==null?void 0:A.multitrack;a&&(c||(c=this.activeClefs[s]),u||(u=KeyInstruction.copy(this.activeKeys[s])),g&&u&&!((S=u.AlteratedNotes)!=null&&S.length)&&(u=KeyInstruction.copy(this.activeKeys[0]),u.PrintObject=!1),o&&!d&&(d=this.activeRhythm[s]));let m=!1,y=!1,b=!1;if(c?(r.addClefAtBegin(c),m=!0):c=this.activeClefs[s],u){u=this.transposeKeyInstruction(u,r);const T=a?void 0:this.activeKeys[s];if(r.addKeyAtBegin(u,T,c),g&&!u.PrintObject)try{(P=(x=(E=r.stave)==null?void 0:E.getModifiers(void 0,"keysignatures"))==null?void 0:x[0])==null||P.setDrawState(!1)}catch(k){}y=!0}if(d!==void 0&&d.PrintObject&&this.rules.RenderTimeSignatures){let T=!0;const I=r.MeasureNumber-1-this.rules.MinMeasureToDrawIndex;if(r.MeasureNumber-1>=0&&this.measureList[I]){const R=(C=this.measureList[I][0])==null?void 0:C.parentSourceMeasure;R!=null&&R.ImplicitMeasure&&(R!=null&&R.RhythmPrinted)&&(T=!1)}T&&(r.addRhythmAtBegin(d,s),r.parentSourceMeasure.RhythmPrinted=d,b=!0)}return(m||y||b)&&(l+=r.beginInstructionsWidth,b&&(l+=this.rules.RhythmRightMargin)),l}addInstructionsAtMeasureEnd(e,r,s){if(!e||!e.Instructions||e.Instructions.length===0)return 0;for(let o=0,a=e.Instructions.length;o<a;++o){const l=e.Instructions[o];if(l instanceof ClefInstruction){const c=l;r.addClefAtEnd(c);for(const u of s)u!==r&&u.addClefAtEnd(c,!1)}}return this.rules.MeasureRightMargin+r.endInstructionsWidth}updateActiveClefs(e,r){for(let s=0,o=r.length;s<o;s++){const a=this.visibleStaffIndices[s],l=e.FirstInstructionsStaffEntries[a];if(l)for(let d=0,g=l.Instructions.length;d<g;++d){const m=l.Instructions[d];m instanceof ClefInstruction?this.activeClefs[s]=m:m instanceof KeyInstruction?this.activeKeys[s]=m:m instanceof RhythmInstruction&&(this.activeRhythm[s]=m)}const c=e.getEntriesPerStaff(a);for(let d=0,g=c.length;d<g;++d){const m=c[d];if(m.Instructions)for(let y=0,b=m.Instructions.length;y<b;++y){const A=m.Instructions[y];A instanceof ClefInstruction&&(this.activeClefs[s]=A)}}const u=e.LastInstructionsStaffEntries[a];if(u){const d=u.Instructions;for(let g=0,m=d.length;g<m;++g){const y=d[g];y instanceof ClefInstruction&&(this.activeClefs[s]=y)}}}}checkAndCreateExtraInstructionMeasure(e){const r=e[0].parentSourceMeasure.FirstInstructionsStaffEntries,s=[];for(let a=0,l=e.length;a<l;++a){const c=e[a];s.push(r[c.ParentStaff.idInMusicSheet])}let o=0;for(let a=0,l=s.length;a<l;++a){const c=s[a];if(!c)continue;const u=c.Instructions;let d,g;for(let m=0,y=u.length;m<y;++m){const b=u[m];b instanceof KeyInstruction&&b.Key!==this.activeKeys[a].Key&&(d=b),b instanceof RhythmInstruction&&b!==this.activeRhythm[a]&&(g=b)}if(d!==void 0||g){const m=this.addExtraInstructionMeasure(a,d,g);o=Math.max(o,m)}}o>0&&(this.currentSystemParams.systemMeasures.push({beginLine:SystemLinesEnum.None,endLine:SystemLinesEnum.None}),this.currentSystemParams.currentWidth+=o,this.currentSystemParams.currentSystemFixWidth+=o)}addExtraInstructionMeasure(e,r,s){const o=this.currentSystemParams.currentSystem,a=MusicSheetCalculator.symbolFactory.createExtraGraphicalMeasure(o.StaffLines[e]);r&&a.addKeyAtBegin(r,this.activeKeys[e],this.activeClefs[e]),s!==void 0&&s.PrintObject&&a.addRhythmAtBegin(s),a.PositionAndShape.BorderLeft=0,a.PositionAndShape.BorderTop=0,a.PositionAndShape.BorderBottom=this.rules.StaffHeight;const l=this.rules.MeasureLeftMargin+a.beginInstructionsWidth+this.rules.MeasureRightMargin;return a.PositionAndShape.BorderRight=l,o.StaffLines[e].Measures.push(a),l}addStaveMeasuresToSystem(e){if(e[0]){const r=[];for(let o=0;o<e.length;o++)r.push(e[o]);const s=this.currentSystemParams.currentSystem;for(let o=0;o<this.numberOfVisibleStaffLines;o++){const a=r[o];s.StaffLines[o].Measures.push(a),a.ParentStaffLine=s.StaffLines[o]}s.AddGraphicalMeasures(r)}}getMeasureStartLine(){if(this.thisMeasureBeginsLineRepetition()){const r=this.measureListIndex===0;if(r&&this.rules.RepetitionAllowFirstMeasureBeginningRepeatBarline)return SystemLinesEnum.BoldThinDots;const s=this.currentSystemParams.IsSystemStartMeasure();if(this.previousMeasureEndsLineRepetition()&&!s)return SystemLinesEnum.DotsBoldBoldDots;if(!r)return SystemLinesEnum.BoldThinDots}return SystemLinesEnum.None}getMeasureEndLine(){var a,l;let e;try{if(e=this.measureList[this.measureListIndex][0].parentSourceMeasure,this.rules.RenderMultipleRestMeasures&&e.multipleRestMeasures>1){const c=Math.min(this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures.length-1,e.measureListIndex+e.multipleRestMeasures-1);e=this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures[c]}}finally{}const r=this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures,s=r[this.measureListIndex];let o=!1;return s.allRests&&(o=(l=(a=r[this.measureListIndex+s.multipleRestMeasures-1])==null?void 0:a.endsWithLineRepetition)==null?void 0:l.call(a)),this.nextMeasureBeginsLineRepetition()&&this.thisMeasureEndsLineRepetition()?SystemLinesEnum.DotsBoldBoldDots:this.thisMeasureEndsLineRepetition()||o?SystemLinesEnum.DotsThinBold:this.nextMeasureHasKeyInstructionChange()||this.thisMeasureEndsWordRepetition()||this.nextMeasureBeginsWordRepetition()?SystemLinesEnum.DoubleThin:e&&e.endingBarStyleEnum!==void 0?e.endingBarStyleEnum:SystemLinesEnum.SingleThin}getLineWidth(e,r,s){let o=e.getLineWidth(r);return r===SystemLinesEnum.DotsBoldBoldDots&&(o/=2),s&&r===SystemLinesEnum.BoldThinDots&&(o+=this.rules.DistanceBetweenLastInstructionAndRepetitionBarline),o}previousMeasureEndsLineRepetition(){if(this.measureListIndex===0)return!1;for(let e=0,r=this.measureList[this.measureListIndex-1].length;e<r;++e)if(this.measureList[this.measureListIndex-1][e].endsWithLineRepetition())return!0;return!1}thisMeasureBeginsLineRepetition(){for(let e=0,r=this.measureList[this.measureListIndex].length;e<r;++e)if(this.measureList[this.measureListIndex][e].beginsWithLineRepetition())return!0;return!1}nextMeasureBeginsLineRepetition(){const e=this.measureListIndex+1;if(e>=this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures.length||!this.measureList[e])return!1;for(let r=0,s=this.measureList[e].length;r<s;++r)if(this.measureList[e][r].beginsWithLineRepetition())return!0;return!1}thisMeasureEndsLineRepetition(){var e;for(let r=0,s=this.measureList[this.measureListIndex].length;r<s;++r){const o=this.measureList[this.measureListIndex][r];if(o.endsWithLineRepetition())return!0;if((e=o.parentSourceMeasure)!=null&&e.isReducedToMultiRest){const a=this.graphicalMusicSheet.ParentMusicSheet;let l=o.parentSourceMeasure;const c=a.SourceMeasures.indexOf(l);let u=l.multipleRestMeasureNumber;for(let d=c+1;d<a.SourceMeasures.length;d++){const g=a.SourceMeasures[d];if(g.multipleRestMeasureNumber>=u)l=g,u=g.multipleRestMeasureNumber;else break}return l.endsWithLineRepetition()}}return!1}nextMeasureBeginsWordRepetition(){const e=this.measureListIndex+1;if(e>=this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures.length||e>this.measureList.length-1)return!1;for(let r=0,s=this.measureList[e].length;r<s;++r)if(this.measureList[e][r].beginsWithWordRepetition())return!0;return!1}thisMeasureEndsWordRepetition(){for(let e=0,r=this.measureList[this.measureListIndex].length;e<r;++e)if(this.measureList[this.measureListIndex][e].endsWithWordRepetition())return!0;return!1}nextMeasureHasKeyInstructionChange(){return this.getNextMeasureKeyInstruction()!==void 0}getNextMeasureKeyInstruction(){var e;if(this.measureListIndex<this.measureList.length-1)for(let r=0;r<this.measureList[this.measureListIndex].length;r++){const s=(e=this.measureList[this.measureListIndex+1][r])==null?void 0:e.parentSourceMeasure;return s?s.getKeyInstruction(this.visibleStaffIndices[r]):void 0}}calculateXScalingFactor(e,r){return Math.abs(r-0)<1e-5||Math.abs(e-0)<1e-5?1:(this.currentSystemParams.currentSystem.StaffLines[0].PositionAndShape.Size.width-e)/r}stretchMusicSystem(e){let r=this.calculateXScalingFactor(this.currentSystemParams.currentSystemFixWidth,this.currentSystemParams.currentSystemVarWidth);e&&(r=Math.min(r,this.rules.LastSystemMaxScalingFactor));const s=this.currentSystemParams.currentSystem;for(let o=0,a=s.StaffLines.length;o<a;++o){const l=s.StaffLines[o];let c=0;for(let u=0;u<l.Measures.length;u++){const d=l.Measures[u];d.setPositionInStaffline(c);const g=d.beginInstructionsWidth;if(d.setWidth(g+d.minimumStaffEntriesWidth*r+d.endInstructionsWidth),u<this.currentSystemParams.systemMeasures.length){const y=this.currentSystemParams.systemMeasures[u].beginLine,b=d.getLineWidth(SystemLinesEnum.BoldThinDots);switch(y){case SystemLinesEnum.BoldThinDots:let A=c;u===0&&(A=c+d.beginInstructionsWidth-b),s.createVerticalLineForMeasure(A,b,y,SystemLinePosition.MeasureBegin,u,d);break}}if(d.staffEntriesScaleFactor=r,d.layoutSymbols(),!(u+1<this.currentSystemParams.systemMeasures.length&&this.currentSystemParams.systemMeasures[u+1].beginLine===SystemLinesEnum.BoldThinDots)){let y=SystemLinesEnum.SingleThin;u<this.currentSystemParams.systemMeasures.length&&(y=this.currentSystemParams.systemMeasures[u].endLine);const b=d.getLineWidth(y);let A=d.PositionAndShape.RelativePosition.x+d.PositionAndShape.BorderRight-b;y===SystemLinesEnum.DotsBoldBoldDots&&(A-=b/2),s.createVerticalLineForMeasure(A,b,y,SystemLinePosition.MeasureEnd,u,d)}c=d.PositionAndShape.RelativePosition.x+d.PositionAndShape.BorderRight}}e&&this.decreaseMusicSystemBorders()}decreaseMusicSystemBorders(){const e=this.currentSystemParams.currentSystem,r=CollectionUtil.last(e.StaffLines[0].Measures).PositionAndShape,s=r.RelativePosition.x+r.Size.width;for(let o=0,a=e.StaffLines.length;o<a;++o){const l=e.StaffLines[o];l.PositionAndShape.BorderRight=s;for(let c=0,u=l.StaffLines.length;c<u;++c){const d=l.StaffLines[c];d.End=new PointF2D(s,d.End.y)}}e.PositionAndShape.BorderRight=s+this.currentSystemParams.maxLabelLength+this.rules.SystemLabelsRightMargin}updateStaffLinesRelativePosition(e,r,s){for(let o=r;o<e.StaffLines.length;o++)e.StaffLines[o].PositionAndShape.RelativePosition.y=s;e.PositionAndShape.BorderBottom+=s}createMusicPage(){const e=new GraphicalMusicPage(this.graphicalMusicSheet);return this.graphicalMusicSheet.MusicPages.push(e),e.PageNumber=this.graphicalMusicSheet.MusicPages.length,e.PositionAndShape.BorderLeft=0,e.PositionAndShape.BorderRight=this.graphicalMusicSheet.ParentMusicSheet.pageWidth,e.PositionAndShape.BorderTop=0,e.PositionAndShape.BorderBottom=this.rules.PageHeight,e.PositionAndShape.RelativePosition=new PointF2D(0,0),e}addSystemToPage(e,r){e.MusicSystems.push(r),r.Parent=e}optimizeDistanceBetweenStaffLines(e){if(!e.checkStaffEntriesForStaffEntryLink())for(let o=0;o<e.StaffLines.length-1;o++){const a=e.StaffLines[o].BottomLine,l=e.StaffLines[o+1].SkyLine;let c=0;for(let d=0;d<a.length;d++){const g=a[d],m=Math.max(0,d-6),y=Math.min(l.length-1,d+6);let b=0;for(let S=m;S<=y;S++)b=Math.min(b,l[S]);const A=g-b;c=Math.max(A,c)}c+=this.rules.MinSkyBottomDistBetweenStaves,c=Math.max(c,this.rules.StaffHeight+this.rules.MinimumStaffLineDistance);const u=c+e.StaffLines[o].PositionAndShape.RelativePosition.y;this.updateStaffLinesRelativePosition(e,o+1,u)}const r=e.StaffLines[0];e.PositionAndShape.BorderTop=r.PositionAndShape.RelativePosition.y+r.PositionAndShape.BorderTop;const s=e.StaffLines[e.StaffLines.length-1];e.PositionAndShape.BorderBottom=s.PositionAndShape.RelativePosition.y+s.PositionAndShape.BorderBottom}hasExpressionCounts(e){var o;let r=0,s=!1;for(const a of e.GraphicalMeasures)for(const l of a){for(const c of l.parentSourceMeasure.TempoExpressions)if(((o=c.InstantaneousTempo)==null?void 0:o.Enum)===TempoEnum.metronomeMark){s=!0;break}for(const c of l.parentSourceMeasure.StaffLinkedExpressions)r+=c.length}return{TempoCount:s?1:0,OtherCount:r}}calculateMusicSystemsRelativePositions(){var l;let e=this.createMusicPage(),r=0,s=this.musicSystems[0],o=0,a=0;if(this.musicSystems.length>1)for(let c=1;c<this.musicSystems.length;c++){const u=this.musicSystems[c-1],d=this.musicSystems[c];let g=this.findRequiredDistanceWithSkyBottomLine(u,d);g>a&&(a=g)}for(let c=0;c<this.musicSystems.length;c++)if(s=this.musicSystems[c],e.MusicSystems.length===0){this.addSystemToPage(e,s),this.rules.CompactMode?r=this.rules.PageTopMarginNarrow:r=this.rules.PageTopMargin,this.graphicalMusicSheet.MusicPages.length===1&&this.rules.RenderTitle&&(r+=this.rules.TitleTopDistance+this.rules.SheetTitleHeight+this.rules.TitleBottomDistance);const u=new PointF2D(this.rules.PageLeftMargin+this.rules.SystemLeftMargin,r);s.PositionAndShape.RelativePosition=u,r+s.PositionAndShape.BorderBottom>this.rules.PageHeight-this.rules.PageBottomMargin&&(o++,o<=4&&console.log(`warning: could not fit a single system on page ${e.PageNumber} and measure number ${s.GraphicalMeasures[0][0].MeasureNumber}.
  61. The PageFormat may be too small for this sheet."
  62. Will not give further warnings for all pages, only total.`))}else{const u=this.musicSystems[c-1],d=u.StaffLines[u.StaffLines.length-1],g=d.PositionAndShape;let m=this.findRequiredDistanceWithSkyBottomLine(u,s);m=Math.max(a,m),m+=this.rules.MinSkyBottomDistBetweenSystems,((l=window==null?void 0:window.appName)==null?void 0:l.toLocaleUpperCase())==="GYM"&&(m=m<16?16:m);const y=this.hasExpressionCounts(s);y.TempoCount>0&&this.rules.MetronomeMarksDrawn&&(m+=2),y.OtherCount>0&&this.rules.MetronomeMarksDrawn&&(m+=2),m=Math.max(m,this.rules.MinimumDistanceBetweenSystems+d.StaffHeight);const b=r+g.RelativePosition.y+m,A=b+s.PositionAndShape.BorderMarginBottom;if(!(this.rules.NewPageAtXMLNewPageAttribute&&u.breaksPage)&&A<this.rules.PageHeight-this.rules.PageBottomMargin){this.addSystemToPage(e,s),r=b;const E=new PointF2D(this.rules.PageLeftMargin+this.rules.SystemLeftMargin,r);s.PositionAndShape.RelativePosition=E}else{e=this.createMusicPage(),c-=1;continue}}o>0&&console.log(`total amount of pages that couldn't fit a single music system: ${o} of ${e.PageNumber}`)}findRequiredDistanceWithSkyBottomLine(e,r){const s=e.StaffLines[e.StaffLines.length-1],o=r.StaffLines[0],a=s.BottomLine,l=o.SkyLine,c=s.PositionAndShape,u=o.PositionAndShape,d=1/this.rules.SamplingUnit;let g=0;for(let m=0;m<a.length;m++){const y=a[m],b=m+Math.round((c.RelativePosition.x-u.RelativePosition.x)*d);if(b<0)continue;if(b>=l.length)break;const A=Math.max(0,b-6),S=Math.min(l.length-1,b+6);let E=0;for(let P=A;P<=S;P++)E=Math.min(E,l[P]);const x=y-E;g=Math.max(x,g)}return g===0&&(g=c.BorderBottom-u.BorderTop),g}}class SystemBuildParameters{constructor(){this.systemMeasures=[],this.systemMeasureIndex=0,this.currentWidth=0,this.currentSystemFixWidth=0,this.currentSystemVarWidth=0,this.maxLabelLength=0}IsSystemStartMeasure(){return this.systemMeasureIndex===0}}class OctaveShiftParams{constructor(e,r,s){this.getOpenOctaveShift=e,this.getAbsoluteStartTimestamp=r,this.getAbsoluteEndTimestamp=s}}class AccidentalCalculator{constructor(){this.keySignatureNoteAlterationsDict=new Dictionary,this.currentAlterationsComparedToKeyInstructionList=[],this.currentInMeasureNoteAlterationsDict=new Dictionary}get ActiveKeyInstruction(){return this.activeKeyInstruction}set ActiveKeyInstruction(e){this.activeKeyInstruction=e,this.reactOnKeyInstructionChange()}doCalculationsAtEndOfMeasure(){this.currentInMeasureNoteAlterationsDict.clear(),this.currentAlterationsComparedToKeyInstructionList.clear();for(const e of this.keySignatureNoteAlterationsDict.keys())this.currentInMeasureNoteAlterationsDict.setValue(e,this.keySignatureNoteAlterationsDict.getValue(e))}checkAccidental(e,r){if(!r)return;const s=r.FundamentalNote+r.Octave*12,o=this.currentAlterationsComparedToKeyInstructionList.indexOf(s)>=0;if(this.currentInMeasureNoteAlterationsDict.containsKey(s)){if(o&&this.currentAlterationsComparedToKeyInstructionList.splice(this.currentAlterationsComparedToKeyInstructionList.indexOf(s),1),this.currentInMeasureNoteAlterationsDict.getValue(s)!==r.AccidentalHalfTones){this.keySignatureNoteAlterationsDict.containsKey(s)&&this.keySignatureNoteAlterationsDict.getValue(s)!==r.AccidentalHalfTones?(this.currentAlterationsComparedToKeyInstructionList.push(s),this.currentInMeasureNoteAlterationsDict.setValue(s,r.AccidentalHalfTones)):r.Accidental!==AccidentalEnum.NONE&&this.currentInMeasureNoteAlterationsDict.remove(s);const a=this.currentInMeasureNoteAlterationsDict.getValue(s);if(r.Accidental===AccidentalEnum.NONE&&(Math.abs(a)===.5?r=new Pitch(r.FundamentalNote,r.Octave,AccidentalEnum.NONE):r=new Pitch(r.FundamentalNote,r.Octave,AccidentalEnum.NATURAL)),this.isAlterAmbiguousAccidental(r.Accidental)&&!r.AccidentalXml)return;MusicSheetCalculator.symbolFactory.addGraphicalAccidental(e,r)}}else if(r.Accidental!==AccidentalEnum.NONE){if(o||this.currentAlterationsComparedToKeyInstructionList.push(s),this.currentInMeasureNoteAlterationsDict.setValue(s,r.AccidentalHalfTones),this.isAlterAmbiguousAccidental(r.Accidental)&&!r.AccidentalXml)return;MusicSheetCalculator.symbolFactory.addGraphicalAccidental(e,r)}else o&&(r=new Pitch(r.FundamentalNote,r.Octave,AccidentalEnum.NATURAL),this.currentAlterationsComparedToKeyInstructionList.splice(this.currentAlterationsComparedToKeyInstructionList.indexOf(s),1),MusicSheetCalculator.symbolFactory.addGraphicalAccidental(e,r))}isAlterAmbiguousAccidental(e){return e===AccidentalEnum.SLASHFLAT||e===AccidentalEnum.QUARTERTONEFLAT}reactOnKeyInstructionChange(){const e=this.activeKeyInstruction.AlteratedNotes;let r;this.activeKeyInstruction.Key>0?r=AccidentalEnum.SHARP:r=AccidentalEnum.FLAT,this.keySignatureNoteAlterationsDict.clear(),this.currentAlterationsComparedToKeyInstructionList.length=0;for(let s=-9;s<9;s++)for(let o=0;o<e.length;o++)this.keySignatureNoteAlterationsDict.setValue(e[o]+s*12,Pitch.HalfTonesFromAccidental(r));this.doCalculationsAtEndOfMeasure()}}class JustifiedMusicSystemBuilder extends MusicSystemBuilder{buildMusicSystems(){var u;this.currentSystemParams=new SystemBuildParameters;const e=[];let r=0,s=-1;for(let d=0,g=this.measureList.length;d<g;++d){this.measureListIndex=d;const m=this.measureList[d];if(!m||!m[0])continue;for(let S=0,E=m.length;S<E;++S)m[S].resetLayout();const y=m[0].parentSourceMeasure,b=this.rules.NewPageAtXMLNewPageAttribute&&y.printNewPageXml;(this.rules.NewSystemAtXMLNewSystemAttribute&&y.printNewSystemXml||b)&&d>0?(s=d-1,e.push({startIndex:r,endIndex:s}),r=d):y.HasEndLine&&this.rules.NewPartAndSystemAfterFinalBarline&&(s=d,e.push({startIndex:r,endIndex:s}),r=d+1)}r<this.measureList.length&&s<r&&e.push({startIndex:r,endIndex:this.measureList.length-1});const o=[];let a=[];const l=[],c=[];for(const d of e){let g=0;for(let k=d.startIndex;k<=d.endIndex;++k){this.measureListIndex=k;const I=this.measureList[k];if(!I||!I[0]){l.push(0),c.push(0);continue}for(let K=0,G=I.length;K<G;++K)I[K].resetLayout();const R=I[0].parentSourceMeasure===this.graphicalMusicSheet.ParentMusicSheet.getFirstSourceMeasure();let B=this.rules.MeasureLeftMargin,_=0;const V=this.getMeasureStartLine();B+=this.getLineWidth(I[0],V,!1),this.leadSheet||(B+=this.addBeginInstructions(I,!1,R),_+=this.addEndInstructions(I));let D=0;for(let K=0;K<this.numberOfVisibleStaffLines;K++)D=Math.max(D,I[K].minimumStaffEntriesWidth);const F=this.getMeasureEndLine();_+=this.getLineWidth(I[0],F,!1);const N=B+_+D;l.push(N),c.push(g+N/2),g+=N}const m=g,A=this.getFullPageSystemWidth()-8,E=Math.ceil(m/A)*A/m;let x=1,P=0,C=0,T=0;for(let k=d.startIndex;k<=d.endIndex;++k){const I=c[k];if(I===0)continue;const M=l[k],R=l[k+1]||0;let B=I*E/A;C+=M;const _=(window==null?void 0:window.appName)||"";if((_==null?void 0:_.toLocaleUpperCase())==="GYM"||window!=null&&window.customSectionAmount){let V=(u=window.GYM)==null?void 0:u.wrapNum;V=Number(V)>0?Number(V):6,T===V||C+R>A&&T%2===0?(a.push(T),C=M,T=1):T++}else C>A?(a.push(T),C=M,T=1):T++;M>A?B=k+1:B=Math.ceil(B),x===B?P+=1:(o.push(P),x=B,P=1)}o.push(P),a.push(T),a=a.filter(Boolean)}return a.length>1&&a[a.length-1]===1&&(a[a.length-2]=a[a.length-2]-1,a[a.length-1]=a[a.length-1]+1),console.log(a,o),this.buildPreparedMusicSystems(a)}buildPreparedMusicSystems(e){let r=!1;this.currentSystemParams=new SystemBuildParameters,this.currentSystemParams.currentSystem=this.initMusicSystem();for(let s=0,o=this.measureList.length;s<o;++s){this.measureListIndex=s;const a=this.measureList[s];if(!a||!a[0])continue;const l=this.rules.NewPageAtXMLNewPageAttribute&&a[0].parentSourceMeasure.printNewPageXml;this.currentSystemParams.currentSystem.GraphicalMeasures.length===e[this.musicSystems.length-1]&&this.finalizeCurrentAndCreateNewSystem(a,!1,!r,l);for(let x=0,P=a.length;x<P;++x)a[x].resetLayout();const c=a[0].parentSourceMeasure,u=c.HasEndLine,d=this.currentSystemParams.IsSystemStartMeasure(),g=c===this.graphicalMusicSheet.ParentMusicSheet.getFirstSourceMeasure();let m=this.rules.MeasureLeftMargin,y=0;const b=this.getMeasureStartLine();if(m+=this.getLineWidth(a[0],b,d),!this.leadSheet){let x=!1;r&&this.rules.ShowRhythmAgainAfterPartEndOrFinalBarline&&(x=!0),m+=this.addBeginInstructions(a,d,g||x),y+=this.addEndInstructions(a)}let A=0;for(let x=0;x<this.numberOfVisibleStaffLines;x++)A=Math.max(A,a[x].minimumStaffEntriesWidth);const S=this.getMeasureEndLine();y+=this.getLineWidth(a[0],S,d);const E=m+y+A;this.addMeasureToSystem(a,b,S,E,m,A,y),this.updateActiveClefs(c,a),r=u}return this.finalizeCurrentAndCreateNewSystem(void 0,!1,!1),this.musicSystems}}let metronomeMarks={};class MusicSheetCalculator{constructor(){this.staffEntriesWithGraphicalTies=[],this.staffEntriesWithOrnaments=[],this.staffEntriesWithChordSymbols=[],this.staffLinesWithLyricWords=[],this.graphicalLyricWords=[],this.abstractNotImplementedErrorMessage="abstract, not implemented",this.dynamicExpressionMap=new Map}static get TextMeasurer(){return MusicSheetCalculator.textMeasurer}static set TextMeasurer(e){MusicSheetCalculator.textMeasurer=e}get leadSheet(){return this.graphicalMusicSheet.LeadSheet}static setMeasuresMinStaffEntriesWidth(e,r){for(let s=0,o=e.length;s<o;++s){const a=e[s];a&&(a.minimumStaffEntriesWidth=r)}}initialize(e){this.graphicalMusicSheet=e,this.rules=e.ParentMusicSheet.Rules,this.rules.clearMusicSheetObjects(),this.prepareGraphicalMusicSheet()}prepareGraphicalMusicSheet(){const e=this.graphicalMusicSheet.ParentMusicSheet;this.staffEntriesWithGraphicalTies=[],this.staffEntriesWithOrnaments=[],this.staffEntriesWithChordSymbols=[],this.staffLinesWithLyricWords=[],this.graphicalMusicSheet.Initialize();const r=this.graphicalMusicSheet.MeasureList,s=this.createAccidentalCalculators(),o=this.graphicalMusicSheet.initializeActiveClefs(),a=[],l=e.getCompleteNumberOfStaves(),c=[];for(let d=0;d<l;d++)c.push(void 0);for(let d=0,g=e.SourceMeasures.length;d<g;++d){const m=e.SourceMeasures[d],y=this.createGraphicalMeasuresForSourceMeasure(m,s,a,c,o);if(r.push(y),m.multipleRestMeasures>0&&this.rules.RenderMultipleRestMeasures){m.isReducedToMultiRest=!0,m.multipleRestMeasureNumber=1;const b=m.multipleRestMeasures-1;d+=b;for(let A=1;A<=b;A++){const S=e.SourceMeasures.indexOf(m)+A;if(S>=e.SourceMeasures.length)break;const E=e.SourceMeasures[S];E.multipleRestMeasureNumber=A+1,E.isReducedToMultiRest=!0,r.push([void 0])}}}if(this.rules.AutoGenerateMultipleRestMeasuresFromRestMeasures&&this.rules.RenderMultipleRestMeasures){let d,g=0;for(let m=0,y=e.SourceMeasures.length;m<y;++m){const b=e.SourceMeasures[m];if(!b.isReducedToMultiRest&&b.canBeReducedToMultiRest())if(g>0){d.isReducedToMultiRest=!0,d.multipleRestMeasureNumber=1,g++,b.multipleRestMeasureNumber=g,b.isReducedToMultiRest=!0;for(let A=0;A<r[m].length;A++)r[m][A]=void 0}else d=b,g=1;else if(g>1){d.multipleRestMeasures=g;const A=this.createGraphicalMeasuresForSourceMeasure(d,s,a,c,o);r[d.measureListIndex]=A,g=0,d=void 0}else g=0,d=void 0}if(g>1){d.multipleRestMeasures=g,d.isReducedToMultiRest=!0;const m=this.createGraphicalMeasuresForSourceMeasure(d,s,a,c,o);r[d.measureListIndex]=m,g=0,d=void 0}}const u=o.map(d=>d.ClefType===ClefEnum.percussion);this.handleStaffEntries(u),this.calculateVerticalContainersList(),this.setIndicesToVerticalGraphicalContainers()}calculate(){this.musicSystems=[],this.clearSystemsAndMeasures(),this.clearRecreatedObjects(),this.createGraphicalTies(),this.calculateSheetLabelBoundingBoxes(),this.calculateXLayout(this.graphicalMusicSheet,this.maxInstrNameLabelLength()),this.graphicalMusicSheet.MusicPages.length=0,this.calculateMusicSystems(),GraphicalMusicSheet.transformRelativeToAbsolutePosition(this.graphicalMusicSheet)}calculateXLayout(e,r){var s;if(this.graphicalMusicSheet.MeasureList.length>0){let o=0,a;for(let l=0;l<this.graphicalMusicSheet.MeasureList.length;l++){a=this.graphicalMusicSheet.MeasureList[l];let c=this.calculateMeasureXLayout(a);c=this.calculateMeasureWidthFromStaffEntries(a,c),c>o&&(o=c),MusicSheetCalculator.setMeasuresMinStaffEntriesWidth(a,c)}if(this.rules.FixedMeasureWidth){let l=o;this.rules.FixedMeasureWidthFixedValue&&(l=this.rules.FixedMeasureWidthFixedValue);for(let c=0;c<this.graphicalMusicSheet.MeasureList.length;c++)a=this.graphicalMusicSheet.MeasureList[c],!(!this.rules.FixedMeasureWidthUseForPickupMeasures&&((s=a[0])!=null&&s.parentSourceMeasure.ImplicitMeasure))&&MusicSheetCalculator.setMeasuresMinStaffEntriesWidth(a,l)}}}calculateMeasureWidthFromStaffEntries(e,r){throw new Error(this.abstractNotImplementedErrorMessage)}formatMeasures(){throw new Error(this.abstractNotImplementedErrorMessage)}calculateMeasureXLayout(e){throw new Error(this.abstractNotImplementedErrorMessage)}initGraphicalMeasuresCreation(){throw new Error(this.abstractNotImplementedErrorMessage)}handleBeam(e,r,s){throw new Error(this.abstractNotImplementedErrorMessage)}handleTiedGraphicalNote(e,r,s,o,a,l,c,u){throw new Error(this.abstractNotImplementedErrorMessage)}handleVoiceEntryLyrics(e,r,s){throw new Error(this.abstractNotImplementedErrorMessage)}handleVoiceEntryOrnaments(e,r,s){throw new Error(this.abstractNotImplementedErrorMessage)}handleVoiceEntryArticulations(e,r,s){throw new Error(this.abstractNotImplementedErrorMessage)}handleVoiceEntryTechnicalInstructions(e,r,s){throw new Error(this.abstractNotImplementedErrorMessage)}handleTuplet(e,r,s){throw new Error(this.abstractNotImplementedErrorMessage)}layoutVoiceEntry(e,r,s,o){throw new Error(this.abstractNotImplementedErrorMessage)}layoutStaffEntry(e){throw new Error(this.abstractNotImplementedErrorMessage)}createGraphicalTie(e,r,s,o,a){throw new Error(this.abstractNotImplementedErrorMessage)}updateStaffLineBorders(e){throw new Error(this.abstractNotImplementedErrorMessage)}calculateMeasureNumberPlacement(e){const r=e.StaffLines[0];if(!r||!r.Measures[0]){loglevelExports.warn("calculateMeasureNumberPlacement: measure undefined for system.Id "+e.Id);return}let s=r.Measures[0].MeasureNumber,o=0;for(let a=0;a<r.Measures.length;a++){const l=r.Measures[a];let c=this.rules.RenderMeasureNumbersOnlyAtSystemStart&&a>1;if(a===1&&r.Measures[0].parentSourceMeasure.ImplicitMeasure&&(c=!1),c)return;(l.MeasureNumber===0||l.MeasureNumber===1)&&(s=l.MeasureNumber),l!==r.Measures[0]&&this.rules.MeasureNumberLabelXOffset?o=this.rules.MeasureNumberLabelXOffset:o=0;const u=this.rules.UseXMLMeasureNumbers&&l.MeasureNumber===1&&l.parentSourceMeasure.getPrintedMeasureNumber()!==1;((l.MeasureNumber===s||l.MeasureNumber>=s+this.rules.MeasureNumberLabelOffset)&&!l.parentSourceMeasure.ImplicitMeasure||u)&&((l.MeasureNumber!==1||l.MeasureNumber===1&&l!==r.Measures[0]||u)&&this.calculateSingleMeasureNumberPlacement(l,r,e,o),s=l.MeasureNumber)}}calculateSingleMeasureNumberPlacement(e,r,s,o=0){const a=e.parentSourceMeasure.getPrintedMeasureNumber().toString(),l=new Label(a),c=new GraphicalLabel(l,this.rules.MeasureNumberLabelHeight,TextAlignmentEnum.LeftBottom,this.rules),u=r.SkyBottomLineCalculator;c.setLabelPositionAndShapeBorders(),c.PositionAndShape.Parent=s.PositionAndShape;const d=r.PositionAndShape.RelativePosition.x+e.PositionAndShape.RelativePosition.x-c.PositionAndShape.BorderMarginLeft+o;let g,m=d,y=d-c.PositionAndShape.BorderLeft+c.PositionAndShape.BorderRight;m-=r.PositionAndShape.RelativePosition.x,y-=r.PositionAndShape.RelativePosition.x;const b=m+.5,A=y-.5,S=u.getSkyLineMinInRange(b,A);if(e===r.Measures[0]){let E=0;if(s.GroupBrackets.length>0)for(const x of s.GroupBrackets)E=Math.min(E,x.PositionAndShape.BorderTop);else e.ParentStaff.ParentInstrument.Parent&&(E=-1);g=Math.min(S,E)}else g=S;g=Math.min(0,g),c.PositionAndShape.RelativePosition=new PointF2D(d,g),s.MeasureNumberLabels.push(c)}calculateMeasureNumberSkyline(e){const r=e.StaffLines[0];for(const s of e.MeasureNumberLabels){let o=s.PositionAndShape.RelativePosition.x,a=o-s.PositionAndShape.BorderLeft+s.PositionAndShape.BorderRight;o-=r.PositionAndShape.RelativePosition.x,a-=r.PositionAndShape.RelativePosition.x,r.SkyBottomLineCalculator.updateSkyLineInRange(o,a,s.PositionAndShape.RelativePosition.y+s.PositionAndShape.BorderMarginTop)}}layoutGraphicalTie(e,r,s){throw new Error(this.abstractNotImplementedErrorMessage)}calculateSingleStaffLineLyricsPosition(e,r){let s=0,o=this.rules.StaffHeight;const a=new Map,l=[],c=e.SkyBottomLineCalculator;let u=e.Measures.length;for(let g=0;g<u;++g){const m=e.Measures[g],y=m.PositionAndShape.RelativePosition,b=m.staffEntries.length;for(let A=0;A<b;++A){const S=m.staffEntries[A],E=S.LyricsEntries.length;for(let x=0;x<E;++x){const P=S.LyricsEntries[x].LyricsEntry;a[P.VerseNumber]=P.IsChorus}if(E>0){l.push(S),s=Math.max(s,S.LyricsEntries.length);const x=S.PositionAndShape.RelativePosition.x+y.x;let P=Number.MAX_VALUE,C=Number.MIN_VALUE;for(let k=0;k<S.LyricsEntries.length;k++){const I=S.LyricsEntries[k].GraphicalLabel;P=Math.min(P,x+I.PositionAndShape.BorderMarginLeft),C=Math.max(C,x+I.PositionAndShape.BorderMarginRight)}const T=c.getBottomLineMaxInRange(P,C);o=Math.max(o,T+this.rules.LyricsYMarginToBottomLine)}}}let d=0;u=l.length;for(const g of l){const m=[];let y=!0;for(let b=0;b<g.LyricsEntries.length;b++)y&&(y=g.LyricsEntries[b].LyricsEntry.IsChorus);for(const b of r)a[b]===y&&m.push(b);for(let b=0;b<g.LyricsEntries.length;b++){const A=g.LyricsEntries[b],S=A.GraphicalLabel,E=A.LyricsEntry.VerseNumber,x=m.indexOf(E),C=o+this.rules.LyricsHeight+this.rules.VerticalBetweenLyricsDistance+this.rules.LyricsYOffsetToStaffHeight+(this.rules.VerticalBetweenLyricsDistance+this.rules.LyricsHeight)*x,T=S.PositionAndShape.RelativePosition.x;S.PositionAndShape.RelativePosition=new PointF2D(T,C),S.Label.fontStyle=A.LyricsEntry.FontStyle,d=Math.max(d,C)}}if(l.length>0){const g=e.PositionAndShape.Size.width;let m=l[0].PositionAndShape.RelativePosition.x+l[0].PositionAndShape.BorderMarginLeft+l[0].parentMeasure.PositionAndShape.RelativePosition.x;m=m>g?g:m,c.updateBottomLineInRange(m,g,d)}return l}calculateLyricsExtendsAndDashes(e){for(let r=0,s=e.length;r<s;++r){const o=e[r];for(let a=0;a<o.LyricsEntries.length;a++){const l=o.LyricsEntries[a];l.ParentLyricWord&&l.ParentLyricWord.GraphicalLyricsEntries[l.ParentLyricWord.GraphicalLyricsEntries.length-1]!==l&&this.calculateSingleLyricWord(l),l.LyricsEntry.extend&&this.calculateLyricExtend(l)}}}calculateSingleOctaveShift(e,r,s,o){throw new Error(this.abstractNotImplementedErrorMessage)}calculateWordRepetitionInstruction(e,r){throw new Error(this.abstractNotImplementedErrorMessage)}calculateMoodAndUnknownExpression(e,r,s){var u,d;const o=e.AbsoluteTimestamp,a=this.graphicalMusicSheet.MeasureList[r];let l=new PointF2D;const c=(u=e.UnknownList[0])==null?void 0:u.defaultYXml;if(e.MoodList.length>0||e.UnknownList.length>0){let g="";for(let S=0,E=e.EntriesList.length;S<E;++S){const x=e.EntriesList[S];x.prefix!==""&&(g===""?g+=x.prefix:g+=" "+x.prefix),g===""?g+=x.label:g+=" "+x.label}const m=a[s].ParentStaffLine;if(!m){loglevelExports.debug("MusicSheetCalculator.calculateMoodAndUnknownExpression: staffLine undefined. Returning.");return}l=this.getRelativePositionInStaffLineFromTimestamp(o,s,m,m==null?void 0:m.isPartOfMultiStaffInstrument()),Math.abs(l.x-0)<1e-4&&(l.x=a[s].beginInstructionsWidth+this.rules.RhythmRightMargin);const y=this.rules.UnknownTextHeight,b=e.getPlacementOfFirstEntry(),A=this.calculateLabel(m,l,g,e.getFontstyleOfFirstEntry(),b,y);if(this.rules.PlaceWordsInsideStafflineFromXml&&c<0&&c>-50){let S=c/10;S+=this.rules.PlaceWordsInsideStafflineYOffset,A.PositionAndShape.RelativePosition.y=S}new GraphicalUnknownExpression(m,A,b,(d=a[s])==null?void 0:d.parentSourceMeasure,e)}}clearRecreatedObjects(){for(let e=0,r=this.staffEntriesWithGraphicalTies.length;e<r;++e){const s=this.staffEntriesWithGraphicalTies[e];s.GraphicalTies.length=0}this.staffEntriesWithGraphicalTies.length=0}handleStaffEntryLink(e,r){loglevelExports.debug("handleStaffEntryLink not implemented")}calculateMusicSystems(){if(!this.graphicalMusicSheet.MeasureList)return;const e=this.graphicalMusicSheet.MeasureList;if(!e)return;this.rules.MinMeasureToDrawIndex>e.length-1&&(loglevelExports.debug("minimum measure to draw index out of range. resetting min measure index to limit."),this.rules.MinMeasureToDrawIndex=e.length-1);const r=[];for(let l=this.rules.MinMeasureToDrawIndex,c=e.length;l<c&&l<=this.rules.MaxMeasureToDrawIndex;++l){const u=e[l],d=[];for(let g=0,m=u.length;g<m;++g){const y=e[l][g];if(y!=null&&y.isVisible()&&(d.push(y),this.rules.ColoringEnabled))for(const b of y.staffEntries)for(const A of b.graphicalVoiceEntries)A.color()}r.push(d)}let s=0;for(let l=0,c=r.length;l<c;++l){const u=r[l];s=Math.max(u.length,s);break}if(s===0)return;let o;const a=e.length;if(!this.rules.UseJustifiedBuilder||a===1||this.rules.RenderSingleHorizontalStaffline?o=new MusicSystemBuilder:o=new JustifiedMusicSystemBuilder,o.initialize(this.graphicalMusicSheet,r,s),this.musicSystems=o.buildMusicSystems(),this.formatMeasures(),this.leadSheet||(this.optimizeRestPlacement(),this.calculateStaffEntryArticulationMarks(),this.rules.RenderSlurs&&this.calculateTieCurves()),this.calculateSkyBottomLines(),this.calculateTupletNumbers(),this.rules.RenderMeasureNumbers)for(let l=0,c=this.musicSystems.length;l<c;++l){const u=this.musicSystems[l];this.calculateMeasureNumberPlacement(u)}if(this.rules.RenderFingerings&&this.calculateFingerings(),!this.leadSheet&&this.rules.RenderSlurs&&this.calculateSlurs(),this.calculateGlissandi(),this.rules.RenderMeasureNumbers)for(let l=0,c=this.musicSystems.length;l<c;++l){const u=this.musicSystems[l];this.calculateMeasureNumberSkyline(u)}this.leadSheet||this.calculateOrnaments(),this.calculateChordSymbols(),this.leadSheet||(this.calculateDynamicExpressions(),this.calculateMoodAndUnknownExpressions(),this.calculateExpressionAlignements(),this.calculateOctaveShifts(),this.rules.RenderPedals&&this.calculatePedals(),this.rules.RenderWavyLines&&this.calculateWavyLines(),this.calculateWordRepetitionInstructions()),this.calculateRepetitionEndings(),this.leadSheet||this.calculateTempoExpressions(),this.calculateRehearsalMarks(),this.calculateLyricsPosition();for(let l=0,c=this.musicSystems.length;l<c;++l){const u=this.musicSystems[l];for(let d=0,g=u.StaffLines.length;d<g;++d){const m=u.StaffLines[d];this.updateStaffLineBorders(m)}}o.calculateSystemYLayout(),this.calculateMarkedAreas();for(let l=0,c=this.graphicalMusicSheet.MusicPages.length;l<c;++l){const u=this.graphicalMusicSheet.MusicPages[l];for(let g=0,m=u.MusicSystems.length;g<m;++g){const y=l===0&&g===0,b=u.MusicSystems[g];b.setMusicSystemLabelsYPosition(),this.leadSheet?b===b.Parent.MusicSystems[0]&&b.createSystemLeftLine(this.rules.SystemThinLineWidth,this.rules.SystemLabelsRightMargin,y):(b.setYPositionsToVerticalLineObjectsAndCreateLines(this.rules),b.createSystemLeftLine(this.rules.SystemThinLineWidth,this.rules.SystemLabelsRightMargin,y),b.createInstrumentBrackets(this.graphicalMusicSheet.ParentMusicSheet.Instruments,this.rules.StaffHeight),b.createGroupBrackets(this.graphicalMusicSheet.ParentMusicSheet.InstrumentalGroups,this.rules.StaffHeight,0),b.alignBeginInstructions()),b.calculateBorders(this.rules)}const d=u.MusicSystems[0].PositionAndShape.BorderTop;for(let g=0,m=u.MusicSystems.length;g<m;++g){const y=u.MusicSystems[g];y.PositionAndShape.RelativePosition=new PointF2D(y.PositionAndShape.RelativePosition.x,y.PositionAndShape.RelativePosition.y-d)}u.PositionAndShape.calculateTopBottomBorders(),u===this.graphicalMusicSheet.MusicPages[0]&&this.calculatePageLabels(u),u.PositionAndShape.calculateTopBottomBorders()}}calculateMarkedAreas(){}calculateChordSymbols(){for(const e of this.musicSystems)for(const r of e.StaffLines){const s=r.SkyBottomLineCalculator;let o=Number.MAX_SAFE_INTEGER;if(this.rules.ChordSymbolYAlignment&&this.rules.ChordSymbolYAlignmentScope==="staffline"){const a=[];for(const l of r.Measures)a.push(...l.staffEntries);o=this.calculateAlignedChordSymbolsOffset(a,s)}for(let a=0;a<r.Measures.length;a++){const l=r.Measures[a];this.rules.ChordSymbolYAlignment&&this.rules.ChordSymbolYAlignmentScope==="measure"&&(o=this.calculateAlignedChordSymbolsOffset(l.staffEntries,s));let c;for(const u of l.staffEntries)if(!(!u.graphicalChordContainers||u.graphicalChordContainers.length===0))for(let d=0;d<u.graphicalChordContainers.length;d++){const g=u.graphicalChordContainers[d];if(u.graphicalVoiceEntries.length===0&&u.relInMeasureTimestamp.RealValue>0){let x=0;l.staffEntries[0].relInMeasureTimestamp.RealValue===0&&(x=l.staffEntries[0].PositionAndShape.RelativePosition.x,l.MeasureNumber===1&&(x+=this.rules.ChordSymbolWholeMeasureRestXOffsetMeasure1));const P=l.PositionAndShape.Size.width-l.endInstructionsWidth,C=u.relInMeasureTimestamp.RealValue/l.parentSourceMeasure.Duration.RealValue;let T=x+(P-x)*C+g.PositionAndShape.BorderMarginLeft;c&&(T=Math.max(T,c.PositionAndShape.RelativePosition.x+c.GraphicalLabel.PositionAndShape.Size.width+this.rules.ChordSymbolXSpacing)),g.PositionAndShape.RelativePosition.x=T,g.PositionAndShape.Parent=l.staffEntries[0].PositionAndShape.Parent}const m=g.PositionAndShape,y=m.Parent;if(y.DataObject instanceof GraphicalMeasure&&u.relInMeasureTimestamp.RealValue===0&&(m.RelativePosition.x=Math.max(l.beginInstructionsWidth,m.RelativePosition.x),l.MeasureNumber===1&&m.RelativePosition.x>3&&(m.RelativePosition.x+=this.rules.ChordSymbolWholeMeasureRestXOffsetMeasure1)),u.PositionAndShape.RelativePosition.x===0){const x=e.GraphicalMeasures[a];for(const P of x){let C=!1;for(const T of P.staffEntries)if(T.relInMeasureTimestamp===u.relInMeasureTimestamp&&T.PositionAndShape.RelativePosition.x!==0){m.RelativePosition.x=T.PositionAndShape.RelativePosition.x,C=!0;break}if(C)break}}const b=m.BorderMarginLeft+y.AbsolutePosition.x+m.RelativePosition.x,A=m.BorderMarginRight+y.AbsolutePosition.x+m.RelativePosition.x;(!this.rules.ChordSymbolYAlignment||o>0)&&(o=s.getSkyLineMinInRange(b,A));let S=0;d===0?(S+=this.rules.ChordSymbolYOffset,S+=.1):S+=this.rules.ChordSymbolYPadding,S*=-1;const E=g.GraphicalLabel;E.PositionAndShape.RelativePosition.y=o+S,E.setLabelPositionAndShapeBorders(),E.PositionAndShape.calculateBoundingBox(),s.updateSkyLineInRange(b,A,o+E.PositionAndShape.BorderMarginTop),c=g}}}}calculateAlignedChordSymbolsOffset(e,r){let s=Number.MAX_SAFE_INTEGER;for(const o of e)for(const a of o.graphicalChordContainers){const l=a.PositionAndShape,c=l.Parent;let u=l.BorderMarginLeft+c.AbsolutePosition.x,d=l.BorderMarginRight+c.AbsolutePosition.x;c.DataObject instanceof GraphicalMeasure&&(u+=c.DataObject.beginInstructionsWidth,d+=c.DataObject.beginInstructionsWidth),s=Math.min(s,r.getSkyLineMinInRange(u,d))}return s}layoutMeasureWithWholeRest(e,r,s){}layoutBeams(e){}layoutArticulationMarks(e,r,s){}layoutOrnament(e,r,s){}calculateRestNotePlacementWithinGraphicalBeam(e,r,s,o,a){}calculateTupletNumbers(){if(!this.rules.TupletNumberLimitConsecutiveRepetitions)return;let e=-1,r,s=0,o,a;const l={};for(const c of this.graphicalMusicSheet.ParentMusicSheet.Instruments)for(const u of c.Voices){s=0,l[u.VoiceId]={};for(const d of u.VoiceEntries)if(d.Notes.length>0){const g=d.Notes[0];if(!g.NoteTuplet||g.NoteTuplet.shouldBeBracketed(this.rules.TupletsBracketedUseXMLValue,this.rules.TupletsBracketed,this.rules.TripletsBracketed)){e=-1,s=0,o=void 0,r=void 0;continue}if(g.NoteTuplet===a)continue;let m=g.TypeLength;if(m||(loglevelExports.warn("note missing TypeLength"),m=g.NoteTuplet.Fractions[0]),g.NoteTuplet!==o&&l[u.VoiceId][g.NoteTuplet.TupletLabelNumber]&&l[u.VoiceId][g.NoteTuplet.TupletLabelNumber][m.RealValue]){g.NoteTuplet.RenderTupletNumber=!1,a=g.NoteTuplet;continue}(g.NoteTuplet.TupletLabelNumber!==e||!m.Equals(r)||g.NoteTuplet.Bracket)&&(e=g.NoteTuplet.TupletLabelNumber,r=m,s=0),o=g.NoteTuplet,s++,s<=this.rules.TupletNumberMaxConsecutiveRepetitions&&(g.NoteTuplet.RenderTupletNumber=!0),s>this.rules.TupletNumberMaxConsecutiveRepetitions&&(g.NoteTuplet.RenderTupletNumber=!1,this.rules.TupletNumberAlwaysDisableAfterFirstMax&&(l[u.VoiceId][e]||(l[u.VoiceId][e]={}),l[u.VoiceId][e][m.RealValue]=!0)),a=o}}}calculateSlurs(){}calculateGlissandi(){}calculateDynamicExpressionsForMultiExpression(e,r,s){}calculateGraphicalVerbalContinuousDynamic(e,r){const s=e.Label,o=r.x+s.PositionAndShape.BorderMarginLeft,a=r.x+s.PositionAndShape.BorderMarginRight,l=e.ContinuousDynamic.Placement,u=e.ParentStaffLine.SkyBottomLineCalculator;let d;l===PlacementEnum.Below?(d=u.getBottomLineMaxInRange(o,a),s.PositionAndShape.RelativePosition=new PointF2D(r.x,d-s.PositionAndShape.BorderMarginTop)):(d=u.getSkyLineMinInRange(o,a),s.PositionAndShape.RelativePosition=new PointF2D(r.x,d-s.PositionAndShape.BorderMarginBottom))}calculateGraphicalContinuousDynamic(e,r){var $;const s=e.IsSoftAccent,o=e.ParentStaffLine.ParentStaff.idInMusicSheet,a=this.graphicalMusicSheet.getGraphicalMeasureFromSourceMeasureAndIndex(e.ContinuousDynamic.EndMultiExpression.SourceMeasureParent,o);if(!a){loglevelExports.warn("MusicSheetCalculator.calculateGraphicalContinuousDynamic: No endMeasure found");return}e.EndMeasure=a;const l=e.ParentStaffLine,c=a.ParentStaffLine,u=c&&l===c;let d=!1;c?d=c==null?void 0:c.isPartOfMultiStaffInstrument():l&&(d=l==null?void 0:l.isPartOfMultiStaffInstrument());const g=Fraction$1.createFromFraction(e.ContinuousDynamic.EndMultiExpression.AbsoluteTimestamp),m=this.graphicalMusicSheet.GetVerticalContainerFromTimestamp(g),y=m.getFirstNonNullStaffEntry().parentMeasure,b=y.PositionAndShape.AbsolutePosition.x+y.PositionAndShape.BorderRight;let A=new Fraction$1(0,0,0);for(const Y of m.StaffEntries){const Q=($=Y==null?void 0:Y.sourceStaffEntry)==null?void 0:$.calculateMaxNoteLength(!1);Q!=null&&Q.gt(A)&&(A=Q)}const S=!s&&e.ContinuousDynamic.DynamicType===ContDynamicEnum.diminuendo,E=this.getRelativePositionInStaffLineFromTimestamp(g,o,c,d,0,S),x=Fraction$1.plus(g,A),P=this.getRelativePositionInStaffLineFromTimestamp(x,o,c,d,0,e.ContinuousDynamic.DynamicType===ContDynamicEnum.diminuendo),C=this.rules.SoftAccentWedgePadding,T=m.getFirstNonNullStaffEntry().PositionAndShape.Size.width,k=this.rules.SoftAccentSizeFactor;s?(r.x-=T/2*k+C,E.x=r.x+T/2*k):P.x>E.x&&P.x<b?E.x+=(P.x-E.x)/this.rules.WedgeEndDistanceBetweenTimestampsFactor:E.x=b-this.rules.WedgeHorizontalMargin;const I=this.dynamicExpressionMap.get(e.ContinuousDynamic.StartMultiExpression.AbsoluteTimestamp.RealValue);I&&I.DataObject.ParentStaffLine===l&&(r.x=I.RelativePosition.x+this.rules.WedgeHorizontalMargin,r.x+=I.BorderMarginRight);const M=l.ParentMusicSystem,R=M.StaffLines.indexOf(l),B=l.SkyBottomLineCalculator;let _=e.ContinuousDynamic.Placement;const V=e.ContinuousDynamic.DynamicType;(V===0||V===1)&&(_=1);let D;u&&E.x-r.x<this.rules.WedgeMinLength&&!s&&(E.x=r.x+this.rules.WedgeMinLength);const F=r.x;let N=c.Measures[0].beginInstructionsWidth-this.rules.WedgeHorizontalMargin-2,K=0,G=0;const q=[];if(u)K=E.x;else{K=l.PositionAndShape.Size.width,G=E.x;const Y=[l,c],Q=e.StartMeasure;let xe=Q,ue=0,W=Q.parentSourceMeasure.measureListIndex;for(;xe!==a&&ue<1e3;){const J=this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures[W],ce=this.graphicalMusicSheet.getGraphicalMeasureFromSourceMeasureAndIndex(J,o);if(ce){xe=ce;const ge=xe.ParentStaffLine;if(!Y.includes(ge)){Y.push(ge);const Ee=new GraphicalContinuousDynamicExpression(e.ContinuousDynamic,ge,ge.Measures[0].parentSourceMeasure);Ee.IsSplittedPart=!0,q.push(Ee)}}W++,ue++}D=new GraphicalContinuousDynamicExpression(e.ContinuousDynamic,c,a.parentSourceMeasure),D.IsSplittedPart=!0,e.IsSplittedPart=!0}s&&(N=E.x+C,G=N+T/2*k);let O=0,U=0;if(_===PlacementEnum.Below){let Y=0;if(R<M.StaffLines.length-1&&(Y=R+1),Y>R){const ue=M.StaffLines[Y].PositionAndShape.RelativePosition.y-l.PositionAndShape.RelativePosition.y-this.rules.StaffHeight;O=this.rules.StaffHeight+ue/2}else O=this.rules.WedgePlacementBelowY;O-=this.rules.WedgeOpeningLength/2,u||(U=O);let Q=B.getBottomLineMaxInRange(F,K);if(Q>O&&(O=Q),R<M.StaffLines.length-1){const xe=l.findClosestStaffEntry(K),ue=l.findClosestStaffEntry(F);ue&&xe&&ue.parentVerticalContainer}u||(Q=c.SkyBottomLineCalculator.getBottomLineMaxInRange(N,G),Q>U&&(U=Q),U+=this.rules.WedgeOpeningLength/2,U+=this.rules.WedgeVerticalMargin),O+=this.rules.WedgeOpeningLength/2,O+=this.rules.WedgeVerticalMargin}else if(_===PlacementEnum.Above){if(l.ParentStaff.ParentInstrument.Staves.length===1)O=this.rules.WedgePlacementAboveY;else{let Q=0;R>0&&(Q=R-1);const xe=M.StaffLines[Q];O=-(l.PositionAndShape.RelativePosition.y-xe.PositionAndShape.RelativePosition.y-this.rules.StaffHeight)/2}O+=this.rules.WedgeOpeningLength/2,u||(U=O);let Y=B.getSkyLineMinInRange(F,K);if(Y<O&&(O=Y),l.ParentStaff.ParentInstrument.Staves.length>1&&R>0){const Q=l.findClosestStaffEntry(F),xe=l.findClosestStaffEntry(K);Q&&xe&&Q.parentVerticalContainer}u||(Y=c.SkyBottomLineCalculator.getSkyLineMinInRange(N,G),Y<U&&(U=Y),U-=this.rules.WedgeOpeningLength/2),O-=this.rules.WedgeOpeningLength/2,O-=this.rules.WedgeVerticalMargin,u||(U-=this.rules.WedgeVerticalMargin)}if(e.Lines.clear(),s)e.createFirstHalfCrescendoLines(F,K,O),e.createSecondHalfDiminuendoLines(N,G,O),e.calcPsi();else if(u&&!s)e.createLines(F,K,O),e.calcPsi();else{e.createFirstHalfLines(F,K,O),e.calcPsi();for(let Y=0;Y<q.length;Y++){const Q=q[Y],xe=Q.ParentStaffLine;let ue=U;if(_===PlacementEnum.Below){const W=c.SkyBottomLineCalculator.getBottomLineMaxInRange(N,K);W>ue&&(ue=W),ue+=this.rules.WedgeOpeningLength/2,ue+=this.rules.WedgeVerticalMargin}else if(_===PlacementEnum.Above){const W=xe.SkyBottomLineCalculator.getSkyLineMinInRange(N,G);W<U&&(ue=W),ue-=this.rules.WedgeOpeningLength/2}e.ContinuousDynamic.DynamicType===ContDynamicEnum.crescendo?Q.createSecondHalfCrescendoLines(0,xe.PositionAndShape.Size.width,ue):Q.createFirstHalfDiminuendoLines(0,xe.PositionAndShape.Size.width,ue),Q.calcPsi()}D.createSecondHalfLines(N,G,U),D.calcPsi()}this.dynamicExpressionMap.set(g.RealValue,e.PositionAndShape)}calculateGraphicalInstantaneousDynamicExpression(e,r,s){const o=e.ParentStaffLine;if(!o)return;const a=r.x+e.PositionAndShape.BorderMarginLeft,l=r.x+e.PositionAndShape.BorderMarginRight,c=o.SkyBottomLineCalculator;let u=0;if(e.Placement===PlacementEnum.Above){const d=c.getSkyLineMinInRange(a,l);if(o.isPartOfMultiStaffInstrument()&&o.ParentStaff!==o.ParentStaff.ParentInstrument.Staves[0]){const g=o.ParentMusicSystem.StaffLines[o.ParentMusicSystem.StaffLines.indexOf(o)-1],m=o.PositionAndShape.RelativePosition.y-g.PositionAndShape.RelativePosition.y-this.rules.StaffHeight;d>-m/2?u=-m/2:u=d-e.PositionAndShape.BorderMarginBottom}else u=d-e.PositionAndShape.BorderMarginBottom;e.PositionAndShape.RelativePosition=new PointF2D(r.x,u)}else if(e.Placement===PlacementEnum.Below){const d=c.getBottomLineMaxInRange(a,l),g=o.ParentStaff.ParentInstrument.Staves[o.ParentStaff.ParentInstrument.Staves.length-1];if(o.isPartOfMultiStaffInstrument()&&o.ParentStaff!==g){const y=o.ParentMusicSystem.StaffLines[o.ParentMusicSystem.StaffLines.indexOf(o)+1].PositionAndShape.RelativePosition.y-o.PositionAndShape.RelativePosition.y-this.rules.StaffHeight,b=e.PositionAndShape.BorderMarginBottom;d+b<this.rules.StaffHeight+y/2?u=this.rules.StaffHeight+y/2:u=d-e.PositionAndShape.BorderMarginTop}else u=d-e.PositionAndShape.BorderMarginTop;e.PositionAndShape.RelativePosition=new PointF2D(r.x,u)}e.updateSkyBottomLine()}calcGraphicalRepetitionEndingsRecursively(e){}layoutSingleRepetitionEnding(e,r,s,o,a,l){}calculateLabel(e,r,s,o,a,l,c=TextAlignmentEnum.CenterBottom,u=0){const d=new Label(s,c);d.fontStyle=o,d.fontHeight=l;const g=new GraphicalLabel(d,l,d.textAlignment,this.rules,e.PositionAndShape),m=1.1;a===PlacementEnum.Below&&(g.Label.textAlignment=TextAlignmentEnum.LeftTop),g.setLabelPositionAndShapeBorders(),g.PositionAndShape.BorderMarginBottom*=m,g.PositionAndShape.BorderMarginTop*=m,g.PositionAndShape.BorderMarginLeft*=m,g.PositionAndShape.BorderMarginRight*=m;let y=r.x+g.PositionAndShape.BorderMarginLeft,b=r.x+g.PositionAndShape.BorderMarginRight;b>e.PositionAndShape.Size.width&&(b=e.PositionAndShape.Size.width-this.rules.MeasureRightMargin,y=b-g.PositionAndShape.MarginSize.width,r.x=y-g.PositionAndShape.BorderMarginLeft);let A;const S=e.SkyBottomLineCalculator;return a===PlacementEnum.Below?A=S.getBottomLineMaxInRange(y,b)+u:A=S.getSkyLineMinInRange(y,b)-u,g.PositionAndShape.RelativePosition=new PointF2D(r.x,A),a===PlacementEnum.Below?S.updateBottomLineInRange(y,b,g.PositionAndShape.BorderMarginBottom+A):S.updateSkyLineInRange(y,b,g.PositionAndShape.BorderMarginTop+A),g}calculateTempoExpressionsForMultiTempoExpression(e,r,s,o){metronomeMarks={};const a=Fraction$1.plus(e.AbsoluteTimestamp,r.Timestamp),l=this.graphicalMusicSheet.MeasureList[s];let c=new PointF2D;if(r.ContinuousTempo||r.InstantaneousTempo){if(this.rules.MinMeasureToDrawIndex>0||!l[0])return;let u=l[0].ParentStaffLine,d=l[0].PositionAndShape.RelativePosition.x,g=0;for(let m=0;m<l.length;m++)if(!(!l[m].ParentStaffLine||l[m].ParentStaffLine.Measures.length===0)&&l[m].ParentStaffLine.Measures.length>0){u=l[m].ParentStaffLine,d=l[m].PositionAndShape.RelativePosition.x,g=m;break}if(c=this.getRelativePositionInStaffLineFromTimestamp(a,g,u,u.isPartOfMultiStaffInstrument(),d),r.EntriesList.length>0&&r.EntriesList[0].Expression instanceof InstantaneousTempoExpression){const m=r.EntriesList[0].Expression;if(m.Placement=PlacementEnum.Above,u.Measures[0].staffEntries.length>0&&Math.abs(c.x-u.Measures[0].staffEntries[0].PositionAndShape.RelativePosition.x)===0&&u.ParentMusicSystem===this.musicSystems[0]){const y=u.Measures[0].FirstInstructionStaffEntry;if(y){const b=y.GraphicalInstructions.last();c.x=b.PositionAndShape.RelativePosition.x}this.rules.CompactMode&&(c.x=u.PositionAndShape.RelativePosition.x+u.Measures[0].PositionAndShape.RelativePosition.x)}}for(const m of r.EntriesList){let y=TextAlignmentEnum.CenterBottom;this.rules.CompactMode&&(y=TextAlignmentEnum.LeftBottom);const b=this.calculateLabel(u,c,m.label,r.getFontstyleOfFirstEntry(),m.Expression.Placement,this.rules.UnknownTextHeight,y,this.rules.TempoYSpacing);if(m.Expression.ColorXML&&this.rules.ExpressionsUseXMLColor&&(b.ColorXML=m.Expression.ColorXML),m.Expression instanceof InstantaneousTempoExpression){for(const S of u.AbstractExpressions)S instanceof GraphicalInstantaneousTempoExpression&&(S.SourceExpression.Label,m.Expression.Label);new GraphicalInstantaneousTempoExpression(m.Expression,b).ParentStaffLine||loglevelExports.warn("Adding staffline didn't work"),m.Expression.Enum===TempoEnum.metronomeMark&&(metronomeMarks[s]=m.Expression)}else m.Expression instanceof ContinuousTempoExpression;if(o===e.TempoExpressions.length-1)for(const A of Object.values(metronomeMarks))this.createMetronomeMark(A,s);else if(m.Expression instanceof ContinuousTempoExpression){for(const A of u.AbstractExpressions)A instanceof GraphicalInstantaneousTempoExpression&&(A.SourceExpression.Label,m.Expression.Label);u.AbstractExpressions.push(new GraphicalInstantaneousTempoExpression(m.Expression,b))}}}}createMetronomeMark(e,r){throw new Error(this.abstractNotImplementedErrorMessage)}graphicalMeasureCreatedCalculations(e){}clearSystemsAndMeasures(){for(let e=0,r=this.graphicalMusicSheet.MusicPages.length;e<r;++e){const s=this.graphicalMusicSheet.MusicPages[e];for(let o=0,a=s.MusicSystems.length;o<a;++o){const l=s.MusicSystems[o];for(let c=0,u=l.StaffLines.length;c<u;++c){const d=l.StaffLines[c];for(let g=0,m=d.Measures.length;g<m;++g){const y=d.Measures[g];if(y.FirstInstructionStaffEntry){const b=y.PositionAndShape.ChildElements.indexOf(y.FirstInstructionStaffEntry.PositionAndShape);b>-1&&y.PositionAndShape.ChildElements.splice(b,1),y.FirstInstructionStaffEntry=void 0,y.beginInstructionsWidth=0}if(y.LastInstructionStaffEntry){const b=y.PositionAndShape.ChildElements.indexOf(y.LastInstructionStaffEntry.PositionAndShape);b>-1&&y.PositionAndShape.ChildElements.splice(b,1),y.LastInstructionStaffEntry=void 0,y.endInstructionsWidth=0}}d.Measures=[],d.PositionAndShape.ChildElements=[]}l.StaffLines.length=0,l.PositionAndShape.ChildElements=[]}s.MusicSystems=[],s.PositionAndShape.ChildElements=[]}this.graphicalMusicSheet.MusicPages=[]}handleVoiceEntry(e,r,s,o,a,l,c,u,d,g=void 0,m=void 0){e.StemDirectionXml!==StemDirectionType.Undefined&&this.rules.SetWantedStemDirectionByXml&&e.StemDirectionXml!==void 0?e.WantedStemDirection=e.StemDirectionXml:this.calculateStemDirectionFromVoices(e);const y=r.findOrCreateGraphicalVoiceEntry(e);y.octaveShiftValue=u;const b=r.tabStaffEntry;let A;b&&(A=b.findOrCreateGraphicalVoiceEntry(e));for(let S=0,E=e.Notes.length;S<E;++S){const x=e.Notes[S];if(!x||m!==void 0&&m.Link!==void 0&&g!==void 0&&g.indexOf(x)>-1)continue;let P;if(e.IsGrace?P=MusicSheetCalculator.symbolFactory.createGraceNote(x,y,a,this.rules,u):(P=MusicSheetCalculator.symbolFactory.createNote(x,y,a,u,this.rules,void 0),MusicSheetCalculator.stafflineNoteCalculator.trackNote(P)),x.Pitch&&this.checkNoteForAccidental(P,s,a,u),this.resetYPositionForLeadSheet(P.PositionAndShape),r.addGraphicalNoteToListAtCorrectYPosition(y,P),P.PositionAndShape.calculateBoundingBox(),this.leadSheet||(x.NoteBeam!==void 0&&x.PrintObject&&(!(x instanceof TabNote)||this.rules.TabBeamsRendered)&&this.handleBeam(P,x.NoteBeam,c),x.NoteTuplet!==void 0&&x.PrintObject&&this.handleTuplet(P,x.NoteTuplet,l)),A){const C=MusicSheetCalculator.symbolFactory.createNote(x,A,a,u,this.rules,void 0);b.addGraphicalNoteToListAtCorrectYPosition(A,C),C.PositionAndShape.calculateBoundingBox(),this.leadSheet||x.NoteTuplet&&this.handleTuplet(C,x.NoteTuplet,l)}}return e.Articulations.length>0&&this.handleVoiceEntryArticulations(e.Articulations,e,r),e.TechnicalInstructions.length>0&&this.handleVoiceEntryTechnicalInstructions(e.TechnicalInstructions,e,r),e.LyricsEntries.size()>0&&this.handleVoiceEntryLyrics(e,r,o),e.OrnamentContainer&&this.handleVoiceEntryOrnaments(e.OrnamentContainer,e,r),u}resetYPositionForLeadSheet(e){this.leadSheet&&(e.RelativePosition=new PointF2D(e.RelativePosition.x,0))}layoutVoiceEntries(e,r){if(e.PositionAndShape.RelativePosition=new PointF2D(0,0),!this.leadSheet)for(const s of e.graphicalVoiceEntries){const o=s.notes;if(o.length===0)continue;const a=o[0].sourceNote.ParentVoiceEntry,l=o[0].sourceNote.Pitch!==void 0;this.layoutVoiceEntry(a,o,e,l)}}maxInstrNameLabelLength(){var r;let e=0;for(const s of this.graphicalMusicSheet.ParentMusicSheet.Instruments)if((r=s.NameLabel)!=null&&r.print&&s.Voices.length>0&&s.Voices[0].Visible){let o=s.NameLabel;this.rules.RenderPartNames||(o=new Label("",o.textAlignment,o.font));const a=new GraphicalLabel(o,this.rules.InstrumentLabelTextHeight,TextAlignmentEnum.LeftCenter,this.rules);a.setLabelPositionAndShapeBorders(),e=Math.max(e,a.PositionAndShape.MarginSize.width)}return this.rules.RenderPartNames?e:0}calculateSheetLabelBoundingBoxes(){var o;const e=this.graphicalMusicSheet.ParentMusicSheet,r=this.rules.DefaultColorTitle;if(e.Title!==void 0&&this.rules.RenderTitle){const a=new GraphicalLabel(e.Title,this.rules.SheetTitleHeight,TextAlignmentEnum.CenterBottom,this.rules);a.Label.IsCreditLabel=!0,a.Label.colorDefault=r,this.graphicalMusicSheet.Title=a,a.setLabelPositionAndShapeBorders()}else this.rules.RenderTitle||(this.graphicalMusicSheet.Title=void 0);if(e.Subtitle!==void 0&&this.rules.RenderSubtitle){const a=new GraphicalLabel(e.Subtitle,this.rules.SheetSubtitleHeight,TextAlignmentEnum.CenterCenter,this.rules);a.Label.IsCreditLabel=!0,a.Label.colorDefault=r,this.graphicalMusicSheet.Subtitle=a,a.setLabelPositionAndShapeBorders()}else this.rules.RenderSubtitle||(this.graphicalMusicSheet.Subtitle=void 0);if(e.Composer!==void 0&&this.rules.RenderComposer){const a=new GraphicalLabel(e.Composer,this.rules.SheetComposerHeight,TextAlignmentEnum.RightCenter,this.rules);a.Label.IsCreditLabel=!0,a.Label.colorDefault=r,this.graphicalMusicSheet.Composer=a,a.setLabelPositionAndShapeBorders()}else this.rules.RenderComposer||(this.graphicalMusicSheet.Composer=void 0);if(e.Lyricist!==void 0&&this.rules.RenderLyricist){const a=new GraphicalLabel(e.Lyricist,this.rules.SheetAuthorHeight,TextAlignmentEnum.RightCenter,this.rules);a.Label.IsCreditLabel=!0,a.Label.colorDefault=r,this.graphicalMusicSheet.Lyricist=a,a.setLabelPositionAndShapeBorders()}else this.rules.RenderLyricist||(this.graphicalMusicSheet.Lyricist=void 0);if(e.Copyright!==void 0&&this.rules.RenderCopyright){const a=new GraphicalLabel(e.Copyright,this.rules.SheetCopyrightHeight,TextAlignmentEnum.CenterBottom,this.rules);a.Label.IsCreditLabel=!0,a.Label.colorDefault=r,this.graphicalMusicSheet.Copyright=a,a.setLabelPositionAndShapeBorders()}else this.rules.RenderCopyright||(this.graphicalMusicSheet.Copyright=void 0);const s=(o=this.graphicalMusicSheet.musicSheet.sourceMeasures)==null?void 0:o[0];if(s&&s.FirstInstructionsStaffEntries.length>0){const a=s.FirstInstructionsStaffEntries[0];let l,c;for(let u=0,d=a.Instructions.length;u<d;++u){const g=a.Instructions[u];g instanceof ClefInstruction||(g instanceof KeyInstruction?l=g:g instanceof RhythmInstruction&&(c=g))}if(l){e.CurrentKeyInstruction=l;const u=VexFlowConverter.keySignature(l),d=new Label("1="+u),g=new Label(`${c.Rhythm.Numerator}
  63. ${c.Rhythm.Denominator}`),m=new GraphicalLabel(d,this.rules.SheetAuthorHeight,TextAlignmentEnum.LeftCenter,this.rules),y=new GraphicalLabel(g,this.rules.SheetAuthorHeight,TextAlignmentEnum.LeftCenter,this.rules),b=new Label("ᅳ"),A=new GraphicalLabel(b,this.rules.SheetAuthorHeight,TextAlignmentEnum.LeftCenter,this.rules);d.fontFamily="Arial",d.IsCreditLabel=!0,d.colorDefault=r,g.fontFamily="Arial",g.IsCreditLabel=!0,g.colorDefault=r,b.fontFamily="Arial",b.IsCreditLabel=!0,b.colorDefault=r,this.graphicalMusicSheet.JianpuKeySignature=m,this.graphicalMusicSheet.jianpuTimeSignature=y,this.graphicalMusicSheet.jianpuLine=A,m.setLabelPositionAndShapeBorders(),y.setLabelPositionAndShapeBorders(),A.setLabelPositionAndShapeBorders()}}}checkMeasuresForWholeRestNotes(){for(let e=0,r=this.musicSystems.length;e<r;++e){const s=this.musicSystems[e];for(let o=0,a=s.StaffLines.length;o<a;++o){const l=s.StaffLines[o];for(let c=0,u=l.Measures.length;c<u;++c){const d=l.Measures[c];if(d.staffEntries.length===1){const g=d.staffEntries[0];if(g.graphicalVoiceEntries.length>0&&g.graphicalVoiceEntries[0].notes.length===1){const m=g.graphicalVoiceEntries[0].notes[0];!m.sourceNote.Pitch&&new Fraction$1(1,2).lt(m.sourceNote.Length)&&this.layoutMeasureWithWholeRest(m,g,d)}}}}}}optimizeRestNotePlacement(e,r){if(e.graphicalVoiceEntries.length===0)return;const s=e.graphicalVoiceEntries[0].notes;if(s.length===0)return;const o=s[0],a=o.sourceNote.isRest();if(e.graphicalVoiceEntries.length===2){let l=!1;const c=e.graphicalVoiceEntries[1].notes;c.length>0&&(l=c[0].sourceNote.isRest()),a&&l?this.calculateTwoRestNotesPlacementWithCollisionDetection(e):(a||l)&&this.calculateRestNotePlacementWithCollisionDetectionFromGraphicalNote(e)}else if(a&&e!==r.staffEntries[0]&&e!==r.staffEntries[r.staffEntries.length-1]){const l=r.staffEntries.indexOf(e),c=r.staffEntries[l-1],u=r.staffEntries[l+1];if(c.graphicalVoiceEntries.length===1){const d=c.graphicalVoiceEntries[0].notes[0];if(d.sourceNote.NoteBeam!==void 0&&u.graphicalVoiceEntries.length===1){const g=u.graphicalVoiceEntries[0].notes[0];g.sourceNote.NoteBeam!==void 0&&d.sourceNote.NoteBeam===g.sourceNote.NoteBeam&&(this.calculateRestNotePlacementWithinGraphicalBeam(e,o,d,u,g),e.PositionAndShape.calculateBoundingBox())}}}}getRelativePositionInStaffLineFromTimestamp(e,r,s,o,a=0,l=!1){let c=new PointF2D,u,d;const g=this.graphicalMusicSheet.VerticalGraphicalStaffEntryContainers.length,m=this.graphicalMusicSheet.GetInterpolatedIndexInVerticalContainers(e),y=Math.min(Math.floor(m),g-1),b=Math.min(Math.ceil(m),g-1);if(y<0||r<0)return c;if(u=this.getFirstLeftNotNullStaffEntryFromContainer(y,r,o),d=this.getFirstRightNotNullStaffEntryFromContainer(b,r,o),u&&d){let A=u.parentMeasure.PositionAndShape.RelativePosition.x;a>0&&(A=a);let S=u.PositionAndShape.RelativePosition.x+A,E=d.PositionAndShape.RelativePosition.x+d.parentMeasure.PositionAndShape.RelativePosition.x;const x=e.RealValue>d.getAbsoluteTimestamp().RealValue;a>0?E=d.PositionAndShape.RelativePosition.x+A:l&&(u.getAbsoluteTimestamp().RealValue===e.RealValue||x)&&(S=u.PositionAndShape.RelativePosition.x+u.PositionAndShape.BorderLeft+A,E=S);let P=0;if(u!==d){const C=u.getAbsoluteTimestamp(),T=d.getAbsoluteTimestamp();P=Fraction$1.minus(e,C).RealValue/Fraction$1.minus(T,C).RealValue}u.parentMeasure.ParentStaffLine!==d.parentMeasure.ParentStaffLine&&(u.parentMeasure.ParentStaffLine===s?E=s.PositionAndShape.Size.width:S=s.PositionAndShape.RelativePosition.x),c=new PointF2D(S+(E-S)*P,0)}return c}getRelativeXPositionFromTimestamp(e){const r=this.graphicalMusicSheet.VerticalGraphicalStaffEntryContainers.length,s=this.graphicalMusicSheet.GetInterpolatedIndexInVerticalContainers(e),o=Math.max(0,Math.min(Math.round(s),r-1)),a=this.graphicalMusicSheet.VerticalGraphicalStaffEntryContainers[o].getFirstNonNullStaffEntry();return a.PositionAndShape.RelativePosition.x+a.parentMeasure.PositionAndShape.RelativePosition.x}calculatePageLabels(e){var g,m;this.rules.RenderSingleHorizontalStaffline&&(e.PositionAndShape.BorderRight=e.PositionAndShape.Size.width,e.PositionAndShape.calculateBoundingBox(),this.graphicalMusicSheet.ParentMusicSheet.pageWidth=e.PositionAndShape.Size.width);let r=10,s=-1;if(e.MusicSystems.length>0){const y=e.MusicSystems[0];r=y.PositionAndShape.RelativePosition.y+y.PositionAndShape.BorderTop;const b=e.MusicSystems[e.MusicSystems.length-1];s=b.PositionAndShape.RelativePosition.y+b.PositionAndShape.BorderBottom}if(this.graphicalMusicSheet.Title&&this.rules.RenderTitle){const y=this.graphicalMusicSheet.Title;y.PositionAndShape.Parent=e.PositionAndShape;const b=new PointF2D;b.x=this.graphicalMusicSheet.ParentMusicSheet.pageWidth/2,b.y=this.rules.TitleTopDistance+this.rules.SheetTitleHeight,y.PositionAndShape.RelativePosition=b,e.Labels.push(y)}if(this.graphicalMusicSheet.Subtitle&&this.rules.RenderTitle&&this.rules.RenderSubtitle){const y=this.graphicalMusicSheet.Subtitle;y.PositionAndShape.Parent=e.PositionAndShape;const b=new PointF2D;b.x=this.graphicalMusicSheet.ParentMusicSheet.pageWidth/2,b.y=this.rules.TitleTopDistance+this.rules.SheetTitleHeight+this.rules.SheetMinimumDistanceBetweenTitleAndSubtitle;const A=(g=y.TextLines)==null?void 0:g.length;A>1&&(b.y+=y.PositionAndShape.BorderBottom*(A-1)/A),y.PositionAndShape.RelativePosition=b,e.Labels.push(y)}const o=this.graphicalMusicSheet.Composer;let a;const c=this.graphicalMusicSheet.Composer&&this.rules.RenderComposer&&this.graphicalMusicSheet.Lyricist&&this.rules.RenderLyricist?2:0;if(o&&this.rules.RenderComposer){o.PositionAndShape.Parent=e.PositionAndShape,o.setLabelPositionAndShapeBorders();const y=new PointF2D;y.x=this.graphicalMusicSheet.ParentMusicSheet.pageWidth-this.rules.PageRightMargin,y.y=r,y.y-=this.rules.SystemComposerDistance;const b=(m=o.TextLines)==null?void 0:m.length;b>1&&(y.y-=o.PositionAndShape.BorderBottom*(b-1)/b),a=y.y,y.y-=c,o.PositionAndShape.RelativePosition=y,e.Labels.push(o)}const u=this.graphicalMusicSheet.Lyricist;if(u&&this.rules.RenderLyricist){u.PositionAndShape.Parent=e.PositionAndShape,u.setLabelPositionAndShapeBorders();const y=new PointF2D;y.x=this.graphicalMusicSheet.ParentMusicSheet.pageWidth-this.rules.PageRightMargin,y.y=r,y.y-=this.rules.SystemLyricistDistance,y.y+=u.PositionAndShape.BorderBottom,y.y=Math.min(y.y,a!=null?a:Number.MAX_SAFE_INTEGER),y.y+=c,u.PositionAndShape.RelativePosition=y,e.Labels.push(u)}const d=this.graphicalMusicSheet.Copyright;if(d&&this.rules.RenderCopyright){d.PositionAndShape.Parent=e.PositionAndShape,d.setLabelPositionAndShapeBorders();const y=new PointF2D;y.x=e.PositionAndShape.Size.width/2,y.y=s+this.rules.SheetCopyrightMargin,y.y-=d.PositionAndShape.BorderTop,d.PositionAndShape.RelativePosition=y,e.Labels.push(d)}}createGraphicalTies(){for(let e=0;e<this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures.length;e++){const r=this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures[e];for(let s=0;s<r.CompleteNumberOfStaves;s++)for(let o=0;o<r.VerticalSourceStaffEntryContainers.length;o++){const a=r.VerticalSourceStaffEntryContainers[o].StaffEntries[s];if(a){const l=this.graphicalMusicSheet.findGraphicalStaffEntryFromMeasureList(s,e,a);l&&(l.GraphicalTies.clear(),l.ties.clear());for(let c=0,u=a.VoiceEntries.length;c<u;++c){const d=a.VoiceEntries[c];for(let g=0,m=d.Notes.length;g<m;++g){const y=d.Notes[g];if(y.NoteTie){const b=y.NoteTie;if(y===y.NoteTie.Notes.last())continue;if(l)for(const A of l.GraphicalTies)A.Tie;this.handleTie(b,l,s,e)}}}this.setTieDirections(l)}}}}handleTie(e,r,s,o){if(!r)return;r.ties.push(e);let a=r,l,c,u;for(let d=1;d<e.Notes.length;d++)if(l=a.findTieGraphicalNoteFromNote(e.Notes[d-1]),c=this.graphicalMusicSheet.GetGraphicalFromSourceStaffEntry(e.Notes[d].ParentStaffEntry),!!c){if(u=c.findTieGraphicalNoteFromNote(e.Notes[d]),l!==void 0&&u!==void 0&&c){if(!l.sourceNote.PrintObject||!u.sourceNote.PrintObject)continue;const g=this.createGraphicalTie(e,a,c,l,u);a.GraphicalTies.push(g),this.staffEntriesWithGraphicalTies.indexOf(a)>=0&&this.staffEntriesWithGraphicalTies.push(a)}a=c}}setTieDirections(e){if(!e)return;const r=e.ties;if(r.length===1){const s=r[0];if(s.TieDirection===PlacementEnum.NotYetDefined){const o=s.Notes[0].ParentVoiceEntry.ParentVoice.VoiceId;(o===2||o===6)&&(s.TieDirection=PlacementEnum.Below)}}if(r.length>1){let s;for(const o of r){const a=o.Notes[0];(!s||a.Pitch.getHalfTone()>s.Pitch.getHalfTone())&&(s=a)}for(const o of r)o.TieDirection===PlacementEnum.NotYetDefined&&(o.Notes[0]===s?o.TieDirection=PlacementEnum.Above:o.TieDirection=PlacementEnum.Below)}}createAccidentalCalculators(){const e=[],r=this.graphicalMusicSheet.ParentMusicSheet.getFirstSourceMeasure();if(r)for(let s=0;s<r.CompleteNumberOfStaves;s++){const o=new AccidentalCalculator;if(e.push(o),r.FirstInstructionsStaffEntries[s])for(let a=0,l=r.FirstInstructionsStaffEntries[s].Instructions.length;a<l;++a){const c=r.FirstInstructionsStaffEntries[s].Instructions[a];if(c instanceof KeyInstruction){const u=c;o.ActiveKeyInstruction=u}}}return e}calculateVerticalContainersList(){const e=this.graphicalMusicSheet.MeasureList[0].length;for(let r=0;r<this.graphicalMusicSheet.MeasureList.length;r++)for(let s=0;s<e;s++){const o=this.graphicalMusicSheet.MeasureList[r][s];if(o)for(let a=0,l=o.staffEntries.length;a<l;++a){const c=o.staffEntries[a],u=this.graphicalMusicSheet.getOrCreateVerticalContainer(c.getAbsoluteTimestamp());u&&(u.StaffEntries[s]=c,c.parentVerticalContainer=u)}}}setIndicesToVerticalGraphicalContainers(){for(let e=0;e<this.graphicalMusicSheet.VerticalGraphicalStaffEntryContainers.length;e++)this.graphicalMusicSheet.VerticalGraphicalStaffEntryContainers[e].Index=e}createGraphicalMeasuresForSourceMeasure(e,r,s,o,a){this.initGraphicalMeasuresCreation();const l=[],c=[],u=[],d=[];let g=!0;for(let m=0;m<e.CompleteNumberOfStaves;m++){const y=this.createGraphicalMeasure(e,u,c,r[m],a,o,s,m,d);g=g&&y.hasOnlyRests,l.push(y)}return e.allRests=g,e.VerticalMeasureList=l,l}createGraphicalMeasure(e,r,s,o,a,l,c,u,d){var b,A,S,E;const g=this.graphicalMusicSheet.ParentMusicSheet.getStaffFromIndex(u);let m;if(a[u].ClefType===ClefEnum.TAB)g.isTab=!0,m=MusicSheetCalculator.symbolFactory.createTabStaffMeasure(e,g);else if(e.multipleRestMeasures&&this.rules.RenderMultipleRestMeasures)m=MusicSheetCalculator.symbolFactory.createMultiRestMeasure(e,g);else{if(e.multipleRestMeasureNumber>1)return;m=MusicSheetCalculator.symbolFactory.createGraphicalMeasure(e,g)}if(m.hasError=e.getErrorInMeasure(u),e.FirstInstructionsStaffEntries[u])for(let x=0,P=e.FirstInstructionsStaffEntries[u].Instructions.length;x<P;++x){const C=e.FirstInstructionsStaffEntries[u].Instructions[x];if(C instanceof KeyInstruction){const T=KeyInstruction.copy(C),k=m.getTransposedHalftones();k!==0&&m.ParentStaff.ParentInstrument.MidiInstrumentId!==MidiInstrument.Percussion&&MusicSheetCalculator.transposeCalculator&&MusicSheetCalculator.transposeCalculator.transposeKey(T,k),o.ActiveKeyInstruction=T}}const y=[];for(let x=0,P=e.StaffLinkedExpressions[u].length;x<P;++x){const C=e.StaffLinkedExpressions[u][x];let T;if(C.OctaveShiftStart?T=C.OctaveShiftStart:C.OctaveShiftEnd&&(T=C.OctaveShiftEnd),T){y.push(C);const k=T;let I=(b=k==null?void 0:k.ParentEndMultiExpression)==null?void 0:b.AbsoluteTimestamp;k!=null&&k.ParentEndMultiExpression||(I=Fraction$1.plus(e.AbsoluteTimestamp,e.Duration)),l[u]=new OctaveShiftParams(k,k.ParentStartMultiExpression.AbsoluteTimestamp,I)}}for(let x=0;x<e.VerticalSourceStaffEntryContainers.length;x++){const P=e.VerticalSourceStaffEntryContainers[x].StaffEntries[u];if(P){for(let I=0,M=P.Instructions.length;I<M;++I){const R=P.Instructions[I];R instanceof ClefInstruction&&(a[u]=R)}const C=MusicSheetCalculator.symbolFactory.createStaffEntry(P,m);x<m.staffEntries.length?m.addGraphicalStaffEntryAtTimestamp(C):m.addGraphicalStaffEntry(C);const T=[];P.Link&&(P.findLinkedNotes(T),this.handleStaffEntryLink(C,d));let k=OctaveEnum.NONE;if(l[u]&&l[u].getAbsoluteStartTimestamp.lte(P.AbsoluteTimestamp)&&P.AbsoluteTimestamp.lte(l[u].getAbsoluteEndTimestamp)&&(k=l[u].getOpenOctaveShift.Type),k===OctaveEnum.NONE)for(const I of y){let M;if(I.OctaveShiftStart?M=I.OctaveShiftStart:I.OctaveShiftEnd&&(M=I.OctaveShiftEnd),(A=M==null?void 0:M.ParentStartMultiExpression)!=null&&A.AbsoluteTimestamp.lte(P.AbsoluteTimestamp)&&!((S=M.ParentEndMultiExpression)!=null&&S.AbsoluteTimestamp.lt(P.AbsoluteTimestamp))){k=M.Type;break}}for(let I=0,M=P.VoiceEntries.length;I<M;++I){const R=P.VoiceEntries[I];k=this.handleVoiceEntry(R,C,o,c,a[u],r,s,k,u,T,P)}if(P.Instructions.length>0){const I=P.Instructions[0];MusicSheetCalculator.symbolFactory.createInStaffClef(C,I)}this.rules.RenderChordSymbols&&((E=P.ChordContainers)==null?void 0:E.length)>0&&(P.ParentStaff.ParentInstrument.HasChordSymbols=!0,MusicSheetCalculator.symbolFactory.createChordSymbols(P,C,o.ActiveKeyInstruction,this.graphicalMusicSheet.ParentMusicSheet.Transpose))}}if(o.doCalculationsAtEndOfMeasure(),e.LastInstructionsStaffEntries[u]){const x=e.LastInstructionsStaffEntries[u];for(let P=0,C=x.Instructions.length;P<C;++P){const T=x.Instructions[P];T instanceof ClefInstruction&&(a[u]=T)}}for(let x=0,P=e.StaffLinkedExpressions[u].length;x<P;++x){const C=e.StaffLinkedExpressions[u][x];C.OctaveShiftEnd!==void 0&&l[u]!==void 0&&C.OctaveShiftEnd===l[u].getOpenOctaveShift&&(l[u]=void 0)}for(const x of m.staffEntries)for(const P of x.graphicalVoiceEntries)this.setBeamNotesWantedStemDirections(P.parentVoiceEntry);if(this.rules.FillEmptyMeasuresWithWholeRest>=1&&m.staffEntries.length===0){const x=new SourceStaffEntry(new VerticalSourceStaffEntryContainer(m.parentSourceMeasure,m.parentSourceMeasure.AbsoluteTimestamp,m.parentSourceMeasure.CompleteNumberOfStaves),g);if(g.Voices.length===0){const R=new Voice(m.ParentStaff.ParentInstrument,-1);g.Voices.push(R)}const P=new VoiceEntry(new Fraction$1(0,1),g.Voices[0],x);let C=e.Duration;C.RealValue===0&&(C=e.ActiveTimeSignature.clone());const T=new Note$1(P,x,C,void 0,e,!0);T.IsWholeMeasureRest=!0,T.PrintObject=this.rules.FillEmptyMeasuresWithWholeRest===FillEmptyMeasuresWithWholeRests.YesVisible,P.addNote(T);const k=MusicSheetCalculator.symbolFactory.createStaffEntry(x,m);m.addGraphicalStaffEntry(k),k.relInMeasureTimestamp=P.Timestamp;const I=MusicSheetCalculator.symbolFactory.createVoiceEntry(P,k);k.graphicalVoiceEntries.push(I);const M=MusicSheetCalculator.symbolFactory.createNote(T,I,new ClefInstruction,OctaveEnum.NONE,this.rules);MusicSheetCalculator.stafflineNoteCalculator.trackNote(M),I.notes.push(M)}m.hasOnlyRests=!0;for(const x of m.staffEntries)if(m.hasOnlyRests=x.hasOnlyRests(),!m.hasOnlyRests)break;return m}checkNoteForAccidental(e,r,s,o){let a=e.sourceNote.Pitch;const l=e.parentVoiceEntry.parentStaffEntry.parentMeasure.getTransposedHalftones();l!==0&&e.sourceNote.ParentStaffEntry.ParentStaff.ParentInstrument.MidiInstrumentId!==MidiInstrument.Percussion&&(a=e.Transpose(r.ActiveKeyInstruction,s,l,o),e.sourceNote.TransposedPitch=a),e.sourceNote.halfTone=a.getHalfTone(),r.checkAccidental(e,a)}handleStaffEntries(e){for(let r=0,s=this.graphicalMusicSheet.MeasureList.length;r<s;++r){const o=this.graphicalMusicSheet.MeasureList[r];for(let a=0,l=o.length;a<l;++a){const c=o[a];if(c){this.rules.PercussionOneLineCutoff>0&&!this.rules.PercussionUseCajon2NoteSystem&&e[a]&&(this.rules.PercussionOneLineCutoff===-1||MusicSheetCalculator.stafflineNoteCalculator.getStafflineUniquePositionCount(a)<this.rules.PercussionOneLineCutoff)&&(c.ParentStaff.StafflineCount=1);for(const u of c.staffEntries)u.parentMeasure!==void 0&&u.graphicalVoiceEntries.length>0&&u.graphicalVoiceEntries[0].notes.length>0&&(this.layoutVoiceEntries(u,a),this.layoutStaffEntry(u));this.graphicalMeasureCreatedCalculations(c)}}}}calculateSkyBottomLines(){for(const e of this.musicSystems)for(const r of e.StaffLines)r.SkyBottomLineCalculator.calculateLines()}calculateExpressionAlignements(){}calculateStaffEntryArticulationMarks(){for(let e=0,r=this.musicSystems.length;e<r;++e){const s=this.musicSystems[e];for(let o=0,a=s.StaffLines.length;o<a;++o){const l=s.StaffLines[o];for(let c=0,u=l.Measures.length;c<u;++c){const d=l.Measures[c];for(let g=0,m=d.staffEntries.length;g<m;++g){const y=d.staffEntries[g];for(let b=0,A=y.sourceStaffEntry.VoiceEntries.length;b<A;++b){const S=y.sourceStaffEntry.VoiceEntries[b];S.Articulations.length>0&&this.layoutArticulationMarks(S.Articulations,S,y)}}}}}}calculateOrnaments(){for(let e=0,r=this.musicSystems.length;e<r;++e){const s=this.musicSystems[e];for(let o=0,a=s.StaffLines.length;o<a;++o){const l=s.StaffLines[o];for(let c=0,u=l.Measures.length;c<u;++c){const d=l.Measures[c];for(let g=0,m=d.staffEntries.length;g<m;++g){const y=d.staffEntries[g];for(let b=0,A=y.sourceStaffEntry.VoiceEntries.length;b<A;++b){const S=y.sourceStaffEntry.VoiceEntries[b];if(S.OrnamentContainer){if(S.hasTie()&&!y.relInMeasureTimestamp.Equals(S.Timestamp))continue;this.layoutOrnament(S.OrnamentContainer,S,y),this.staffEntriesWithOrnaments.indexOf(y)===-1&&this.staffEntriesWithOrnaments.push(y)}}}}}}}getFingeringPlacement(e){let r=this.rules.FingeringPosition;return(r===PlacementEnum.NotYetDefined||r===PlacementEnum.AboveOrBelow)&&(r=e.isUpperStaffOfInstrument()?PlacementEnum.Above:PlacementEnum.Below),r}calculateFingerings(){if(!(this.rules.FingeringPosition===PlacementEnum.Left||this.rules.FingeringPosition===PlacementEnum.Right))for(const e of this.musicSystems)for(const r of e.StaffLines)for(const s of r.Measures){if(s.isTabMeasure&&!this.rules.TabFingeringsRendered)continue;const o=this.getFingeringPlacement(s);for(const a of s.staffEntries){a.FingeringEntries=[];const l=r.SkyBottomLineCalculator,c=a.PositionAndShape.RelativePosition.x+s.PositionAndShape.RelativePosition.x,u=[];for(const d of a.graphicalVoiceEntries)if(!d.parentVoiceEntry.IsGrace)for(const g of d.parentVoiceEntry.TechnicalInstructions)g.type===TechnicalInstructionType.Fingering&&u.push(g);o===PlacementEnum.Below&&u.reverse();for(let d=0;d<u.length;d++){const g=u[d],m=o===PlacementEnum.Above?TextAlignmentEnum.CenterBottom:TextAlignmentEnum.CenterTop,y=new Label(g.value,m),b=new GraphicalLabel(y,this.rules.FingeringTextSize,y.textAlignment,this.rules,r.PositionAndShape),A=c+b.PositionAndShape.BorderMarginLeft,S=c+b.PositionAndShape.BorderMarginRight;let E;o===PlacementEnum.Above?E=l.getSkyLineMinInRange(A,S):E=l.getBottomLineMaxInRange(A,S);let x=0;d===0?(x+=this.rules.FingeringOffsetY,o===PlacementEnum.Above&&(x+=.1)):x+=this.rules.FingeringPaddingY,o===PlacementEnum.Above&&(x*=-1),b.PositionAndShape.RelativePosition.y+=E+x,b.PositionAndShape.RelativePosition.x=c,b.setLabelPositionAndShapeBorders(),b.PositionAndShape.calculateBoundingBox(),a.FingeringEntries.push(b);const P=b.PositionAndShape.RelativePosition.x+b.PositionAndShape.BorderLeft,C=P-b.PositionAndShape.BorderLeft+b.PositionAndShape.BorderRight;o===PlacementEnum.Above?l.updateSkyLineInRange(P,C,b.PositionAndShape.RelativePosition.y+b.PositionAndShape.BorderTop):o===PlacementEnum.Below&&l.updateBottomLineInRange(P,C,b.PositionAndShape.RelativePosition.y+b.PositionAndShape.BorderBottom)}}}}optimizeRestPlacement(){for(let e=0,r=this.musicSystems.length;e<r;++e){const s=this.musicSystems[e];for(let o=0,a=s.StaffLines.length;o<a;++o){const l=s.StaffLines[o];for(let c=0,u=l.Measures.length;c<u;++c){const d=l.Measures[c];for(let g=0,m=d.staffEntries.length;g<m;++g){const y=d.staffEntries[g];this.optimizeRestNotePlacement(y,d)}}}}}calculateTwoRestNotesPlacementWithCollisionDetection(e){const r=e.graphicalVoiceEntries[0].notes[0],s=e.graphicalVoiceEntries[1].notes[0];s.PositionAndShape.RelativePosition=new PointF2D(0,2.5),e.PositionAndShape.calculateAbsolutePositionsRecursiveWithoutTopelement(),r.PositionAndShape.computeNonOverlappingPositionWithMargin(e.PositionAndShape,ColDirEnum.Up,new PointF2D(0,s.PositionAndShape.RelativePosition.y));const o=r.PositionAndShape.RelativePosition;o.y-=1,r.PositionAndShape.RelativePosition=o,e.PositionAndShape.calculateBoundingBox()}calculateRestNotePlacementWithCollisionDetectionFromGraphicalNote(e){let r,s;e.graphicalVoiceEntries[0].notes[0].sourceNote.isRest()?(r=e.graphicalVoiceEntries[0].notes[0],s=e.graphicalVoiceEntries[1].notes):(s=e.graphicalVoiceEntries[0].notes,r=e.graphicalVoiceEntries[1].notes[0]);let o=!1;e.PositionAndShape.calculateAbsolutePositionsRecursiveWithoutTopelement();for(let a=0,l=s.length;a<l;++a){const c=s[a];if(r.PositionAndShape.marginCollisionDetection(c.PositionAndShape)){o=!0;break}}if(o)if(r.sourceNote.ParentVoiceEntry.ParentVoice instanceof LinkedVoice){const a=s[0].PositionAndShape.BorderMarginBottom+s[0].PositionAndShape.RelativePosition.y;r.PositionAndShape.RelativePosition=new PointF2D(0,a-r.PositionAndShape.BorderMarginTop+.5)}else{const a=s[s.length-1],l=a.PositionAndShape.BorderMarginTop+a.PositionAndShape.RelativePosition.y;if(s[0].sourceNote.ParentVoiceEntry.ParentVoice instanceof LinkedVoice)r.PositionAndShape.RelativePosition=new PointF2D(0,l-r.PositionAndShape.BorderMarginBottom-.5);else{const c=s[0].PositionAndShape.BorderMarginBottom+s[0].PositionAndShape.RelativePosition.y;c<2?r.PositionAndShape.RelativePosition=new PointF2D(0,c-r.PositionAndShape.BorderMarginTop+.5):r.PositionAndShape.RelativePosition=new PointF2D(0,l-r.PositionAndShape.BorderMarginBottom-0)}}e.PositionAndShape.calculateBoundingBox()}calculateTieCurves(){for(const e of this.musicSystems)for(const r of e.StaffLines)for(const s of r.Measures)for(const o of s.staffEntries)for(const a of o.GraphicalTies)if(a.StartNote!==void 0&&a.StartNote.parentVoiceEntry.parentStaffEntry===o){const l=a.StartNote.parentVoiceEntry.parentStaffEntry.parentMeasure.ParentStaffLine!==a.EndNote.parentVoiceEntry.parentStaffEntry.parentMeasure.ParentStaffLine;this.layoutGraphicalTie(a,l,s.ParentStaff.isTab)}}calculateLyricsPosition(){const e=new Dictionary;for(let r=0,s=this.graphicalMusicSheet.ParentMusicSheet.Instruments.length;r<s;++r){const o=this.graphicalMusicSheet.ParentMusicSheet.Instruments[r];o.HasLyrics&&o.LyricVersesNumbers.length>0&&o.LyricVersesNumbers.sort()}for(let r=0,s=this.musicSystems.length;r<s;++r){const o=this.musicSystems[r];for(let a=0,l=o.StaffLines.length;a<l;++a){const c=o.StaffLines[a],u=this.calculateSingleStaffLineLyricsPosition(c,c.ParentStaff.ParentInstrument.LyricVersesNumbers);e.setValue(c,u),this.calculateLyricsExtendsAndDashes(e.getValue(c))}}for(let r=0,s=this.musicSystems.length;r<s;++r){const o=this.musicSystems[r];for(let a=0,l=o.StaffLines.length;a<l;++a){const c=o.StaffLines[a];this.calculateLyricsExtendsAndDashes(e.getValue(c))}}}calculateSingleLyricWord(e){const r=e.ParentLyricWord,s=r.GraphicalLyricsEntries.indexOf(e);let o;if(s>=0&&(o=r.GraphicalLyricsEntries[s+1]),!o)return;const a=e.StaffEntryParent.parentMeasure.ParentStaffLine,l=o.StaffEntryParent.parentMeasure.ParentStaffLine,c=e.StaffEntryParent,u=o.StaffEntryParent;if(e.StaffEntryParent.parentMeasure.ParentStaffLine===o.StaffEntryParent.parentMeasure.ParentStaffLine){const d=c.parentMeasure.PositionAndShape.RelativePosition.x+c.PositionAndShape.RelativePosition.x+e.GraphicalLabel.PositionAndShape.RelativePosition.x+e.GraphicalLabel.PositionAndShape.BorderMarginRight-e.GraphicalLabel.CenteringXShift,g=u.parentMeasure.PositionAndShape.RelativePosition.x+u.PositionAndShape.RelativePosition.x+e.GraphicalLabel.PositionAndShape.RelativePosition.x+o.GraphicalLabel.PositionAndShape.BorderMarginLeft,m=e.GraphicalLabel.PositionAndShape.RelativePosition.y;let y=1;g-d>this.rules.MinimumDistanceBetweenDashes*3&&(y=Math.floor((g-d)/this.rules.MinimumDistanceBetweenDashes)-1),y===1?this.calculateSingleDashForLyricWord(a,d,g,m):this.calculateDashes(a,d,g,m)}else{const d=c.parentMeasure.PositionAndShape.RelativePosition.x+c.PositionAndShape.RelativePosition.x+e.GraphicalLabel.PositionAndShape.BorderMarginRight,g=a.Measures[a.Measures.length-1],m=g.PositionAndShape.RelativePosition.x+g.PositionAndShape.Size.width;let y=e.GraphicalLabel.PositionAndShape.RelativePosition.y;if(this.calculateDashes(a,d,m,y),l&&l.Measures[0]&&u.parentMeasure.ParentStaffLine&&!(u===u.parentMeasure.staffEntries[0]&&u.parentMeasure===u.parentMeasure.ParentStaffLine.Measures[0])){const b=l.Measures[0].staffEntries[0].PositionAndShape.RelativePosition.x,A=u.parentMeasure.PositionAndShape.RelativePosition.x+u.PositionAndShape.RelativePosition.x+o.GraphicalLabel.PositionAndShape.BorderMarginLeft;y=o.GraphicalLabel.PositionAndShape.RelativePosition.y,this.calculateDashes(l,b,A,y)}}}calculateDashes(e,r,s,o){let a=s-r;if(a<this.rules.MinimumDistanceBetweenDashes*3)this.calculateSingleDashForLyricWord(e,r,s,o);else{const l=Math.floor(a/this.rules.MinimumDistanceBetweenDashes)-1,c=a/(l+1);let u=0;for(r+=c,s-=c;u<=Math.floor(l/2)&&s>r;)a=this.calculateRightAndLeftDashesForLyricWord(e,r,s,o),r+=c,s-=c,u++;a>c*2&&this.calculateSingleDashForLyricWord(e,r,s,o)}}calculateSingleDashForLyricWord(e,r,s,o){const a=new Label("-");a.colorDefault=this.rules.DefaultColorLyrics;let l=this.rules.LyricsHeight;s-r<.8&&(l*=.8,o-=.1*l);const c=new GraphicalLabel(a,l,TextAlignmentEnum.CenterBottom,this.rules);c.setLabelPositionAndShapeBorders(),e.LyricsDashes.push(c),this.staffLinesWithLyricWords.indexOf(e)===-1&&this.staffLinesWithLyricWords.push(e),c.PositionAndShape.Parent=e.PositionAndShape;const u=new PointF2D(r+(s-r)/2,o);c.PositionAndShape.RelativePosition=u}calculateLyricExtend(e){let r=e.GraphicalLabel.PositionAndShape.RelativePosition.y;const s=e.StaffEntryParent,o=s.parentMeasure.ParentStaffLine;let a,l;const c=s.parentMeasure.ParentStaff.idInMusicSheet;for(let u=s.parentVerticalContainer.Index+1;u<this.graphicalMusicSheet.VerticalGraphicalStaffEntryContainers.length;++u){const d=this.graphicalMusicSheet.VerticalGraphicalStaffEntryContainers[u].StaffEntries[c];if(d){if(d.hasOnlyRests()||d.LyricsEntries.length>0)break;a=d,l=a.parentMeasure.ParentStaffLine,l||(l=s.parentMeasure.ParentStaffLine)}}if(!(!a||!l))if(o===l&&a.parentMeasure.ParentStaffLine){const u=s.parentMeasure.PositionAndShape.RelativePosition.x+s.PositionAndShape.RelativePosition.x+e.GraphicalLabel.PositionAndShape.BorderMarginRight,d=a.parentMeasure.PositionAndShape.RelativePosition.x+a.PositionAndShape.RelativePosition.x+a.PositionAndShape.BorderMarginRight;r-=e.GraphicalLabel.PositionAndShape.Size.height/4,this.calculateSingleLyricWordWithUnderscore(o,u,d,r)}else{const u=o.Measures[o.Measures.length-1].PositionAndShape,d=s.parentMeasure.PositionAndShape.RelativePosition.x+s.PositionAndShape.RelativePosition.x+e.GraphicalLabel.PositionAndShape.BorderMarginRight,g=u.RelativePosition.x+u.Size.width;if(r-=e.GraphicalLabel.PositionAndShape.Size.height/4,this.calculateSingleLyricWordWithUnderscore(o,d,g,r),!a)return;if(a.parentMeasure.ParentStaffLine&&a.parentMeasure.staffEntries&&!(a===a.parentMeasure.staffEntries[0]&&a.parentMeasure===a.parentMeasure.ParentStaffLine.Measures[0])){const m=l.Measures[0].staffEntries[0].PositionAndShape.RelativePosition.x,y=a.parentMeasure.PositionAndShape.RelativePosition.x+a.PositionAndShape.RelativePosition.x+a.PositionAndShape.BorderMarginRight;this.calculateSingleLyricWordWithUnderscore(l,m,y,r)}}}calculateSingleLyricWordWithUnderscore(e,r,s,o){const a=new PointF2D(r,o),l=new PointF2D(s,o),c=new GraphicalLine(a,l,this.rules.LyricUnderscoreLineWidth);c.colorHex=this.rules.DefaultColorLyrics,e.LyricLines.push(c),this.staffLinesWithLyricWords.indexOf(e)===-1&&this.staffLinesWithLyricWords.push(e)}calculateRightAndLeftDashesForLyricWord(e,r,s,o){const a=new Label("-");a.colorDefault=this.rules.DefaultColorLyrics;const l=new GraphicalLabel(a,this.rules.LyricsHeight,TextAlignmentEnum.CenterBottom,this.rules);l.setLabelPositionAndShapeBorders(),e.LyricsDashes.push(l),this.staffLinesWithLyricWords.indexOf(e)===-1&&this.staffLinesWithLyricWords.push(e),l.PositionAndShape.Parent=e.PositionAndShape;const c=new PointF2D(r,o);l.PositionAndShape.RelativePosition=c;const u=new Label("-"),d=new GraphicalLabel(u,this.rules.LyricsHeight,TextAlignmentEnum.CenterBottom,this.rules);d.setLabelPositionAndShapeBorders(),e.LyricsDashes.push(d),d.PositionAndShape.Parent=e.PositionAndShape;const g=new PointF2D(s,o);return d.PositionAndShape.RelativePosition=g,d.PositionAndShape.RelativePosition.x-l.PositionAndShape.RelativePosition.x}calculateDynamicExpressions(){const e=Math.min(this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures.length-1,this.rules.MaxMeasureToDrawIndex),r=Math.min(this.rules.MinMeasureToDrawIndex,this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures.length);for(let s=r;s<=e;s++){const o=this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures[s];this.dynamicExpressionMap.clear();for(let a=0;a<o.StaffLinkedExpressions.length;a++)if(!(!this.graphicalMusicSheet.MeasureList[s]||!this.graphicalMusicSheet.MeasureList[s][a])&&this.graphicalMusicSheet.MeasureList[s][a].ParentStaff.ParentInstrument.Visible)for(let l=0;l<o.StaffLinkedExpressions[a].length;l++)(o.StaffLinkedExpressions[a][l].InstantaneousDynamic!==void 0||o.StaffLinkedExpressions[a][l].StartingContinuousDynamic!==void 0&&o.StaffLinkedExpressions[a][l].StartingContinuousDynamic.StartMultiExpression===o.StaffLinkedExpressions[a][l]&&o.StaffLinkedExpressions[a][l].UnknownList.length===0)&&this.calculateDynamicExpressionsForMultiExpression(o.StaffLinkedExpressions[a][l],s,a)}this.dynamicExpressionMap.clear()}calculateOctaveShifts(){for(let e=0;e<this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures.length;e++){const r=this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures[e];for(let s=0;s<r.StaffLinkedExpressions.length;s++)if(!(!this.graphicalMusicSheet.MeasureList[e]||!this.graphicalMusicSheet.MeasureList[e][s])&&this.graphicalMusicSheet.MeasureList[e][s].ParentStaff.ParentInstrument.Visible)for(let o=0;o<r.StaffLinkedExpressions[s].length;o++)r.StaffLinkedExpressions[s][o].OctaveShiftStart&&this.calculateSingleOctaveShift(r,r.StaffLinkedExpressions[s][o],e,s)}}calculatePedals(){for(let e=0;e<this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures.length;e++){const r=this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures[e];for(let s=0;s<r.StaffLinkedExpressions.length;s++)if(!(!this.graphicalMusicSheet.MeasureList[e]||!this.graphicalMusicSheet.MeasureList[e][s])&&this.graphicalMusicSheet.MeasureList[e][s].ParentStaff.ParentInstrument.Visible)for(let o=0;o<r.StaffLinkedExpressions[s].length;o++)r.StaffLinkedExpressions[s][o].PedalStart&&this.calculateSinglePedal(r,r.StaffLinkedExpressions[s][o],e,s)}}calculateWavyLines(){for(let e=0;e<this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures.length;e++){const r=this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures[e];for(let s=0;s<r.StaffLinkedExpressions.length;s++)if(!(!this.graphicalMusicSheet.MeasureList[e]||!this.graphicalMusicSheet.MeasureList[e][s])&&this.graphicalMusicSheet.MeasureList[e][s].ParentStaff.ParentInstrument.Visible)for(let o=0;o<r.StaffLinkedExpressions[s].length;o++)r.StaffLinkedExpressions[s][o].WavyLineStart&&this.calculateSingleWavyLine(r,r.StaffLinkedExpressions[s][o],e,s)}}getFirstLeftNotNullStaffEntryFromContainer(e,r,s){if(this.graphicalMusicSheet.VerticalGraphicalStaffEntryContainers[e].StaffEntries[r])return this.graphicalMusicSheet.VerticalGraphicalStaffEntryContainers[e].StaffEntries[r];for(let o=e-1;o>=0;o--)if(this.graphicalMusicSheet.VerticalGraphicalStaffEntryContainers[o].StaffEntries[r])return this.graphicalMusicSheet.VerticalGraphicalStaffEntryContainers[o].StaffEntries[r]}getFirstRightNotNullStaffEntryFromContainer(e,r,s){if(this.graphicalMusicSheet.VerticalGraphicalStaffEntryContainers[e].StaffEntries[r])return this.graphicalMusicSheet.VerticalGraphicalStaffEntryContainers[e].StaffEntries[r];for(let o=e+1;o<this.graphicalMusicSheet.VerticalGraphicalStaffEntryContainers.length;o++)if(this.graphicalMusicSheet.VerticalGraphicalStaffEntryContainers[o].StaffEntries[r])return this.graphicalMusicSheet.VerticalGraphicalStaffEntryContainers[o].StaffEntries[r]}calculateWordRepetitionInstructions(){for(let e=0;e<this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures.length;e++){const r=this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures[e];for(let s=0,o=r.FirstRepetitionInstructions.length;s<o;++s){const a=r.FirstRepetitionInstructions[s];this.calculateWordRepetitionInstruction(a,e)}for(let s=0,o=r.LastRepetitionInstructions.length;s<o;++s){const a=r.LastRepetitionInstructions[s];this.calculateWordRepetitionInstruction(a,e)}}}calculateRepetitionEndings(){const e=this.graphicalMusicSheet.ParentMusicSheet;for(let r=0,s=e.Repetitions.length;r<s;++r){const o=e.Repetitions[r];this.calcGraphicalRepetitionEndingsRecursively(o)}}calculateTempoExpressions(){const e=Math.min(this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures.length-1,this.rules.MaxMeasureToDrawIndex),r=this.rules.MinMeasureToDrawIndex;for(let s=r;s<=e;s++){const o=this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures[s];for(let a=0;a<o.TempoExpressions.length;a++)this.calculateTempoExpressionsForMultiTempoExpression(o,o.TempoExpressions[a],s,a)}}calculateRehearsalMarks(){if(this.rules.RenderRehearsalMarks)for(const e of this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures)this.calculateRehearsalMark(e)}calculateRehearsalMark(e){throw new Error(this.abstractNotImplementedErrorMessage)}calculateMoodAndUnknownExpressions(){for(let e=0;e<this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures.length;e++){const r=this.graphicalMusicSheet.ParentMusicSheet.SourceMeasures[e];for(let s=0;s<r.StaffLinkedExpressions.length;s++)if(!(!this.graphicalMusicSheet.MeasureList[e]||!this.graphicalMusicSheet.MeasureList[e][s])&&this.graphicalMusicSheet.MeasureList[e][s].ParentStaff.ParentInstrument.Visible)for(let o=0;o<r.StaffLinkedExpressions[s].length;o++)(r.StaffLinkedExpressions[s][o].MoodList.length>0||r.StaffLinkedExpressions[s][o].UnknownList.length>0)&&this.calculateMoodAndUnknownExpression(r.StaffLinkedExpressions[s][o],e,s)}}calculateStemDirectionFromVoices(e){if(e.ParentSourceStaffEntry.Link!==void 0)if(e===e.ParentSourceStaffEntry.VoiceEntries[0]){e.WantedStemDirection=StemDirectionType.Up;return}else{e.WantedStemDirection=StemDirectionType.Down;return}else e.ParentVoice instanceof LinkedVoice?e.WantedStemDirection=StemDirectionType.Down:e.ParentSourceStaffEntry.VoiceEntries.length>1&&(e.WantedStemDirection=StemDirectionType.Up)}setBeamNotesWantedStemDirections(e){if(!(e.Notes.length>0))return;const r=e.Notes[0].NoteBeam;if(r){for(const s of r.Notes)if(s.ParentVoiceEntry.WantedStemDirection!==StemDirectionType.Undefined&&s.ParentVoiceEntry.ParentSourceStaffEntry.ParentStaff.Id===e.ParentSourceStaffEntry.ParentStaff.Id){e.WantedStemDirection=s.ParentVoiceEntry.WantedStemDirection;break}}}}class InstrumentalGroup{constructor(e,r,s){this.instrumentalGroups=[],this.name=e,this.musicSheet=r,this.parent=s}get InstrumentalGroups(){return this.instrumentalGroups}get Parent(){return this.parent}get Name(){return this.name}set Name(e){this.name=e}get GetMusicSheet(){return this.musicSheet}}class Instrument extends InstrumentalGroup{constructor(e,r,s,o){super(void 0,s,o),this.Transpose=0,this.voices=[],this.staves=[],this.hasLyrics=!1,this.hasChordSymbols=!1,this.playbackTranspose=0,this.lyricVersesNumbers=[],this.subInstruments=[],this.id=e,this.idString=r,this.nameLabel=new Label(r)}get Voices(){return this.voices}get Staves(){return this.staves}get NameLabel(){return this.nameLabel}get HasLyrics(){return this.hasLyrics}set HasLyrics(e){this.hasLyrics=e}get HasChordSymbols(){return this.hasChordSymbols}set HasChordSymbols(e){this.hasChordSymbols=e}get LyricVersesNumbers(){return this.lyricVersesNumbers}set LyricVersesNumbers(e){this.lyricVersesNumbers=e}get Name(){return this.nameLabel.text}set Name(e){this.nameLabel.text=e}get IdString(){return this.idString}get Id(){return this.id}get MidiInstrumentId(){return this.subInstruments[0].midiInstrumentID}set MidiInstrumentId(e){this.subInstruments[0].midiInstrumentID=e}get Volume(){return this.subInstruments[0].volume}set Volume(e){for(let r=0,s=this.subInstruments.length;r<s;++r){const o=this.subInstruments[r];o.volume=e}}get PlaybackTranspose(){return this.playbackTranspose}set PlaybackTranspose(e){this.playbackTranspose=e}get SubInstruments(){return this.subInstruments}getSubInstrument(e){for(let r=0,s=this.subInstruments.length;r<s;++r){const o=this.subInstruments[r];if(o.idString===e)return o}}get PartAbbreviation(){return this.partAbbreviation}set PartAbbreviation(e){this.partAbbreviation=e}get Visible(){return this.voices.length>0?this.Voices[0].Visible:!1}set Visible(e){for(let r=0,s=this.Voices.length;r<s;++r){const o=this.Voices[r];o.Visible=e}}get Audible(){let e=!1;for(let r=0,s=this.Voices.length;r<s;++r){const o=this.Voices[r];e=e||o.Audible}return e}set Audible(e){for(let r=0,s=this.Voices.length;r<s;++r){const o=this.Voices[r];o.Audible=e}for(let r=0,s=this.staves.length;r<s;++r){const o=this.staves[r];o.audible=e}}get Solo(){let e=!1;for(let r=0,s=this.Voices.length;r<s;++r){const o=this.Voices[r];e=e||o.Solo}return e}set Solo(e){for(let r=0,s=this.Voices.length;r<s;++r){const o=this.Voices[r];o.Solo=e}for(let r=0,s=this.Staves.length;r<s;++r){const o=this.Staves[r];o.Solo=e}}get Following(){let e=!1;for(let r=0,s=this.Voices.length;r<s;++r){const o=this.Voices[r];e=e||o.Following}return e}set Following(e){for(let r=0,s=this.Voices.length;r<s;++r){const o=this.Voices[r];o.Following=e}for(let r=0,s=this.staves.length;r<s;++r){const o=this.staves[r];o.following=e}}SetVoiceAudible(e,r){for(let s=0,o=this.Voices.length;s<o;++s){const a=this.Voices[s];if(a.VoiceId===e){a.Audible=r;break}}}SetVoiceFollowing(e,r){for(let s=0,o=this.Voices.length;s<o;++s){const a=this.Voices[s];if(a.VoiceId===e){a.Following=r;break}}}SetStaffAudible(e,r){const s=this.staves[e-1];if(s.audible=r,r)for(let o=0,a=s.Voices.length;o<a;++o){const l=s.Voices[o];l.Audible=!0}else for(let o=0,a=s.Voices.length;o<a;++o){const l=s.Voices[o];let c=!1;for(let u=0,d=this.Staves.length;u<d;++u){const g=this.Staves[u];if(!(g.Id===e||!g.audible))for(let m=0,y=g.Voices.length;m<y;++m)g.Voices[m]===l&&(c=!0)}c||(l.Audible=!1)}}SetStaffFollow(e,r){const s=this.staves[e-1];if(s.following=r,r)for(let o=0,a=s.Voices.length;o<a;++o){const l=s.Voices[o];l.Following=!0}else for(let o=0,a=s.Voices.length;o<a;++o){const l=s.Voices[o];let c=!1;for(let u=0,d=this.Staves.length;u<d;++u){const g=this.Staves[u];if(!(g.Id===e||!g.following))for(let m=0,y=g.Voices.length;m<y;++m)g.Voices[m]===l&&(c=!0)}c||(l.Following=!1)}}areAllVoiceVisible(){for(const e of this.Voices)if(!e.Visible)return!1;return!0}createStaves(e){for(let r=0;r<e;r++)this.staves.push(new Staff(this,r+1))}toString(){return`${this.Name} , id: ${this.id}, idstring: ${this.idString}`}}class MusicSystem extends GraphicalObject{constructor(e){super(),this.needsToBeRedrawn=!0,this.staffLines=[],this.graphicalMeasures=[],this.labels=new _default,this.measureNumberLabels=[],this.objectsToRedraw=[],this.instrumentBrackets=[],this.groupBrackets=[],this.graphicalMarkedAreas=[],this.systemLines=[],this.breaksPage=!1,this.id=e,this.boundingBox=new BoundingBox$1(this),this.maxLabelLength=0}get Parent(){return this.parent}set Parent(e){if(this.parent){const r=this.parent.MusicSystems.indexOf(this,0);r>-1&&this.parent.MusicSystems.splice(r,1)}this.parent=e,this.boundingBox.Parent=e.PositionAndShape}get NextSystem(){const e=this.Parent.MusicSystems.indexOf(this);return e!==this.Parent.MusicSystems.length?this.Parent.MusicSystems[e+1]:void 0}get StaffLines(){return this.staffLines}get GraphicalMeasures(){return this.graphicalMeasures}get MeasureNumberLabels(){return this.measureNumberLabels}get Labels(){return this.labels.values()}get ObjectsToRedraw(){return this.objectsToRedraw}get InstrumentBrackets(){return this.instrumentBrackets}get GroupBrackets(){return this.groupBrackets}get GraphicalMarkedAreas(){return this.graphicalMarkedAreas}get SystemLines(){return this.systemLines}get Id(){return this.id}createSystemLeftLine(e,r,s){let o=-e/2;s&&(o=this.maxLabelLength+r-e/2);const a=this.staffLines[0].Measures[0];let l;this.staffLines.length>1&&(l=this.staffLines[this.staffLines.length-1].Measures[0]);const c=this.createSystemLine(o,e,SystemLinesEnum.SingleThin,SystemLinePosition.MeasureBegin,this,a,l);this.SystemLines.push(c),c.PositionAndShape.RelativePosition=new PointF2D(o,0),c.PositionAndShape.BorderLeft=0,c.PositionAndShape.BorderRight=e,c.PositionAndShape.BorderTop=c.PositionAndShape.Parent.BorderTop,c.PositionAndShape.BorderBottom=c.PositionAndShape.Parent.BorderBottom,this.createLinesForSystemLine(c)}createVerticalLineForMeasure(e,r,s,o,a,l){const c=l.ParentStaffLine,u=new PointF2D(c.PositionAndShape.RelativePosition.x,c.PositionAndShape.RelativePosition.y),d=c.ParentStaff.ParentInstrument.Staves;if(c.ParentStaff===d[0]){let g;d.length>1&&(g=this.getBottomStaffLine(c).Measures[a]);const m=this.createSystemLine(e,r,s,o,this,l,g),y=u.x+e;m.PositionAndShape.RelativePosition=new PointF2D(y,0),m.PositionAndShape.BorderLeft=0,m.PositionAndShape.BorderRight=r,this.SystemLines.push(m)}}setYPositionsToVerticalLineObjectsAndCreateLines(e){}calculateBorders(e){}alignBeginInstructions(){}GetLeftBorderAbsoluteXPosition(){return this.StaffLines[0].PositionAndShape.AbsolutePosition.x+this.StaffLines[0].Measures[0].beginInstructionsWidth}GetRightBorderAbsoluteXPosition(){return this.StaffLines[0].PositionAndShape.AbsolutePosition.x+this.StaffLines[0].StaffLines[0].End.x}AddGraphicalMeasures(e){for(let r=0,s=e.length;r<s;++r){const o=e[r];o.ParentMusicSystem=this}this.graphicalMeasures.push(e)}GetSystemsFirstTimeStamp(){return this.graphicalMeasures[0][0].parentSourceMeasure.AbsoluteTimestamp}GetSystemsLastTimeStamp(){const e=this.graphicalMeasures[this.graphicalMeasures.length-1][0].parentSourceMeasure;return Fraction$1.plus(e.AbsoluteTimestamp,e.Duration)}createInstrumentBrackets(e,r){for(let s=0,o=e.length;s<o;++s){const a=e[s];if(a.Staves.length>1){let l,c;for(let u=0,d=this.staffLines.length;u<d;++u){const g=this.staffLines[u];g.ParentStaff===a.Staves[0]&&(l=g),g.ParentStaff===a.Staves[a.Staves.length-1]&&(c=g)}l&&c&&this.createInstrumentBracket(l,c)}}}createGroupBrackets(e,r,s){for(let o=0,a=e.length;o<a;++o){const l=e[o];if(l.InstrumentalGroups.length<1)continue;const c=this.findFirstVisibleInstrumentInInstrumentalGroup(l),u=this.findLastVisibleInstrumentInInstrumentalGroup(l);if(!c||!u)continue;let d,g;for(let m=0,y=this.staffLines.length;m<y;++m){const b=this.staffLines[m];b.ParentStaff===c.Staves[0]&&(d=b),b.ParentStaff===u.Staves[0]&&(g=b)}d&&g&&this.createGroupBracket(d,g,s),!(l.InstrumentalGroups.length<1)&&this.createGroupBrackets(l.InstrumentalGroups,r,s+1)}}createMusicSystemLabel(e,r,s,o=!1){var c;const a=r;for(let u=0,d=this.staffLines.length;u<d;++u){const g=this.staffLines[u].ParentStaff.ParentInstrument;let m;if(o)m=g.NameLabel,(!this.rules.RenderPartNames||!(m!=null&&m.print))&&(m=new Label("",g.NameLabel.textAlignment,g.NameLabel.font),r=0);else{if(!this.rules.RenderPartAbbreviations||!this.rules.RenderPartNames||this.staffLines.length===1||!g.PartAbbreviation||g.PartAbbreviation==="")return;const y=g.PartAbbreviation;m=new Label(y,g.NameLabel.textAlignment,g.NameLabel.font)}if((c=g==null?void 0:g.NameLabel)!=null&&c.print){const y=new GraphicalLabel(m,e,TextAlignmentEnum.LeftCenter,this.rules,this.boundingBox);y.setLabelPositionAndShapeBorders(),this.labels.setValue(g,y)}else r=0}this.maxLabelLength=0;const l=this.labels.values();for(let u=0,d=l.length;u<d;++u){const g=l[u];g.Label.print&&g.PositionAndShape.Size.width>this.maxLabelLength&&(this.maxLabelLength=g.PositionAndShape.Size.width,r=a)}this.updateMusicSystemStaffLineXPosition(r)}setMusicSystemLabelsYPosition(){this.labels.forEach((e,r)=>{let s=0,o=0;for(let a=0;a<this.staffLines.length;a++)if(this.staffLines[a].ParentStaff.ParentInstrument===e){for(let l=a;l<this.staffLines.length;l++){const c=this.staffLines[l];if(c.ParentStaff.ParentInstrument!==e)break;s+=c.PositionAndShape.RelativePosition.y,o++}break}o>0&&(r.PositionAndShape.RelativePosition=new PointF2D(0,s/o+2))})}checkStaffEntriesForStaffEntryLink(){let e=!1,r=!1;for(let s=0;s<this.staffLines.length-1;s++){for(let o=0,a=this.staffLines[s].Measures.length;o<a;++o){const l=this.staffLines[s].Measures[o];for(let c=0,u=l.staffEntries.length;c<u;++c)l.staffEntries[c].sourceStaffEntry.Link&&(e=!0)}for(let o=0,a=this.staffLines[s+1].Measures.length;o<a;++o){const l=this.staffLines[s+1].Measures[o];for(let c=0,u=l.staffEntries.length;c<u;++c)l.staffEntries[c].sourceStaffEntry.Link&&(r=!0)}}return!!(e&&r)}getBottomStaffLine(e){const r=e.ParentStaff.ParentInstrument.Staves,s=r[r.length-1];for(const o of e.ParentMusicSystem.staffLines)if(o.ParentStaff===s)return o}createSystemLine(e,r,s,o,a,l,c=void 0){throw new Error("not implemented")}createLinesForSystemLine(e){}calcBracketsWidth(){let e=0;for(let r=0,s=this.GroupBrackets.length;r<s;++r){const o=this.GroupBrackets[r];e=Math.max(e,o.PositionAndShape.Size.width)}for(let r=0,s=this.InstrumentBrackets.length;r<s;++r){const o=this.InstrumentBrackets[r];e=Math.max(e,o.PositionAndShape.Size.width)}return e}createInstrumentBracket(e,r){}createGroupBracket(e,r,s){}findFirstVisibleInstrumentInInstrumentalGroup(e){for(let r=0,s=e.InstrumentalGroups.length;r<s;++r){const o=e.InstrumentalGroups[r];if(o instanceof Instrument){if(o.Visible===!0)return o;continue}return this.findFirstVisibleInstrumentInInstrumentalGroup(o)}}findLastVisibleInstrumentInInstrumentalGroup(e){let r;for(let s=e.InstrumentalGroups.length-1;s>=0;s--){if(r=e.InstrumentalGroups[s],r instanceof Instrument){if(r.Visible===!0)return r;continue}return this.findLastVisibleInstrumentInInstrumentalGroup(r)}}updateMusicSystemStaffLineXPosition(e){for(let r=0,s=this.StaffLines.length;r<s;++r){const o=this.StaffLines[r],a=o.PositionAndShape.RelativePosition;a.x=this.maxLabelLength+e,o.PositionAndShape.RelativePosition=a,o.PositionAndShape.BorderRight=this.boundingBox.Size.width-this.maxLabelLength-e;for(let l=0;l<o.StaffLines.length;l++){const c=new PointF2D(o.PositionAndShape.Size.width,o.StaffLines[l].End.y);o.StaffLines[l].End=c}}}}class SystemLine extends GraphicalObject{constructor(e,r,s,o,a=void 0){super(),this.lineType=e,this.linePosition=r,this.parentMusicSystem=s,this.topMeasure=o,this.bottomMeasure=a,this.parentTopStaffLine=o==null?void 0:o.ParentStaffLine,this.boundingBox=new BoundingBox$1(this,s.PositionAndShape)}static getObjectWidthForLineType(e,r){switch(r){case SystemLinesEnum.SingleThin:return e.SystemThinLineWidth;case SystemLinesEnum.DoubleThin:return e.SystemThinLineWidth*2+e.DistanceBetweenVerticalSystemLines;case SystemLinesEnum.ThinBold:return e.SystemThinLineWidth+e.SystemBoldLineWidth+e.DistanceBetweenVerticalSystemLines;case SystemLinesEnum.BoldThinDots:return e.SystemThinLineWidth+e.SystemBoldLineWidth+e.DistanceBetweenVerticalSystemLines+e.SystemDotWidth+e.DistanceBetweenDotAndLine;case SystemLinesEnum.DotsThinBold:return e.SystemThinLineWidth+e.SystemBoldLineWidth+e.DistanceBetweenVerticalSystemLines+e.SystemDotWidth+e.DistanceBetweenDotAndLine;case SystemLinesEnum.DotsBoldBoldDots:return 2*e.SystemBoldLineWidth+2*e.SystemDotWidth+2*e.DistanceBetweenDotAndLine+e.DistanceBetweenVerticalSystemLines;default:return 0}}}const VF$9=Vex.Flow;class VexFlowInstrumentBracket extends GraphicalObject{constructor(e,r,s=0){super(),this.Visible=!0,this.PositionAndShape=new BoundingBox$1(this,e.ParentMusicSystem.PositionAndShape);const o=e.Measures[0],a=r.Measures[0];this.addConnector(o.getVFStave(),a.getVFStave(),VF$9.StaveConnector.type.BRACKET,s)}draw(e){this.Visible&&this.vexflowConnector.setContext(e).draw();const r=this.vexflowConnector,s=r.top_stave.getYForLine(0),o=r.bottom_stave.getYForLine(r.bottom_stave.getNumLines()-1)+r.thickness;this.PositionAndShape.AbsolutePosition.x=(r.top_stave.getX()-2+r.x_shift)/unitInPixels,this.PositionAndShape.AbsolutePosition.y=s/unitInPixels,this.PositionAndShape.Size.height=(o-s)/unitInPixels,this.PositionAndShape.Size.width=12/unitInPixels}addConnector(e,r,s,o){this.vexflowConnector=new VF$9.StaveConnector(e,r).setType(s).setXShift(o*-5)}}const VF$8=Vex.Flow;class VexFlowInstrumentBrace extends VexFlowInstrumentBracket{constructor(e,r,s=0){super(e,r,s),this.vexflowConnector.setType(VF$8.StaveConnector.type.BRACE)}}class VexFlowMusicSystem extends MusicSystem{constructor(e,r){super(e),this.rules=r}calculateBorders(e){if(this.staffLines.length===0)return;const r=this.calcBracketsWidth();this.boundingBox.BorderLeft=-r,this.boundingBox.BorderMarginLeft=-r,this.boundingBox.XBordersHaveBeenSet=!0;const o=this.staffLines[0].SkyBottomLineCalculator.getSkyLineMin();this.boundingBox.BorderTop=o,this.boundingBox.BorderMarginTop=o;const a=this.staffLines[this.staffLines.length-1],c=a.SkyBottomLineCalculator.getBottomLineMax()+a.PositionAndShape.RelativePosition.y;this.boundingBox.BorderBottom=c,this.boundingBox.BorderMarginBottom=c,this.boundingBox.XBordersHaveBeenSet=!0,this.boundingBox.YBordersHaveBeenSet=!0}createSystemLine(e,r,s,o,a,l,c=void 0){const u=l;let d=!1;if(c&&(d=!0,c.lineTo(l,VexFlowConverter.line(s,o)),c.addMeasureLine(s,o),s===SystemLinesEnum.DotsBoldBoldDots)){const g=c.ParentStaffLine.Measures.indexOf(c)+1,m=c.ParentStaffLine.Measures[g],y=l.ParentStaffLine.Measures[g];m&&y&&(m.lineTo(y,VexFlowConverter.line(SystemLinesEnum.BoldThinDots,o)),m.addMeasureLine(SystemLinesEnum.BoldThinDots,o))}return u&&u.addMeasureLine(s,o,d),new SystemLine(s,o,this,l,c)}createInstrumentBracket(e,r){const s=e,o=r,a=new VexFlowInstrumentBrace(s,o);this.InstrumentBrackets.push(a)}createGroupBracket(e,r,s){const o=e,a=r;if(s===0){const l=new VexFlowInstrumentBracket(o,a,s);this.GroupBrackets.push(l)}else{const l=new VexFlowInstrumentBrace(o,a,s);this.GroupBrackets.push(l)}}}class VexFlowVoiceEntry extends GraphicalVoiceEntry{constructor(e,r,s){super(e,r,s)}applyBordersFromVexflow(){var a;const e=this.vfStaveNote;if(!e.getNoteHeadBeginX)return;const r=e.getBoundingBox(),s=e.getNoteHeadBeginX()-r.x;this.PositionAndShape.RelativePosition.y=r.y/unitInPixels,this.PositionAndShape.BorderTop=0,this.PositionAndShape.BorderBottom=r.h/unitInPixels;const o=(e.width-((a=e.paddingRight)!=null?a:0))/2;this.PositionAndShape.BorderLeft=-(s+o)/unitInPixels,this.PositionAndShape.BorderRight=(r.w-s)/unitInPixels}set vfStaveNote(e){this.mVexFlowStaveNote=e}get vfStaveNote(){return this.mVexFlowStaveNote}color(){var y;const e=this.rules.DefaultColorNotehead,r=this.rules.DefaultColorRest,s=this.rules.DefaultColorStem,o="#00000000";let a,l;const c=this.vfStaveNote;for(let b=0;b<this.notes.length;b++){const A=this.notes[b];if(l=A.sourceNote.NoteheadColor,a=l,this.rules.ColoringMode===ColoringModes.AutoColoring||this.rules.ColoringMode===ColoringModes.CustomColorSet)if(A.sourceNote.isRest())a=this.rules.ColoringSetCurrent.getValue(-1);else{const S=A.sourceNote.Pitch.FundamentalNote;a=this.rules.ColoringSetCurrent.getValue(S)}if(A.sourceNote.PrintObject?(!a||a==="#000000")&&(a=this.rules.DefaultColorNotehead):a=o,!l&&this.rules.ColoringMode===ColoringModes.XML&&A.sourceNote.PrintObject&&(!A.sourceNote.isRest()&&e?a=e:A.sourceNote.isRest()&&r&&(a=r)),a&&A.sourceNote.PrintObject)A.sourceNote.NoteheadColorCurrentlyRendered=a;else if(!a)continue;if(this.rules.ColoringEnabled&&A.sourceNote.NoteBeam&&this.rules.ColorBeams){const S=A.sourceNote.NoteBeam.Notes;let E=!0;for(let x=0;x<S.length;x++)S[x].NoteheadColorCurrentlyRendered!==a&&(E=!1);E&&(y=c==null?void 0:c.beam)!=null&&y.setStyle&&c.beam.setStyle({fillStyle:a,strokeStyle:a})}if(c){if(c.note_heads){const S=c.note_heads[b];S&&S.setStyle({fillStyle:a,strokeStyle:a})}c.setLedgerLineStyle&&(a===o?c.setLedgerLineStyle({fillStyle:a,strokeStyle:a,lineWidth:this.rules.LedgerLineWidth}):c.setLedgerLineStyle({fillStyle:this.rules.LedgerLineColorDefault,lineWidth:this.rules.LedgerLineWidth,strokeStyle:this.rules.LedgerLineColorDefault}))}}let u=s,d=!1;this.rules.ColoringEnabled&&(u=this.parentVoiceEntry.StemColor,(!u||u==="#000000")&&(u=s),this.rules.ColorStemsLikeNoteheads&&a&&(u=a,d=!0));let g=!0;for(const b of this.parentVoiceEntry.Notes)if(b.PrintObject){g=!1;break}g&&(u=o);const m={fillStyle:u,strokeStyle:u};c&&c.setStemStyle&&(!g&&d&&(this.parentVoiceEntry.StemColor=u),c.setStemStyle(m),c.flag&&c.setFlagStyle&&this.rules.ColorFlags&&c.setFlagStyle(m))}}const VF$7=Vex.Flow,NoteSubGroup=VF$7.NoteSubGroup;let hideTrackTune=!1;class VexFlowMeasure extends GraphicalMeasure{constructor(e,r,s){super(e,r,s),this.octaveOffset=3,this.vfVoices={},this.vfTies=[],this.vfRepetitionWords=[],this.hasMetronomeMark=!1,this.connectors=[],this.beams={},this.autoVfBeams=[],this.autoTupletVfBeams=[],this.vfbeams={},this.tuplets={},this.vftuplets={},this.minimumStaffEntriesWidth=-1,s?this.rules=s.ParentMusicSystem.rules:r?this.rules=r.Rules:this.rules=new EngravingRules,this.resetLayout()}setAbsoluteCoordinates(e,r){this.stave.setX(e).setY(r)}resetLayout(){this.stave=new VF$7.Stave(0,0,0,{fill_style:this.rules.StaffLineColor,space_above_staff_ln:0,space_below_staff_ln:0,DYMusicScoreType:this.rules.DYMusicScoreType}),this.InitiallyActiveClef&&(this.stave.clef=VexFlowConverter.Clef(this.InitiallyActiveClef).type),this.stave.MeasureNumber=this.MeasureNumber,this.hasMetronomeMark=!1,this.ParentStaff&&this.setLineNumber(this.ParentStaff.StafflineCount),this.stave.setBegBarType(VF$7.Barline.type.NONE),this.parentSourceMeasure&&this.parentSourceMeasure.endingBarStyleEnum===SystemLinesEnum.None&&this.stave.setEndBarType(VF$7.Barline.type.NONE),this.updateInstructionWidth()}clean(){this.vfTies.length=0,this.connectors=[],this.resetLayout()}getLineWidth(e){switch(e){case SystemLinesEnum.BoldThinDots:case SystemLinesEnum.DotsThinBold:return 10/unitInPixels;case SystemLinesEnum.DotsBoldBoldDots:return 10/unitInPixels+this.rules.RepeatEndStartPadding;default:return 0}}addClefAtBegin(e){if(this.rules.RenderClefsAtBeginningOfStaffline){if(this.octaveOffset=e.OctaveOffset,this.rules.DYMusicScoreType!=="jianpu")if(e.ClefType===ClefEnum.TAB)this.stave.addClef("tab",void 0,void 0,void 0);else{const r=VexFlowConverter.Clef(e,"default");this.stave.addClef(r.type,r.size,r.annotation,VF$7.StaveModifier.Position.BEGIN)}this.updateInstructionWidth()}}setLineNumber(e){e!==5&&(e===0?(this.stave.setNumLines(0),this.stave.getBottomLineY=function(){return this.getYForLine(this.options.num_lines)}):e===1?(this.stave.options.line_config=[{visible:!1},{visible:!1},{visible:!0},{visible:!1},{visible:!1}],this.stave.getBottomLineY=function(){return this.getYForLine(2)}):e===2?(this.stave.options.line_config=[{visible:!1},{visible:!1},{visible:!0},{visible:!0},{visible:!1}],this.stave.getBottomLineY=function(){return this.getYForLine(3)}):e===3?(this.stave.options.line_config=[{visible:!1},{visible:!0},{visible:!0},{visible:!0},{visible:!1}],this.stave.getBottomLineY=function(){return this.getYForLine(2)}):(this.stave.setNumLines(e),this.stave.getBottomLineY=function(){return this.getYForLine(this.options.num_lines)}))}addKeyAtBegin(e,r,s){var o;if(!(!this.rules.RenderKeySignatures||!this.ShowKeySignature)&&!(this.isTabMeasure&&!this.rules.TabKeySignatureRendered&&!this.rules.TabKeySignatureSpacingAdded)&&!((o=this.parentSourceMeasure)!=null&&o.isReducedToMultiRest&&!this.rules.MultipleRestMeasureAddKeySignature)){if(this.stave.setKeySignature(VexFlowConverter.keySignature(e),VexFlowConverter.keySignature(r),void 0),this.isTabMeasure&&!this.rules.TabKeySignatureRendered){const a=this.stave.getModifiers();for(const l of a)if(l instanceof VF$7.KeySignature){l.setStyle({fillStyle:"#00000000"}),l.hidden=!0;break}}this.updateInstructionWidth()}}addRhythmAtBegin(e,r){var o;if(this.isTabMeasure&&!this.rules.TabTimeSignatureRendered&&!this.rules.TabTimeSignatureSpacingAdded)return;if(this.rules.DYMusicScoreType==="jianpu"&&r&&r>0){const a=(o=window.GYM)==null?void 0:o.multitrack;a&&a>1&&(hideTrackTune=!0)}else hideTrackTune=!1;const s=VexFlowConverter.TimeSignature(e);hideTrackTune||this.stave.addModifier(s,VF$7.StaveModifier.Position.BEGIN,{numerator:e.Rhythm.Numerator,denominator:e.Rhythm.Denominator}),(!this.ShowTimeSignature||this.isTabMeasure&&!this.rules.TabTimeSignatureRendered)&&(s.setStyle({fillStyle:"#00000000"}),s.hidden=!0),this.updateInstructionWidth()}addClefAtEnd(e,r=!0){const s=VexFlowConverter.Clef(e,"small");if(!(!r&&this.stave.endClef)){this.stave.setEndClef(s.type,s.size,s.annotation);for(const o of this.stave.getModifiers())if(r){const a=o.originalStrokeStyle,l=o.originalFillStyle;o.getStyle()&&(a&&l?(o.getStyle().strokeStyle=a,o.getStyle().fillStyle=l):(o.getStyle().strokeStyle=null,o.getStyle().fillStyle=null))}else if(o.getCategory()==="clefs"&&o.getPosition()===VF$7.StaveModifier.Position.END&&o.type===s.type){const a="#12345600",l=o.getStyle();l&&(o.originalStrokeStyle=l.strokeStyle,o.originalFillStyle=l.fillStyle),o.setStyle({strokeStyle:a,fillStyle:a})}return this.parentSourceMeasure.hasEndClef=!0,this.updateInstructionWidth()}}addMeasureLine(e,r,s=!0){switch(r){case SystemLinePosition.MeasureBegin:switch(e){case SystemLinesEnum.BoldThinDots:s||(this.stave.modifiers[0].draw=function(o){switch(o.checkContext(),this.setRendered(),this.type){case VF$7.Barline.type.SINGLE:this.drawVerticalBar(o,this.x,!1);break;case VF$7.Barline.type.DOUBLE:this.drawVerticalBar(o,this.x,!0);break;case VF$7.Barline.type.END:this.drawVerticalEndBar(o,this.x);break;case VF$7.Barline.type.REPEAT_BEGIN:this.drawRepeatBar(o,this.x,!0);break;case VF$7.Barline.type.REPEAT_END:this.drawRepeatBar(o,this.x,!1);break;case VF$7.Barline.type.REPEAT_BOTH:this.drawRepeatBar(o,this.x,!1),this.drawRepeatBar(o,this.x,!0);break}}),this.stave.setBegBarType(VF$7.Barline.type.REPEAT_BEGIN);break}break;case SystemLinePosition.MeasureEnd:switch(e){case SystemLinesEnum.DotsBoldBoldDots:this.stave.setEndBarType(VF$7.Barline.type.REPEAT_BOTH);break;case SystemLinesEnum.DotsThinBold:this.stave.setEndBarType(VF$7.Barline.type.REPEAT_END);break;case SystemLinesEnum.DoubleThin:this.stave.setEndBarType(VF$7.Barline.type.DOUBLE);break;case SystemLinesEnum.ThinBold:this.stave.setEndBarType(VF$7.Barline.type.END);break;case SystemLinesEnum.None:this.stave.setEndBarType(VF$7.Barline.type.NONE);break}break}}addMeasureNumber(){const e=this.MeasureNumber.toString(),r=3;this.stave.setText(e,r,{justification:1,shift_x:0,shift_y:0})}addWordRepetition(e){let r,s=VF$7.StaveModifier.Position.END;const o=this.beginInstructionsWidth;switch(e.type){case RepetitionInstructionEnum.Segno:r=VF$7.Repetition.type.SEGNO_LEFT,s=VF$7.StaveModifier.Position.LEFT;break;case RepetitionInstructionEnum.Coda:r=VF$7.Repetition.type.CODA_LEFT,s=VF$7.StaveModifier.Position.LEFT;break;case RepetitionInstructionEnum.DaCapo:r=VF$7.Repetition.type.DC;break;case RepetitionInstructionEnum.DalSegno:r=VF$7.Repetition.type.DS;break;case RepetitionInstructionEnum.Fine:r=VF$7.Repetition.type.FINE;break;case RepetitionInstructionEnum.ToCoda:r=VF$7.Repetition.type.TO_CODA;break;case RepetitionInstructionEnum.DaCapoAlFine:r=VF$7.Repetition.type.DC_AL_FINE;break;case RepetitionInstructionEnum.DaCapoAlCoda:r=VF$7.Repetition.type.DC_AL_CODA;break;case RepetitionInstructionEnum.DalSegnoAlFine:r=VF$7.Repetition.type.DS_AL_FINE;break;case RepetitionInstructionEnum.DalSegnoAlCoda:r=VF$7.Repetition.type.DS_AL_CODA;break}if(r){if(this.stave.getModifiers().find(u=>u.symbol_type===r))return;const c=new VF$7.Repetition(r,o,-this.rules.RepetitionSymbolsYOffset);c.xShiftAsPercentOfStaveWidth=this.rules.RepetitionEndInstructionXShiftAsPercentOfStaveWidth,this.stave.addModifier(c,s);return}this.addVolta(e)}addVolta(e){var s;let r=VF$7.Volta.type.BEGIN;if(e.type===RepetitionInstructionEnum.Ending){switch(e.alignment){case AlignmentType.Begin:this.parentSourceMeasure.endsRepetitionEnding()?r=VF$7.Volta.type.BEGIN_END:r=VF$7.Volta.type.BEGIN;break;case AlignmentType.End:if(this.parentSourceMeasure.beginsRepetitionEnding())return;r=VF$7.Volta.type.END;break}const o=this.ParentStaffLine.SkyBottomLineCalculator,a=this.PositionAndShape.AbsolutePosition.x+this.PositionAndShape.BorderMarginLeft+.4,l=Math.max(this.PositionAndShape.AbsolutePosition.x+this.PositionAndShape.BorderMarginRight,a+.4),c=o.getSkyLineMinInRange(a,l)-2;let u=-6.1+this.rules.VoltaOffset,d=this.rules.VoltaOffset;if(c<u){const y=c-u;d+=y,u=c}let g;const m=this.parentSourceMeasure.MeasureNumber;for(let y=0;y<this.ParentStaffLine.Measures.length;y++){const b=this.ParentStaffLine.Measures[y];b instanceof VexFlowMeasure&&(b.MeasureNumber===m-1||b.MeasureNumber+((s=b.parentSourceMeasure)==null?void 0:s.multipleRestMeasures)===m)&&(g=b)}if(g){const y=g.stave.getModifiers();for(let b=0;b<y.length;b++){const A=y[b];if(A.hasOwnProperty("volta")){const S=g.ParentStaffLine.SkyBottomLineCalculator,E=g.PositionAndShape.AbsolutePosition.x+g.PositionAndShape.BorderMarginLeft+.4,x=Math.max(g.PositionAndShape.AbsolutePosition.x+g.PositionAndShape.BorderMarginRight,E+.4),P=S.getSkyLineMinInRange(E,x);if(P<=u){const C=P-u;d+=C,u=P}else A.y_shift=d*unitInPixels,g.ParentStaffLine.SkyBottomLineCalculator.updateSkyLineInRange(E,x,u)}}}d*=10,this.stave.setVoltaType(r,e.endingIndices[0],d),o.updateSkyLineInRange(a,l,u)}}setWidth(e){super.setWidth(e),this.stave.setWidth(e*unitInPixels)}layoutSymbols(){}draw(e){var c,u,d,g,m,y,b;const r=e.openGroup();(c=r==null?void 0:r.classList)==null||c.add("vf-measure");const s=e.openGroup();(u=s==null?void 0:s.classList)==null||u.add("vf-stave"),s==null||s.setAttribute("id",(g=(d=this.stave)==null?void 0:d.attrs)==null?void 0:g.id),this.stave.setContext(e).draw(),e.closeGroup();const o=e.openGroup();(m=o==null?void 0:o.classList)==null||m.add("vf-voices");for(const A in this.vfVoices)this.vfVoices.hasOwnProperty(A)&&(e.save(),this.vfVoices[A].draw(e,this.stave),e.restore());e.closeGroup();const a=e.openGroup();if((y=a==null?void 0:a.classList)==null||y.add("vf-beams"),this.rules.DYMusicScoreType!=="jianpu"){for(const A in this.vfbeams)if(this.vfbeams.hasOwnProperty(A))for(const S of this.vfbeams[A])S.setContext(e).draw()}if(this.autoVfBeams)for(const A of this.autoVfBeams)A.setContext(e).draw();if(!this.isTabMeasure||this.rules.TupletNumbersInTabs){if(this.autoTupletVfBeams)for(const A of this.autoTupletVfBeams)A.setContext(e).draw();for(const A in this.vftuplets)if(this.vftuplets.hasOwnProperty(A))for(const S of this.vftuplets[A])if(this.rules.DYMusicScoreType==="jianpu"){let E=S.getNotes();const x=new VF$7.StaveTie({first_note:E[0],last_note:E[E.length-1]},E.length+"");this.vfTies.push(x),S.setTupletLocation(1)}else S.setContext(e).draw()}e.closeGroup(),e.closeGroup();const l=e.openGroup();(b=l==null?void 0:l.classList)==null||b.add("vf-ties");for(const A of this.vfTies){if(this.rules.DYMusicScoreType==="jianpu"&&A.setDirection(-1),A instanceof VF$7.TabSlide)return;A.setContext(e),A.draw()}e.closeGroup();for(const A of this.connectors)A.setContext(e).draw();return this.correctNotePositions(),r}format(){this.formatVoices&&this.formatVoices((this.PositionAndShape.Size.width-this.beginInstructionsWidth-this.endInstructionsWidth)*unitInPixels,this)}correctNotePositions(){if(!this.isTabMeasure)for(const e of this.getVoicesWithinMeasure())for(const r of e.VoiceEntries)for(const s of r.Notes){const o=this.rules.GNote(s);if(!(o!=null&&o.vfnote))return;const a=o.vfnote[0];let l=0;o.parentVoiceEntry.parentVoiceEntry.StemDirection===StemDirectionType.Up&&o.vfnote[0].getDuration()!=="w"?l+=3.5:l+=.5;const c=-o.notehead(a).line;l+=c+o.parentVoiceEntry.notes.last().notehead().line,o.PositionAndShape.RelativePosition.y=l}}getVoicesWithinMeasure(){const e=[];for(const r of this.staffEntries)for(const s of r.graphicalVoiceEntries)e.indexOf(s.parentVoiceEntry.ParentVoice)===-1&&e.push(s.parentVoiceEntry.ParentVoice);return e}getGraphicalVoiceEntriesPerVoice(e){const r=[];for(const s of this.staffEntries)for(const o of s.graphicalVoiceEntries)o.parentVoiceEntry.ParentVoice===e&&r.push(o);return r}getRestFilledVexFlowStaveNotesPerVoice(e){let r,s=this.getGraphicalVoiceEntriesPerVoice(e);for(let l=0;l<s.length;l++){const c=s[l],u=c.notes[0].sourceNote.getAbsoluteTimestamp();let d=new Fraction$1;for(const g of c.notes){const m=Fraction$1.plus(g.sourceNote.getAbsoluteTimestamp(),g.sourceNote.Length);d.lt(m)&&(d=m)}if(r){const g=Fraction$1.minus(u,r);if(g.RealValue>0){loglevelExports.trace(`Ghost Found in between (measure ${this.MeasureNumber})`);const m=this.createGhostGves(g);s.splice(l,0,...m),l+=m.length}}else{const g=Fraction$1.minus(u,this.parentSourceMeasure.AbsoluteTimestamp);if(g.RealValue>0){loglevelExports.trace(`Ghost Found at start (measure ${this.MeasureNumber})`);const m=this.createGhostGves(g);s.splice(0,0,...m),l+=m.length}}r=d}const o=Fraction$1.plus(this.parentSourceMeasure.AbsoluteTimestamp,this.parentSourceMeasure.Duration),a=Fraction$1.minus(o,r);if(a.RealValue>0){loglevelExports.trace(`Ghost Found at end (measure ${this.MeasureNumber})`);const l=this.createGhostGves(a);s=s.concat(l)}return s}createGhostGves(e){const r=VexFlowConverter.GhostNotes(e),s=[];for(const o of r){const a=new VexFlowVoiceEntry(void 0,void 0,this.rules);a.vfStaveNote=o,s.push(a)}return s}handleBeam(e,r){const s=e.sourceNote.ParentVoiceEntry.ParentVoice.VoiceId;let o=this.beams[s];o||(o=this.beams[s]=[]);let a;for(const c of o)c[0]===r&&(a=c);a||(a=[r,[]],o.push(a));const l=e.parentVoiceEntry;a[1].indexOf(l)<0&&a[1].push(l)}handleTuplet(e,r){const s=e.sourceNote.ParentVoiceEntry.ParentVoice.VoiceId;r=e.sourceNote.NoteTuplet;let o=this.tuplets[s];o||(o=this.tuplets[s]=[]);let a;for(const c of o)c[0]===r&&(a=c);a||(a=[r,[]],o.push(a));const l=e.parentVoiceEntry;a[1].indexOf(l)<0&&a[1].push(l)}finalizeBeams(){if(this.vfbeams={},this.isTabMeasure&&!this.rules.TabBeamsRendered)return;const e=[];for(const r in this.beams)if(this.beams.hasOwnProperty(r)){let s=this.vfbeams[r];s||(s=this.vfbeams[r]=[]);for(const o of this.beams[r]){let a=!1;for(const b of o[0].Notes)if(b.Length.RealValue>=new Fraction$1(1,4).RealValue&&(!b.TypeLength||b.TypeLength.RealValue>.125)){a=!0;break}if(a){loglevelExports.debug("Beam between note >= quarter, likely tremolo, currently unsupported. continuing.");continue}const l=[],c=o[0],u=o[1];let d=!0;for(const b of u)b.parentVoiceEntry.ParentVoice===c.Notes[0].ParentVoiceEntry.ParentVoice&&(d=b.parentVoiceEntry.WantedStemDirection===StemDirectionType.Undefined);let g=!1,m;const y=[];for(const b of u){const A=b.vfStaveNote;A&&(l.push(A),e.push(A)),b.parentVoiceEntry.IsGrace&&(g=!0),b.parentVoiceEntry.StemColor&&this.rules.ColoringEnabled&&y.push(b.parentVoiceEntry.StemColor)}if(l.length>1){const b=new VF$7.Beam(l,d);if(g&&(b.render_options.beam_width=3,b.render_options.partial_beam_length=4),y.length>=2&&this.rules.ColorBeams){m=y[0];for(const A of y)if(A!==m){m=void 0;break}b.setStyle({fillStyle:m,strokeStyle:m})}this.rules.FlatBeams&&(b.render_options.flat_beams=!0,b.render_options.flat_beam_offset=this.rules.FlatBeamOffset,b.render_options.flat_beam_offset_per_beam=this.rules.FlatBeamOffsetPerBeam),s.push(b)}else loglevelExports.debug("Warning! Beam with no notes!")}}this.rules.AutoBeamNotes&&this.autoBeamNotes(e)}autoBeamNotes(e){if(!this.rules.AutoBeamTabs&&this.isTabMeasure)return;let r=60,s=[],o=[],a,l=[];this.autoTupletVfBeams=[];const c=[];this.autoVfBeams=[];let u=this.parentSourceMeasure.ActiveTimeSignature;u||(u=this.parentSourceMeasure.Duration);for(const m of this.staffEntries)for(const y of m.graphicalVoiceEntries){const b=y.vfStaveNote,A=y.notes[0],S={vfStaveNote:b,sourceNote:A.sourceNote},E=m.relInMeasureTimestamp.isOnBeat(u),x=o.length>=2,P=A.sourceNote.Length.RealValue-new Fraction$1(1,4).RealValue>-Fraction$1.FloatInaccuracyTolerance,C=y.parentVoiceEntry.IsGrace||P||e.contains(b);if(C||E){if(x){for(const k of o)s.push(k);c.push(s.slice()),s=[]}if(o=[],C)continue}const T=y.notes[0].sourceNote.NoteTuplet;if(T){let k=!1;for(const I of T.Notes){for(const M of I)if(M.NoteTypeXml>=NoteType.QUARTER||M.ParentVoiceEntry.IsGrace||M.isRest()&&!this.rules.AutoBeamOptions.beam_rests){k=!0;break}if(k)break}if(!a)a=T;else if(a!==T){if(l.length>1){const I=[];for(const B of l)I.push(B.vfStaveNote);const M=new VF$7.Beam(I,!0);this.rules.FlatBeams&&(M.render_options.flat_beams=!0,M.render_options.flat_beam_offset=this.rules.FlatBeamOffset,M.render_options.flat_beam_offset_per_beam=this.rules.FlatBeamOffsetPerBeam),this.autoTupletVfBeams.push(M);const R=new Beam(r++);R.AutoGenerated=!0;for(const B of l)R.addNoteToBeam(B.sourceNote)}l=[],a=T}k||l.push(S);continue}else a=void 0;o.push(S)}if(l.length>=2){const m=[];for(const A of l)m.push(A.vfStaveNote);const y=new VF$7.Beam(m,!0);this.rules.FlatBeams&&(y.render_options.flat_beams=!0,y.render_options.flat_beam_offset=this.rules.FlatBeamOffset,y.render_options.flat_beam_offset_per_beam=this.rules.FlatBeamOffsetPerBeam),this.autoTupletVfBeams.push(y);const b=new Beam(r++);b.AutoGenerated=!0;for(const A of l)b.addNoteToBeam(A.sourceNote)}if(o.length>=2){for(const m of o)s.push(m);c.push(s)}const d=this.rules.AutoBeamOptions,g={beam_middle_only:d.beam_middle_rests_only,beam_rests:d.beam_rests,maintain_stem_directions:d.maintain_stem_directions};if(d.groups&&d.groups.length){const m=[];for(const y of d.groups)m.push(new VF$7.Fraction(y[0],y[1]));g.groups=m}for(const m of c){const y=[];for(const A of m)y.push(A.vfStaveNote);const b=VF$7.Beam.generateBeams(y,g);for(const A of b)this.rules.FlatBeams&&(A.render_options.flat_beams=!0,A.render_options.flat_beam_offset=this.rules.FlatBeamOffset,A.render_options.flat_beam_offset_per_beam=this.rules.FlatBeamOffsetPerBeam),this.autoVfBeams.push(A)}}finalizeTuplets(){this.vftuplets={};for(const e in this.tuplets)if(this.tuplets.hasOwnProperty(e)){let r=this.vftuplets[e];r||(r=this.vftuplets[e]=[]);for(const s of this.tuplets[e]){const o=[],a=s[1];for(const l of a)o.push(l.vfStaveNote);if(o.length>1){const l=s[0],c=l.Notes[0][0].NormalNotes,u=l.shouldBeBracketed(this.rules.TupletsBracketedUseXMLValue,this.rules.TupletsBracketed,this.rules.TripletsBracketed,this.isTabMeasure,this.rules.TabTupletsBracketed);let d=VF$7.Tuplet.LOCATION_TOP;l.tupletLabelNumberPlacement===PlacementEnum.Below&&(d=VF$7.Tuplet.LOCATION_BOTTOM);let g=0;if(this.isTabMeasure&&(g=this.rules.TabTupletYOffsetBottom*10,d===VF$7.Tuplet.LOCATION_TOP)){g=this.rules.TabTupletYOffsetTop*-10;const y=l.Notes[0][0];y!=null&&y.hasTabEffects()&&(g-=this.rules.TabTupletYOffsetEffects*10)}const m=new VF$7.Tuplet(o,{bracketed:u,location:d,notes_occupied:c,num_notes:l.TupletLabelNumber,ratioed:this.rules.TupletsRatioed,y_offset:g});r.push(m)}else loglevelExports.debug("Warning! Tuplet with no notes! Trying to ignore, but this is a serious problem.")}}}layoutStaffEntry(e){}graphicalMeasureCreatedCalculations(){let e,r=[];const s=[];for(const a of this.staffEntries){e=!1,r=[];for(const l of a.graphicalVoiceEntries){if(l.parentVoiceEntry.IsGrace){r.push(l),s.push(l),e||(e=l.parentVoiceEntry.GraceSlur);continue}if(l.vfStaveNote=VexFlowConverter.StaveNote(l),r.length>0){const c=[];for(let d=0;d<r.length;d++){const g=r[d];g.GraceSlash=g.parentVoiceEntry.GraceNoteSlash,d>0&&(g.GraceSlash=!1);const m=VexFlowConverter.StaveNote(g);g.vfStaveNote=m,c.push(m)}const u=new VF$7.GraceNoteGroup(c,e);u.spacing=this.rules.GraceNoteGroupXMargin*10,l.vfStaveNote.addModifier(0,u),r=[]}}}if(r.length>0)for(const a of r)a.vfStaveNote=VexFlowConverter.StaveNote(a),a.parentVoiceEntry.GraceAfterMainNote=!0;this.finalizeBeams(),this.finalizeTuplets();const o=this.getVoicesWithinMeasure();if(this.rules.RenderFingerings)for(const a of this.staffEntries)a.setModifierXOffsets();for(const a of o){if(!a)continue;this.vfVoices[a.VoiceId]=new VF$7.Voice({beat_value:this.parentSourceMeasure.ActiveTimeSignature.Denominator,num_beats:this.parentSourceMeasure.ActiveTimeSignature.Numerator,resolution:VF$7.RESOLUTION}).setMode(VF$7.Voice.Mode.SOFT);const l=this.getRestFilledVexFlowStaveNotesPerVoice(a);for(const c of l){if(c.parentVoiceEntry&&c.parentVoiceEntry.IsGrace&&!c.parentVoiceEntry.GraceAfterMainNote)continue;const u=c;if(u.vfStaveNote.getTicks().denominator===0&&(u.vfStaveNote.getTicks().denominator=1),c.notes.length===0||!c.notes[0]||!c.notes[0].sourceNote.PrintObject){this.vfVoices[a.VoiceId].addTickable(u.vfStaveNote);continue}const d=u.parentStaffEntry;if(d&&d.vfClefBefore){const g=new NoteSubGroup([d.vfClefBefore]);u.vfStaveNote.getCategory&&u.vfStaveNote.getCategory()==="stavenotes"&&u.vfStaveNote.addModifier(0,g)}c.parentVoiceEntry&&this.rules.RenderFingerings&&((this.rules.FingeringPosition===PlacementEnum.Left||this.rules.FingeringPosition===PlacementEnum.Right)&&this.createFingerings(c),this.createStringNumber(c)),this.createArpeggio(c),this.vfVoices[a.VoiceId].addTickable(u.vfStaveNote)}}this.setStemDirectionFromVexFlow();for(const a of s)this.createFingerings(a),this.createStringNumber(a),this.createArpeggio(a);this.createArticulations(),this.createOrnaments()}createArpeggio(e){if(e.parentVoiceEntry&&e.parentVoiceEntry.Arpeggio){const r=e.parentVoiceEntry.Arpeggio;if(e.notes&&e.notes.length>1){const s=VexFlowConverter.StrokeTypeFromArpeggioType(r.type),o=new VF$7.Stroke(s,{all_voices:this.rules.ArpeggiosGoAcrossVoices});this.rules.RenderArpeggios&&e.vfStaveNote.addStroke(0,o)}else loglevelExports.debug(`[OSMD] arpeggio in measure ${this.MeasureNumber} could not be drawn.
  64. voice entry had less than two notes, arpeggio is likely between voice entries, not currently supported in Vexflow.`)}}setStemDirectionFromVexFlow(){for(const e of this.staffEntries)for(const r of e.graphicalVoiceEntries)for(const s of r.notes){const o=s.vfnote;if(!o||!o[0])continue;switch(o[0].getStemDirection()){case VF$7.Stem.UP:r.parentVoiceEntry.StemDirection=StemDirectionType.Up;break;case VF$7.Stem.DOWN:r.parentVoiceEntry.StemDirection=StemDirectionType.Down;break}}}createArticulations(){for(let e=0,r=this.staffEntries.length;e<r;++e){const o=this.staffEntries[e].graphicalVoiceEntries;for(const a of o){const l=a.vfStaveNote;VexFlowConverter.generateArticulations(l,a.notes[0],this.rules)}}}createOrnaments(){for(let e=0,r=this.staffEntries.length;e<r;++e){const o=this.staffEntries[e].graphicalVoiceEntries;for(const a in o)if(o.hasOwnProperty(a)){const l=o[a].vfStaveNote,c=o[a].notes[0].sourceNote.ParentVoiceEntry.OrnamentContainer;c&&VexFlowConverter.generateOrnaments(l,c)}}}createFingerings(e){const r=e;let s=0;for(const l of e.notes)l.sourceNote.Fingering&&s++;const o=[];for(const l of e.parentVoiceEntry.TechnicalInstructions)l.type===TechnicalInstructionType.Fingering&&o.push(l);if(o.length>s){for(const l of e.notes)if(!l.sourceNote.Fingering&&(l.sourceNote.Fingering=o.pop(),s++,o.length===0))break}let a=-1;for(const l of e.notes){const c=l.sourceNote.Fingering;if(!c){a++;continue}a++;let u=this.rules.FingeringPosition;this.rules.FingeringPositionGrace===PlacementEnum.AboveOrBelow&&(this.isUpperStaffOfInstrument()?u=PlacementEnum.Above:this.isLowerStaffOfInstrument()&&(u=PlacementEnum.Below)),c.placement!==PlacementEnum.NotYetDefined&&(u=c.placement);let d=this.rules.FingeringOffsetX,g;switch(u){default:case PlacementEnum.Left:g=VF$7.StaveModifier.Position.LEFT,d-=l.baseFingeringXOffset*unitInPixels;break;case PlacementEnum.Right:g=VF$7.StaveModifier.Position.RIGHT,d+=l.baseFingeringXOffset*unitInPixels;break;case PlacementEnum.Above:g=VF$7.StaveModifier.Position.ABOVE;break;case PlacementEnum.Below:g=VF$7.StaveModifier.Position.BELOW;break;case PlacementEnum.NotYetDefined:const y=e.parentStaffEntry.sourceStaffEntry.ParentStaff;e.notes.length>1||e.parentStaffEntry.graphicalVoiceEntries.length>1?g=VF$7.StaveModifier.Position.LEFT:y.idInMusicSheet===0?(g=VF$7.StaveModifier.Position.ABOVE,u=PlacementEnum.Above):(g=VF$7.StaveModifier.Position.BELOW,u=PlacementEnum.Below)}const m=new VF$7.FretHandFinger(c.value);if(m.setPosition(g),m.setOffsetX(d),u===PlacementEnum.Above||u===PlacementEnum.Below){const y=u===PlacementEnum.Above?-1:1,b=u===PlacementEnum.Above?a:s-1-a;if(this.rules.FingeringInsideStafflines&&s>1){const A=m.getWidth()/2,S=s*2.5;m.setOffsetY(y*(b+S)*A)}else if(!this.rules.FingeringInsideStafflines){const A=new VF$7.StringNumber(c.value);A.radius=0,A.setPosition(g),A.setOffsetY(y*b*A.getWidth()*2/3),r.vfStaveNote.addModifier(a,A);continue}}r.vfStaveNote.addModifier(a,m)}}createStringNumber(e){if(!this.rules.RenderStringNumbersClassical)return;const r=e;e.notes.forEach((s,o)=>{const a=s.sourceNote.StringInstruction;if(a){let l=a.value;switch(l){case"1":l="I";break;case"2":l="II";break;case"3":l="III";break;case"4":l="IV";break;case"5":l="V";break;case"6":l="VI";break}const c=new VF$7.StringNumber(l);c.radius=0;const u=-this.rules.StringNumberOffsetY;e.notes.length>1||e.parentStaffEntry.graphicalVoiceEntries.length>1?(c.setOffsetX(s.baseStringNumberXOffset*13),c.setPosition(VF$7.Modifier.Position.RIGHT)):c.setPosition(VF$7.Modifier.Position.ABOVE),c.setOffsetY(u),r.vfStaveNote.addModifier(o,c)}})}lineTo(e,r){const s=new VF$7.StaveConnector(e.getVFStave(),this.stave);s.setType(r),this.connectors.push(s)}getVFStave(){return this.stave}updateInstructionWidth(){let e=0,r=0;const s=this.stave.getModifiers();for(const o of s)o.getPosition()===5?e+=o.getWidth()+o.getPadding(void 0):o.getPosition()===6&&(r+=o.getWidth()+o.getPadding(void 0));this.beginInstructionsWidth=(e!=null?e:0)/unitInPixels,this.endInstructionsWidth=(r!=null?r:0)/unitInPixels}addStaveTie(e,r){this.vfTies.push(e),r.vfTie=e,r.Tie.TieDirection===PlacementEnum.Below&&e.setDirection(1)}}class GraphicalStaffEntry extends GraphicalObject{constructor(e,r=void 0,s=void 0){super(),this.graphicalChordContainers=[],this.tabStaffEntry=void 0,this.MaxAccidentals=0,this.graphicalInstructions=[],this.ties=[],this.graphicalTies=[],this.lyricsEntries=[],this.parentMeasure=e,this.graphicalVoiceEntries=[],this.sourceStaffEntry=r,s?(this.staffEntryParent=s,this.parentVerticalContainer=s.parentVerticalContainer,this.PositionAndShape=new BoundingBox$1(this,s.PositionAndShape)):this.PositionAndShape=new BoundingBox$1(this,e.PositionAndShape),r&&(this.relInMeasureTimestamp=r.Timestamp),this.FingeringEntries=[]}get GraphicalInstructions(){return this.graphicalInstructions}get GraphicalTies(){return this.graphicalTies}get LyricsEntries(){return this.lyricsEntries}set LyricsEntries(e){this.lyricsEntries=e}getAbsoluteTimestamp(){const e=this.parentMeasure.parentSourceMeasure.AbsoluteTimestamp.clone();return this.relInMeasureTimestamp&&e.Add(this.relInMeasureTimestamp),e}findTieGraphicalNoteFromNote(e){var s;const r=((s=window.GYM)==null?void 0:s.graceCustom)||!1;for(const o of this.graphicalVoiceEntries)for(const a of o.notes){const l=a.sourceNote;if(r){if(e.NoteToGraphicalNoteObjectId==l.NoteToGraphicalNoteObjectId)return a}else if(!l.isRest()&&l.Pitch.FundamentalNote===e.Pitch.FundamentalNote&&l.Pitch.Octave===e.Pitch.Octave&&l.getAbsoluteTimestamp().Equals(e.getAbsoluteTimestamp()))return a}}findEndTieGraphicalNoteFromNoteWithStartingSlur(e,r){if(e){for(const s of this.graphicalVoiceEntries)if(s.parentVoiceEntry===e.ParentVoiceEntry)for(const o of s.notes){const a=o.sourceNote;if(a.NoteTie&&a.NoteSlurs.indexOf(r)!==-1)return o}}}findGraphicalNoteFromGraceNote(e){if(e){for(const r of this.graphicalVoiceEntries)if(r.parentVoiceEntry===e.ParentVoiceEntry){for(const s of r.notes)if(s.sourceNote===e)return s}}}findGraphicalNoteFromNote(e){if(e){for(const r of this.graphicalVoiceEntries)if(r.parentVoiceEntry===e.ParentVoiceEntry){for(const s of r.notes)if(s.sourceNote===e&&this.getAbsoluteTimestamp().Equals(e.getAbsoluteTimestamp()))return s}}}getGraphicalNoteDurationFromVoice(e){for(const r of this.graphicalVoiceEntries)if(r.parentVoiceEntry.ParentVoice===e)return r.notes[0].graphicalNoteLength;return new Fraction$1(0,1)}findVoiceEntryGraphicalNotes(e){for(const r of this.graphicalVoiceEntries)if(r.parentVoiceEntry===e)return r.notes}isVoiceEntryPartOfLinkedVoiceEntry(e){if(this.sourceStaffEntry.Link)for(let r=0,s=this.sourceStaffEntry.Link.LinkStaffEntries.length;r<s;++r){const o=this.sourceStaffEntry.Link.LinkStaffEntries[r];if(o.VoiceEntries.indexOf(e)!==-1&&o!==this.sourceStaffEntry)return!0}return!1}findStaffEntryMinNoteLength(){let e=new Fraction$1(Number.MAX_VALUE,1);for(const r of this.graphicalVoiceEntries)for(const s of r.notes){const o=s.graphicalNoteLength;o.lt(e)&&o.GetExpandedNumerator()>0&&(e=o)}return e}findStaffEntryMaxNoteLength(){let e=new Fraction$1(0,1);for(const r of this.graphicalVoiceEntries)for(const s of r.notes){const o=s.graphicalNoteLength;e.lt(o)&&o.GetExpandedNumerator()>0&&(e=o)}return e}findOrCreateGraphicalVoiceEntry(e){for(const s of this.graphicalVoiceEntries)if(s.parentVoiceEntry===e)return s;const r=MusicSheetCalculator.symbolFactory.createVoiceEntry(e,this);return this.graphicalVoiceEntries.push(r),r}findOrCreateGraphicalVoiceEntryFromGraphicalNote(e){for(const s of this.graphicalVoiceEntries)if(s===e.parentVoiceEntry)return s;const r=MusicSheetCalculator.symbolFactory.createVoiceEntry(e.sourceNote.ParentVoiceEntry,this);return this.graphicalVoiceEntries.push(r),r}addGraphicalNoteToListAtCorrectYPosition(e,r){const s=e.notes;if(s.length===0||r.PositionAndShape.RelativePosition.y<CollectionUtil.last(s).PositionAndShape.RelativePosition.y)s.push(r);else for(let o=s.length-1;o>=0;o--){if(s[o].PositionAndShape.RelativePosition.y>r.PositionAndShape.RelativePosition.y){s.splice(o+1,0,r);break}if(o===0){s.splice(0,0,r);break}}}hasOnlyRests(){return this.sourceStaffEntry.hasOnlyRests}getSkylineMin(){var o;const e=(o=this.parentMeasure)==null?void 0:o.ParentStaffLine.SkyBottomLineCalculator;if(!e)return;const[r,s]=this.getAbsoluteStartAndEnd();return e.getSkyLineMinInRange(r,s)}getHighestYAtEntry(){return this.parentMeasure.ParentStaffLine.PositionAndShape.AbsolutePosition.y+this.getSkylineMin()}getLowestYAtEntry(){return this.parentMeasure.ParentStaffLine.PositionAndShape.AbsolutePosition.y+this.getBottomlineMax()}getBottomlineMax(){var o;const e=(o=this.parentMeasure)==null?void 0:o.ParentStaffLine.SkyBottomLineCalculator;if(!e)return;const[r,s]=this.getAbsoluteStartAndEnd();return e.getBottomLineMaxInRange(r,s)}getAbsoluteStartAndEnd(){let e=this.PositionAndShape.AbsolutePosition.x;e-=this.parentMeasure.ParentStaffLine.PositionAndShape.AbsolutePosition.x;const r=e+this.PositionAndShape.Size.width;return[e,r]}}class VexFlowStaffEntry extends GraphicalStaffEntry{constructor(e,r,s){super(e,r,s)}calculateXPosition(){const e=this.parentMeasure.getVFStave();let r=0;for(const s of this.graphicalVoiceEntries)if(s.vfStaveNote){if(s.vfStaveNote.setStave(e),!s.vfStaveNote.preFormatted)continue;s.applyBordersFromVexflow();let o=!1,a=this.PositionAndShape;s.notes[0].sourceNote.isWholeRest()&&!this.hasOnlyRests()&&(o=!0,a=s.PositionAndShape),this.parentMeasure.ParentStaff.isTab?a.RelativePosition.x=(s.vfStaveNote.getAbsoluteX()+s.vfStaveNote.glyph.getWidth())/unitInPixels:(a.RelativePosition.x=s.vfStaveNote.getBoundingBox().getX()/unitInPixels,o&&(a.RelativePosition.x-=e.getNoteStartX()/unitInPixels,a.RelativePosition.x-=1.3));const l=s.notes[0].sourceNote;l.isRest()&&l.Length.RealValue===this.parentMeasure.parentSourceMeasure.ActiveTimeSignature.RealValue&&(a.RelativePosition.x+=this.parentMeasure.parentSourceMeasure.Rules.WholeRestXShiftVexflow-.1,s.PositionAndShape.BorderLeft=-.7,s.PositionAndShape.BorderRight=.7),s.PositionAndShape.BorderLeft<r&&(r=s.PositionAndShape.BorderLeft)}this.PositionAndShape.RelativePosition.x-=r,this.PositionAndShape.calculateBoundingBox()}setMaxAccidentals(){for(const e of this.graphicalVoiceEntries)for(const r of e.notes)if(r.DrawnAccidental!==AccidentalEnum.NONE)return this.MaxAccidentals=1;return this.MaxAccidentals=0}setModifierXOffsets(){let e=[];for(const a of this.graphicalVoiceEntries)e=e.concat(a.notes);const r=e.map(a=>a.staffLine),s=this.calculateModifierXOffsets(r,1),o=this.calculateModifierXOffsets(r,.5);e.forEach((a,l)=>{a.baseFingeringXOffset=o[l],a.baseStringNumberXOffset=s[l]})}calculateModifierXOffsets(e,r){const s=[];for(let o=0;o<e.length;o++){let a=0,l=!0;for(;l;)for(let c=o;c>=0;c--){if(Math.abs(e[o]-e[c])<=r&&a===s[c]){a++,l=!0;break}l=!1}s.push(a)}return s}}class VexFlowGraphicalNote extends GraphicalNote{constructor(e,r,s,o=OctaveEnum.NONE,a,l=void 0){if(super(e,r,a,l),this.clef=s,this.octaveShift=o,e.Pitch){const c=e.isRest()?e.Pitch:OctaveShift.getPitchFromOctaveShift(e.Pitch,o);this.vfpitch=VexFlowConverter.pitch(c,e.isRest(),this.clef,this.sourceNote.Notehead),this.vfpitch[1]=void 0}}setAccidental(e){const r=this.drawPitch(e);this.vfpitch=VexFlowConverter.pitch(r,this.sourceNote.isRest(),this.clef,this.sourceNote.Notehead),this.DrawnAccidental=r.Accidental}drawPitch(e){return OctaveShift.getPitchFromOctaveShift(e,this.octaveShift)}Transpose(e,r,s,o){const a=super.Transpose(e,r,s,o),l=OctaveShift.getPitchFromOctaveShift(a,this.octaveShift);return this.vfpitch=VexFlowConverter.pitch(l,this.sourceNote.isRest(),this.clef,this.sourceNote.Notehead),this.vfpitch[1]=void 0,l}setIndex(e,r){this.vfnote=[e,r],this.vfnoteIndex=r}notehead(e=void 0){let r=e;r||(r=this.vfnote[0]);const s=r.note_heads;return s&&s.length>this.vfnoteIndex&&s[this.vfnoteIndex]?r.note_heads[this.vfnoteIndex]:{line:0}}Clef(){return this.clef}getSVGId(){if(this.vfnote)return this.vfnote[0].getAttribute("id")}getSVGGElement(){if(this.vfnote)return this.vfnote[0].getAttribute("el")}getStemSVG(){return document.getElementById("vf-"+this.getSVGId()+"-stem")}getBeamSVGs(){const e=[];for(let r=0;;r++){const s=document.getElementById(`vf-${this.getSVGId()}-beam${r}`);if(!s)break;e.push(s)}return e}}class GraphicalChordSymbolContainer extends GraphicalObject{constructor(e,r,s,o,a,l){super(),this.chordSymbolContainer=e,this.boundingBox=new BoundingBox$1(this,r),this.rules=l,this.calculateLabel(s,a,o)}get GetChordSymbolContainer(){return this.chordSymbolContainer}get GraphicalLabel(){return this.graphicalLabel}calculateLabel(e,r,s){const o=ChordSymbolContainer.calculateChordText(this.chordSymbolContainer,r,s);this.graphicalLabel=new GraphicalLabel(new Label(o),e,this.rules.ChordSymbolTextAlignment,this.rules,this.boundingBox),this.graphicalLabel.PositionAndShape.RelativePosition=new PointF2D(this.rules.ChordSymbolRelativeXOffset,0),this.graphicalLabel.Label.colorDefault=this.rules.DefaultColorChordSymbol}}const VF$6=Vex.Flow;class VexFlowTabMeasure extends VexFlowMeasure{constructor(e,r=void 0,s=void 0){super(e,r,s),this.isTabMeasure=!0}resetLayout(){var r;const e=(r=this.ParentStaff.StafflineCount)!=null?r:6;this.stave=new VF$6.TabStave(0,0,0,{space_above_staff_ln:0,space_below_staff_ln:0,num_lines:e}),this.updateInstructionWidth()}graphicalMeasureCreatedCalculations(){for(let r=0,s=this.staffEntries.length;r<s;++r){const o=this.staffEntries[r];for(const a of o.graphicalVoiceEntries)if(a.notes[0].sourceNote.isRest()){const l=VexFlowConverter.GhostNotes(a.notes[0].sourceNote.Length);a.vfStaveNote=l[0],a.vfGhostNotes=l}else a.vfStaveNote=VexFlowConverter.CreateTabNote(a)}this.finalizeTuplets();const e=this.getVoicesWithinMeasure();for(const r of e){if(!r)continue;this.vfVoices[r.VoiceId]=new VF$6.Voice({beat_value:this.parentSourceMeasure.Duration.Denominator,num_beats:this.parentSourceMeasure.Duration.Numerator,resolution:VF$6.RESOLUTION}).setMode(VF$6.Voice.Mode.SOFT);const s=this.getRestFilledVexFlowStaveNotesPerVoice(r);for(const o of s){if(o.parentVoiceEntry&&o.parentVoiceEntry.IsGrace&&!o.parentVoiceEntry.GraceAfterMainNote)continue;const a=o;if(o.notes.length===0||!o.notes[0]||!o.notes[0].sourceNote.PrintObject){if(a.vfGhostNotes)for(const l of a.vfGhostNotes)this.vfVoices[r.VoiceId].addTickable(l);else this.vfVoices[r.VoiceId].addTickable(a.vfStaveNote);continue}if(o.parentVoiceEntry&&o.parentVoiceEntry.Arpeggio){const l=o.parentVoiceEntry.Arpeggio;if(o.notes&&o.notes.length>1){const c=VexFlowConverter.StrokeTypeFromArpeggioType(l.type),u=new VF$6.Stroke(c,{all_voices:this.rules.ArpeggiosGoAcrossVoices});this.rules.RenderArpeggios&&a.vfStaveNote.addStroke(0,u)}else loglevelExports.debug(`[OSMD] arpeggio in measure ${this.MeasureNumber} could not be drawn.
  65. voice entry had less than two notes, arpeggio is likely between voice entries, not currently supported in Vexflow.`)}if(a.vfGhostNotes)for(const l of a.vfGhostNotes)this.vfVoices[r.VoiceId].addTickable(l);else this.vfVoices[r.VoiceId].addTickable(a.vfStaveNote)}}}}class StaffLineActivitySymbol extends GraphicalObject{constructor(e){super(),this.parentStaffLine=e;const r=e.PositionAndShape;this.boundingBox=new BoundingBox$1(this,r),this.boundingBox.BorderRight=6,this.boundingBox.BorderBottom=4.5,this.boundingBox.BorderLeft=-1.5,this.boundingBox.BorderTop=-1.5}}class StaffLine extends GraphicalObject{constructor(e,r){super(),this.measures=[],this.staffLines=new Array(5),this.octaveShifts=[],this.lyricLines=[],this.lyricsDashes=[],this.abstractExpressions=[],this.graphicalSlurs=[],this.graphicalGlissandi=[],this.Pedals=[],this.WavyLines=[],this.parentMusicSystem=e,this.parentStaff=r,this.boundingBox=new BoundingBox$1(this,e.PositionAndShape),this.skyBottomLine=MusicSheetCalculator.symbolFactory.createSkyBottomLineCalculator(this),this.staffHeight=this.parentMusicSystem.rules.StaffHeight,this.topLineOffset=0,this.bottomLineOffset=4,this.calculateStaffLineOffsets()}calculateStaffLineOffsets(){if(this.ParentStaff.isTab)switch(this.ParentStaff.StafflineCount){case 5:this.staffHeight=this.bottomLineOffset=this.ParentStaff.ParentInstrument.GetMusicSheet.Rules.TabStaffInterlineHeight*6;break;default:this.staffHeight=this.bottomLineOffset=this.ParentStaff.ParentInstrument.GetMusicSheet.Rules.TabStaffInterlineHeight*this.ParentStaff.StafflineCount;break}else switch(this.ParentStaff.StafflineCount){case 4:this.bottomLineOffset=1;break;case 3:this.topLineOffset=1,this.bottomLineOffset=1;break;case 2:this.topLineOffset=2,this.bottomLineOffset=1;break;case 1:this.topLineOffset=2,this.bottomLineOffset=2;break}}get Measures(){return this.measures}set Measures(e){this.measures=e}get StaffLines(){return this.staffLines}set StaffLines(e){this.staffLines=e}get Index(){return this.parentMusicSystem.StaffLines.indexOf(this)}get NextStaffLine(){const e=this.Index;return e!==this.parentMusicSystem.StaffLines.length?this.parentMusicSystem.StaffLines[e+1]:void 0}get LyricLines(){return this.lyricLines}get AbstractExpressions(){return this.abstractExpressions}set AbstractExpressions(e){this.abstractExpressions=e}set LyricLines(e){this.lyricLines=e}get LyricsDashes(){return this.lyricsDashes}set LyricsDashes(e){this.lyricsDashes=e}get ParentMusicSystem(){return this.parentMusicSystem}set ParentMusicSystem(e){this.parentMusicSystem=e}get ParentStaff(){return this.parentStaff}set ParentStaff(e){this.parentStaff=e}get SkyBottomLineCalculator(){return this.skyBottomLine}get SkyLine(){return this.skyBottomLine.SkyLine}get BottomLine(){return this.skyBottomLine.BottomLine}get OctaveShifts(){return this.octaveShifts}set OctaveShifts(e){this.octaveShifts=e}get StaffHeight(){return this.staffHeight}get TopLineOffset(){return this.topLineOffset}get BottomLineOffset(){return this.bottomLineOffset}get GraphicalSlurs(){return this.graphicalSlurs}get GraphicalGlissandi(){return this.graphicalGlissandi}addSlurToStaffline(e){this.graphicalSlurs.push(e)}addGlissandoToStaffline(e){this.graphicalGlissandi.push(e),e.StaffLine=this}addActivitySymbolClickArea(){const e=new StaffLineActivitySymbol(this),r=this.PositionAndShape;e.PositionAndShape.RelativePosition=new PointF2D(r.RelativePosition.x+r.BorderRight+.5,r.RelativePosition.y+.5),e.PositionAndShape.Parent=this.parentMusicSystem.PositionAndShape}isPartOfMultiStaffInstrument(){return this.parentStaff.ParentInstrument.Staves.length>1}findClosestStaffEntry(e){let r;for(let s=0,o=this.Measures.length;s<o;++s){const a=this.Measures[s];for(let l=0,c=a.staffEntries.length;l<c;++l){const u=a.staffEntries[l];Math.abs(u.PositionAndShape.RelativePosition.x-e+a.PositionAndShape.RelativePosition.x)<10&&(r=u)}}return r}}class VexFlowContinuousDynamicExpression extends GraphicalContinuousDynamicExpression{constructor(e,r,s,o){if(super(e,r,s),this.IsVerbal){const a=new Label(e.Label);this.label=new GraphicalLabel(a,o||this.rules.ContinuousDynamicTextHeight,TextAlignmentEnum.LeftCenter,this.rules,this.PositionAndShape),this.label.Label.fontStyle=FontStyles.Italic,this.label.setLabelPositionAndShapeBorders(),this.PositionAndShape.calculateBoundingBox()}}}class AlignmentManager{constructor(e){this.parentStaffline=e,this.rules=this.parentStaffline.ParentMusicSystem.rules}alignDynamicExpressions(){var s,o,a,l;const e=[];let r=new Array;for(let c=0;c<this.parentStaffline.AbstractExpressions.length-1;c++){const u=this.parentStaffline.AbstractExpressions[c],d=this.parentStaffline.AbstractExpressions[c+1],g=(s=u==null?void 0:u.SourceExpression)==null?void 0:s.Placement,m=(o=d==null?void 0:d.SourceExpression)==null?void 0:o.Placement;if(g===m){const y=this.getDistance(u.PositionAndShape,d.PositionAndShape);Math.abs(y.x)<this.rules.DynamicExpressionMaxDistance?(r.indexOf(u)===-1&&r.push(u),r.push(d)):(e.push(r),r=new Array)}}e.push(r);for(const c of e)if(c.length>0){const u=c.map(y=>y.PositionAndShape.Center.y),d=Math.max(...u),g=((a=window.GYM)==null?void 0:a.noNeedContinuousDynamic)||!1,m=((l=window.GYM)==null?void 0:l.noNeedGraphicalContinuousDynamic)||!1;for(let y=0;y<c.length;y++){const b=c[y],A=u[y]-d;if(b instanceof VexFlowContinuousDynamicExpression?g||(b.shiftYPosition(-A),b.calcPsi()):(m||(b.PositionAndShape.RelativePosition.y-=A*.8),b.PositionAndShape.calculateBoundingBox()),!g&&b.squeeze){const S=y<c.length-1?c[y+1]:void 0,E=y>0?c[y-1]:void 0;if(S){const x=this.getOverlap(b.PositionAndShape,S.PositionAndShape);b.squeeze(-(x.x+this.rules.DynamicExpressionSpacer))}if(E){const x=this.getOverlap(E.PositionAndShape,b.PositionAndShape);b.squeeze(x.x+this.rules.DynamicExpressionSpacer)}}}}}getDistance(e,r){const s=e.RelativePosition.x+e.BorderMarginRight,o=r.RelativePosition.x+r.BorderMarginLeft,a=e.RelativePosition.y+e.BorderMarginBottom,l=r.RelativePosition.y+r.BorderMarginTop;return new PointF2D(o-s,l-a)}getOverlap(e,r){return new PointF2D(e.RelativePosition.x+e.BorderMarginRight-(r.RelativePosition.x+r.BorderMarginLeft),e.RelativePosition.y+e.BorderMarginBottom-(r.RelativePosition.y+r.BorderMarginTop))}}class VexFlowStaffLine extends StaffLine{constructor(e,r){super(e,r),this.slursInVFStaffLine=[],this.alignmentManager=new AlignmentManager(this)}get SlursInVFStaffLine(){return this.slursInVFStaffLine}addVFSlurToVFStaffline(e){this.slursInVFStaffLine.push(e)}get AlignmentManager(){return this.alignmentManager}}const VF$5=Vex.Flow;class VexFlowMultiRestMeasure extends VexFlowMeasure{constructor(e,r=void 0,s=void 0){super(e,r,s),this.minimumStaffEntriesWidth=-1,s?this.rules=s.ParentMusicSystem.rules:r&&(this.rules=r.Rules),this.resetLayout(),this.multiRestElement=new VF$5.MultiMeasureRest(r.multipleRestMeasures,{})}draw(e){var a,l,c,u,d;const r=e.openGroup();(a=r==null?void 0:r.classList)==null||a.add("vf-measure");const s=e.openGroup();(l=s==null?void 0:s.classList)==null||l.add("vf-stave"),s==null||s.setAttribute("id",(u=(c=this.stave)==null?void 0:c.attrs)==null?void 0:u.id),this.stave.setContext(e).draw(),e.closeGroup();const o=e.openGroup();(d=o==null?void 0:o.classList)==null||d.add("vf-voices"),this.multiRestElement.setStave(this.stave),this.multiRestElement.setContext(e),this.multiRestElement.draw(),e.closeGroup();for(const g of this.connectors)g.setContext(e).draw();return e.closeGroup(),r}format(){}getVoicesWithinMeasure(){return[]}getGraphicalVoiceEntriesPerVoice(e){return[]}getRestFilledVexFlowStaveNotesPerVoice(e){return[]}handleBeam(e,r){}handleTuplet(e,r){}finalizeBeams(){}finalizeTuplets(){}layoutStaffEntry(e){}graphicalMeasureCreatedCalculations(){}createArticulations(){}createOrnaments(){}createFingerings(e){}getVFStave(){return this.stave}}class SkyBottomLineCalculationResult{constructor(e,r){this.skyLine=e,this.bottomLine=r}}const VF$4=Vex.Flow;class CanvasVexFlowBackend extends VexFlowBackend{constructor(e){super(),this.rules=e}getVexflowBackendType(){return VF$4.Renderer.Backends.CANVAS}getOSMDBackendType(){return BackendType.Canvas}getCanvasSize(){var e;return(e=document.getElementById("osmdCanvasPage"+this.graphicalMusicPage.PageNumber))==null?void 0:e.offsetHeight}initialize(e,r){this.zoom=r,this.canvas=document.createElement("canvas"),this.graphicalMusicPage||(this.graphicalMusicPage=new GraphicalMusicPage(void 0),this.graphicalMusicPage.PageNumber=1),this.canvas.id="osmdCanvasVexFlowBackendCanvas"+this.graphicalMusicPage.PageNumber,this.inner=document.createElement("div"),this.inner.id="osmdCanvasPage"+this.graphicalMusicPage.PageNumber,this.inner.style.position="relative",this.canvas.style.zIndex="0",this.inner.appendChild(this.canvas),e.appendChild(this.inner),this.renderer=new VF$4.Renderer(this.canvas,this.getVexflowBackendType()),this.ctx=this.renderer.getContext()}initializeHeadless(e=300,r=300){this.graphicalMusicPage||(this.graphicalMusicPage=new GraphicalMusicPage(void 0),this.graphicalMusicPage.PageNumber=1),this.canvas=document.createElement("canvas"),this.canvas.width=e,this.canvas.height=r,this.renderer=new VF$4.Renderer(this.canvas,this.getVexflowBackendType()),this.ctx=this.renderer.getContext()}getContext(){return this.ctx}free(){this.canvas&&(this.canvas.width=0,this.canvas.height=0,this.canvas.remove(),delete this.canvas,this.canvas=null)}clear(){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),this.rules.PageBackgroundColor&&(this.ctx.save(),this.ctx.setFillStyle(this.rules.PageBackgroundColor),this.zoom=1,this.ctx.fillRect(0,0,this.canvas.width/this.zoom,this.canvas.height/this.zoom),this.ctx.restore())}scale(e){this.ctx.scale(e,e)}translate(e,r){this.CanvasRenderingCtx.translate(e,r)}renderText(e,r,s,o,a,l,c=void 0,u=void 0){const d=this.CanvasRenderingCtx.font;this.CanvasRenderingCtx.save(),this.CanvasRenderingCtx.font=VexFlowConverter.font(e,r,s,this.rules,u),this.CanvasRenderingCtx.fillStyle=c,this.CanvasRenderingCtx.strokeStyle=c,this.CanvasRenderingCtx.fillText(o,l.x,l.y+a),this.CanvasRenderingCtx.restore(),this.CanvasRenderingCtx.font=d}renderRectangle(e,r,s,o=1){const a=this.CanvasRenderingCtx.fillStyle;s?this.CanvasRenderingCtx.fillStyle=s:this.CanvasRenderingCtx.fillStyle=VexFlowConverter.style(r),this.CanvasRenderingCtx.globalAlpha=o,this.ctx.fillRect(e.x,e.y,e.width,e.height),this.CanvasRenderingCtx.fillStyle=a,this.CanvasRenderingCtx.globalAlpha=1}renderLine(e,r,s="#FF0000FF",o=2,a){const l=this.CanvasRenderingCtx.strokeStyle;this.CanvasRenderingCtx.strokeStyle=s,this.CanvasRenderingCtx.beginPath(),this.CanvasRenderingCtx.moveTo(e.x,e.y),this.CanvasRenderingCtx.lineTo(r.x,r.y),this.CanvasRenderingCtx.stroke(),this.CanvasRenderingCtx.strokeStyle=l}renderCurve(e){this.ctx.beginPath(),this.ctx.moveTo(e[0].x,e[0].y),this.ctx.bezierCurveTo(e[1].x,e[1].y,e[2].x,e[2].y,e[3].x,e[3].y),this.ctx.lineTo(e[7].x,e[7].y),this.ctx.bezierCurveTo(e[6].x,e[6].y,e[5].x,e[5].y,e[4].x,e[4].y),this.ctx.lineTo(e[0].x,e[0].y),this.ctx.closePath(),this.ctx.fill()}renderPath(e,r=!0,s){this.ctx.beginPath();let o;for(const a of e){if(!o){this.ctx.moveTo(a.x,a.y),o=a;continue}this.ctx.lineTo(a.x,a.y)}this.ctx.closePath(),r?this.ctx.fill():this.ctx.stroke()}get CanvasRenderingCtx(){return this.ctx.vexFlowCanvasContext}}class SkyBottomLineCalculator{constructor(e){this.mStaffLineParent=e,this.mRules=e.ParentMusicSystem.rules}updateLines(e){const r=this.StaffLineParent.Measures;if(e.length!==r.length)if(loglevelExports.warn("SkyBottomLineCalculator: lengths of calculation result array and measure array do not match"),e.length<r.length)for(;e.length<r.length;)e.push(new SkyBottomLineCalculationResult([],[]));else e=e.slice(0,r.length);const s=Math.max(Math.ceil(this.StaffLineParent.PositionAndShape.Size.width*this.SamplingUnit),1);this.mSkyLine=[],this.mBottomLine=[];for(const{skyLine:d,bottomLine:g}of e)this.mSkyLine.push(...d),this.mBottomLine.push(...g);const o=this.mSkyLine.length/s,a=[],l=[];for(let d=0;d<this.mSkyLine.length&&a.length!==s;d+=o){const g=Math.min(this.mSkyLine.length,d+o);let m=this.mSkyLine.slice(d,g+1);a.push(Math.min(...m)),m=this.mBottomLine.slice(d,g+1),l.push(Math.max(...m))}this.mSkyLine=a,this.mBottomLine=l,this.mSkyLine.length!==s&&loglevelExports.debug(`SkyLine calculation was not correct (${this.mSkyLine.length} instead of ${s})`);const c=Math.max(...this.mSkyLine);this.mSkyLine=this.mSkyLine.map(d=>(d-c)/unitInPixels+this.StaffLineParent.TopLineOffset);const u=Math.min(...this.mBottomLine);this.mBottomLine=this.mBottomLine.map(d=>(d-u)/unitInPixels+this.StaffLineParent.BottomLineOffset)}calculateLines(){const e=Math.max(Math.ceil(this.StaffLineParent.PositionAndShape.Size.width*this.SamplingUnit),1);this.mSkyLine=[],this.mBottomLine=[];const r=new CanvasVexFlowBackend(this.StaffLineParent.ParentMusicSystem.rules);for(const l of this.StaffLineParent.Measures){l.PositionAndShape.calculateAbsolutePositionsRecursive(0,0);const c=l.getVFStave();let u=c.getWidth();if(!(u>0)&&!l.IsExtraGraphicalMeasure&&(loglevelExports.warn("SkyBottomLineCalculator: width not > 0 in measure "+l.MeasureNumber),u=50),!(u>=50)&&l.IsExtraGraphicalMeasure)continue;r.initializeHeadless(u);const d=r.getContext(),g=r.getCanvas();u=g.width;const m=g.height;this.mRules.DYMusicScoreType==="jianpu"||c.setY(c.y+100);const y=c.getWidth();c.setWidth(u),l.format(),c.setWidth(y);try{l.draw(d)}catch(P){loglevelExports.warn("SkyBottomLineCalculator.calculateLines.draw",P)}const b=d.getImageData(0,0,u,m),A=4,S=Math.max(Math.ceil(l.PositionAndShape.Size.width*this.mRules.SamplingUnit),1),E=new Array(S),x=new Array(S);for(let P=0;P<u;P++){for(let C=0;C<m;C++){const k=C*u*A+P*A;if(b.data[k+3]>0){E[P]=C;break}}for(let C=m;C>0;C--){const k=C*u*A+P*A;if(b.data[k+3]>0){x[P]=C;break}}}for(let P=0;P<E.length;P++)E[P]===void 0&&(E[P]=Math.max(this.findPreviousValidNumber(P,E),this.findNextValidNumber(P,E)));for(let P=0;P<x.length;P++)x[P]===void 0&&(x[P]=Math.max(this.findPreviousValidNumber(P,x),this.findNextValidNumber(P,x)));this.mSkyLine.push(...E),this.mBottomLine.push(...x),r.clear()}const s=this.mSkyLine.length/e,o=[],a=[];for(let l=0;l<this.mSkyLine.length&&o.length!==e;l+=s){const c=Math.min(this.mSkyLine.length,l+s);let u=this.mSkyLine.slice(l,c+1);o.push(Math.min(...u)),u=this.mBottomLine.slice(l,c+1),a.push(Math.max(...u))}this.mSkyLine=o,this.mBottomLine=a,this.mSkyLine.length!==e&&loglevelExports.debug(`SkyLine calculation was not correct (${this.mSkyLine.length} instead of ${e})`),this.mSkyLine=this.mSkyLine.map(l=>(l-Math.max(...this.mSkyLine))/unitInPixels+this.StaffLineParent.TopLineOffset),this.mBottomLine=this.mBottomLine.map(l=>(l-Math.min(...this.mBottomLine))/unitInPixels+this.StaffLineParent.BottomLineOffset)}updateSkyLineWithLine(e,r,s){const o=Math.floor(e.x*this.SamplingUnit),a=Math.ceil(r.x*this.SamplingUnit);for(let l=o+1;l<Math.min(a,this.SkyLine.length);l++)this.SkyLine[l]=s}updateSkyLineWithWedge(e,r){let s=Math.floor(e.x*this.SamplingUnit),o=Math.ceil(r.x*this.SamplingUnit),a=(r.y-e.y)/(r.x-e.x);o-s<=1&&(o++,a=0),s<0&&(s=0),s>=this.BottomLine.length&&(s=this.BottomLine.length-1),o<0&&(o=0),o>=this.BottomLine.length&&(o=this.BottomLine.length),this.SkyLine[s]=e.y;for(let l=s+1;l<Math.min(o,this.SkyLine.length);l++)this.SkyLine[l]=this.SkyLine[l-1]+a/this.SamplingUnit}updateBottomLineWithWedge(e,r){let s=Math.floor(e.x*this.SamplingUnit),o=Math.ceil(r.x*this.SamplingUnit),a=(r.y-e.y)/(r.x-e.x);o-s<=1&&(o++,a=0),s<0&&(s=0),s>=this.BottomLine.length&&(s=this.BottomLine.length-1),o<0&&(o=0),o>=this.BottomLine.length&&(o=this.BottomLine.length),this.BottomLine[s]=e.y;for(let l=s+1;l<o;l++)this.BottomLine[l]=this.BottomLine[l-1]+a/this.SamplingUnit}updateSkyLineInRange(e,r,s){this.updateInRange(this.mSkyLine,e,r,s)}updateBottomLineInRange(e,r,s){this.updateInRange(this.BottomLine,e,r,s)}resetSkyLineInRange(e,r){this.updateInRange(this.SkyLine,e,r)}resetBottomLineInRange(e,r){this.setInRange(this.BottomLine,e,r)}setSkyLineWithValue(e){this.SkyLine.forEach(r=>e)}setBottomLineWithValue(e){this.BottomLine.forEach(r=>e)}getLeftIndexForPointX(e,r){const s=Math.floor(e*this.SamplingUnit);return s<0?0:s>=r?r-1:s}getRightIndexForPointX(e,r){const s=Math.ceil(e*this.SamplingUnit);return s<0?0:s>=r?r-1:s}updateStaffLineBorders(){this.mStaffLineParent.PositionAndShape.BorderTop=this.getSkyLineMin(),this.mStaffLineParent.PositionAndShape.BorderMarginTop=this.getSkyLineMin(),this.mStaffLineParent.PositionAndShape.BorderBottom=this.getBottomLineMax(),this.mStaffLineParent.PositionAndShape.BorderMarginBottom=this.getBottomLineMax()}getSkyLineMin(){return Math.min(...this.SkyLine.filter(e=>!isNaN(e)))}getSkyLineMinAtPoint(e){const r=Math.round(e*this.SamplingUnit);return this.mSkyLine[r]}getSkyLineMinInRange(e,r){return this.getMinInRange(this.SkyLine,e,r)}getBottomLineMax(){return Math.max(...this.BottomLine.filter(e=>!isNaN(e)))}getBottomLineMaxAtPoint(e){const r=Math.round(e*this.SamplingUnit);return this.mBottomLine[r]}getBottomLineMaxInRange(e,r){return this.getMaxInRange(this.BottomLine,e,r)}getBottomLineMaxInBoundingBox(e){const r=Math.floor(e.AbsolutePosition.x+e.BorderLeft),s=Math.ceil(e.AbsolutePosition.x+e.BorderRight);return this.getMaxInRange(this.mBottomLine,r,s)}updateWithBoundingBoxRecursively(e){if(e.ChildElements&&e.ChildElements.length>0)for(const r of e.ChildElements)this.updateWithBoundingBoxRecursively(r);else{const r=e.BorderTop+e.AbsolutePosition.y,s=e.BorderBottom+e.AbsolutePosition.y;if(r<0){const o=Math.floor(e.AbsolutePosition.x+e.BorderLeft),a=Math.ceil(e.AbsolutePosition.x+e.BorderRight);this.updateInRange(this.mSkyLine,o,a,r)}else if(s>this.StaffLineParent.StaffHeight){const o=Math.floor(e.AbsolutePosition.x+e.BorderLeft),a=Math.ceil(e.AbsolutePosition.x+e.BorderRight);this.updateInRange(this.mBottomLine,o,a,s)}}}findPreviousValidNumber(e,r){for(let s=e;s>=0;s--)if(!isNaN(r[s]))return r[s];return 0}findNextValidNumber(e,r){if(e>=r.length)return r[e-1];for(let s=e;s<r.length;s++)if(!isNaN(r[s]))return r[s];return 0}drawPixel(e,r,s="#FF0000FF"){const o=r.getContext(),a=o.fillStyle;o.fillStyle=s,o.fillRect(e.x,e.y,2,2),o.fillStyle=a}updateInRange(e,r=0,s=e.length,o=0){if(r=Math.floor(r*this.SamplingUnit),s=Math.ceil(s*this.SamplingUnit),s<r)throw new Error("start index of line is greater than the end index");r<0&&(r=0),s>e.length&&(s=e.length);for(let a=r;a<s;a++)e[a]=Math.abs(o)>Math.abs(e[a])?o:e[a]}setInRange(e,r=0,s=e.length,o=0){if(r=Math.floor(r*this.SamplingUnit),s=Math.ceil(s*this.SamplingUnit),s<r)throw new Error("start index of line is greater then the end index");r<0&&(r=0),s>e.length&&(s=e.length);for(let a=r;a<s;a++)e[a]=o}getMinInRange(e,r,s){if(r=Math.floor(r*this.SamplingUnit),s=Math.ceil(s*this.SamplingUnit),!e)return Number.MAX_VALUE;if(r<0&&(r=0),r>=e.length&&(r=e.length-1),s<0&&(s=0),s>=e.length&&(s=e.length),r>=0&&s<=e.length)return Math.min(...e.slice(r,s+1))}getMaxInRange(e,r,s){if(r=Math.floor(r*this.SamplingUnit),s=Math.ceil(s*this.SamplingUnit),!e)return Number.MIN_VALUE;if(r<0&&(r=0),r>=e.length&&(r=e.length-1),s<0&&(s=0),s>=e.length&&(s=e.length),r>=0&&s<=e.length)return Math.max(...e.slice(r,s+1))}get SamplingUnit(){return this.mRules.SamplingUnit}get StaffLineParent(){return this.mStaffLineParent}get SkyLine(){return this.mSkyLine}get BottomLine(){return this.mBottomLine}}var parserExports$1={},parser$2={get exports(){return parserExports$1},set exports(i){parserExports$1=i}};/*!
  66. * d-path-parser - v1.0.0
  67. * by Massimo Artizzu (MaxArt2501)
  68. *
  69. * https://github.com/MaxArt2501/d-path-parser
  70. *
  71. * Licensed under the MIT License
  72. * See LICENSE for details
  73. */(function(i,e){(function(r,s){i.exports=s()})(commonjsGlobal,function(){return function(s){for(var o={command:/\s*([achlmqstvz])/gi,number:/\s*([+-]?\d*\.?\d+(?:e[+-]?\d+)?)/gi,comma:/\s*(?:(,)|\s)/g,flag:/\s*([01])/g},a={number:function(S){return+b("number",S)},"coordinate pair":function(S){var E=b("number",S);if(E===null&&!S)return null;b("comma");var x=b("number",!0);return{x:+E,y:+x}},"arc definition":function(S){var E=a["coordinate pair"](S);if(!E&&!S)return null;b("comma");var x=+b("number",!0);b("comma",!0);var P=!!+b("flag",!0);b("comma");var C=!!+b("flag",!0);b("comma");var T=a["coordinate pair"](!0);return{radii:E,rotation:x,large:P,clockwise:C,end:T}}},l=0,c=[];l<s.length;){var u=b("command"),d=u.toUpperCase(),g=u!==d,m;switch(d){case"M":m=A("coordinate pair").map(function(S,E){return E===1&&(u=g?"l":"L"),y({end:S})});break;case"L":case"T":m=A("coordinate pair").map(function(S){return y({end:S})});break;case"C":if(m=A("coordinate pair"),m.length%3)throw Error("Expected coordinate pair triplet at position "+l);m=m.reduce(function(S,E,x){var P=x%3;if(!P)S.push(y({cp1:E}));else{var C=S[S.length-1];C[P===1?"cp2":"end"]=E}return S},[]);break;case"Q":case"S":if(m=A("coordinate pair"),m.length&1)throw Error("Expected coordinate pair couple at position "+l);m=m.reduce(function(S,E,x){var P=x&1;if(!P)S.push(y({cp:E}));else{var C=S[S.length-1];C.end=E}return S},[]);break;case"H":case"V":m=A("number").map(function(S){return y({value:S})});break;case"A":m=A("arc definition").map(y);break;case"Z":m=[{code:"Z"}];break}c.push.apply(c,m)}return c;function y(S){return S.code=u,S.relative=g,S}function b(S,E){o[S].lastIndex=l;var x=o[S].exec(s);if(!x||x.index!==l){if(!E)return null;throw Error("Expected "+S+" at position "+l)}return l=o[S].lastIndex,x[1]}function A(S){for(var E=[],x,P=!0;x=a[S](P);)E.push(x),P=!!b("comma");return E}}})})(parser$2);class SkyBottomLineCalculatorSVG extends SkyBottomLineCalculator{recursiveUpdate(e,r,s,o){const a=e.getBBox(),l=a.y/unitInPixels,c=a.height/unitInPixels+l,[u,d]=o;if(l<r.top||c>r.bottom)switch(e.tagName.toLowerCase()){case"g":for(const y of e.children)this.recursiveUpdate(y,r,s,o);break;case"circle":case"rect":case"line":case"path":let g=Math.floor((a.x-s.x)/unitInPixels*this.mRules.SamplingUnit);const m=g+Math.ceil(a.width/unitInPixels*this.mRules.SamplingUnit);if(e.parentElement.classList.contains("vf-beams")&&e.hasAttribute("d")){const y=parserExports$1(e.getAttribute("d"));if(y.length===5){const b=y[0],A=y[3],S=(A.end.y-b.end.y)/(A.end.x-b.end.x);let E=b.end.y/unitInPixels;for(g;g<=m;g++)E<u[g]&&(u[g]=E),E>d[g]&&(d[g]=E),E+=S/this.mRules.SamplingUnit}}else for(g;g<=m;g++)l<u[g]&&(u[g]=l),c>d[g]&&(d[g]=c);break}}calculateLinesForMeasure(e,r){var I,M,R;const s=r.getBBox(),o=Math.max(Math.round(e.PositionAndShape.Size.width*this.mRules.SamplingUnit),1),a=s.height/unitInPixels,c=r.getElementsByClassName("vf-stave")[0].getBBox();let u=(c==null?void 0:c.height)/unitInPixels,d=(c==null?void 0:c.y)/unitInPixels;const g=e.getVFStave();let m=((I=g.options)!=null&&I.num_lines?g.options.num_lines:5)-1,y=-1,b=0;const A=[m];for(const B of(M=g.options)==null?void 0:M.line_config)B.visible?(y===-1&&(y=b),A.push(b)):m--,b++;const S=A.pop();y===-1&&(y=0),m=S-y;const E=(R=g.options)==null?void 0:R.spacing_between_lines_px,x=m*E/unitInPixels;u-x>.2&&(u=x,d=y*E/unitInPixels);const P=d+u,C=new Array(o).fill(d),T=new Array(o).fill(P),k=[C,T];if(a>u)for(const B of r.children)this.recursiveUpdate(B,{top:d,bottom:P},s,[C,T]);return k}calculateLines(){this.mSkyLine=[],this.mBottomLine=[];const e=document.createElement("div");document.body.append(e);const r=new SvgVexFlowBackend(this.mRules);r.initialize(e,1,"0");const s=r.getContext(),o=s.openGroup();o.classList.add("staffline");for(const a of this.StaffLineParent.Measures){a.PositionAndShape.calculateAbsolutePositionsRecursive(0,0),a.setAbsoluteCoordinates(a.PositionAndShape.AbsolutePosition.x*unitInPixels,a.PositionAndShape.AbsolutePosition.y*unitInPixels);const l=a.draw(s),[c,u]=this.calculateLinesForMeasure(a,l);this.mSkyLine.push(...c),this.mBottomLine.push(...u)}s.closeGroup();for(const a of o.getElementsByClassName("vf-ties"))for(const l of a.childNodes)if(l.nodeName.toLowerCase()==="path"){const c=l.getBBox();let u=Math.floor(c.x/unitInPixels*this.mRules.SamplingUnit);const d=u+Math.ceil(c.width/unitInPixels*this.mRules.SamplingUnit),g=c.y/unitInPixels,m=c.height/unitInPixels+g;for(u;u<=d;u++)g<this.mSkyLine[u]&&(this.mSkyLine[u]=g),m>this.mBottomLine[u]&&(this.mBottomLine[u]=m)}r.clear(),e.remove()}}const VF$3=Vex.Flow;class VexFlowGraphicalSymbolFactory{constructor(){this.hasBBox=!1,document.createElementNS("http://www.w3.org/2000/svg","g").getBBox!==void 0&&(this.hasBBox=!0)}createMusicSystem(e,r){return new VexFlowMusicSystem(e,r)}createStaffLine(e,r){return new VexFlowStaffLine(e,r)}createSkyBottomLineCalculator(e){return e.ParentMusicSystem.rules.PerformanceMode&&this.hasBBox?new SkyBottomLineCalculatorSVG(e):new SkyBottomLineCalculator(e)}createGraphicalMeasure(e,r,s=!1){return new VexFlowMeasure(r,e,void 0)}createMultiRestMeasure(e,r,s){return new VexFlowMultiRestMeasure(r,e,s)}createTabStaffMeasure(e,r){return new VexFlowTabMeasure(r,e)}createExtraGraphicalMeasure(e){const r=new VexFlowMeasure(e.ParentStaff,void 0,e);return r.IsExtraGraphicalMeasure=!0,r.ExtraGraphicalMeasurePreviousMeasure=e.Measures.last(),r}createStaffEntry(e,r){return new VexFlowStaffEntry(r,e,void 0)}createVoiceEntry(e,r){return new VexFlowVoiceEntry(e,r)}createNote(e,r,s,o=OctaveEnum.NONE,a,l=void 0){return new VexFlowGraphicalNote(e,r,s,o,a,l)}createGraceNote(e,r,s,o,a=OctaveEnum.NONE){return new VexFlowGraphicalNote(e,r,s,a,o)}addGraphicalAccidental(e,r){e.setAccidental(r)}addFermataAtTiedEndNote(e,r){}createInStaffClef(e,r){const s=e,o=VexFlowConverter.Clef(r,"small");s.vfClefBefore=new VF$3.ClefNote(o.type,o.size,o.annotation)}createChordSymbols(e,r,s,o){const a=r.parentMeasure.parentSourceMeasure.Rules;let l=0;const c=a.ChordSymbolXSpacing;for(const u of e.ChordContainers){let d=r.PositionAndShape;r.graphicalVoiceEntries.length===1&&r.graphicalVoiceEntries[0].notes.length===1&&r.graphicalVoiceEntries[0].notes[0].sourceNote.isWholeRest()&&(d=r.parentMeasure.PositionAndShape,l+=r.parentMeasure.beginInstructionsWidth,l+=a.ChordSymbolWholeMeasureRestXOffset);const g=new GraphicalChordSymbolContainer(u,d,a.ChordSymbolTextHeight,s,o,r.parentMeasure.parentSourceMeasure.Rules),m=g.GraphicalLabel;m.PositionAndShape.RelativePosition.y-=a.ChordSymbolYOffset,m.setLabelPositionAndShapeBorders();let y=0;m.PositionAndShape.Size.width<a.ChordSymbolExtraXShiftWidthThreshold&&(y=a.ChordSymbolExtraXShiftForShortChordSymbols),m.PositionAndShape.RelativePosition.x+=l+y,m.setLabelPositionAndShapeBorders(),g.PositionAndShape.calculateBoundingBox(),r.graphicalChordContainers.push(g),l+=m.PositionAndShape.Size.width+c}}createGraphicalTechnicalInstruction(e,r){}}class GraphicalTie{constructor(e,r=void 0,s=void 0){this.tie=e,this.startNote=r,this.endNote=s}get SVGElement(){return this.vfTie.getAttribute("el")}get GetTie(){return this.tie}get StartNote(){return this.startNote}get Tie(){return this.tie}set StartNote(e){this.startNote=e}get EndNote(){return this.endNote}set EndNote(e){this.endNote=e}}class GraphicalLyricEntry{constructor(e,r,s,o){var u,d;this.lyricsEntry=e,this.graphicalStaffEntry=r;const a=r.parentMeasure.parentSourceMeasure.Rules.LyricsAlignmentStandard;e.Text.length>=4&&e.Parent.Notes[0].Length.Denominator>4&&TextAlignmentEnum.LeftBottom;const l=new Label(e.Text);l.isLyricText=!0,l.lyricExtendNoteId=(d=(u=e==null?void 0:e.Parent)==null?void 0:u.Notes[0])==null?void 0:d.NoteToGraphicalNoteObjectId;const c=this.graphicalStaffEntry.parentMeasure.parentSourceMeasure.Rules;this.graphicalLabel=new GraphicalLabel(l,s,a,c,r.PositionAndShape),this.graphicalLabel.Label.colorDefault=c.DefaultColorLyrics,this.graphicalLabel.PositionAndShape.RelativePosition=new PointF2D(0,o),this.graphicalLabel.setLabelPositionAndShapeBorders(),this.graphicalLabel.PositionAndShape.Size.width<c.LyricsExtraXShiftForShortLyricsWidthThreshold&&(this.graphicalLabel.PositionAndShape.RelativePosition.x+=c.LyricsExtraXShiftForShortLyrics,this.graphicalLabel.CenteringXShift=c.LyricsExtraXShiftForShortLyrics),a===TextAlignmentEnum.LeftBottom&&(this.graphicalLabel.PositionAndShape.RelativePosition.x-=1)}hasDashFromLyricWord(){if(!this.ParentLyricWord)return!1;const e=this.ParentLyricWord.GraphicalLyricsEntries.indexOf(this);return this.ParentLyricWord.GraphicalLyricsEntries.length>1&&e<this.ParentLyricWord.GraphicalLyricsEntries.length-1}get LyricsEntry(){return this.lyricsEntry}get ParentLyricWord(){return this.graphicalLyricWord}set ParentLyricWord(e){this.graphicalLyricWord=e}get GraphicalLabel(){return this.graphicalLabel}set GraphicalLabel(e){this.graphicalLabel=e}get StaffEntryParent(){return this.graphicalStaffEntry}set StaffEntryParent(e){this.graphicalStaffEntry=e}}class GraphicalLyricWord{constructor(e){this.graphicalLyricsEntries=[],this.lyricWord=e,this.initialize()}get GetLyricWord(){return this.lyricWord}get GraphicalLyricsEntries(){return this.graphicalLyricsEntries}set GraphicalLyricsEntries(e){this.graphicalLyricsEntries=e}isFilled(){for(let e=0;e<this.graphicalLyricsEntries.length;e++)if(!this.graphicalLyricsEntries[e])return!1;return!0}initialize(){for(let e=0;e<this.lyricWord.Syllables.length;e++)this.graphicalLyricsEntries.push(void 0)}}class GraphicalOctaveShift extends GraphicalObject{constructor(e,r){super(),this.getOctaveShift=e,this.setSymbol(),this.PositionAndShape=new BoundingBox$1(this,r)}setSymbol(){switch(this.getOctaveShift.Type){case OctaveEnum.VA8:this.octaveSymbol=MusicSymbol.VA8;break;case OctaveEnum.VB8:this.octaveSymbol=MusicSymbol.VB8;break;case OctaveEnum.MA15:this.octaveSymbol=MusicSymbol.MA15;break;case OctaveEnum.MB15:this.octaveSymbol=MusicSymbol.MB15;break;default:throw new ArgumentOutOfRangeException("")}}}const VF$2=Vex.Flow;class VexFlowOctaveShift extends GraphicalOctaveShift{constructor(e,r){switch(super(e,r),e.Type){case OctaveEnum.VA8:this.position=VF$2.TextBracket.Positions.TOP,this.supscript="va",this.text="8";break;case OctaveEnum.MA15:this.position=VF$2.TextBracket.Positions.TOP,this.supscript="ma",this.text="15";break;case OctaveEnum.VB8:this.position=VF$2.TextBracket.Positions.BOTTOM,this.supscript="vb",this.text="8";break;case OctaveEnum.MB15:this.position=VF$2.TextBracket.Positions.BOTTOM,this.supscript="mb",this.text="15";break;default:loglevelExports.error("Unknown or NONE octaveshift. This should not be called!");break}}setStartNote(e){for(const r of e.graphicalVoiceEntries){const s=r;if(s!=null&&s.vfStaveNote)return this.startNote=s.vfStaveNote,!0}return!1}setEndNote(e){var r;for(const s of e.graphicalVoiceEntries){const o=s;if(o!=null&&o.vfStaveNote)return this.endNote=o.vfStaveNote,this.endMeasure=e.parentMeasure,(r=this.endMeasure)!=null&&r.parentSourceMeasure.Rules.OctaveShiftOnWholeMeasureNoteUntilEndOfMeasure&&o.notes[0].sourceNote.isWholeMeasureNote()&&(this.graphicalEndAtMeasureEnd=!0),!0}return!1}getTextBracket(){let e=this.endNote,r;const s=this;this.graphicalEndAtMeasureEnd&&(r={getAbsoluteX(){return(s.endMeasure.PositionAndShape.AbsolutePosition.x+s.endMeasure.PositionAndShape.Size.width)*10},getGlyph(){return{getWidth(){return 0}}}}),r&&(e=r);const o=new VF$2.TextBracket({position:this.position,start:this.startNote,stop:e,superscript:this.supscript,text:this.text});return this.endsOnDifferentStaffLine&&(o.render_options.show_bracket=!1),o}}class VexFlowInstantaneousDynamicExpression extends GraphicalInstantaneousDynamicExpression{constructor(e,r,s){super(e,r,s);const o=new Label(this.Expression);this.label=new GraphicalLabel(o,this.rules.ContinuousDynamicTextHeight,TextAlignmentEnum.CenterCenter,this.rules,this.PositionAndShape),this.label.Label.fontStyle=FontStyles.BoldItalic,this.label.setLabelPositionAndShapeBorders(),this.PositionAndShape.calculateBoundingBox()}get InstantaneousDynamic(){return this.mInstantaneousDynamicExpression}get Expression(){return DynamicEnum[this.mInstantaneousDynamicExpression.DynEnum]}}const _GraphicalCurve=class{constructor(){_GraphicalCurve.tPow3=new Array(_GraphicalCurve.bezierCurveStepSize),_GraphicalCurve.oneMinusTPow3=new Array(_GraphicalCurve.bezierCurveStepSize),_GraphicalCurve.bezierFactorOne=new Array(_GraphicalCurve.bezierCurveStepSize),_GraphicalCurve.bezierFactorTwo=new Array(_GraphicalCurve.bezierCurveStepSize);for(let i=0;i<_GraphicalCurve.bezierCurveStepSize;i++){const e=i/_GraphicalCurve.bezierCurveStepSize;_GraphicalCurve.tPow3[i]=Math.pow(e,3),_GraphicalCurve.oneMinusTPow3[i]=Math.pow(1-e,3),_GraphicalCurve.bezierFactorOne[i]=3*Math.pow(1-e,2)*e,_GraphicalCurve.bezierFactorTwo[i]=3*(1-e)*Math.pow(e,2)}}calculateCurvePointAtIndex(i){const e=Math.round(i*_GraphicalCurve.bezierCurveStepSize);return e<0||e>=_GraphicalCurve.bezierCurveStepSize?new PointF2D:new PointF2D(_GraphicalCurve.oneMinusTPow3[e]*this.bezierStartPt.x+_GraphicalCurve.bezierFactorOne[e]*this.bezierStartControlPt.x+_GraphicalCurve.bezierFactorTwo[e]*this.bezierEndControlPt.x+_GraphicalCurve.tPow3[e]*this.bezierEndPt.x,_GraphicalCurve.oneMinusTPow3[e]*this.bezierStartPt.y+_GraphicalCurve.bezierFactorOne[e]*this.bezierStartControlPt.y+_GraphicalCurve.bezierFactorTwo[e]*this.bezierEndControlPt.y+_GraphicalCurve.tPow3[e]*this.bezierEndPt.y)}};let GraphicalCurve=_GraphicalCurve;GraphicalCurve.bezierCurveStepSize=1e3;const VF$1=Vex.Flow,_GraphicalSlur=class extends GraphicalCurve{constructor(i,e){super(),this.staffEntries=[],this.slur=i,this.rules=e}static Compare(i,e){if(i.staffEntries.length<1)return-1;if(e.staffEntries.length<1)return 1;const r=Fraction$1.minus(i.staffEntries[i.staffEntries.length-1].getAbsoluteTimestamp(),i.staffEntries[0].getAbsoluteTimestamp()),s=Fraction$1.minus(e.staffEntries[e.staffEntries.length-1].getAbsoluteTimestamp(),e.staffEntries[0].getAbsoluteTimestamp());return r.RealValue>s.RealValue?1:s.RealValue>r.RealValue?-1:0}calculateCurve(i){const e=this.staffEntries[0],r=this.staffEntries[this.staffEntries.length-1];let s=e.findGraphicalNoteFromNote(this.slur.StartNote);!s&&this.graceStart&&(s=e.findGraphicalNoteFromGraceNote(this.slur.StartNote)),s||(s=e.findEndTieGraphicalNoteFromNoteWithStartingSlur(this.slur.StartNote,this.slur));let o=r.findGraphicalNoteFromNote(this.slur.EndNote);!o&&this.graceEnd&&(o=r.findGraphicalNoteFromGraceNote(this.slur.EndNote));const a=e.parentMeasure.ParentStaffLine,l=a.SkyBottomLineCalculator;this.calculatePlacement(l,a);const c=this.calculateStartAndEnd(s,o,a,i,l),u=c.startX,d=c.endX;let g=c.startY,m=c.endY;const y=i.SlurTangentMinAngle,b=i.SlurTangentMaxAngle;let A;if(this.placement===PlacementEnum.Above){g-=i.SlurNoteHeadYOffset,m-=i.SlurNoteHeadYOffset;const S=new PointF2D(this.staffEntries[0].parentMeasure.PositionAndShape.RelativePosition.x+this.staffEntries[0].PositionAndShape.RelativePosition.x,g);s?S.x+=this.staffEntries[0].PositionAndShape.BorderRight:S.x=this.staffEntries[0].parentMeasure.beginInstructionsWidth,this.graceStart&&(S.x+=r.PositionAndShape.RelativePosition.x);const E=new PointF2D(this.staffEntries[this.staffEntries.length-1].parentMeasure.PositionAndShape.RelativePosition.x+this.staffEntries[this.staffEntries.length-1].PositionAndShape.RelativePosition.x,m);if(o?E.x+=this.staffEntries[this.staffEntries.length-1].PositionAndShape.BorderLeft:E.x=this.staffEntries[this.staffEntries.length-1].parentMeasure.PositionAndShape.RelativePosition.x+this.staffEntries[this.staffEntries.length-1].parentMeasure.PositionAndShape.Size.width,this.graceEnd&&(E.x+=r.staffEntryParent.PositionAndShape.RelativePosition.x),A=this.calculateTopPoints(S,E,a,l),A.length===0){const J=new PointF2D((E.x-S.x)/2+S.x,(E.y-S.y)/2+S.y);A.push(J)}const x=Math.atan((m-g)/(d-u)),P=new PointF2D(0,0);let C=new PointF2D(d-u,-(m-g));const T=Matrix2D.getRotationMatrix(x),k=T.getTransposeMatrix();C=T.vectorMultiplication(C);const I=this.calculateTranslatedAndRotatedPointListAbove(A,u,g,T),M=this.calculateMaxLeftSlope(I,P,C),R=this.calculateMaxRightSlope(I,P,C),B=P.y-P.x*M,_=C.y-C.x*R,V=new PointF2D;let D=!1;Math.abs(Math.abs(M)-Math.abs(R))<1e-4?(V.x=C.x/2,V.y=0,D=!0):(V.x=(_-B)/(M-R),V.y=M*V.x+B);const F=this.calculateHeightWidthRatio(C.x,I),N=0,K=0;let G=y,q=-y;if(!D){const J=this.calculateAngles(y,M,R,b);G=J.startAngle,q=J.endAngle}const O=this.calculateControlPoints(C.x,G,q,I,F,g,m);let U=O.startControlPoint,$=O.endControlPoint;U=k.vectorMultiplication(U),U.x+=u,U.y=-U.y+g,$=k.vectorMultiplication($),$.x+=u,$.y=-$.y+g,this.bezierStartPt=new PointF2D(u,g-N),this.bezierStartControlPt=new PointF2D(U.x,U.y-N),this.bezierEndControlPt=new PointF2D($.x,$.y-K),this.bezierEndPt=new PointF2D(d,m-K);const Y=a.SkyLine.length,Q=l.getLeftIndexForPointX(this.bezierStartPt.x,Y),xe=l.getLeftIndexForPointX(this.bezierEndPt.x,Y),ue=this.bezierEndPt.x-this.bezierStartPt.x,W=l.SamplingUnit;for(let J=Q;J<xe;J++){const ce=J/W-this.bezierStartPt.x,ge=this.calculateCurvePointAtIndex(Math.abs(ce)/ue);let Ee=l.getLeftIndexForPointX(ge.x,Y);Ee>=Q&&(a.SkyLine[Ee]=Math.min(a.SkyLine[Ee],ge.y)),Ee++,Ee<Y&&(a.SkyLine[Ee]=Math.min(a.SkyLine[Ee],ge.y))}}else{g+=i.SlurNoteHeadYOffset,m+=i.SlurNoteHeadYOffset;const S=new PointF2D(this.staffEntries[0].parentMeasure.PositionAndShape.RelativePosition.x+this.staffEntries[0].PositionAndShape.RelativePosition.x,g);s?S.x+=this.staffEntries[0].PositionAndShape.BorderRight:S.x=this.staffEntries[0].parentMeasure.beginInstructionsWidth,this.graceStart&&(S.x+=r.PositionAndShape.RelativePosition.x);const E=new PointF2D(this.staffEntries[this.staffEntries.length-1].parentMeasure.PositionAndShape.RelativePosition.x+this.staffEntries[this.staffEntries.length-1].PositionAndShape.RelativePosition.x,m);if(o?E.x+=this.staffEntries[this.staffEntries.length-1].PositionAndShape.BorderLeft:E.x=this.staffEntries[this.staffEntries.length-1].parentMeasure.PositionAndShape.RelativePosition.x+this.staffEntries[this.staffEntries.length-1].parentMeasure.PositionAndShape.Size.width,this.graceEnd&&(E.x+=r.staffEntryParent.PositionAndShape.RelativePosition.x),A=this.calculateBottomPoints(S,E,a,l),A.length===0){const J=new PointF2D((E.x-S.x)/2+S.x,(E.y-S.y)/2+S.y);A.push(J)}const x=Math.atan((m-g)/(d-u)),P=new PointF2D(0,0);let C=new PointF2D(d-u,m-g);const T=Matrix2D.getRotationMatrix(-x),k=T.getTransposeMatrix();C=T.vectorMultiplication(C);const I=this.calculateTranslatedAndRotatedPointListBelow(A,u,g,T),M=this.calculateMaxLeftSlope(I,P,C),R=this.calculateMaxRightSlope(I,P,C),B=P.y-P.x*M,_=C.y-C.x*R,V=new PointF2D;let D=!1;Math.abs(Math.abs(M)-Math.abs(R))<1e-4?(V.x=C.x/2,V.y=0,D=!0):(V.x=(_-B)/(M-R),V.y=M*V.x+B);const F=this.calculateHeightWidthRatio(C.x,I),N=0,K=0;let G=y,q=-y;if(!D){const J=this.calculateAngles(y,M,R,b);G=J.startAngle,q=J.endAngle}const O=this.calculateControlPoints(C.x,G,q,I,F,g,m);let U=O.startControlPoint,$=O.endControlPoint;U=k.vectorMultiplication(U),U.x+=u,U.y+=g,$=k.vectorMultiplication($),$.x+=u,$.y+=g,this.bezierStartPt=new PointF2D(u,g+N),this.bezierStartControlPt=new PointF2D(U.x,U.y+N),this.bezierEndControlPt=new PointF2D($.x,$.y+K),this.bezierEndPt=new PointF2D(d,m+K);const Y=a.BottomLine.length,Q=l.getLeftIndexForPointX(this.bezierStartPt.x,Y),xe=l.getLeftIndexForPointX(this.bezierEndPt.x,Y),ue=this.bezierEndPt.x-this.bezierStartPt.x,W=l.SamplingUnit;for(let J=Q;J<xe;J++){const ce=J/W-this.bezierStartPt.x,ge=this.calculateCurvePointAtIndex(Math.abs(ce)/ue);let Ee=l.getLeftIndexForPointX(ge.x,Y);Ee>=Q&&(a.BottomLine[Ee]=Math.max(a.BottomLine[Ee],ge.y)),Ee++,Ee<Y&&(a.BottomLine[Ee]=Math.max(a.BottomLine[Ee],ge.y))}}}calculateStartAndEnd(i,e,r,s,o){let a=0,l=0,c=0,u=0;if(i){a=i.PositionAndShape.RelativePosition.x+i.parentVoiceEntry.parentStaffEntry.PositionAndShape.RelativePosition.x+i.parentVoiceEntry.parentStaffEntry.parentMeasure.PositionAndShape.RelativePosition.x,this.graceStart&&(a+=i.parentVoiceEntry.parentStaffEntry.staffEntryParent.PositionAndShape.RelativePosition.x);const d=i.parentVoiceEntry;this.placement===PlacementEnum.Above?(l=d.PositionAndShape.RelativePosition.y+d.PositionAndShape.BorderTop,this.rules.SlurPlacementUseSkyBottomLine&&(l=Math.min(u,d.parentStaffEntry.getSkylineMin()))):(l=d.PositionAndShape.RelativePosition.y+d.PositionAndShape.BorderBottom,this.rules.SlurPlacementUseSkyBottomLine&&(l=Math.max(u,d.parentStaffEntry.getBottomlineMax()))),d.parentVoiceEntry.StemDirection===StemDirectionType.Down&&this.placement===PlacementEnum.Below&&(a-=.5),d.parentVoiceEntry.StemDirection===StemDirectionType.Up&&this.placement===PlacementEnum.Above&&(a+=.5)}else a=0;if(e){c=e.PositionAndShape.RelativePosition.x+e.parentVoiceEntry.parentStaffEntry.PositionAndShape.RelativePosition.x+e.parentVoiceEntry.parentStaffEntry.parentMeasure.PositionAndShape.RelativePosition.x,this.graceEnd&&(c+=e.parentVoiceEntry.parentStaffEntry.staffEntryParent.PositionAndShape.RelativePosition.x);const d=e.parentVoiceEntry;let g;for(const m of d.parentVoiceEntry.Articulations)if(g=m.placement,m.placement===PlacementEnum.NotYetDefined){for(const y of e.vfnote[0].modifiers)if(y.getCategory()===VF$1.Articulation.CATEGORY){y.position===VF$1.Modifier.Position.ABOVE?(m.placement=PlacementEnum.Above,g=PlacementEnum.Above):y.position===VF$1.Modifier.Position.BELOW&&(m.placement=PlacementEnum.Below,g=PlacementEnum.Below);break}}this.placement===PlacementEnum.Above?(u=d.PositionAndShape.RelativePosition.y+d.PositionAndShape.BorderTop,this.rules.SlurPlacementUseSkyBottomLine&&(u=Math.min(u,d.parentStaffEntry.getSkylineMin())),g===PlacementEnum.Above&&(u-=this.rules.SlurEndArticulationYOffset)):(u=d.PositionAndShape.RelativePosition.y+d.PositionAndShape.BorderBottom,this.rules.SlurPlacementUseSkyBottomLine&&(u=Math.max(u,d.parentStaffEntry.getBottomlineMax())),g===PlacementEnum.Below&&(u+=this.rules.SlurEndArticulationYOffset)),d.parentVoiceEntry.StemDirection===StemDirectionType.Down&&this.placement===PlacementEnum.Below&&(c-=.5),d.parentVoiceEntry.StemDirection===StemDirectionType.Up&&this.placement===PlacementEnum.Above&&(c+=.5)}else c=r.PositionAndShape.Size.width;return!i&&!e&&(l=-1.5,u=-1.5),i||(this.placement===PlacementEnum.Above?l=u-1:l=u+1),e||(this.placement===PlacementEnum.Above?u=l-1:u=l+1),this.slur.startNoteHasMoreStartingSlurs()&&this.slur.isSlurLonger()&&(this.placement===PlacementEnum.Above?l-=s.SlursStartingAtSameStaffEntryYOffset:l+=s.SlursStartingAtSameStaffEntryYOffset),this.slur.endNoteHasMoreEndingSlurs()&&this.slur.isSlurLonger()&&(this.placement===PlacementEnum.Above?u-=s.SlursStartingAtSameStaffEntryYOffset:u+=s.SlursStartingAtSameStaffEntryYOffset),this.placement===PlacementEnum.Above?(l=Math.min(l,1.5),u=Math.min(u,1.5)):(l=Math.max(l,r.StaffHeight-1.5),u=Math.max(u,r.StaffHeight-1.5)),{startX:a,startY:l,endX:c,endY:u}}calculatePlacement(i,e){if(this.rules.SlurPlacementFromXML&&this.slur.PlacementXml!==PlacementEnum.NotYetDefined){this.placement=this.slur.PlacementXml;return}for(let l=0,c=this.staffEntries.length;l<c;++l)if(this.staffEntries[l].parentMeasure.hasMultipleVoices()){this.slur.StartNote.ParentVoiceEntry.ParentVoice instanceof LinkedVoice||this.slur.EndNote.ParentVoiceEntry.ParentVoice instanceof LinkedVoice?this.placement=PlacementEnum.Below:this.placement=PlacementEnum.Above;return}for(let l=0,c=this.staffEntries.length;l<c;++l)if(this.staffEntries[l].LyricsEntries.length>0){this.placement=PlacementEnum.Above;return}const r=this.staffEntries[0],s=this.staffEntries[this.staffEntries.length-1],o=r.graphicalVoiceEntries[0].parentVoiceEntry.StemDirection,a=s.graphicalVoiceEntries[0].parentVoiceEntry.StemDirection;if(o===a)this.placement=o===StemDirectionType.Up?PlacementEnum.Below:PlacementEnum.Above,this.rules.SlurPlacementAtStems&&(this.placement=o===StemDirectionType.Up?PlacementEnum.Above:PlacementEnum.Below);else{let l=r.PositionAndShape.BorderLeft+r.PositionAndShape.RelativePosition.x+r.parentMeasure.PositionAndShape.RelativePosition.x,c=s.PositionAndShape.BorderRight+s.PositionAndShape.RelativePosition.x+s.parentMeasure.PositionAndShape.RelativePosition.x;this.graceStart&&(l+=s.PositionAndShape.RelativePosition.x),this.graceEnd&&(c+=s.staffEntryParent.PositionAndShape.RelativePosition.x);const u=i.getSkyLineMinInRange(l,c)*-1;i.getBottomLineMaxInRange(l,c)-e.StaffHeight>u?this.placement=PlacementEnum.Above:this.placement=PlacementEnum.Below}}calculateTopPoints(i,e,r,s){const o=[];let a=s.getRightIndexForPointX(i.x,r.SkyLine.length),l=s.getLeftIndexForPointX(e.x,r.SkyLine.length);a<0&&(a=0),l>=r.SkyLine.length&&(l=r.SkyLine.length-1);for(let c=a;c<l;c++){const u=r.SkyLine[c];if(u!==0){const d=new PointF2D((.5+c)/s.SamplingUnit,u);o.push(d)}}return o}calculateBottomPoints(i,e,r,s){const o=[];let a=s.getRightIndexForPointX(i.x,r.BottomLine.length),l=s.getLeftIndexForPointX(e.x,r.BottomLine.length);a<0&&(a=0),l>=r.BottomLine.length&&(l=r.BottomLine.length-1);for(let c=a;c<l;c++){const u=r.BottomLine[c];if(u!==0){const d=new PointF2D((.5+c)/s.SamplingUnit,u);o.push(d)}}return o}calculateMaxLeftSlope(i,e,r){let s=-Number.MAX_VALUE;const o=e.x,a=e.y;for(let l=0;l<i.length;l++)Math.abs(i[l].y-Number.MAX_VALUE)<1e-4||Math.abs(i[l].y- -Number.MAX_VALUE)<1e-4||(s=Math.max(s,(i[l].y-a)/(i[l].x-o)));return s=Math.max(s,Math.abs(r.y-a)/(r.x-o)),s=Math.min(s,5.6713),s}calculateMaxRightSlope(i,e,r){let s=Number.MAX_VALUE;const o=r.x,a=r.y;for(let l=0;l<i.length;l++)Math.abs(i[l].y-Number.MAX_VALUE)<1e-4||Math.abs(i[l].y- -Number.MAX_VALUE)<1e-4||(s=Math.min(s,(a-i[l].y)/(o-i[l].x)));return s=Math.min(s,(a-e.y)/(o-e.x)),s=Math.max(s,-5.6713),s}getPointListMaxY(i){let e=-Number.MAX_VALUE;for(let r=0,s=i.length;r<s;++r){const o=i[r];Math.abs(o.y- -Number.MAX_VALUE)<1e-4||Math.abs(o.y-Number.MAX_VALUE)<1e-4||(e=Math.max(e,o.y))}return e}calculateTranslatedAndRotatedPointListAbove(i,e,r,s){const o=[];for(let a=0;a<i.length;a++){if(Math.abs(i[a].y-Number.MAX_VALUE)<1e-4||Math.abs(i[a].y- -Number.MAX_VALUE)<1e-4)continue;let l=new PointF2D(i[a].x-e,-(i[a].y-r));l=s.vectorMultiplication(l),o.push(l)}return o}calculateTranslatedAndRotatedPointListBelow(i,e,r,s){const o=[];for(let a=0;a<i.length;a++){if(Math.abs(i[a].y-Number.MAX_VALUE)<1e-4||Math.abs(i[a].y- -Number.MAX_VALUE)<1e-4)continue;let l=new PointF2D(i[a].x-e,i[a].y-r);l=s.vectorMultiplication(l),o.push(l)}return o}calculateHeightWidthRatio(i,e){return e.length===0?0:Math.max(0,this.getPointListMaxY(e))/i}calculateControlPoints(i,e,r,s,o,a,l){let c=this.rules.SlurHeightFactor,u=1;const d=this.rules.SlurHeightFlattenLongSlursCutoffAngle,g=this.rules.SlurHeightFlattenLongSlursCutoffWidth;e>d&&i>g&&(u+=i/70*this.rules.SlurHeightFlattenLongSlursFactorByWidth,u*=1+e/30*this.rules.SlurHeightFlattenLongSlursFactorByAngle,c/=u);const m=Math.min(.5,Math.max(.1,1.7*e/80*c*Math.pow(Math.max(o,.05),.4))),y=Math.min(.5,Math.max(.1,1.7*-r/80*c*Math.pow(Math.max(o,.05),.4))),b=new PointF2D;b.x=i*m*Math.cos(e*_GraphicalSlur.degreesToRadiansFactor),b.y=i*m*Math.sin(e*_GraphicalSlur.degreesToRadiansFactor);const A=new PointF2D;A.x=i-i*y*Math.cos(r*_GraphicalSlur.degreesToRadiansFactor),A.y=-(i*y*Math.sin(r*_GraphicalSlur.degreesToRadiansFactor));let S=b.y-A.y;for(;this.rules.SlurMaximumYControlPointDistance&&Math.abs(S)>this.rules.SlurMaximumYControlPointDistance;)S<0?(b.y+=1,A.y-=1):(b.y-=1,A.y+=1),S=b.y-A.y;return{startControlPoint:b,endControlPoint:A}}calculateAngles(i,e,r,s){let a=Math.atan(e)/_GraphicalSlur.degreesToRadiansFactor;e>0?a+=20:a-=20;let l=Math.atan(r)/_GraphicalSlur.degreesToRadiansFactor;r<0?l-=20:l+=20;const c=Math.min(Math.max(i,a),s),u=Math.max(Math.min(-i,l),-s);return{startAngle:c,endAngle:u}}};let GraphicalSlur=_GraphicalSlur;GraphicalSlur.degreesToRadiansFactor=Math.PI/180;class VexflowStafflineNoteCalculator{constructor(e){this.staffPitchListMapping=new Dictionary,this.baseLineNote=NoteEnum.B,this.baseLineOctave=1,this.rules=e}trackNote(e){if(!(e instanceof VexFlowGraphicalNote)||e.Clef().ClefType!==ClefEnum.percussion||e.sourceNote.isRest()||this.rules.PercussionOneLineCutoff===0||this.rules.PercussionForceVoicesOneLineCutoff===-1)return;const r=e.parentVoiceEntry.parentStaffEntry.sourceStaffEntry.ParentStaff.idInMusicSheet;let s;this.staffPitchListMapping.containsKey(r)||this.staffPitchListMapping.setValue(r,new Array),s=this.staffPitchListMapping.getValue(r);const o=e.sourceNote.Pitch;VexflowStafflineNoteCalculator.findOrInsert(s,o)}static PitchIndexOf(e,r,s=0){if(s>e.length-1)return-1;for(let o=s;o<e.length;o++){const a=e[o];if(r.OperatorEquals(a))return o}return-1}static findOrInsert(e,r){for(let s=0;s<e.length;s++){const o=e[s];if(r.OperatorEquals(o))return s;if(r.OperatorFundamentalLessThan(o))return e.splice(s,0,r),s}return e.push(r),e.length-1}positionNote(e){const r=e.parentVoiceEntry.parentStaffEntry.sourceStaffEntry.ParentStaff.idInMusicSheet;if(!(e instanceof VexFlowGraphicalNote)||e.sourceNote.isRest()||!this.staffPitchListMapping.containsKey(r))return e;const s=this.staffPitchListMapping.getValue(r),o=this.rules.PercussionUseXMLDisplayStep&&e.sourceNote.displayStepUnpitched!==void 0;if(s.length>this.rules.PercussionOneLineCutoff&&!o&&!this.rules.PercussionUseCajon2NoteSystem)return e;const a=e,l=e.sourceNote.Pitch;let c=this.baseLineNote,u=this.baseLineOctave;if(this.rules.PercussionUseCajon2NoteSystem?l.FundamentalNote===NoteEnum.C&&(c=NoteEnum.G,u=1):this.rules.PercussionUseXMLDisplayStep&&e.sourceNote.displayStepUnpitched!==void 0&&(c=e.sourceNote.displayStepUnpitched,u=e.sourceNote.displayOctaveUnpitched+this.rules.PercussionOneLineXMLDisplayStepOctaveOffset),s.length<=this.rules.PercussionForceVoicesOneLineCutoff)a.setAccidental(new Pitch(c,u,l.Accidental));else{const d=VexflowStafflineNoteCalculator.PitchIndexOf(s,l);if(d>-1){const g=Math.ceil(s.length/2);if(!this.rules.PercussionUseXMLDisplayStep)if(d>=g)switch(u=2,(d-g)%5){case 1:c=NoteEnum.E;break;case 2:c=NoteEnum.G;break;case 3:c=NoteEnum.B;break;case 4:c=NoteEnum.D,u=3;break;default:c=NoteEnum.C;break}else switch(d%5){case 1:c=NoteEnum.F;break;case 2:c=NoteEnum.D;break;case 3:c=NoteEnum.B,u=0;break;case 4:c=NoteEnum.G,u=0;break;default:c=NoteEnum.A;break}const m=new Pitch(c,u,l.Accidental);a.setAccidental(m);const y=a.parentVoiceEntry.parentVoiceEntry;!this.rules.SetWantedStemDirectionByXml&&y.Notes.length<2&&(m.Octave>this.baseLineOctave||m.FundamentalNote===this.baseLineNote&&m.Octave===this.baseLineOctave?a.parentVoiceEntry.parentVoiceEntry.WantedStemDirection=StemDirectionType.Up:a.parentVoiceEntry.parentVoiceEntry.WantedStemDirection=StemDirectionType.Down)}}return a}getStafflineUniquePositionCount(e){return this.staffPitchListMapping.containsKey(e)?this.staffPitchListMapping.getValue(e).length:0}}class GraphicalPedal extends GraphicalObject{constructor(e,r){super(),this.getPedal=e,this.setSymbol(),this.PositionAndShape=new BoundingBox$1(this,r)}setSymbol(){!this.getPedal.IsLine&&this.getPedal.IsSign?this.pedalSymbol=MusicSymbol.PEDAL_SYMBOL:this.getPedal.IsLine&&this.getPedal.IsSign?this.pedalSymbol=MusicSymbol.PEDAL_MIXED:this.pedalSymbol=MusicSymbol.PEDAL_BRACKET}}class VexFlowPedal extends GraphicalPedal{constructor(e,r,s=!1,o=!1){switch(super(e,r),this.vfStyle=Vex.Flow.PedalMarking.Styles.BRACKET,this.ChangeBegin=!1,this.ChangeEnd=!1,this.line=-3,this.EndSymbolPositionAndShape=void 0,this.ChangeBegin=e.ChangeBegin,this.ChangeEnd=e.ChangeEnd,this.pedalSymbol){case MusicSymbol.PEDAL_SYMBOL:this.vfStyle=Vex.Flow.PedalMarking.Styles.TEXT,this.EndSymbolPositionAndShape=new BoundingBox$1(this,r);break;case MusicSymbol.PEDAL_MIXED:s&&o?this.vfStyle=Vex.Flow.PedalMarking.Styles.BRACKET_OPEN_BOTH:s?this.vfStyle=Vex.Flow.PedalMarking.Styles.BRACKET_OPEN_BEGIN:o?this.vfStyle=Vex.Flow.PedalMarking.Styles.MIXED_OPEN_END:this.vfStyle=Vex.Flow.PedalMarking.Styles.MIXED;break;case MusicSymbol.PEDAL_BRACKET:default:s&&o?this.vfStyle=Vex.Flow.PedalMarking.Styles.BRACKET_OPEN_BOTH:s?this.vfStyle=Vex.Flow.PedalMarking.Styles.BRACKET_OPEN_BEGIN:o?this.vfStyle=Vex.Flow.PedalMarking.Styles.BRACKET_OPEN_END:this.vfStyle=Vex.Flow.PedalMarking.Styles.BRACKET;break}}setStartNote(e){if(!e)return!1;for(const r of e.graphicalVoiceEntries){const s=r;if(s!=null&&s.vfStaveNote)return this.startNote=s.vfStaveNote,this.startVfVoiceEntry=s,!0}return!1}setEndNote(e){if(!e)return!1;for(const r of e.graphicalVoiceEntries){const s=r;if(s!=null&&s.vfStaveNote)return this.endNote=s.vfStaveNote,this.endVfVoiceEntry=s,!0}return!1}setEndMeasure(e){this.endMeasure=e}CalculateBoundingBox(){}setLine(e){this.line=e}getPedalMarking(){const e=new Vex.Flow.PedalMarking([this.startNote,this.endNote]);return this.endMeasure&&e.setEndStave(this.endMeasure.getVFStave()),e.setStyle(this.vfStyle),e.setLine(this.line),e.setCustomText(this.DepressText,this.ReleaseText),(!this.endVfVoiceEntry||this.getPedal.EndsStave)&&(e.EndsStave=!0),this.getPedal.BeginsStave&&(e.BeginsStave=!0),e.ChangeBegin=this.ChangeBegin,e.ChangeEnd=this.ChangeEnd,e}setEndsStave(e,r){r!=null&&r.gte(e.parentSourceMeasure.Duration)&&(this.getPedal.EndsStave=!0)}setBeginsStave(e,r){e&&r.RealValue===0&&(this.getPedal.BeginsStave=!0)}}class GraphicalGlissando{constructor(e){this.Glissando=e,this.staffEntries=[]}calculateLine(e){const r=this.staffEntries[0],s=this.staffEntries[this.staffEntries.length-1],o=r.findGraphicalNoteFromNote(this.Glissando.StartNote),a=s.findGraphicalNoteFromNote(this.Glissando.EndNote);if(!o&&!a)return;const l=r.parentMeasure.ParentStaffLine;let c,u,d,g;if(o&&r.parentMeasure.ParentStaffLine===this.StaffLine)c=o.PositionAndShape.RelativePosition.x+o.parentVoiceEntry.parentStaffEntry.PositionAndShape.RelativePosition.x+o.parentVoiceEntry.parentStaffEntry.parentMeasure.PositionAndShape.RelativePosition.x+e.GlissandoNoteOffset,d=o.PositionAndShape.AbsolutePosition.y;else{c=s.parentMeasure.beginInstructionsWidth-.4;const b=this.Glissando.Direction===ColDirEnum.Down?-1:1;d=a.PositionAndShape.AbsolutePosition.y+b*e.GlissandoStafflineStartYDistanceToNote}if(a&&s.parentMeasure.ParentStaffLine===this.StaffLine)u=a.PositionAndShape.RelativePosition.x+a.parentVoiceEntry.parentStaffEntry.PositionAndShape.RelativePosition.x+a.parentVoiceEntry.parentStaffEntry.parentMeasure.PositionAndShape.RelativePosition.x-.5-e.GlissandoNoteOffset,c>u&&(c=u-e.GlissandoStafflineStartMinimumWidth),g=a.PositionAndShape.AbsolutePosition.y;else{if(l.Measures.last().parentSourceMeasure.HasEndLine)return;u=l.PositionAndShape.Size.width,u-c>e.GlissandoStafflineEndOffset&&(c=u-e.GlissandoStafflineEndOffset);const b=this.Glissando.Direction===ColDirEnum.Down?1:-1;g=o.PositionAndShape.AbsolutePosition.y+b*e.GlissandoStafflineStartYDistanceToNote}const m=new PointF2D(c,d),y=new PointF2D(u,g);this.Width===void 0&&(this.Width=e.GlissandoDefaultWidth),this.Line=new GraphicalLine(m,y,this.Width)}}class VexFlowGlissando extends GraphicalGlissando{}class GraphicalWavyLine extends GraphicalObject{constructor(e,r){super(),this.getWavyLine=e,this.PositionAndShape=new BoundingBox$1(this,r)}}class VexflowVibratoBracket extends GraphicalWavyLine{constructor(e,r,s=!1){super(e,r),this.line=1,this.isVibrato=!1,this.toEndOfStopStave=!1,this.isVibrato=s}get ToEndOfStopStave(){return this.toEndOfStopStave}setStartNote(e){for(const r of e.graphicalVoiceEntries){const s=r;if(s!=null&&s.vfStaveNote)return this.startNote=s.vfStaveNote,this.startVfVoiceEntry=s,!0}return!1}setEndNote(e){for(const r of e.graphicalVoiceEntries){const s=r;if(s!=null&&s.vfStaveNote){this.endNote=s.vfStaveNote,this.endVfVoiceEntry=s;const o=this.endVfVoiceEntry.parentStaffEntry.parentMeasure.staffEntries,a=o[o.length-1];return this.toEndOfStopStave=a===this.endVfVoiceEntry.parentStaffEntry,!0}}return!1}CalculateBoundingBox(){const e=this.getVibratoBracket();this.boundingBox.Size.height=e.render_options.wave_height*.2}getVibratoBracket(){const e=new Vex.Flow.VibratoBracket({start:this.startNote,stop:this.endNote,toEndOfStopStave:this.toEndOfStopStave});return e.setLine(this.line),this.isVibrato?e.render_options.vibrato_width=20:e.render_options.wave_girth=4,e}}const VF=Vex.Flow;class VexFlowMusicSheetCalculator extends MusicSheetCalculator{constructor(e){var r,s,o,a,l,c,u,d;super(),this.beamsNeedUpdate=!1,this.rules=e,MusicSheetCalculator.symbolFactory=new VexFlowGraphicalSymbolFactory,MusicSheetCalculator.TextMeasurer=new VexFlowTextMeasurer(this.rules),MusicSheetCalculator.stafflineNoteCalculator=new VexflowStafflineNoteCalculator(this.rules),((r=this.rules.DefaultVexFlowNoteFont)==null?void 0:r.toLowerCase())==="gonville"?Vex.Flow.DEFAULT_FONT_STACK=[(s=Vex.Flow.Fonts)==null?void 0:s.Gonville,(o=Vex.Flow.Fonts)==null?void 0:o.Bravura,(a=Vex.Flow.Fonts)==null?void 0:a.Custom]:((l=this.rules.DefaultVexFlowNoteFont)==null?void 0:l.toLowerCase())==="petaluma"&&(Vex.Flow.DEFAULT_FONT_STACK=[(c=Vex.Flow.Fonts)==null?void 0:c.Petaluma,(u=Vex.Flow.Fonts)==null?void 0:u.Gonville,(d=Vex.Flow.Fonts)==null?void 0:d.Bravura])}clearRecreatedObjects(){super.clearRecreatedObjects(),MusicSheetCalculator.stafflineNoteCalculator=new VexflowStafflineNoteCalculator(this.rules);for(const e of this.graphicalMusicSheet.MeasureList)for(const r of e)r==null||r.clean()}formatMeasures(){for(const e of this.graphicalMusicSheet.MeasureList){if(!e||!e[0])continue;e.find(s=>s==null?void 0:s.isVisible()).format();for(const s of e){for(const o of s.staffEntries)o.calculateXPosition();s.finalizeBeams()}}this.beamsNeedUpdate=!1}calculateMeasureXLayout(e){const r=[];for(const g of e)g!=null&&g.isVisible()&&r.push(g);if(r.length===0)return 0;e=r;const s=[],o=new VF.Formatter({softmaxFactor:this.rules.SoftmaxFactorVexFlow});let a=e[0].staffEntries.length,l=1;for(const g of e){if(!g)continue;let m=0;for(const A of g.staffEntries)m+=A.setMaxAccidentals();g.parentSourceMeasure.ImplicitMeasure&&(a=Math.max(g.staffEntries.length,a),l=Math.max(g.staffEntries.length+m,l));const y=g.vfVoices,b=[];for(const A in y)if(y.hasOwnProperty(A)){const S=y[A];g.hasOnlyRests&&!S.ticksUsed.equals(S.totalTicks)&&(S.ticksUsed=S.totalTicks),b.push(S),s.push(S)}if(b.length===0){loglevelExports.debug("Found a measure with no voices. Continuing anyway.",y);continue}o.joinVoices(b)}let c=12;const u=e[0].parentSourceMeasure,d=.3;if(s.length>0){if(c=o.preCalculateMinTotalWidth(s)/unitInPixels*this.rules.VoiceSpacingMultiplierVexflow+this.rules.VoiceSpacingAddendVexflow+a*d,u!=null&&u.ImplicitMeasure){c=u.Duration.RealValue/u.ActiveTimeSignature.RealValue*c;let y=0;const b=u.measureListIndex;if(b>1)for(const A of this.graphicalMusicSheet.MeasureList[b-1]){const S=A==null?void 0:A.parentSourceMeasure.endingBarStyleEnum;if(S===SystemLinesEnum.ThinBold||S===SystemLinesEnum.DotsThinBold){y=this.rules.PickupMeasureRepetitionSpacing;break}}c+=y,a>1?c+=l*d*1.5:b>1&&a===1&&(c+=this.rules.PickupMeasureSpacingSingleNoteAddend),c*=this.rules.PickupMeasureWidthMultiplier}MusicSheetCalculator.setMeasuresMinStaffEntriesWidth(e,c);const g=(y,b)=>{o.formatToStave(s,b.getVFStave())},m=(y,b)=>{o.formatToStave(s,b.getVFStave(),{align_rests:!0,context:void 0})};for(const y of e){if(this.rules.AlignRests===AlignRestOption.Never)y.formatVoices=g;else if(this.rules.AlignRests===AlignRestOption.Always)y.formatVoices=m;else if(this.rules.AlignRests===AlignRestOption.Auto){let b=!1;for(const A of y.staffEntries){let S=0,E=0;for(const x of A.graphicalVoiceEntries)if(x.parentVoiceEntry.IsGrace||x&&x.notes&&x.notes[0]&&x.notes[0].sourceNote&&x.notes[0].sourceNote.PrintObject&&S++,x&&x.notes&&x.notes[0]&&x.notes[0].sourceNote&&x.notes[0].sourceNote.isRest()&&x.notes[0].sourceNote.PrintObject&&E++,S>1&&E>=1){b=!0;break}if(b)break}b?y.formatVoices=m:y.formatVoices=g}if(y===e[0]){const b=y;b.formatVoices(c*unitInPixels,b)}}}for(const g of e)if(g)for(const m of g.staffEntries)m.calculateXPosition();for(const g of e){if(!g)continue;const m=g.vfVoices,y=[];for(const b in m)m.hasOwnProperty(b)&&y.push(m[b]);if(y.length===0){loglevelExports.debug("Found a measure with no voices. Continuing anyway.",m);continue}o.joinVoices(y)}return c}calculateElongationFactor(e,r,s,o,a,l,c,u){let d=a,g=0;for(const m of e){const y=m.GraphicalLabel.Label.textAlignment;let b=c,A=u;if(m instanceof GraphicalLyricEntry&&m.ParentLyricWord){m.LyricsEntry.SyllableIndex>0&&(b=this.rules.BetweenSyllableMinimumDistance,TextAlignment.IsCenterAligned(y)&&(b+=1));const F=m.ParentLyricWord.GetLyricWord.Syllables;F.length>1&&m.LyricsEntry.SyllableIndex<F.length-1&&(this.dashSpace===void 0&&(this.dashSpace=1.5),A-=this.dashSpace)}const S=m instanceof GraphicalLyricEntry?m.GraphicalLabel.PositionAndShape:m.PositionAndShape,E=S.Size.width;let C=r.PositionAndShape.RelativePosition.x+S.BorderLeft;m instanceof GraphicalChordSymbolContainer&&m.PositionAndShape.Parent.DataObject instanceof GraphicalMeasure&&(C=this.rules.ChordSymbolWholeMeasureRestXOffset+S.BorderMarginLeft+m.PositionAndShape.Parent.DataObject.beginInstructionsWidth),s[g]!==void 0&&s[g].extend;let T,k;s[g]&&(k=C-s[g].xPosition);let I,M;const R=o*a;TextAlignment.IsCenterAligned(y)?(A/=4,I=R-C,M=E/2-A,s[g]&&(T=s[g].labelWidth/2+E/2+b)):TextAlignment.IsLeft(y)&&(I=R-C,M=E-A,s[g]&&(T=s[g].labelWidth+b));let B=1;const _=M/I;let V=1;if(m instanceof GraphicalLyricEntry&&m.LyricsEntry){if(s[g]){const F=s[g].sourceNoteDuration;V=T/k,F.Denominator>4&&(V*=1.1)}}else s[g]&&(V=T/k);B=Math.max(_,V),d=Math.max(d,B);let D=Math.max(T-k||0,0);s[g]&&(D+=s[g].cumulativeOverlap),s[g]={cumulativeOverlap:D,extend:m instanceof GraphicalLyricEntry?m.LyricsEntry.extend:!1,labelWidth:E,measureNumber:l,sourceNoteDuration:m instanceof GraphicalLyricEntry?m.LyricsEntry&&m.LyricsEntry.Parent.Notes[0].Length:!1,text:m instanceof GraphicalLyricEntry?m.LyricsEntry.Text:m.GraphicalLabel.Label.text,xPosition:C},g++}return d}calculateElongationFactorFromStaffEntries(e,r,s,o){let a=s;const l={},c={};for(const u of e)u.LyricsEntries.length>0&&this.rules.RenderLyrics&&(a=this.calculateElongationFactor(u.LyricsEntries,u,l,r,a,o,this.rules.HorizontalBetweenLyricsDistance,this.rules.LyricOverlapAllowedIntoNextMeasure)),u.graphicalChordContainers.length>0&&this.rules.RenderChordSymbols&&(a=this.calculateElongationFactor(u.graphicalChordContainers,u,c,r,a,o,this.rules.ChordSymbolXSpacing,this.rules.ChordOverlapAllowedIntoNextMeasure));return a}calculateMeasureWidthFromStaffEntries(e,r){var l;let s=1;if(!((l=window.GYM)==null?void 0:l.multitrack))for(const c of e)!c||c.staffEntries.length===0||(s=this.calculateElongationFactorFromStaffEntries(c.staffEntries,r,s,c.MeasureNumber),s=1);return s=Math.min(s,this.rules.MaximumLyricsElongationFactor),r*s}createGraphicalTie(e,r,s,o,a){return new GraphicalTie(e,o,a)}updateStaffLineBorders(e){e.SkyBottomLineCalculator.updateStaffLineBorders()}graphicalMeasureCreatedCalculations(e){e.rules=this.rules,e.graphicalMeasureCreatedCalculations()}layoutVoiceEntry(e,r,s,o){for(let a=0;a<r.length;a++)r[a]=MusicSheetCalculator.stafflineNoteCalculator.positionNote(r[a])}layoutStaffEntry(e){e.parentMeasure.layoutStaffEntry(e)}initGraphicalMeasuresCreation(){}layoutArticulationMarks(e,r,s){}layoutGraphicalTie(e,r,s){var g,m,y,b,A,S;const o=e.StartNote,a=e.EndNote;let l,c=0;o&&o.vfnote&&o.vfnote.length>=2&&(l=o.vfnote[0],c=o.vfnote[1]);let u,d=0;if(a&&a.vfnote&&a.vfnote.length>=2&&(u=a.vfnote[0],d=a.vfnote[1]),r){if(l){const E=new VF.StaveTie({first_indices:[c],first_note:l}),x=o.parentVoiceEntry.parentStaffEntry.parentMeasure;if(u){u.getDuration()==="w"&&((m=(g=u.keyProps)==null?void 0:g[0])==null?void 0:m.line)>=3&&u.setStemDirection(-1);let P=((y=window.GYM)==null?void 0:y.tieDirection)||0;Math.abs(P)===1&&(((A=(b=u.keyProps)==null?void 0:b[0])==null?void 0:A.line)>=3?u.setStemDirection(-P):u.setStemDirection(P)),E==null||E.setDirection(u.getStemDirection())}if(x.vfTies.length>0){const P=x.vfTies[0].direction;E==null||E.setDirection(P?-P:1)}x.addStaveTie(E,e)}if(u){const E=new VF.StaveTie({last_indices:[d],last_note:u}),x=a.parentVoiceEntry.parentStaffEntry.parentMeasure;if(x.vfTies.length>0){const P=x.vfTies[0].direction;E==null||E.setDirection(P?-P:1)}x.addStaveTie(E,e)}}else if(l||u){let E;if(s)if(e.Tie.Type==="S"){const C=e.StartNote.sourceNote,T=e.EndNote.sourceNote;let k=1;C.FretNumber>T.FretNumber&&(k=-1),E=new VF.TabSlide({first_indices:[c],first_note:l,last_indices:[d],last_note:u},k)}else E=new VF.TabTie({first_indices:[c],first_note:l,last_indices:[d],last_note:u},e.Tie.Type);else{E=new VF.StaveTie({first_indices:[c],first_note:l,last_indices:[d],last_note:u});const C=e.Tie.getTieDirection(o.sourceNote);C===PlacementEnum.Below?E.setDirection(1):C===PlacementEnum.Above&&E.setDirection(-1)}const x=a.parentVoiceEntry.parentStaffEntry.parentMeasure,P=((S=window.GYM)==null?void 0:S.graceCustom)||!1;P&&E.setDirection(P.direction),x.addStaveTie(E,e)}}calculateDynamicExpressionsForMultiExpression(e,r,s){if(r<this.rules.MinMeasureToDrawIndex||r>this.rules.MaxMeasureToDrawIndex)return;const o=e.AbsoluteTimestamp,a=this.graphicalMusicSheet.MeasureList[r],l=a[s].ParentStaffLine,c=a[s];if(!l)return;const u=e.StartingContinuousDynamic,d=u!==void 0&&!u.IsStartOfSoftAccent,g=this.getRelativePositionInStaffLineFromTimestamp(o,s,l,l==null?void 0:l.isPartOfMultiStaffInstrument(),void 0,d);if(g.x<=0&&(g.x=c.beginInstructionsWidth+this.rules.RhythmRightMargin),e.InstantaneousDynamic){const m=new VexFlowInstantaneousDynamicExpression(e.InstantaneousDynamic,l,c);this.calculateGraphicalInstantaneousDynamicExpression(m,g,o),this.dynamicExpressionMap.set(o.RealValue,m.PositionAndShape)}if(u){const m=new VexFlowContinuousDynamicExpression(u,l,c.parentSourceMeasure);if(m.StartMeasure=c,m.IsSoftAccent=e.StartingContinuousDynamic.IsStartOfSoftAccent,!m.IsVerbal&&u.EndMultiExpression)try{this.calculateGraphicalContinuousDynamic(m,g),m.updateSkyBottomLine()}catch(y){}else m.IsVerbal?this.calculateGraphicalVerbalContinuousDynamic(m,g):loglevelExports.warn("This continuous dynamic is not covered. measure"+e.SourceMeasureParent.MeasureNumber)}}createMetronomeMark(e,r){var P,C,T,k,I,M,R,B,_,V,D;const s=Math.max(e.ParentMultiTempoExpression.SourceMeasureParent.MeasureNumber-1,0),o=r||s,a=Math.max(e.StaffNumber-1,0),l=this.graphicalMusicSheet.MeasureList[o][a].getVFStave();let c="q";if(e.beatUnit){const F=NoteTypeHandler.getNoteDurationFromType(e.beatUnit);c=VexFlowConverter.durations(F,!1)[0]}let u=this.rules.MetronomeMarkYShift,d=!1;const g=[];if(e.parentMeasure){for(const F of e.parentMeasure.StaffLinkedExpressions)for(const N of F)N&&N instanceof UnknownExpression&&g.push(N);for(const F of e.parentMeasure.TempoExpressions){const N=((P=F.InstantaneousTempo)==null?void 0:P.Enum)===TempoEnum.metronomeMark;if(!e.beatUnit&&F.InstantaneousTempo.beatUnit){const K=NoteTypeHandler.getNoteDurationFromType(e.beatUnit);c=VexFlowConverter.durations(K,!1)[0]}if(F.getPlacementOfFirstEntry()===PlacementEnum.Above&&!N){d=!0;break}}}d&&(u-=1.4);const m=(C=this.graphicalMusicSheet.MeasureList[0][0].ParentStaffLine)==null?void 0:C.SkyLine;let y=e.TempoInBpm,b="",A="",S="";for(const F of this.graphicalMusicSheet.MeasureList[o][a].parentSourceMeasure.TempoExpressions){if(A=F.CombinedExpressionsText,isSpecialMark(F.CombinedExpressionsText)){b=F.CombinedExpressionsText;break}if(isSpeedKeyword(F.CombinedExpressionsText)||isSpeedHiddenKeyword(F.CombinedExpressionsText)){b=formatSpeedKeyword(F.CombinedExpressionsText),y=F.sourceMeasure.TempoInBPM,isSpeedKeyword(F.CombinedExpressionsText)&&(S=c);break}}const E={bpm:e.TempoInBpm,dots:e.dotted,duration:c,name:b};b&&(E.bpm=y/(E.dots?1.5:1),isSpeedKeyword(A)?E.duration=S:(y===SpeedTag[b]||!SpeedTag[b])&&(E.duration=""));const x=((M=(I=(k=(T=this.graphicalMusicSheet.MeasureList[o][a])==null?void 0:T.vfVoices)==null?void 0:k[1])==null?void 0:I.boundingBox)==null?void 0:M.y)||0;if(this.rules.MetronomeMarksDrawn){if(m){const G=((B=(R=this.graphicalMusicSheet.MeasureList[0])==null?void 0:R[a])==null?void 0:B.ParentStaffLine).Measures.map(q=>q.MeasureNumber-1);if(x&&G.includes(o)&&(isSpeedKeyword(A)||isSpeedHiddenKeyword(A))){const q=m.slice(0,9);let O=Math.min(...q);O=O<0?O-1:O,u+=O}G.includes(o)&&g.length?m[0]=Math.min(m[0],-4.5+u-4):m[0]=Math.min(m[0],-4.5+u)}l.options.line_config.reduce((K,G)=>(G.visible&&K++,K),0)<5&&(u-=2),l.setTempo(E,u*unitInPixels);let N=0;try{const K=(D=(V=(_=this.graphicalMusicSheet.MeasureList[o][a])==null?void 0:_.vfVoices)==null?void 0:V[1])==null?void 0:D.getTickables();N+=K[e.parentMeasure.metronomeNoteIndex].getBoundingBox().getX()-l.getNoteStartX()}catch(K){}l.getModifiers()[l.getModifiers().length-1].setShiftX(N)}}calculateRehearsalMark(e){var d,g,m,y,b,A,S,E,x;const r=e.rehearsalExpression;if(!r)return;const s=(m=(g=(d=e.VerticalMeasureList)==null?void 0:d[0])==null?void 0:g.getVFStave)==null?void 0:m.call(g);if(!s)return;const o=-this.rules.RehearsalMarkYOffsetDefault-this.rules.RehearsalMarkYOffset;let a=this.rules.RehearsalMarkXOffsetDefault+this.rules.RehearsalMarkXOffset;e.IsSystemStartMeasure&&(a+=this.rules.RehearsalMarkXOffsetSystemStartMeasure);const l=this.rules.RehearsalMarkFontSize,c=s.getModifiers(),u=c.find(P=>P.getCategory().toLocaleLowerCase()==="repetitions");if(u&&u.setShiftY(u.y_shift-10),s.setSection(r.label,o,a,l),(A=(b=(y=e.VerticalMeasureList)==null?void 0:y[0])==null?void 0:b.ParentStaffLine)!=null&&A.AbstractExpressions){const P=c.find(C=>C.getCategory().toLocaleLowerCase()==="stavesection");for(let C of((x=(E=(S=e==null?void 0:e.VerticalMeasureList)==null?void 0:S[0])==null?void 0:E.ParentStaffLine)==null?void 0:x.AbstractExpressions)||[])C instanceof GraphicalUnknownExpression&&(P&&(C.Label.PositionAndShape.RelativePosition.y-=.5),u&&(C.Label.PositionAndShape.RelativePosition.y-=1.7))}}calculateSingleOctaveShift(e,r,s,o){var A;const a=r.OctaveShiftStart,l=a.ParentStartMultiExpression.Timestamp,c=(A=a.ParentEndMultiExpression)==null?void 0:A.Timestamp,u=this.rules.MinMeasureToDrawIndex,d=this.rules.MaxMeasureToDrawIndex;let g=this.graphicalMusicSheet.MeasureList[s][o].ParentStaffLine;g||(g=this.graphicalMusicSheet.MeasureList[u][o].ParentStaffLine);let m;a.ParentEndMultiExpression?m=this.graphicalMusicSheet.getGraphicalMeasureFromSourceMeasureAndIndex(a.ParentEndMultiExpression.SourceMeasureParent,o):m=this.graphicalMusicSheet.getLastGraphicalMeasureFromIndex(o,!0),m.MeasureNumber>d+1&&(m=this.graphicalMusicSheet.getLastGraphicalMeasureFromIndex(o,!0));let y;if(a.ParentEndMultiExpression?y=this.graphicalMusicSheet.getGraphicalMeasureFromSourceMeasureAndIndex(a.ParentStartMultiExpression.SourceMeasureParent,o):y=this.graphicalMusicSheet.MeasureList[u][o],y.MeasureNumber<u+1&&(y=this.graphicalMusicSheet.MeasureList[u][o]),y.parentSourceMeasure.measureListIndex<u||y.parentSourceMeasure.measureListIndex>d||m.parentSourceMeasure.measureListIndex<u||m.parentSourceMeasure.measureListIndex>d)return;let b=m.ParentStaffLine;if(b||(b=g),m&&g&&b){const S=new VexFlowOctaveShift(a,g.PositionAndShape);if(!S.startNote){let P;for(const C of y.staffEntries)if(C){P=C;break}if(!P||(S.setStartNote(P),!S.startNote))return}if(!S.endNote){let P;for(let C=m.staffEntries.length-1;C>=0;C++)if(m.staffEntries[C]){P=m.staffEntries[C];break}if(!P){S.graphicalEndAtMeasureEnd=!0;return}if(S.setEndNote(P),!S.endNote)return}let E=y.findGraphicalStaffEntryFromTimestamp(l);E||(E=y.staffEntries[0]);let x=m.findGraphicalStaffEntryFromTimestamp(c);if(x||(x=m.staffEntries[m.staffEntries.length-1]),S.setStartNote(E),b!==g){S.endsOnDifferentStaffLine=!0;let P=this.findLastStafflineMeasure(g);P===void 0&&(P=m);const C=P.staffEntries[P.staffEntries.length-1];S.setEndNote(C),S.graphicalEndAtMeasureEnd=!0,S.endMeasure=P;const T=b.ParentMusicSystem.Id-g.ParentMusicSystem.Id;if(T>0)for(let k=g.ParentMusicSystem.Id;k<b.ParentMusicSystem.Id;k++){const I=k+1,M=this.musicSystems[I];let R;for(const K of M.StaffLines)if(K.ParentStaff.idInMusicSheet===o){R=K;break}if(!R)continue;const B=R.Measures[0],_=new VexFlowOctaveShift(a,B.PositionAndShape);let V=this.findLastStafflineMeasure(R);k<T-1&&(_.endsOnDifferentStaffLine=!0,_.graphicalEndAtMeasureEnd=!0,_.endMeasure=V);const D=B.staffEntries[0];let F=V.staffEntries[V.staffEntries.length-1];m.ParentStaffLine===R&&(V=m,F=x),F.graphicalVoiceEntries.length===1&&F.graphicalVoiceEntries[0].notes.length===1&&F.graphicalVoiceEntries[0].notes[0].sourceNote.isWholeMeasureNote()&&(_.graphicalEndAtMeasureEnd=!0,_.endMeasure=V);const N="VexFlowMusicSheetCalculator.calculateSingleOctaveShift: ";D||loglevelExports.warn(N+"no firstNote found"),F||loglevelExports.warn(N+"no lastNote found"),_.setStartNote(D),_.setEndNote(F),R.OctaveShifts.push(_),this.calculateOctaveShiftSkyBottomLine(D,F,_,R)}this.calculateOctaveShiftSkyBottomLine(E,C,S,g)}else S.setEndNote(x),this.calculateOctaveShiftSkyBottomLine(E,x,S,g);g.OctaveShifts.push(S)}else loglevelExports.warn("End measure or staffLines for octave shift are undefined! This should not happen!")}findLastStafflineMeasure(e){for(let r=e.Measures.length-1;r>=0;r--){const s=e.Measures[r];if(s.staffEntries.length>0)return s}}calculateSinglePedal(e,r,s,o){var A;const a=r.PedalStart,l=a.ParentStartMultiExpression.Timestamp,c=(A=a.ParentEndMultiExpression)==null?void 0:A.Timestamp,u=this.rules.MinMeasureToDrawIndex,d=this.rules.MaxMeasureToDrawIndex;let g=this.graphicalMusicSheet.MeasureList[s][o].ParentStaffLine;g||(g=this.graphicalMusicSheet.MeasureList[u][o].ParentStaffLine);let m;a.ParentEndMultiExpression?m=this.graphicalMusicSheet.getGraphicalMeasureFromSourceMeasureAndIndex(a.ParentEndMultiExpression.SourceMeasureParent,o):m=this.graphicalMusicSheet.getLastGraphicalMeasureFromIndex(o,!0),m||(m=a.ParentStartMultiExpression.SourceMeasureParent.VerticalMeasureList[o]),m.MeasureNumber>d+1&&(m=this.graphicalMusicSheet.getLastGraphicalMeasureFromIndex(o,!0));let y;if(a.ParentEndMultiExpression?y=this.graphicalMusicSheet.getGraphicalMeasureFromSourceMeasureAndIndex(a.ParentStartMultiExpression.SourceMeasureParent,o):(y=this.graphicalMusicSheet.getGraphicalMeasureFromSourceMeasureAndIndex(a.ParentStartMultiExpression.SourceMeasureParent,o),y||(y=this.graphicalMusicSheet.MeasureList[u][o])),y.MeasureNumber<u+1&&(y=this.graphicalMusicSheet.MeasureList[u][o]),y.parentSourceMeasure.measureListIndex<u||y.parentSourceMeasure.measureListIndex>d||m.parentSourceMeasure.measureListIndex<u||m.parentSourceMeasure.measureListIndex>d)return;let b=m.ParentStaffLine;if(b||(b=g),m&&g&&b){let S=!1;g!==b&&(S=!0);const E=new VexFlowPedal(a,g.PositionAndShape,!1,S);E.setEndsStave(m,c);let x=y.findGraphicalStaffEntryFromTimestamp(l);x||(x=y.staffEntries[0]);let P=m.findGraphicalStaffEntryFromTimestamp(c);if(P||(P=m.staffEntries[m.staffEntries.length-1]),!E.setStartNote(x))return;if(E.setBeginsStave(E.startNote.isRest(),l),b!==g)if(E.pedalSymbol===MusicSymbol.PEDAL_SYMBOL){E.setEndNote(P),E.setEndMeasure(m),E.ReleaseText=" ",E.CalculateBoundingBox(),this.calculatePedalSkyBottomLine(E.startVfVoiceEntry,E.endVfVoiceEntry,E,g);const C=b.Measures[0],T=new VexFlowPedal(a,C.PositionAndShape);E.setEndsStave(m,c);const k=C.staffEntries[0];if(!T.setStartNote(k))return;T.setEndNote(P),T.setEndMeasure(m),E.setEndMeasure(m),b.Pedals.push(T),T.CalculateBoundingBox(),T.DepressText=" ",this.calculatePedalSkyBottomLine(T.startVfVoiceEntry,T.endVfVoiceEntry,T,b)}else{let C=this.findLastStafflineMeasure(g);C===void 0&&(C=m);const T=C.staffEntries[C.staffEntries.length-1];E.setEndNote(T),E.setEndMeasure(m),E.ChangeEnd=!1;const k=b.ParentMusicSystem.Id-g.ParentMusicSystem.Id;if(k>0){let I=1;for(let M=g.ParentMusicSystem.Id;M<b.ParentMusicSystem.Id;M++){const B=this.musicSystems[M+1].StaffLines[o],_=B.Measures[0];let V=!1,D=!1;I<k?V=!0:D=!0,I++;const F=new VexFlowPedal(a,_.PositionAndShape,!0,V);E.setEndsStave(m,c),F.ChangeBegin=!1,D?F.ChangeEnd=a.ChangeEnd:F.ChangeEnd=!1;let N=this.findLastStafflineMeasure(B);const K=_.staffEntries[0];let G=N.staffEntries[N.staffEntries.length-1];if(m.ParentStaffLine===B?(N=m,F.setEndMeasure(m),G=P):F.setEndMeasure(B.Measures.last()),!F.setStartNote(K))break;F.setEndNote(G),E.setEndMeasure(m),B.Pedals.push(F),F.CalculateBoundingBox(),this.calculatePedalSkyBottomLine(F.startVfVoiceEntry,F.endVfVoiceEntry,F,B)}}E.CalculateBoundingBox(),this.calculatePedalSkyBottomLine(E.startVfVoiceEntry,E.endVfVoiceEntry,E,g)}else E.setEndNote(P),E.setEndMeasure(m),E.CalculateBoundingBox(),this.calculatePedalSkyBottomLine(E.startVfVoiceEntry,E.endVfVoiceEntry,E,g);g.Pedals.push(E)}else loglevelExports.warn("End measure or staffLines for pedal are undefined! This should not happen!")}calculateSingleWavyLine(e,r,s,o){var A;const a=r.WavyLineStart,l=a.ParentStartMultiExpression.Timestamp,c=(A=a.ParentEndMultiExpression)==null?void 0:A.Timestamp,u=this.rules.MinMeasureToDrawIndex,d=this.rules.MaxMeasureToDrawIndex;let g=this.graphicalMusicSheet.MeasureList[s][o].ParentStaffLine;g||(g=this.graphicalMusicSheet.MeasureList[u][o].ParentStaffLine);let m;a.ParentEndMultiExpression?m=this.graphicalMusicSheet.getGraphicalMeasureFromSourceMeasureAndIndex(a.ParentEndMultiExpression.SourceMeasureParent,o):m=this.graphicalMusicSheet.getLastGraphicalMeasureFromIndex(o,!0),m.MeasureNumber>d+1&&(m=this.graphicalMusicSheet.getLastGraphicalMeasureFromIndex(o,!0));let y;if(a.ParentEndMultiExpression?y=this.graphicalMusicSheet.getGraphicalMeasureFromSourceMeasureAndIndex(a.ParentStartMultiExpression.SourceMeasureParent,o):y=this.graphicalMusicSheet.MeasureList[u][o],y.MeasureNumber<u+1&&(y=this.graphicalMusicSheet.MeasureList[u][o]),y.parentSourceMeasure.measureListIndex<u||y.parentSourceMeasure.measureListIndex>d||m.parentSourceMeasure.measureListIndex<u||m.parentSourceMeasure.measureListIndex>d)return;let b=m.ParentStaffLine;if(b||(b=g),m&&g&&b){const S=new VexflowVibratoBracket(a,g.PositionAndShape,y.ParentStaff.isTab);let E=y.findGraphicalStaffEntryFromTimestamp(l);E||(E=y.staffEntries[0]);let x=m.findGraphicalStaffEntryFromTimestamp(c);if(x||(x=m.staffEntries[m.staffEntries.length-1]),S.setStartNote(E),b!==g){let P=g.Measures[g.Measures.length-1];P===void 0&&(P=m);const C=P.staffEntries[P.staffEntries.length-1];if(S.setEndNote(C),b.ParentMusicSystem.Id-g.ParentMusicSystem.Id>0)for(let k=g.ParentMusicSystem.Id;k<b.ParentMusicSystem.Id;k++){const M=this.musicSystems[k+1].StaffLines[o],R=M.Measures[0],B=new VexflowVibratoBracket(a,R.PositionAndShape,M.ParentStaff.isTab);let _=M.Measures[M.Measures.length-1];const V=R.staffEntries[0];let D=_.staffEntries[_.staffEntries.length-1];m.ParentStaffLine===M&&(_=m,D=x),B.setStartNote(V),B.setEndNote(D),M.WavyLines.push(B),B.CalculateBoundingBox(),this.calculateWavyLineSkyBottomLine(B.startVfVoiceEntry,B.endVfVoiceEntry,B,M)}S.CalculateBoundingBox(),this.calculateWavyLineSkyBottomLine(S.startVfVoiceEntry,S.endVfVoiceEntry,S,g)}else S.setEndNote(x),S.CalculateBoundingBox(),this.calculateWavyLineSkyBottomLine(S.startVfVoiceEntry,S.endVfVoiceEntry,S,g);g.WavyLines.push(S)}else loglevelExports.warn("End measure or staffLines for wavy line are undefined! This should not happen!")}calculateWavyLineSkyBottomLine(e,r,s,o){var E,x;const a=s.startNote.getStave(),l=s.endNote.getStave(),c=Math.max(a.options.top_text_position,l.options.top_text_position);a.options.top_text_position=c,l.options.top_text_position=c;let u=-c,d=0,g=0,m=1/0,y=1/0;const b=1.85;let A=e.PositionAndShape.AbsolutePosition.x+e.PositionAndShape.BorderLeft;((x=(E=e.parentVoiceEntry)==null?void 0:E.OrnamentContainer)==null?void 0:x.GetOrnament)===OrnamentEnum.Trill&&(d=A,A+=2,g=A,m=o.SkyBottomLineCalculator.getSkyLineMinInRange(d,g),y=m+b);let S;if(s.ToEndOfStopStave)S=r.parentStaffEntry.parentMeasure.PositionAndShape.AbsolutePosition.x+r.parentStaffEntry.parentMeasure.PositionAndShape.BorderRight-1;else{S=r.PositionAndShape.AbsolutePosition.x+r.PositionAndShape.BorderRight;const P=r.parentStaffEntry.vfClefBefore;if(P){const C=P.getWidth()/10;S+=C}}u=o.SkyBottomLineCalculator.getSkyLineMinInRange(A,S),u!==1/0&&(u<m?(a.options.top_text_position=-u,l.options.top_text_position=-u,o.SkyBottomLineCalculator.updateSkyLineInRange(d,g,u-b)):(s.line=-y,u=y),u-=s.PositionAndShape.Size.height,o.SkyBottomLineCalculator.updateSkyLineInRange(A,S,u))}calculatePedalSkyBottomLine(e,r,s,o){var b,A,S,E;let a=r==null?void 0:r.PositionAndShape;a||(a=s.endMeasure.PositionAndShape);const l=Vex.Flow.PedalMarking.Styles,c=s.getPedalMarking(),u=c.line+3+(o.StaffLines.length-1),d=c.render_options.text_margin_right/10;let g=e.PositionAndShape.AbsolutePosition.x-d;(c.style===l.MIXED||c.style===l.MIXED_OPEN_END||c.style===l.TEXT)&&(g-=1);let m,y=o.StaffLines.length-1;for(const x of o.Pedals){const T=x.getPedalMarking().line+3+(o.StaffLines.length-1);y=Math.max(T,y)}if(s.EndSymbolPositionAndShape){const x=c.render_options.glyph_point_size/20;m=g+3.4;const P=a.AbsolutePosition.x-d,C=P+1.5;y=Math.max(o.SkyBottomLineCalculator.getBottomLineMaxInRange(g,m),y),y=Math.max(u+x*2,y);const T=o.SkyBottomLineCalculator.getBottomLineMaxInRange(P,C);s.DepressText||(y=Math.max(y,T)),s.setLine(y-3-(o.StaffLines.length-1)),o.SkyBottomLineCalculator.updateBottomLineInRange(g,m,y+x),o.SkyBottomLineCalculator.updateBottomLineInRange(P,C,y+x)}else{const x=c.render_options.bracket_height/10;if(c.EndsStave)r?m=r.parentStaffEntry.parentMeasure.PositionAndShape.AbsolutePosition.x+r.parentStaffEntry.parentMeasure.PositionAndShape.Size.width-d:m=a.AbsolutePosition.x+a.Size.width;else switch(c.style){case l.BRACKET_OPEN_END:case l.BRACKET_OPEN_BOTH:case l.MIXED_OPEN_END:m=a.AbsolutePosition.x+a.BorderRight-d;break;default:m=a.AbsolutePosition.x+a.BorderLeft-d;break}const P=(b=r==null?void 0:r.parentStaffEntry)==null?void 0:b.vfClefBefore;if(P){const C=P.getWidth()/10;m+=C}if(y=Math.max(o.SkyBottomLineCalculator.getBottomLineMaxInRange(g,m),y),y===1/0)return;if(y=Math.max(y,u+x),s.setLine(y-3-(o.StaffLines.length-1)),g>m){const C=m;m=g,g=C}o.SkyBottomLineCalculator.updateBottomLineInRange(g,m,y+x)}for(const x of o.Pedals){const P=x,C=P.getPedalMarking(),T=C.line+3+(o.StaffLines.length-1);if(y>T){const k=C.render_options.text_margin_right/10;let I=P.startVfVoiceEntry.PositionAndShape.AbsolutePosition.x-k,M;P.setLine(y-3-(o.StaffLines.length-1));let R=(A=P.endVfVoiceEntry)==null?void 0:A.PositionAndShape;if(R||(R=P.endMeasure.PositionAndShape),P.EndSymbolPositionAndShape){const B=c.render_options.glyph_point_size/20;M=I+3.4;const _=R.AbsolutePosition.x-k,V=_+1.5;o.SkyBottomLineCalculator.updateBottomLineInRange(I,M,y+B),o.SkyBottomLineCalculator.updateBottomLineInRange(_,V,y+B)}else{const B=C.render_options.bracket_height/10;if(C.EndsStave)M=R.AbsolutePosition.x+R.Size.width-k;else switch(c.style){case l.BRACKET_OPEN_END:case l.BRACKET_OPEN_BOTH:case l.MIXED_OPEN_END:M=R.AbsolutePosition.x+R.BorderRight-k;break;default:M=R.AbsolutePosition.x+R.BorderLeft-k;break}const _=(E=(S=P.endVfVoiceEntry)==null?void 0:S.parentStaffEntry)==null?void 0:E.vfClefBefore;if(_){const V=_.getWidth()/10;M+=V}if(I>M){const V=I;I=M,M=V}o.SkyBottomLineCalculator.updateBottomLineInRange(I,M,y+B)}}}}calculateOctaveShiftSkyBottomLine(e,r,s,o){if(!r){loglevelExports.warn("octaveshift: no endStaffEntry");return}let a=r.PositionAndShape;s.graphicalEndAtMeasureEnd&&(a=r.parentMeasure.PositionAndShape);let l=e.PositionAndShape.Size.width,c=a.Size.width;e.hasOnlyRests()?l=-l:l/=2,s.graphicalEndAtMeasureEnd||(r.hasOnlyRests()?c*=2:c/=2,e===r&&(c*=2));let u=e.PositionAndShape.AbsolutePosition.x-l,d=a.AbsolutePosition.x+c;if(u>d){const y=u;u=d,d=y}s.PositionAndShape.Size.width=d-u;const g=s.getTextBracket(),m=g.font.size/10;if(g.position===VF.TextBracket.Positions.TOP){const y=Math.ceil(o.SkyBottomLineCalculator.getSkyLineMinInRange(u,d));if(y===1/0)return;g.start.getStave().options.top_text_position=Math.abs(y),o.SkyBottomLineCalculator.updateSkyLineInRange(u,d,y-m*2)}else{const y=o.SkyBottomLineCalculator.getBottomLineMaxInRange(u,d);if(y===1/0)return;g.start.getStave().options.bottom_text_position=y,e.parentMeasure!==r.parentMeasure&&(g.stop.getStave().options.bottom_text_position=y),o.SkyBottomLineCalculator.updateBottomLineInRange(u,d,y+m*1.5)}}calculateWordRepetitionInstruction(e,r){let s;const o=this.graphicalMusicSheet.MeasureList[r];for(let a=0,l=o.length;a<l;++a){const c=o[a];if(c&&c.ParentStaffLine&&c.ParentStaff.ParentInstrument.Visible){s=c;break}}s&&s.addWordRepetition(e)}calculateSkyBottomLines(){const e=CollectionUtil.flat(this.musicSystems.map(s=>s.StaffLines));let r=0;for(const s of e)for(const o of s.Measures)o&&r++;this.rules.AlwaysSetPreferredSkyBottomLineBackendAutomatically&&this.rules.setPreferredSkyBottomLineBackendAutomatically(r);for(const s of e)s.SkyBottomLineCalculator.calculateLines()}calculateExpressionAlignements(){for(const e of this.musicSystems)for(const r of e.StaffLines)try{r.AlignmentManager.alignDynamicExpressions(),r.AbstractExpressions.forEach(s=>{s.updateSkyBottomLine()})}catch(s){}}handleTiedGraphicalNote(e,r,s,o,a,l,c,u){}handleBeam(e,r,s){e.parentVoiceEntry.parentStaffEntry.parentMeasure.handleBeam(e,r)}handleVoiceEntryLyrics(e,r,s){e.LyricsEntries.forEach((o,a)=>{const l=new GraphicalLyricEntry(a,r,this.rules.LyricsHeight,this.rules.StaffHeight);if(r.LyricsEntries.push(l),l.GraphicalLabel.setLabelPositionAndShapeBorders(),a.Word){const u=a.Word.Syllables.indexOf(a);let d=s.indexOf(a.Word);if(d===-1&&(s.push(a.Word),d=s.indexOf(a.Word)),this.graphicalLyricWords.length===0||d>this.graphicalLyricWords.length-1){const g=new GraphicalLyricWord(a.Word);l.ParentLyricWord=g,g.GraphicalLyricsEntries[u]=l,this.graphicalLyricWords.push(g)}else{const g=this.graphicalLyricWords[d];l.ParentLyricWord=g,g.GraphicalLyricsEntries[u]=l,g.isFilled()&&(s.splice(d,1),this.graphicalLyricWords.splice(this.graphicalLyricWords.indexOf(g),1))}}})}handleVoiceEntryOrnaments(e,r,s){}handleVoiceEntryArticulations(e,r,s){}handleVoiceEntryTechnicalInstructions(e,r,s){}handleTuplet(e,r,s){e.parentVoiceEntry.parentStaffEntry.parentMeasure.handleTuplet(e,r)}findIndexGraphicalSlurFromSlur(e,r){for(let s=0;s<e.length;s++)if(e[s].slur===r)return s;return-1}indexOfGraphicalGlissFromGliss(e,r){for(let s=0;s<e.length;s++)if(e[s].Glissando===r)return s;return-1}calculateSlurs(){const e={};for(const r of this.graphicalMusicSheet.MeasureList[0])e[r.ParentStaff.idInMusicSheet]=[];for(const r of this.musicSystems)for(const s of r.StaffLines){const o=e[s.ParentStaff.idInMusicSheet];for(let a=0;a<o.length;a++){const l=o[a],c=new GraphicalSlur(l.slur,this.rules);s.addSlurToStaffline(c),o[a]=c}for(const a of s.Measures)for(const l of a.staffEntries){for(const c of l.graphicalVoiceEntries)for(const u of c.notes)for(const d of u.sourceNote.NoteSlurs)if(!(!d.EndNote||!d.StartNote)){if(d.StartNote===u.sourceNote){const g=new GraphicalSlur(d,this.rules);o.push(g),s.addSlurToStaffline(g)}if(d.EndNote===u.sourceNote){const g=this.findIndexGraphicalSlurFromSlur(o,d);if(g>=0){const m=o[g];m.staffEntries.indexOf(l)===-1&&m.staffEntries.push(l),o.splice(g,1)}}}for(const c of o)c.staffEntries.indexOf(l)===-1&&c.staffEntries.push(l)}}for(const r of this.musicSystems)for(const s of r.StaffLines){const o=s.GraphicalSlurs.sort(GraphicalSlur.Compare);for(const a of o)a.slur.isCrossed()||a.calculateCurve(this.rules)}}calculateGlissandi(){const e={};for(const r of this.graphicalMusicSheet.MeasureList[0])e[r.ParentStaff.idInMusicSheet]=[];for(const r of this.musicSystems)for(const s of r.StaffLines){const o=e[s.ParentStaff.idInMusicSheet];for(let a=0;a<o.length;a++){const l=o[a],c=new VexFlowGlissando(l.Glissando);s.addGlissandoToStaffline(c),o[a]=c}for(const a of s.Measures)for(const l of a.staffEntries){for(const c of l.graphicalVoiceEntries)for(const u of c.notes){const d=u.sourceNote.NoteGlissando;if(!(!(d!=null&&d.EndNote)||!(d!=null&&d.StartNote))){if(d.StartNote===u.sourceNote){const g=new VexFlowGlissando(d);o.push(g),s.addGlissandoToStaffline(g)}if(d.EndNote===u.sourceNote){const g=this.indexOfGraphicalGlissFromGliss(o,d);if(g>=0){const m=o[g];m.staffEntries.indexOf(l)===-1&&m.staffEntries.push(l),o.splice(g,1)}}}}for(const c of o)c.staffEntries.indexOf(l)===-1&&c.staffEntries.push(l)}}for(const r of this.musicSystems)for(const s of r.StaffLines)for(const o of s.GraphicalGlissandi)if(s.ParentStaff.isTab){const l=o.Glissando.StartNote,c=o.Glissando.EndNote,u=o.staffEntries[0].findGraphicalNoteFromNote(l),d=o.staffEntries.last().findGraphicalNoteFromNote(c);if(!u&&!d)return;let g=1;l.FretNumber>c.FretNumber&&(g=-1);let m,y,b;u&&u.vfnote&&u.vfnote.length>=2&&(b=u.vfnote[0],m=[0]);let A;d&&d.vfnote&&d.vfnote.length>=2&&(A=d.vfnote[0],y=[0]);const S=new VF.TabSlide({first_indices:m,first_note:b,last_indices:y,last_note:A},g),E=u==null?void 0:u.parentVoiceEntry.parentStaffEntry.parentMeasure;E&&(E.vfTies.push(S),o.vfTie=S);const x=d==null?void 0:d.parentVoiceEntry.parentStaffEntry.parentMeasure;x&&(x.vfTies.push(S),o.vfTie=S)}}}class MusicPartManager{constructor(e){this.musicSheet=e}reInit(){this.init()}init(){this.parts=this.musicSheet.Repetitions.slice(),this.sheetStart=this.musicSheet.SelectionStart=new Fraction$1(0,1),this.sheetEnd=this.musicSheet.SelectionEnd=this.musicSheet.SheetEndTimestamp,this.calcMapping()}getCurrentRepetitionTimestampTransform(e){let r;for(let s=this.timestamps.length-1;s>=0;s--)if(r=this.timestamps[s],e.gte(r.from))return r;return this.timestamps[0]}absoluteEnrolledToSheetTimestamp(e){if(this.timestamps.length===0)return e;const r=this.getCurrentRepetitionTimestampTransform(e);return Fraction$1.plus(e,Fraction$1.minus(r.to,r.from))}get Parts(){return this.parts}get MusicSheet(){return this.musicSheet}getIterator(e){return e?new MusicPartManagerIterator(this.musicSheet,e,void 0):new MusicPartManagerIterator(this.musicSheet,this.musicSheet.SelectionStart,this.musicSheet.SelectionEnd)}setSelectionStart(e){this.musicSheet.SelectionStart=e,this.musicSheet.SelectionEnd=void 0}setSelectionRange(e,r){this.musicSheet.SelectionStart=e!=null?e:this.sheetStart,this.musicSheet.SelectionEnd=r!=null?r:this.sheetEnd}calcMapping(){this.timestamps=[];const e=this.getIterator();let r=e.CurrentRepetition,s=new TimestampTransform(e.CurrentEnrolledTimestamp.clone(),e.CurrentSourceTimestamp.clone(),void 0,0);for(this.timestamps.push(s);!e.EndReached;){if(e.JumpOccurred||r!==e.CurrentRepetition){if(r=e.CurrentRepetition,e.backJumpOccurred){const o=e.JumpResponsibleRepetition;s.nextBackJump=e.CurrentEnrolledTimestamp,s.curRepetition=o,s.curRepetitionIteration=e.CurrentJumpResponsibleRepetitionIterationBeforeJump;for(let a=this.timestamps.length-2;a>=0&&!(o.AbsoluteTimestamp.gt(this.timestamps[a].to)||this.timestamps[a].curRepetition);a--)this.timestamps[a].nextBackJump=s.nextBackJump,this.timestamps[a].curRepetition=o,this.timestamps[a].curRepetitionIteration=s.curRepetitionIteration}s=new TimestampTransform(e.CurrentEnrolledTimestamp.clone(),e.CurrentSourceTimestamp.clone(),void 0,0),this.timestamps.push(s)}e.moveToNext()}}}class TimestampTransform{constructor(e,r,s,o){this.from=e,this.to=r,this.curRepetition=s,this.curRepetitionIteration=o,this.nextBackJump=void 0,this.nextForwardJump=void 0}}class PartListEntry{constructor(e){this.enrolledTimestamps=[],this.visible=!0,this.musicSheet=e}get Visible(){return this.visible}set Visible(e){this.visible=e}getFirstSourceMeasure(){return this.musicSheet.SourceMeasures[this.startIndex]}getLastSourceMeasure(){return this.musicSheet.SourceMeasures[this.endIndex]}}class SourceMusicPart extends PartListEntry{constructor(e,r,s){super(e),this.musicSheet=e,this.startIndex=r,this.endIndex=s}get MeasuresCount(){return this.endIndex-this.startIndex+1}get StartIndex(){return this.startIndex}get EndIndex(){return this.endIndex}get ParentRepetition(){return this.parentRepetition}set ParentRepetition(e){this.parentRepetition=e}get AbsoluteTimestamp(){return Fraction$1.createFromFraction(this.musicSheet.SourceMeasures[this.startIndex].AbsoluteTimestamp)}setStartIndex(e){this.startIndex=e}setEndIndex(e){this.endIndex=e}}class Repetition extends PartListEntry{constructor(e,r=!1){super(e),this.backwardJumpInstructions=[],this.endingParts=[],this.endingIndexDict={},this.userNumberOfRepetitions=0,this.visibles=[],this.fromWords=!1,this.repetitonIterationOrder=[],this.numberOfEndings=1,this.musicSheet2=e,this.virtualOverallRepetition=r}get BackwardJumpInstructions(){return this.backwardJumpInstructions}get EndingIndexDict(){return this.endingIndexDict}get EndingParts(){return this.endingParts}get Visibles(){return this.visibles}set Visibles(e){this.visibles=e}get DefaultNumberOfRepetitions(){let e=2;return this.virtualOverallRepetition&&(e=1),Math.max(e,Object.keys(this.endingIndexDict).length,this.checkRepetitionForMultipleLyricVerses())}get UserNumberOfRepetitions(){return this.userNumberOfRepetitions}set UserNumberOfRepetitions(e){this.userNumberOfRepetitions=e,this.repetitonIterationOrder=[];const r=this.userNumberOfRepetitions-this.NumberOfEndings;for(let s=1;s<=this.userNumberOfRepetitions;s++)s<=r?this.repetitonIterationOrder.push(1):this.repetitonIterationOrder.push(s-r)}getForwardJumpTargetForIteration(e){const r=this.repetitonIterationOrder[e-1];return this.endingIndexDict[r]?this.endingIndexDict[r].part.StartIndex:-1}getBackwardJumpTarget(){return this.startMarker.measureIndex}setEndingsStartIndex(e,r){const s=new RepetitionEndingPart(new SourceMusicPart(this.musicSheet2,r,r));this.endingParts.push(s);for(const o of e)try{this.endingIndexDict[o]=s,s.endingIndices.push(o),this.numberOfEndings<o&&(this.numberOfEndings=o)}catch(a){loglevelExports.error("Repetition: Exception.",a)}}setEndingStartIndex(e,r){const s=new RepetitionEndingPart(new SourceMusicPart(this.musicSheet2,r,r));this.EndingIndexDict[e]=s,this.endingParts.push(s),s.endingIndices.push(e),this.numberOfEndings<e&&(this.numberOfEndings=e)}setEndingEndIndex(e,r){this.endingIndexDict[e]&&this.endingIndexDict[e].part.setEndIndex(r)}get NumberOfEndings(){return this.numberOfEndings}get FromWords(){return this.fromWords}set FromWords(e){this.fromWords=e}get AbsoluteTimestamp(){return Fraction$1.createFromFraction(this.musicSheet2.SourceMeasures[this.startMarker.measureIndex].AbsoluteTimestamp)}get StartIndex(){return this.startMarker.measureIndex}get EndIndex(){if(this.BackwardJumpInstructions.length===0)return this.StartIndex;let e=this.backwardJumpInstructions[this.backwardJumpInstructions.length-1].measureIndex;return this.endingIndexDict[this.NumberOfEndings]&&(e=Math.max(this.endingIndexDict[this.NumberOfEndings].part.EndIndex,e)),e}checkRepetitionForMultipleLyricVerses(){let e=0;const r=this.StartIndex,s=this.EndIndex;for(let o=r;o<=s;o++){const a=this.musicSheet2.SourceMeasures[o];for(let l=0;l<(a==null?void 0:a.CompleteNumberOfStaves);l++)if(a.VerticalSourceStaffEntryContainers[l]){for(const c of a.VerticalSourceStaffEntryContainers[l].StaffEntries)if(c){let u=0;for(const d of c.VoiceEntries)u+=d.LyricsEntries.keys.length;e=Math.max(e,u)}}}return e}get FirstSourceMeasureNumber(){return this.getFirstSourceMeasure().MeasureNumber}get LastSourceMeasureNumber(){return this.getLastSourceMeasure().MeasureNumber}coversIdenticalMeasures(e){return this.StartIndex===e.StartIndex&&this.EndIndex===e.EndIndex}removeFromRepetitionInstructions(){this.startMarker!==void 0&&(this.startMarker.parentRepetition=void 0),this.endMarker!==void 0&&(this.endMarker.parentRepetition=void 0);for(const e of this.BackwardJumpInstructions)e.parentRepetition=void 0}}class RepetitionEndingPart{constructor(e){this.endingIndices=[],this.part=e}ToString(){return this.endingIndices.join(", ")}}class PlaybackSettings{constructor(e=new Fraction$1,r=100){this.rhythm=e,this.beatsPerMinute=r,this.beatLengthInMilliseconds=6e4/r,this.beatRealValue=1/4}static createFrom(e){return new PlaybackSettings(e.Rhythm,e.BeatsPerMinute)}get BeatsPerMinute(){return this.beatsPerMinute}set BeatsPerMinute(e){this.beatsPerMinute=e,this.beatLengthInMilliseconds=6e4/this.beatsPerMinute}get Rhythm(){return this.rhythm}set Rhythm(e){this.rhythm=e}get BeatRealValue(){return this.beatRealValue}get BeatLengthInMilliseconds(){return this.beatLengthInMilliseconds}getDurationInMilliseconds(e){return(typeof e=="number"?e:e.RealValue)*this.BeatLengthInMilliseconds/this.beatRealValue}getDurationAsNoteDuration(e,r=1024){const s=e/this.BeatLengthInMilliseconds;let o=Math.floor(s);const a=new Fraction$1(o,4),l=s-o;return o=Math.round(l/(1/r)/4),l!==0&&o===0&&e>0&&(o=1),a.Add(new Fraction$1(o,r)),a}}class MusicSheet{constructor(){this.idString="uninitialized",this.sourceMeasures=[],this.repetitions=[],this.dynListStaves=[],this.timestampSortedDynamicExpressionsList=[],this.timestampSortedTempoExpressionsList=[],this.instrumentalGroups=[],this.instruments=[],this.musicPartManager=void 0,this.musicSheetErrors=new MusicSheetErrors,this.staves=[],this.playbackDataDict=new Dictionary,this.transpose=0,this.defaultStartTempoInBpm=0,this.drawErroneousMeasures=!1,this.hasBeenOpenedForTheFirstTime=!1,this.currentEnrolledPosition=new Fraction$1(0,1),this.soundTempos=new Map,this.userStartTempoInBPM=100,this.playbackSettings=new PlaybackSettings(new Fraction$1(4,4,0,!1),this.userStartTempoInBPM),this.pageWidth=120,this.MusicPartManager=new MusicPartManager(this),this.hasBPMInfo=!1}get SoundTempos(){return this.soundTempos}set SoundTempos(e){this.soundTempos=e}static getIndexFromStaff(e){return e.idInMusicSheet}get CurrentKeyInstruction(){return this.currentKeyInstruction}set CurrentKeyInstruction(e){this.currentKeyInstruction=e}get SourceMeasures(){return this.sourceMeasures}set SourceMeasures(e){this.sourceMeasures=e}get Repetitions(){return this.repetitions}set Repetitions(e){this.repetitions=e}get DynListStaves(){return this.dynListStaves}get TimestampSortedTempoExpressionsList(){return this.timestampSortedTempoExpressionsList}get TimestampSortedDynamicExpressionsList(){return this.timestampSortedDynamicExpressionsList}get InstrumentalGroups(){return this.instrumentalGroups}get Parts(){return this.instruments}get Instruments(){return this.instruments}get SheetPlaybackSetting(){return this.playbackSettings}set SheetPlaybackSetting(e){this.playbackSettings=e}get DrawErroneousMeasures(){return this.drawErroneousMeasures}set DrawErroneousMeasures(e){this.drawErroneousMeasures=e}get HasBeenOpenedForTheFirstTime(){return this.hasBeenOpenedForTheFirstTime}set HasBeenOpenedForTheFirstTime(e){this.hasBeenOpenedForTheFirstTime=e}InitializeStartTempoInBPM(e){this.playbackSettings.BeatsPerMinute=e,this.userStartTempoInBPM=e}get DefaultStartTempoInBpm(){return this.defaultStartTempoInBpm}set DefaultStartTempoInBpm(e){this.defaultStartTempoInBpm=e,this.InitializeStartTempoInBPM(e)}get Path(){return this.path}set Path(e){this.path=e}get Staves(){return this.staves}get TitleString(){return this.title?this.title.text:""}set TitleString(e){this.Title=new Label(e)}get SubtitleString(){return this.subtitle?this.subtitle.text:""}set SubtitleString(e){this.Subtitle=new Label(e)}get ComposerString(){return this.composer?this.composer.text:""}set ComposerString(e){this.Composer=new Label(e)}get LyricistString(){return this.lyricist?this.lyricist.text:""}set LyricistString(e){this.Lyricist=new Label(e)}get CopyrightString(){return this.copyright?this.copyright.text:""}set CopyrightString(e){this.Copyright=new Label(e,TextAlignmentEnum.CenterBottom,void 0,!0)}get Title(){return this.title}set Title(e){this.title=e}get Subtitle(){return this.subtitle}set Subtitle(e){this.subtitle=e}get Composer(){return this.composer}set Composer(e){this.composer=e}get Lyricist(){return this.lyricist}set Lyricist(e){this.lyricist=e}get Copyright(){return this.copyright}set Copyright(e){this.copyright=e}get Rules(){return this.rules||(loglevelExports.debug("warning: sheet.Rules was undefined. Creating new EngravingRules."),this.rules=new EngravingRules),this.rules}set Rules(e){this.rules=e}get SheetErrors(){return this.musicSheetErrors}get PlaybackDataDict(){return this.playbackDataDict}get SelectionStart(){return this.selectionStart}set SelectionStart(e){this.selectionStart=e.clone(),this.currentEnrolledPosition=e.clone()}get SelectionEnd(){return this.selectionEnd}set SelectionEnd(e){this.selectionEnd=e}set HasBPMInfo(e){this.hasBPMInfo=e}get HasBPMInfo(){return this.hasBPMInfo}addMeasure(e){this.sourceMeasures.push(e),e.measureListIndex=this.sourceMeasures.length-1}checkForInstrumentWithNoVoice(){for(let e=0,r=this.instruments.length;e<r;++e){const s=this.instruments[e];if(s.Voices.length===0){const o=new Voice(s,1);s.Voices.push(o)}}}getStaffFromIndex(e){return this.staves[e]}fillStaffList(){let e=0;for(let r=0,s=this.instruments.length;r<s;++r){const o=this.instruments[r];for(let a=0,l=o.Staves.length;a<l;++a){const c=o.Staves[a];c.idInMusicSheet=e,this.staves.push(c),e++}}}get MusicPartManager(){return this.musicPartManager}set MusicPartManager(e){this.musicPartManager=e}getCompleteNumberOfStaves(){let e=0;for(let r=0,s=this.instruments.length;r<s;++r){const o=this.instruments[r];e+=o.Staves.length}return e}getListOfMeasuresFromIndeces(e,r){const s=[];for(let o=e;o<=r;o++)s.push(this.sourceMeasures[o]);return s}getNextSourceMeasure(e){const r=this.sourceMeasures.indexOf(e);return r===this.sourceMeasures.length-1?e:this.sourceMeasures[r+1]}getFirstSourceMeasure(){return this.sourceMeasures[0]}getLastSourceMeasure(){return this.sourceMeasures[this.sourceMeasures.length-1]}resetAllNoteStates(){const e=this.MusicPartManager.getIterator();for(;!e.EndReached&&e.CurrentVoiceEntries;){for(let r=0,s=e.CurrentVoiceEntries.length;r<s;++r){const o=e.CurrentVoiceEntries[r];for(let a=0,l=o.Notes.length;a<l;++a){const c=o.Notes[a];c.state=NoteState.Normal}}e.moveToNext()}}getMusicSheetInstrumentIndex(e){return this.Instruments.indexOf(e)}getGlobalStaffIndexOfFirstStaff(e){const r=this.getMusicSheetInstrumentIndex(e);let s=0;for(let o=0;o<r;o++)s+=this.Instruments[o].Staves.length;return s}setRepetitionNewUserNumberOfRepetitions(e,r){let s=0;for(let o=0;o<this.repetitions.length;o++)if(this.repetitions[o]instanceof Repetition)if(e===s){this.repetitions[o].UserNumberOfRepetitions=r;break}else s++}getRepetitionByIndex(e){let r=0;for(let s=0;s<this.repetitions.length;s++)if(this.repetitions[s]instanceof Repetition){if(e===r)return this.repetitions[s];r++}}CompareTo(e){return this.Title.text.localeCompare(e.Title.text)}getExpressionsStartTempoInBPM(){if(this.TimestampSortedTempoExpressionsList.length>0){const e=this.TimestampSortedTempoExpressionsList[0];if(e.InstantaneousTempo)return e.InstantaneousTempo.TempoInBpm;if(e.ContinuousTempo)return e.ContinuousTempo.StartTempo}return this.userStartTempoInBPM}get Errors(){return this.musicSheetErrors.measureErrors}get FirstMeasureNumber(){try{return this.getFirstSourceMeasure().MeasureNumber}catch(e){return loglevelExports.info("MusicSheet.FirstMeasureNumber: ",e),0}}get LastMeasureNumber(){try{return this.getLastSourceMeasure().MeasureNumber}catch(e){return loglevelExports.info("MusicSheet.LastMeasureNumber: ",e),0}}get CurrentEnrolledPosition(){return this.currentEnrolledPosition.clone()}set CurrentEnrolledPosition(e){this.currentEnrolledPosition=e.clone()}get Transpose(){return this.transpose}set Transpose(e){this.transpose=e}get FullNameString(){return this.ComposerString+" "+this.TitleString}get IdString(){return this.idString}set IdString(e){this.idString=e}getEnrolledSelectionStartTimeStampWorkaround(){const e=this.MusicPartManager.getIterator(this.SelectionStart);return Fraction$1.createFromFraction(e.CurrentEnrolledTimestamp)}get SheetEndTimestamp(){const e=this.getLastSourceMeasure();return Fraction$1.plus(e.AbsoluteTimestamp,e.Duration)}getSourceMeasureFromTimeStamp(e){for(let r=0,s=this.sourceMeasures.length;r<s;++r){const o=this.sourceMeasures[r];for(let a=0,l=o.VerticalSourceStaffEntryContainers.length;a<l;++a){const c=o.VerticalSourceStaffEntryContainers[a];if(e.Equals(c.getAbsoluteTimestamp()))return o}}return this.findSourceMeasureFromTimeStamp(e)}findSourceMeasureFromTimeStamp(e){for(const r of this.sourceMeasures)if(r.AbsoluteTimestamp.lte(e)&&e.lt(Fraction$1.plus(r.AbsoluteTimestamp,r.Duration)))return r}getVisibleInstruments(){const e=[];for(let r=0,s=this.Instruments.length;r<s;++r){const o=this.Instruments[r];o.Voices.length>0&&o.Voices[0].Visible&&e.push(o)}return e}}MusicSheet.defaultTitle="defaultTitle";class LyricWord{constructor(){this.syllables=[]}get Syllables(){return this.syllables}containsVoiceEntry(e){for(let r=0,s=this.Syllables.length;r<s;++r)if(this.Syllables[r].Parent===e)return!0;return!1}findLyricEntryInVoiceEntry(e){for(let r=0,s=this.Syllables.length;r<s;++r){const o=this.Syllables[r];if(o.Parent===e)return o}}}class LyricsEntry{constructor(e,r,s,o,a=-1){this.text=e,this.word=s,this.parent=o,this.verseNumber=r,a>=0&&(this.syllableIndex=a)}get Text(){return this.text}set Text(e){this.text=e}get Word(){return this.word}get Parent(){return this.parent}set Parent(e){this.parent=e}get VerseNumber(){return this.verseNumber}get SyllableIndex(){return this.syllableIndex}get IsTranslation(){return this.VerseNumber.endsWith("translation")}get IsChorus(){return this.VerseNumber.startsWith("chorus")}get FontStyle(){return this.IsChorus||this.IsTranslation?FontStyles.Italic:FontStyles.Regular}}class LyricsReader{constructor(e){this.openLyricWords={},this.musicSheet=e}addLyricEntry(e,r){var s,o;if(e){const a=e;for(let l=0,c=a.length;l<c;++l){const u=a[l];try{let d="single";if(u.element("text")){let g=u.element("text");if(u.element("syllabic")&&(d=u.element("syllabic").value),g){let m="";const y=u.elements();for(const S of y)(S.name==="text"||S.name==="elision")&&(m+=S.value);if(m=m.replace(" "," "),u.element("elision")!==void 0&&m==="-"){const S=u.elements();let E=0;for(let C=0;C<S.length;C++)if(S[C].name==="elision"){E=C;break}let x,P;if(E>0)for(let C=E;C<S.length;C++){const T=S[C];T.name==="text"&&(x=T),T.name==="syllabic"&&(P=T)}x!==void 0&&P&&(g=x,d="middle")}let b="1";u.attributes()!==void 0&&u.attribute("number")&&(b=u.attribute("number").value);let A;if(d==="single"||d==="end"){if(this.openLyricWords[b]){this.currentLyricWord=this.openLyricWords[b];const S=this.currentLyricWord.Syllables.length;A=new LyricsEntry(m,b,this.currentLyricWord,r,S),this.currentLyricWord.Syllables.push(A),delete this.openLyricWords[b],this.currentLyricWord=void 0}else A=new LyricsEntry(m,b,void 0,r);A.extend=u.element("extend")!==void 0}else if(d==="begin")this.openLyricWords[b]&&(delete this.openLyricWords[b],this.currentLyricWord=void 0),this.currentLyricWord=new LyricWord,this.openLyricWords[b]=this.currentLyricWord,A=new LyricsEntry(m,b,this.currentLyricWord,r,0),this.currentLyricWord.Syllables.push(A);else if(d==="middle")if(this.openLyricWords[b]){this.currentLyricWord=this.openLyricWords[b];const S=this.currentLyricWord.Syllables.length;A=new LyricsEntry(m,b,this.currentLyricWord,r,S),this.currentLyricWord.Syllables.push(A)}else A=new LyricsEntry(m,b,void 0,r);A&&(r.LyricsEntries[b]||(r.LyricsEntries.setValue(b,A),(o=(s=r.ParentSourceStaffEntry)==null?void 0:s.VerticalContainerParent)!=null&&o.ParentMeasure&&(r.ParentSourceStaffEntry.VerticalContainerParent.ParentMeasure.hasLyrics=!0)),r.ParentVoice.Parent.LyricVersesNumbers.includes(b)||r.ParentVoice.Parent.LyricVersesNumbers.push(b))}}}catch(d){const g=ITextTranslation.translateText("ReaderErrorMessages/LyricError","Error while reading lyric entry.");this.musicSheet.SheetErrors.pushMeasureError(g);continue}}}}}class Articulation{constructor(e,r){this.articulationEnum=e,this.placement=r}Equals(e){return e.articulationEnum===this.articulationEnum&&e.placement===this.placement}}class Slur{constructor(){}get StartNote(){return this.startNote}set StartNote(e){this.startNote=e}get EndNote(){return this.endNote}set EndNote(e){this.endNote=e}startNoteHasMoreStartingSlurs(){if(!this.startNote)return!1;for(let e=0,r=this.startNote.NoteSlurs.length;e<r;++e){const s=this.startNote.NoteSlurs[e];if(s!==this&&s.StartNote===this.startNote)return!0}return!1}endNoteHasMoreEndingSlurs(){if(!this.endNote)return!1;for(let e=0,r=this.endNote.NoteSlurs.length;e<r;++e){const s=this.endNote.NoteSlurs[e];if(s!==this&&s.EndNote===this.endNote)return!0}return!1}isCrossed(){return this.startNote.ParentStaffEntry.ParentStaff!==this.endNote.ParentStaffEntry.ParentStaff}isSlurLonger(){if(!this.endNote||!this.startNote)return!1;const e=Fraction$1.minus(this.endNote.getAbsoluteTimestamp(),this.startNote.getAbsoluteTimestamp());for(let r=0,s=this.startNote.NoteSlurs.length;r<s;++r){const o=this.startNote.NoteSlurs[r];if(o!==this&&o.EndNote!==void 0&&o.StartNote!==void 0&&Fraction$1.minus(o.EndNote.getAbsoluteTimestamp(),o.StartNote.getAbsoluteTimestamp()).CompareTo(e)===-1)return!0}for(let r=0,s=this.endNote.NoteSlurs.length;r<s;++r){const o=this.endNote.NoteSlurs[r];if(o!==this&&o.EndNote!==void 0&&o.StartNote!==void 0&&Fraction$1.minus(o.EndNote.getAbsoluteTimestamp(),o.StartNote.getAbsoluteTimestamp()).CompareTo(e))return!0}return!1}}class ArticulationReader{constructor(e){this.rules=e}getAccEnumFromString(e){switch(e){case"sharp":return AccidentalEnum.SHARP;case"flat":return AccidentalEnum.FLAT;case"natural":return AccidentalEnum.NATURAL;case"double-sharp":case"sharp-sharp":return AccidentalEnum.DOUBLESHARP;case"double-flat":case"flat-flat":return AccidentalEnum.DOUBLEFLAT;case"triple-sharp":return AccidentalEnum.TRIPLESHARP;case"triple-flat":return AccidentalEnum.TRIPLEFLAT;case"quarter-sharp":return AccidentalEnum.QUARTERTONESHARP;case"quarter-flat":return AccidentalEnum.QUARTERTONEFLAT;case"three-quarters-sharp":return AccidentalEnum.THREEQUARTERSSHARP;case"three-quarters-flat":return AccidentalEnum.THREEQUARTERSFLAT;case"slash-quarter-sharp":return AccidentalEnum.SLASHQUARTERSHARP;case"slash-sharp":return AccidentalEnum.SLASHSHARP;case"double-slash-flat":return AccidentalEnum.DOUBLESLASHFLAT;case"sori":return AccidentalEnum.SORI;case"koron":return AccidentalEnum.KORON;default:return AccidentalEnum.NONE}}addArticulationExpression(e,r){var s,o;if(e!==void 0&&e.elements().length>0){const a=e.elements();for(let l=0,c=a.length;l<c;++l){const u=a[l];let d=u.name;try{d=d.replace("-","");const g=ArticulationEnum[d];if(VoiceEntry.isSupportedArticulation(g)){let m=PlacementEnum.NotYetDefined;const y=(s=u.attribute("placement"))==null?void 0:s.value;y==="above"?m=PlacementEnum.Above:y==="below"&&(m=PlacementEnum.Below);const b=new Articulation(g,m);if(d==="staccato")r.Articulations.length>0&&r.Articulations[0].articulationEnum!==ArticulationEnum.staccato&&r.Articulations.splice(0,0,b);else if(d==="breathmark")m===PlacementEnum.NotYetDefined&&(b.placement=PlacementEnum.Above);else if(d==="strongaccent"){const A=(o=u==null?void 0:u.attribute("type"))==null?void 0:o.value;A==="up"?b.articulationEnum=ArticulationEnum.marcatoup:A==="down"&&(b.articulationEnum=ArticulationEnum.marcatodown)}else if(g===ArticulationEnum.softaccent){const A=r.ParentSourceStaffEntry.ParentStaff.Id-1;m===PlacementEnum.NotYetDefined&&(m=PlacementEnum.Above,A>0&&(m=PlacementEnum.Below));const S=r.ParentSourceStaffEntry.VerticalContainerParent.ParentMeasure,E=new MultiExpression(S,r.Timestamp);E.StartingContinuousDynamic=new ContinuousDynamicExpression(ContDynamicEnum.crescendo,m,A,S,null,-1),E.StartingContinuousDynamic.IsStartOfSoftAccent=!0,E.StartingContinuousDynamic.StartMultiExpression=E,E.StartingContinuousDynamic.EndMultiExpression=E,E.EndingContinuousDynamic=new ContinuousDynamicExpression(ContDynamicEnum.diminuendo,m,A,S,null,-1),E.EndingContinuousDynamic.StartMultiExpression=E,E.EndingContinuousDynamic.EndMultiExpression=E,S.StaffLinkedExpressions[A].push(E)}if(!r.hasArticulation(b))switch(r.Articulations.push(b),b.articulationEnum){case ArticulationEnum.staccato:case ArticulationEnum.staccatissimo:r.DurationModifier=b;break;case ArticulationEnum.accent:case ArticulationEnum.strongaccent:r.VolumeModifier=b;break;default:break}}}catch(g){const m="Invalid note articulation.";loglevelExports.debug("addArticulationExpression",m,g);return}}}}addFermata(e,r){var a;let s=ArticulationEnum.fermata;e.attributes().length>0&&e.attribute("type")&&e.attribute("type").value==="inverted"&&(s=ArticulationEnum.invertedfermata);let o=PlacementEnum.Above;((a=e.attribute("placement"))==null?void 0:a.value)==="below"&&(o=PlacementEnum.Below),r.Articulations.push(new Articulation(s,o))}addTechnicalArticulations(e,r,s){var c,u;const o={bend:ArticulationEnum.bend,"down-bow":ArticulationEnum.downbow,"open-string":ArticulationEnum.naturalharmonic,"snap-pizzicato":ArticulationEnum.snappizzicato,stopped:ArticulationEnum.lefthandpizzicato,"up-bow":ArticulationEnum.upbow,harmonic:ArticulationEnum.naturalharmonic};for(const d in o){if(!o.hasOwnProperty(d))continue;const g=o[d],m=e.element(d);if(m){let y;((c=m.attribute("placement"))==null?void 0:c.value)==="above"&&(y=PlacementEnum.Above),((u=m.attribute("placement"))==null?void 0:u.value)==="below"&&(y=PlacementEnum.Below);const b=new Articulation(g,y);r.hasArticulation(b)||r.Articulations.push(b)}}const a=e.elements("fingering");for(const d of a){const g=this.createTechnicalInstruction(d,s);g.type=TechnicalInstructionType.Fingering,s.Fingering||(s.Fingering=g),r.TechnicalInstructions.push(g)}const l=e.element("string");if(l){const d=this.createTechnicalInstruction(l,s);d.type=TechnicalInstructionType.String,s.StringInstruction=d,r.TechnicalInstructions.push(d)}}createTechnicalInstruction(e,r){const s=new TechnicalInstruction;s.sourceNote=r,s.value=e.value;const o=e.attribute("placement");return this.rules.FingeringPositionFromXML&&(s.placement=this.getPlacement(o)),s}getPlacement(e,r=PlacementEnum.NotYetDefined){if(r!==PlacementEnum.NotYetDefined)return r;if(e)switch(e.value){case"above":return PlacementEnum.Above;case"below":return PlacementEnum.Below;case"left":return PlacementEnum.Left;case"right":return PlacementEnum.Right;default:return PlacementEnum.NotYetDefined}else return PlacementEnum.NotYetDefined}addOrnament(e,r){if(e){let s;const o={"delayed-inverted-turn":OrnamentEnum.DelayedInvertedTurn,"delayed-turn":OrnamentEnum.DelayedTurn,"inverted-mordent":OrnamentEnum.InvertedMordent,"inverted-turn":OrnamentEnum.InvertedTurn,mordent:OrnamentEnum.Mordent,"trill-mark":OrnamentEnum.Trill,turn:OrnamentEnum.Turn};for(const a in o){if(!o.hasOwnProperty(a))continue;const l=e.element(a);if(l){s=new OrnamentContainer(o[a]);const c=l.attribute("placement");c&&c.value==="below"&&(s.placement=PlacementEnum.Below)}}if(s){const a=e.elements("accidental-mark");if(a){let l=PlacementEnum.Below,c=AccidentalEnum.NONE;const u=a;for(let d=0,g=u.length;d<g;++d){const m=u[d];let y=m.value;c=this.getAccEnumFromString(y);const b=m.attribute("placement");m.hasAttributes&&b&&(y=b.value,y==="above"?l=PlacementEnum.Above:y==="below"&&(l=PlacementEnum.Below)),l===PlacementEnum.Above?s.AccidentalAbove=c:l===PlacementEnum.Below&&(s.AccidentalBelow=c)}}r.OrnamentContainer=s}}}}class VoiceGenerator{constructor(e,r,s,o,a=void 0){this.openBeams=[],this.beamNumberOffset=0,this.currentOctaveShift=0,this.tupletDict={},this.openTupletNumber=0,this.currMeasureVoiceEntries=[],this.graceVoiceEntriesTempList=[],this.staff=r,this.instrument=r.ParentInstrument,this.musicSheet=this.instrument.GetMusicSheet,this.slurReader=o,this.pluginManager=e,a?this.voice=new LinkedVoice(this.instrument,s,a):this.voice=new Voice(this.instrument,s),this.instrument.Voices.push(this.voice),this.staff.Voices.push(this.voice),this.lyricsReader=new LyricsReader(this.musicSheet),this.articulationReader=new ArticulationReader(this.musicSheet.Rules)}get openTieDict(){return this.staff.openTieDict}get GetVoice(){return this.voice}get OctaveShift(){return this.currentOctaveShift}set OctaveShift(e){this.currentOctaveShift=e}createVoiceEntry(e,r,s,o,a=!1,l=!1,c=!1){this.activeKey=s,this.activeRhythm=o,this.currentVoiceEntry=new VoiceEntry(Fraction$1.createFromFraction(e),this.voice,r,!0,a,l,c),a?this.graceVoiceEntriesTempList.push(this.currentVoiceEntry):(this.currentNormalVoiceEntry=this.currentVoiceEntry,this.currMeasureVoiceEntries.push(this.currentNormalVoiceEntry),this.graceVoiceEntriesTempList.length>0&&(this.currentVoiceEntry.GraceVoiceEntriesBefore=this.graceVoiceEntriesTempList,this.graceVoiceEntriesTempList=[]))}finalizeReadingMeasure(){this.graceVoiceEntriesTempList.length>0&&this.currentNormalVoiceEntry!==void 0&&this.currentNormalVoiceEntry.GraceVoiceEntriesAfter.concat(this.graceVoiceEntriesTempList),this.graceVoiceEntriesTempList=[],this.pluginManager.processVoiceMeasureReadPlugins(this.currMeasureVoiceEntries,this.activeKey,this.activeRhythm),this.currMeasureVoiceEntries.length=0,this.openBeams.length>1&&this.handleOpenBeam()}read(e,r,s,o,a,l,c,u,d,g,m,y,b,A,S,E,x,P,C,T,k,I,M){this.currentStaffEntry=c,this.currentMeasure=u;try{this.currentNote=l?this.addRestNote(e.element("rest"),r,o,s,a,b,A,C,e):this.addSingleNote(e,r,o,s,a,m,y,b,A,S,E,x,P,C,k,I,M),this.currentNote.DotsXml=T;const R=e.elements("lyric");this.lyricsReader!==void 0&&R&&(this.lyricsReader.addLyricEntry(R,this.currentVoiceEntry),this.voice.Parent.HasLyrics=!0);let B=!1;const _=e.element("notations");if(_){this.articulationReader&&this.readArticulations(_,this.currentVoiceEntry,this.currentNote);const V=_.elements("slur"),D=_.elements("slide"),F=_.elements("glissando");this.slurReader!==void 0&&(V.length>0||D.length>0)&&!this.currentNote.ParentVoiceEntry.IsGrace&&(this.slurReader.addSlur(V,this.currentNote),D.length>0&&this.slurReader.addSlur(D,this.currentNote),F.length>0&&this.slurReader.addSlur(F,this.currentNote));const N=_.elements("tuplet");N.length>0&&(this.openTupletNumber=this.addTuplet(e,N),B=!0);const K=_.element("arpeggiate");if(K!==void 0){let O;if(this.currentVoiceEntry.Arpeggio)O=this.currentVoiceEntry.Arpeggio;else{let U=!1;for(const $ of this.currentStaffEntry.VoiceEntries)if($.Arpeggio){U=!0,O=$.Arpeggio;break}if(!U){let $=ArpeggioType.ARPEGGIO_DIRECTIONLESS;const Y=K.attribute("direction");if(Y)switch(Y.value){case"up":$=ArpeggioType.ROLL_UP;break;case"down":$=ArpeggioType.ROLL_DOWN;break;default:$=ArpeggioType.ARPEGGIO_DIRECTIONLESS}O=new Arpeggio(this.currentVoiceEntry,$),this.currentVoiceEntry.Arpeggio=O}}O.addNote(this.currentNote)}const G=_.elements("tied");G.length>0&&this.addTie(G,d,g,TieTypes.SIMPLE);const q=_.element("technical");if(q){const O=q.elements("hammer-on");O.length>0&&this.addTie(O,d,g,TieTypes.HAMMERON);const U=q.elements("pull-off");U.length>0&&this.addTie(U,d,g,TieTypes.PULLOFF)}}e.element("time-modification")!==void 0&&!B&&this.handleTimeModificationNode(e)}catch(R){loglevelExports.warn(R);const B=ITextTranslation.translateText("ReaderErrorMessages/NoteError","Ignored erroneous Note.");this.musicSheet.SheetErrors.pushMeasureError(B),this.musicSheet.SheetErrors.pushMeasureError(R)}return this.currentNote}checkForStaffEntryLink(e,r,s,o){const a=new StaffEntryLink(this.currentVoiceEntry);a.LinkStaffEntries.push(s),s.Link=a;const l=this.currentVoiceEntry.Timestamp.clone(),c=o.getVerticalContainerByTimestamp(l);return s=c.StaffEntries[e],s||(s=new SourceStaffEntry(c,r),c.StaffEntries[e]=s),s.VoiceEntries.push(this.currentVoiceEntry),a.LinkStaffEntries.push(s),s.Link=a,s}checkForOpenBeam(){this.openBeams.length>0&&this.currentNote&&this.handleOpenBeam()}checkOpenTies(){const e=this.openTieDict;for(const r in e)if(e.hasOwnProperty(r)){const s=e[r];Fraction$1.plus(s.StartNote.ParentStaffEntry.Timestamp,s.Duration).lt(s.StartNote.SourceMeasure.Duration)&&delete e[r]}}hasVoiceEntry(){return this.currentVoiceEntry!==void 0}readArticulations(e,r,s){const o=e.element("articulations");o&&this.articulationReader.addArticulationExpression(o,r);const a=e.element("fermata");a&&this.articulationReader.addFermata(a,r);const l=e.element("technical");l&&this.articulationReader.addTechnicalArticulations(l,r,s);const c=e.element("ornaments");c&&this.articulationReader.addOrnament(c,r)}addSingleNote(e,r,s,o,a,l,c,u,d,g,m,y,b,A,S,E,x){var xe;let P=0,C,T=AccidentalEnum.NONE,k=NoteEnum.C,I=NoteEnum.C,M=0,R=0,B,_,V;const D=e.elements();for(let ue=0,W=D.length;ue<W;++ue){const J=D[ue];try{if(J.name==="pitch"){const ce=J.elements();for(let ge=0,Ee=ce.length;ge<Ee;++ge){const Te=ce[ge];_=void 0,V=void 0;try{if(Te.name==="step"){if(k=NoteEnum[Te.value],k===void 0){const De=ITextTranslation.translateText("ReaderErrorMessages/NotePitchError","Invalid pitch while reading note.");throw this.musicSheet.SheetErrors.pushMeasureError(De),new MusicSheetReadingException(De,void 0)}}else if(Te.name==="alter"){if(P=parseFloat(Te.value),isNaN(P)){const De=ITextTranslation.translateText("ReaderErrorMessages/NoteAlterationError","Invalid alteration while reading note.");throw this.musicSheet.SheetErrors.pushMeasureError(De),new MusicSheetReadingException(De,void 0)}T=Pitch.AccidentalFromHalfTones(P)}else if(Te.name==="octave"&&(M=parseInt(Te.value,10),isNaN(M))){const De=ITextTranslation.translateText("ReaderErrorMessages/NoteOctaveError","Invalid octave value while reading note.");throw this.musicSheet.SheetErrors.pushMeasureError(De),new MusicSheetReadingException(De,void 0)}}catch(De){loglevelExports.info("VoiceGenerator.addSingleNote read Step: ",De.message)}}}else if(J.name==="accidental")C=J.value,C==="natural"?T=AccidentalEnum.NATURAL:C==="slash-flat"?T=AccidentalEnum.SLASHFLAT:C==="slash-quarter-sharp"?T=AccidentalEnum.SLASHQUARTERSHARP:C==="slash-sharp"?T=AccidentalEnum.SLASHSHARP:C==="double-slash-flat"?T=AccidentalEnum.DOUBLESLASHFLAT:C==="sori"?T=AccidentalEnum.SORI:C==="koron"&&(T=AccidentalEnum.KORON);else if(J.name==="unpitched"){const ce=J.element("display-step"),ge=J.element("display-octave");if(ge&&(M=parseInt(ge.value,10),R=M-3,c&&(M+=1),this.instrument.Staves[0].StafflineCount===1&&(R+=1)),ce){k=NoteEnum[ce.value.toUpperCase()];let Ee=0,Te=this.musicSheet.Rules.PercussionXMLDisplayStepNoteValueShift;this.instrument.Staves[0].StafflineCount===1&&(Te-=3),[I,Ee]=Pitch.lineShiftFromNoteEnum(k,Te),R+=Ee}}else J.name==="instrument"?J.firstAttribute&&(B=J.firstAttribute.value):J.name==="notehead"&&(_=J.value,J.attribute("filled")&&(V=J.attribute("filled").value==="yes"))}catch(ce){loglevelExports.info("VoiceGenerator.addSingleNote: ",ce)}}M-=Pitch.OctaveXmlDifference;const F=new Pitch(k,M,T,C),N=Fraction$1.createFromFraction(r);let K,G=-1,q=-1;const O=[],U=e.element("notations");if(U){const ue=U.element("technical");if(ue){const W=ue.element("string");W&&(G=parseInt(W.value,10));const J=ue.element("fret");J&&(q=parseInt(J.value,10)),ue.elements("bend").forEach(function(ge){const Ee=ge.element("bend-alter");ge.element("release")!==void 0?O.push({bendalter:parseInt(Ee.value,10),direction:"down"}):O.push({bendalter:parseInt(Ee.value,10),direction:"up"})})}}G<0||q<0?K=new Note$1(this.currentVoiceEntry,this.currentStaffEntry,N,F,this.currentMeasure):K=new TabNote(this.currentVoiceEntry,this.currentStaffEntry,N,F,this.currentMeasure,G,q,O);let $=[];const Y=e.element("times"),Q=(xe=Y==null?void 0:Y.elem)==null?void 0:xe.getElementsByTagName("time");return Q&&Q.length&&Array.from(Q).forEach(ue=>{const W=ue.getAttribute("begin"),J=ue.getAttribute("end");$.push({begin:W?W/1e3:0,end:J?J/1e3:0})}),this.addNoteInfo(K,s,u,d,a,I,R,A,A,$),K.TypeLength=o,K.IsGraceNote=g,K.StemDirectionXml=m,K.TremoloInfo=y,K.PlaybackInstrumentId=B,(_!==void 0&&_!=="normal"||V!==void 0)&&(K.Notehead=new Notehead(K,_,V)),K.NoteheadColorXml=A,K.NoteheadColor=A,K.PlaybackInstrumentId=B,K.TremoloType=S,K.glissandoType=E,K.slideType=x,this.currentVoiceEntry.addNote(K),m===StemDirectionType.None&&(b="#00000000"),this.currentVoiceEntry.StemDirectionXml=m,b&&(this.currentVoiceEntry.StemColorXml=b,this.currentVoiceEntry.StemColor=b,K.StemColorXml=b),e.elements("beam")&&!l&&this.createBeam(e,K),K}addRestNote(e,r,s,o,a,l,c,u,d){var T;const g=Fraction$1.createFromFraction(r),m=e.element("display-step"),y=e.element("display-octave");let b,A,S;m&&y&&(b=NoteEnum[m.value.toUpperCase()],A=parseInt(y.value,10),S=new Pitch(b,A,AccidentalEnum.NONE,void 0,!0));const E=new Note$1(this.currentVoiceEntry,this.currentStaffEntry,g,S,this.currentMeasure,!0);let x=[];const P=e.element("times")||d.element("times"),C=(T=P==null?void 0:P.elem)==null?void 0:T.getElementsByTagName("time");return C&&C.length&&Array.from(C).forEach(k=>{const I=k.getAttribute("begin"),M=k.getAttribute("end");x.push({begin:I?I/1e3:0,end:M?M/1e3:0})}),this.addNoteInfo(E,s,l,c,a,b,A,u,u,x),E.TypeLength=o,this.currentVoiceEntry.Notes.push(E),this.openBeams.length>0&&this.openBeams.last().ExtendedNoteList.push(E),E}addNoteInfo(e,r,s,o,a,l,c,u,d,g){e.NoteTypeXml=r,e.PrintObject=s,e.IsCueNote=o,e.NormalNotes=a,e.displayStepUnpitched=l,e.displayOctaveUnpitched=c,e.NoteheadColorXml=u,e.NoteheadColor=u,e.noteTimeInfo=g}createBeam(e,r){var s;try{const o=e.element("beam");let a;if(o!==void 0&&o.hasAttributes&&(a=o.attribute("number")),a){let l=parseInt(a.value,10);const c=e.elements("beam"),u=c[0].value;c&&(u==="begin"?(l===((s=this.openBeams.last())==null?void 0:s.BeamNumber)?(this.beamNumberOffset++,l+=this.beamNumberOffset):this.openBeams.last()&&this.handleOpenBeam(),this.openBeams.push(new Beam(l,this.beamNumberOffset))):l+=this.beamNumberOffset);let d=!1;if(!(l>0&&l<=this.openBeams.length)||!this.openBeams[l-1]){loglevelExports.debug("[OSMD] invalid beamnumber");return}for(let g=0,m=this.openBeams[l-1].Notes.length;g<m;++g){const y=this.openBeams[l-1].Notes[g];this.currentVoiceEntry===y.ParentVoiceEntry&&(d=!0)}d||(this.openBeams[l-1].addNoteToBeam(r),u==="end"&&this.endBeam())}}catch(o){const a=ITextTranslation.translateText("ReaderErrorMessages/BeamError","Error while reading beam.");throw this.musicSheet.SheetErrors.pushMeasureError(a),new MusicSheetReadingException("",o)}}endBeam(){this.openBeams.pop(),this.beamNumberOffset=Math.max(0,this.beamNumberOffset-1)}handleOpenBeam(){const e=this.openBeams.last();if(e.Notes.length===0){this.endBeam();return}if(e.Notes.length===1){const r=e.Notes[0];r.NoteBeam=void 0,this.endBeam();return}if(this.currentNote===CollectionUtil.last(e.Notes))this.endBeam();else{const s=CollectionUtil.last(e.Notes).ParentStaffEntry,o=this.currentMeasure.getVerticalContainerIndexByTimestamp(s.Timestamp),a=s.VerticalContainerParent.StaffEntries.indexOf(s);if(o<this.currentMeasure.VerticalSourceStaffEntryContainers.length-1){const l=this.currentMeasure.VerticalSourceStaffEntryContainers[o+1].StaffEntries[a];if(l)for(let c=0,u=l.VoiceEntries.length;c<u;++c){const d=l.VoiceEntries[c];if(d.ParentVoice===this.voice){const g=d.Notes[0];g.Length.lte(new Fraction$1(1,8))?(this.openBeams.last().addNoteToBeam(g),this.endBeam()):this.endBeam()}}}else this.endBeam()}}addTuplet(e,r){let s=!1,o;if(r!==void 0&&r.length>1){let a=e.element("time-modification");a&&(a=a.element("actual-notes"));const l=r;for(let c=0,u=l.length;c<u;++c){const d=l[c];if(d!==void 0&&d.attributes()){const g=d.attribute("bracket");g&&g.value==="yes"?(s=!0,o=!0):g&&g.value==="no"&&(o=!1);const m=this.readShowNumberNoneGiven(d),y=d.attribute("type");if(y&&y.value==="start"){let b=1;d.attribute("number")&&(b=parseInt(d.attribute("number").value,10));let A=0;if(a&&(A=parseInt(a.value,10),isNaN(A))){const P=ITextTranslation.translateText("ReaderErrorMessages/TupletNoteDurationError","Invalid tuplet note duration.");throw this.musicSheet.SheetErrors.pushMeasureError(P),new MusicSheetReadingException(P,void 0)}const S=new Tuplet(A,s);S.BracketedXmlValue=o,S.ShowNumberNoneGivenInXml=m,S.tupletLabelNumberPlacement=PlacementEnum.Above;const E=d.attribute("placement");E&&(E.value==="below"&&(S.tupletLabelNumberPlacement=PlacementEnum.Below),S.PlacementFromXml=!0),this.tupletDict[b]&&(delete this.tupletDict[b],Object.keys(this.tupletDict).length===0?this.openTupletNumber=0:Object.keys(this.tupletDict).length>1&&this.openTupletNumber--),this.tupletDict[b]=S;const x=[];x.push(this.currentNote),S.Notes.push(x),S.Fractions.push(this.getTupletNoteDurationFromType(e)),this.currentNote.NoteTuplet=S,this.openTupletNumber=b}else if(y.value==="stop"){let b=1;d.attribute("number")&&(b=parseInt(d.attribute("number").value,10));const A=this.tupletDict[b];if(A){const S=d.attribute("placement");S&&(S.value==="below"?A.tupletLabelNumberPlacement=PlacementEnum.Below:A.tupletLabelNumberPlacement=PlacementEnum.Above,A.PlacementFromXml=!0);const E=[];if(E.push(this.currentNote),A.Notes.push(E),!A.PlacementFromXml){let x=!1;for(const P of A.Notes){for(const C of P)if(!C.isRest()){C.StemDirectionXml===StemDirectionType.Down?A.tupletLabelNumberPlacement=PlacementEnum.Below:A.tupletLabelNumberPlacement=PlacementEnum.Above,x=!0;break}if(x)break}}A.Fractions.push(this.getTupletNoteDurationFromType(e)),this.currentNote.NoteTuplet=A,delete this.tupletDict[b],Object.keys(this.tupletDict).length===0?this.openTupletNumber=0:Object.keys(this.tupletDict).length>1&&this.openTupletNumber--}}}}}else if(r[0]){const a=r[0];if(a.hasAttributes){const l=a.attribute("type").value;let c=1;a.attribute("number")&&(c=parseInt(a.attribute("number").value,10));const u=isNaN(c),d=this.readShowNumberNoneGiven(a),g=a.attribute("bracket");if(g&&g.value==="yes"?(s=!0,o=!0):g&&g.value==="no"&&(o=!1),l==="start"){let m=0,y=e.element("time-modification");if(y&&(y=y.element("actual-notes")),y&&(m=parseInt(y.value,10),isNaN(m))){const E=ITextTranslation.translateText("ReaderErrorMessages/TupletNoteDurationError","Invalid tuplet note duration.");throw this.musicSheet.SheetErrors.pushMeasureError(E),new MusicSheetReadingException(E)}u&&(this.openTupletNumber++,c=this.openTupletNumber);let b=this.tupletDict[c];b||(b=this.tupletDict[c]=new Tuplet(m,s),b.BracketedXmlValue=o,b.ShowNumberNoneGivenInXml=d,b.tupletLabelNumberPlacement=PlacementEnum.Above);const A=a.attribute("placement");A&&(A.value==="below"?b.tupletLabelNumberPlacement=PlacementEnum.Below:b.tupletLabelNumberPlacement=PlacementEnum.Above,b.PlacementFromXml=!0);const S=[];S.push(this.currentNote),b.Notes.push(S),b.Fractions.push(this.getTupletNoteDurationFromType(e)),this.currentNote.NoteTuplet=b,this.openTupletNumber=c}else if(l==="stop"){u&&(c=this.openTupletNumber);const m=this.tupletDict[this.openTupletNumber];if(m){const y=a.attribute("placement");y&&(y.value==="below"?m.tupletLabelNumberPlacement=PlacementEnum.Below:m.tupletLabelNumberPlacement=PlacementEnum.Above,m.PlacementFromXml=!0);const b=[];if(b.push(this.currentNote),m.Notes.push(b),!m.PlacementFromXml){let A=!1;for(const S of m.Notes){for(const E of S)if(!E.isRest()){E.StemDirectionXml===StemDirectionType.Down?m.tupletLabelNumberPlacement=PlacementEnum.Below:m.tupletLabelNumberPlacement=PlacementEnum.Above,A=!0;break}if(A)break}}m.Fractions.push(this.getTupletNoteDurationFromType(e)),this.currentNote.NoteTuplet=m,Object.keys(this.tupletDict).length===0?this.openTupletNumber=0:Object.keys(this.tupletDict).length>1&&this.openTupletNumber--,delete this.tupletDict[c]}}}}return this.openTupletNumber}readShowNumberNoneGiven(e){const r=e.attribute("show-number");return!!(r!=null&&r.value&&r.value==="none")}handleTimeModificationNode(e){if(this.tupletDict[this.openTupletNumber])try{const r=this.tupletDict[this.openTupletNumber],s=CollectionUtil.last(r.Notes),o=s[0].ParentVoiceEntry;let a;o.Timestamp.Equals(this.currentVoiceEntry.Timestamp)?a=s:(a=[],r.Notes.push(a),r.Fractions.push(this.getTupletNoteDurationFromType(e))),a.push(this.currentNote),this.currentNote.NoteTuplet=r}catch(r){const s=ITextTranslation.translateText("ReaderErrorMessages/TupletNumberError","Invalid tuplet number.");throw this.musicSheet.SheetErrors.pushMeasureError(s),r}else if(this.currentVoiceEntry.Notes.length>0){const r=this.currentVoiceEntry.Notes[0];if(r.NoteTuplet){const s=r.NoteTuplet;CollectionUtil.last(s.Notes).push(this.currentNote),this.currentNote.NoteTuplet=s}}}addTie(e,r,s,o){if(e){if(e.length===1){const a=e[0];if(a!==void 0&&a.attributes()){const l=this.getTieDirection(a),c=a.attribute("type").value;try{if(c==="start"){const u=this.findCurrentNoteInTieDict(this.currentNote);u<0&&delete this.openTieDict[u];const d=this.getNextAvailableNumberForTie(),g=new Tie(this.currentNote,o);this.openTieDict[d]=g,g.TieNumber=d,g.TieDirection=l}else if(c==="stop"){const u=this.findCurrentNoteInTieDict(this.currentNote),d=this.openTieDict[u];d&&(d.AddNote(this.currentNote),delete this.openTieDict[u])}}catch(u){const d=ITextTranslation.translateText("ReaderErrorMessages/TieError","Error while reading tie.");this.musicSheet.SheetErrors.pushMeasureError(d)}}}else if(e.length===2){const a=this.findCurrentNoteInTieDict(this.currentNote);if(a>=0){const l=this.openTieDict[a];l.AddNote(this.currentNote);for(const c of e)if(c.attribute("type").value==="start"){const d=this.getTieDirection(c);l.NoteIndexToTieDirection[l.Notes.length-1]=d}}}}}getTieDirection(e){let r=PlacementEnum.NotYetDefined;const s=e.attribute("placement");s&&(s.value==="above"?r=PlacementEnum.Above:s.value==="below"&&(r=PlacementEnum.Below));const o=e.attribute("orientation");return o&&(o.value==="over"?r=PlacementEnum.Above:o.value==="under"&&(r=PlacementEnum.Below)),r}getNextAvailableNumberForTie(){const e=Object.keys(this.openTieDict);if(e.length===0)return 1;e.sort((r,s)=>+r-+s);for(let r=0;r<e.length;r++)if(""+(r+1)!==e[r])return r+1;return+e[e.length-1]+1}findCurrentNoteInTieDict(e){const r=this.openTieDict;for(const s in r)if(r.hasOwnProperty(s)){const o=r[s],a=o.Notes[0],l=e;if(o.Pitch.FundamentalNote===e.Pitch.FundamentalNote&&o.Pitch.Octave===e.Pitch.Octave)return parseInt(s,10);if(a.StringNumberTab!==void 0&&a.StringNumberTab===l.StringNumberTab)return parseInt(s,10)}return-1}getTupletNoteDurationFromType(e){if(e.element("type")){const r=e.element("type");if(r){const s=r.value;try{return NoteTypeHandler.getNoteDurationFromType(s)}catch(o){const a=ITextTranslation.translateText("ReaderErrorMessages/NoteDurationError","Invalid note duration.");throw this.musicSheet.SheetErrors.pushMeasureError(a),new MusicSheetReadingException("",o)}}}}}class ChordSymbolReader{static readChordSymbol(e,r,s){const o=e.element("root"),a=e.element("kind"),l=a.attribute("text");if(!o||!a)return;const c=o.element("root-step"),u=o.element("root-alter");if(!c)return;let d;try{d=NoteEnum[c.value.trim()]}catch(P){const C=ITextTranslation.translateText("ReaderErrorMessages/ChordSymbolError","Invalid chord symbol");r.SheetErrors.pushMeasureError(C),loglevelExports.debug("InstrumentReader.readChordSymbol",C,P);return}let g=AccidentalEnum.NONE;if(u)try{g=Pitch.AccidentalFromHalfTones(parseInt(u.value,10))}catch(P){const C=ITextTranslation.translateText("ReaderErrorMessages/ChordSymbolError","Invalid chord symbol");r.SheetErrors.pushMeasureError(C),loglevelExports.debug("InstrumentReader.readChordSymbol",C,P)}const m=new Pitch(d,1,g);let y=a.value.trim().replace("-","");if(l)switch(l.value){case"aug":y="augmented";break;case"dim":y="diminished";break}let b;try{b=ChordSymbolEnum[y]}catch(P){const C=ITextTranslation.translateText("ReaderErrorMessages/ChordSymbolError","Invalid chord symbol");r.SheetErrors.pushMeasureError(C),loglevelExports.debug("InstrumentReader.readChordSymbol",C,P);return}let A;const S=e.element("bass");if(S){const P=S.element("bass-step"),C=S.element("bass-alter");let T=NoteEnum.C;if(P)try{T=NoteEnum[P.value.trim()]}catch(I){const M=ITextTranslation.translateText("ReaderErrorMessages/ChordSymbolError","Invalid chord symbol");r.SheetErrors.pushMeasureError(M),loglevelExports.debug("InstrumentReader.readChordSymbol",M,I);return}let k=AccidentalEnum.NONE;if(C)try{k=Pitch.AccidentalFromHalfTones(parseInt(C.value,10))}catch(I){const M=ITextTranslation.translateText("ReaderErrorMessages/ChordSymbolError","Invalid chord symbol");r.SheetErrors.pushMeasureError(M),loglevelExports.debug("InstrumentReader.readChordSymbol",M,I)}A=new Pitch(T,1,k)}const E=[],x=e.elements("degree");for(const P of x)if(P){const C=P.element("degree-value"),T=P.element("degree-alter"),k=P.element("degree-type");if(!C||!T||!k)return;let I;try{I=parseInt(C.value.trim(),10)}catch(B){const _=ITextTranslation.translateText("ReaderErrorMessages/ChordSymbolError","Invalid chord symbol");r.SheetErrors.pushMeasureError(_),loglevelExports.debug("InstrumentReader.readChordSymbol",_,B);return}let M;try{M=Pitch.AccidentalFromHalfTones(parseInt(T.value,10))}catch(B){const _=ITextTranslation.translateText("ReaderErrorMessages/ChordSymbolError","Invalid chord symbol");r.SheetErrors.pushMeasureError(_),loglevelExports.debug("InstrumentReader.readChordSymbol",_,B);return}let R;try{R=ChordDegreeText[k.value.trim().toLowerCase()]}catch(B){const _=ITextTranslation.translateText("ReaderErrorMessages/ChordSymbolError","Invalid chord symbol");r.SheetErrors.pushMeasureError(_),loglevelExports.debug("InstrumentReader.readChordSymbol",_,B);return}E.push(new Degree(I,M,R))}return new ChordSymbolContainer(m,b,A,E,r.Rules)}}class Pedal{constructor(e=!1,r=!0){this.ChangeEnd=!1,this.ChangeBegin=!1,this.EndsStave=!1,this.BeginsStave=!1,this.line=e,this.sign=r}get IsLine(){return this.line}get IsSign(){return this.sign}}class WavyLine extends AbstractExpression{constructor(e){super(e)}}class ExpressionReader{constructor(e,r,s){this.openContinuousDynamicExpressions=[],this.musicSheet=e,this.staffNumber=s,this.globalStaffIndex=e.getGlobalStaffIndexOfFirstStaff(r)+(s-1),this.initialize()}readExpressionParameters(e,r,s,o,a,l,c){this.initialize();const u=e.element("offset");if(u!==void 0&&!c)try{this.offsetDivisions=parseInt(u.value,10)}catch(A){const S="ReaderErrorMessages/ExpressionOffsetError, Invalid expression offset -> set to default.";loglevelExports.debug("ExpressionReader.readExpressionParameters",S,A),this.musicSheet.SheetErrors.pushMeasureError(S),this.offsetDivisions=0}this.directionTimestamp=Fraction$1.createFromFraction(o);let d=new Fraction$1(Math.abs(this.offsetDivisions),s*4);this.offsetDivisions>0?o.RealValue>0?(d=Fraction$1.multiply(Fraction$1.minus(o,a),d),this.directionTimestamp=Fraction$1.plus(d,o)):this.directionTimestamp=Fraction$1.createFromFraction(d):this.offsetDivisions<0&&(o.RealValue>0?(d=Fraction$1.multiply(Fraction$1.minus(o,a),d),this.directionTimestamp=Fraction$1.minus(o,d)):this.directionTimestamp=Fraction$1.createFromFraction(d));let g;const m=e.element("direction-type");let y;if(m&&(y=m.element("wedge"),y)){const A=y.attribute("default-y");A&&(g=this.readPosition(A))}this.WedgeYPosXml=g;const b=e.attribute("placement");if(b)try{const A=b.value;A==="below"?this.placement=PlacementEnum.Below:A==="above"&&(this.placement=PlacementEnum.Above)}catch(A){const S=ITextTranslation.translateText("ReaderErrorMessages/ExpressionPlacementError","Invalid expression placement -> set to default.");loglevelExports.debug("ExpressionReader.readExpressionParameters",S,A),this.musicSheet.SheetErrors.pushMeasureError(S),this.placement=PlacementEnum.Below}if(this.placement===PlacementEnum.NotYetDefined)try{if(m){const A=m.element("dynamics");if(A){const x=A.attribute("default-y");x&&this.readExpressionPlacement(x,"read dynamics y pos")}if(y){const x=y.attribute("default-y");x&&this.readExpressionPlacement(x,"read wedge y pos")}const S=m.element("words");if(S){const x=S.attribute("default-y");x&&this.readExpressionPlacement(x,"read words y pos")}const E=m.element("rehearsal");if(E){const x=E.attribute("default-y");x&&this.readExpressionPlacement(x,"read rehearsal pos")}}}catch(A){const S=ITextTranslation.translateText("ReaderErrorMessages/ExpressionPlacementError","Invalid expression placement. Set to default.");loglevelExports.debug("ExpressionReader.readExpressionParameters",S,A),this.musicSheet.SheetErrors.pushMeasureError(S),this.placement=PlacementEnum.Below}this.placement===PlacementEnum.NotYetDefined&&(r.Staves.length>1?this.placement=PlacementEnum.Below:r.HasLyrics?this.placement=PlacementEnum.Above:this.placement=PlacementEnum.Below)}read(e,r,s,o=void 0,a=0,l){let c=!1,u=!1;const d=e.element("sound");if(d){const y=d.attribute("tempo"),b=d.attribute("dynamics");if(y){const A=y.value.match(/^(\d+)(\.\d+)?$/);(A==null?void 0:A.length)>0?this.soundTempo=Math.round(Number.parseFloat(y.value)):(loglevelExports.info("invalid xml tempo: "+y.value),this.soundTempo=100),r.TempoInBPM=this.soundTempo,this.musicSheet.DefaultStartTempoInBpm===0&&(this.musicSheet.DefaultStartTempoInBpm=this.soundTempo),this.musicSheet.HasBPMInfo=!0,c=!0}if(b){const A=b.value.match(/\d+/);this.soundDynamic=A!==void 0?parseInt(A[0],10):100,u=!0}}const g=e.element("direction-type");if(!g)return;let m=g.element("metronome");if(m){r.metronomeNoteIndex=a;const y=m.element("beat-unit"),b=m.element("beat-unit-dot")!==void 0,A=m.element("per-minute");if(y!==void 0&&A){m.hasAttributes&&m.attribute("default-x")!==void 0&&(this.directionTimestamp=Fraction$1.createFromFraction(s));const E=parseFloat(A.value);!l&&this.createNewTempoExpressionIfNeeded(r);const x=new InstantaneousTempoExpression(void 0,this.placement,this.staffNumber,E,this.currentMultiTempoExpression,!0);x.parentMeasure=r,this.soundTempo=E,r.TempoInBPM=this.soundTempo*(b?1.5:1),this.musicSheet.DefaultStartTempoInBpm===0&&(this.musicSheet.DefaultStartTempoInBpm=this.soundTempo),r.MeasureNumberXML===1&&this.musicSheet.SourceMeasures.length===0&&(this.musicSheet.DefaultStartTempoInBpm=this.soundTempo),this.musicSheet.HasBPMInfo=!0,x.dotted=b,x.beatUnit=y.value,this.currentMultiTempoExpression.addExpression(x,""),this.currentMultiTempoExpression.CombinedExpressionsText="test"}return}if(m=g.element("dynamics"),m){const y=e.element("notations")!==void 0;this.interpretInstantaneousDynamics(m,r,s,y);return}if(m=g.element("words"),m){const y=g.elements("words");let b="";for(const A of y)b+=A.value;if(m.value=b,c||isSpeedKeyword(m.value)||isSpeedHiddenKeyword(m.value)){this.createNewTempoExpressionIfNeeded(r),this.currentMultiTempoExpression.CombinedExpressionsText=m.value,(isSpeedKeyword(m.value)||isSpeedHiddenKeyword(m.value))&&(m.value=void 0);const A=new InstantaneousTempoExpression(m.value,this.placement,this.staffNumber,this.soundTempo,this.currentMultiTempoExpression);this.currentMultiTempoExpression.addExpression(A,"")}else u||this.interpretWords(m,r,s);return}if(m=g.element("wedge"),m){this.interpretWedge(m,r,o,r.MeasureNumber);return}if(m=g.element("rehearsal"),m){this.interpretRehearsalMark(m,r,s,r.MeasureNumber);return}}closeOpenExpressions(e,r){for(const s of this.openContinuousDynamicExpressions)this.createNewMultiExpressionIfNeeded(e,s.NumberXml,r),this.closeOpenContinuousDynamic(s,e,r);this.openContinuousTempoExpression&&this.closeOpenContinuousTempo(Fraction$1.plus(e.AbsoluteTimestamp,r))}addOctaveShift(e,r,s){var c;let o=1;const a=e.element("staff");if(a)try{o=parseInt(a.value,10)}catch(u){const d=ITextTranslation.translateText("ReaderErrorMessages/OctaveShiftStaffError","Invalid octave shift staff number. Set to default");this.musicSheet.SheetErrors.pushMeasureError(d),o=1,loglevelExports.debug("ExpressionReader.addOctaveShift",d,u)}const l=e.element("direction-type");if(l){const u=l.element("octave-shift"),d=this.readPlacement(e);if(u!==void 0&&u.hasAttributes)try{const g=this.readNumber(u);if(u.attribute("size")){const m=parseInt(u.attribute("size").value,10);let y=0;m===8?y=1:m===15&&(y=2);let b=(c=u.attribute("type"))==null?void 0:c.value;if(b||(d===PlacementEnum.Above?b="down":d===PlacementEnum.Below&&(b="up")),b==="up"||b==="down"){const A=new OctaveShift(b,y);A.StaffNumber=o,this.getMultiExpression=this.createNewMultiExpressionIfNeeded(r,g),this.getMultiExpression.OctaveShiftStart=A,A.ParentStartMultiExpression=this.getMultiExpression,this.openOctaveShift=A}else if(b==="stop"){if(this.openOctaveShift){this.getMultiExpression=this.createNewMultiExpressionIfNeeded(r,this.openOctaveShift.numberXml,s);const A=this.getMultiExpression;A.OctaveShiftEnd=this.openOctaveShift,this.openOctaveShift.ParentEndMultiExpression=this.getMultiExpression,this.openOctaveShift=void 0}}else b||loglevelExports.debug("octave-shift missing type in xml")}}catch(g){const m=ITextTranslation.translateText("ReaderErrorMessages/OctaveShiftError","Error while reading octave shift.");this.musicSheet.SheetErrors.pushMeasureError(m),loglevelExports.debug("ExpressionReader.addOctaveShift",m,g)}}}addPedalMarking(e,r,s){var a,l,c;const o=e.element("direction-type");if(o){const u=o.element("pedal");if(u!==void 0&&u.hasAttributes){let d=!1,g=!1;try{switch(((a=u.attribute("line"))==null?void 0:a.value)==="yes"?g=!0:((l=u.attribute("line"))==null?void 0:l.value)==="no"?(g=!1,d=!0):((c=u.attribute("sign"))==null?void 0:c.value)==="yes"?d=!0:(d=!1,g=!0),u.attribute("type").value){case"start":this.openPedal&&this.openPedal.IsLine&&this.endOpenPedal(r),this.createNewMultiExpressionIfNeeded(r,-1),this.openPedal=new Pedal(g,d),this.getMultiExpression.PedalStart=this.openPedal,this.openPedal.ParentStartMultiExpression=this.getMultiExpression;break;case"stop":this.openPedal&&this.endOpenPedal(r,s);break;case"change":this.openPedal&&this.openPedal.IsLine&&(this.openPedal.ChangeEnd=!0,this.createNewMultiExpressionIfNeeded(r,-1),this.getMultiExpression.PedalEnd=this.openPedal,this.openPedal.ParentEndMultiExpression=this.getMultiExpression,this.createNewMultiExpressionIfNeeded(r,-1),this.openPedal=new Pedal(g,d),this.openPedal.ChangeBegin=!0,this.getMultiExpression.PedalStart=this.openPedal,this.openPedal.ParentStartMultiExpression=this.getMultiExpression);break;case"continue":break;default:break}}catch(m){const y=ITextTranslation.translateText("ReaderErrorMessages/PedalError","Error while reading pedal.");this.musicSheet.SheetErrors.pushMeasureError(y),loglevelExports.debug("ExpressionReader.addPedalMarking",y,m)}}}}endOpenPedal(e,r){this.createNewMultiExpressionIfNeeded(e,-1,r),this.getMultiExpression.PedalEnd=this.openPedal,this.openPedal.ParentEndMultiExpression=this.getMultiExpression,this.openPedal=void 0}addWavyLine(e,r,s,o){if(e&&e.hasAttributes)try{switch(e.attribute("type").value){case"start":this.createNewMultiExpressionIfNeeded(r,-1),this.openWavyLine=new WavyLine(this.placement),this.getMultiExpression.WavyLineStart=this.openWavyLine,this.openWavyLine.ParentStartMultiExpression=this.getMultiExpression;break;case"stop":this.openWavyLine&&(this.createNewMultiExpressionIfNeeded(r,-1,s),this.getMultiExpression.WavyLineEnd=this.openWavyLine,this.openWavyLine.ParentEndMultiExpression=this.getMultiExpression,this.openWavyLine=void 0);break;case"continue":break;default:break}}catch(a){const l=ITextTranslation.translateText("ReaderErrorMessages/WavyLineError","Error while reading wavy-line.");this.musicSheet.SheetErrors.pushMeasureError(l),loglevelExports.debug("ExpressionReader.addWavyLine",l,a)}}initialize(){this.placement=PlacementEnum.NotYetDefined,this.soundTempo=0,this.soundDynamic=0,this.offsetDivisions=0}readPlacement(e){var s;const r=(s=e.attribute("placement"))==null?void 0:s.value;return r==="above"?PlacementEnum.Above:r==="below"?PlacementEnum.Below:PlacementEnum.NotYetDefined}readExpressionPlacement(e,r){try{const s=this.readPosition(e);s<0?this.placement=PlacementEnum.Below:s>0&&(this.placement=PlacementEnum.Above)}catch(s){loglevelExports.debug("ExpressionReader.readExpressionParameters",r,s)}}readPosition(e){try{const r=parseInt(e.value,10);return r<0?this.placement=PlacementEnum.Below:r>0&&(this.placement=PlacementEnum.Above),r}catch(r){loglevelExports.debug("ExpressionReader.readExpressionParameters",r)}}interpretInstantaneousDynamics(e,r,s,o){var a,l,c;if(e.hasElements){e.hasAttributes&&e.attribute("default-x")&&(this.directionTimestamp=Fraction$1.createFromFraction(s));const u=this.readNumber(e);let d=(a=e.elements()[0])==null?void 0:a.name;if(d==="other-dynamics"&&(d=e.elements()[0].value),d){if((l=r.Rules)!=null&&l.IgnoreRepeatedDynamics){let m;try{m=DynamicEnum[d]}catch(y){const b=ITextTranslation.translateText("ReaderErrorMessages/DynamicError","Error while reading dynamic.");this.musicSheet.SheetErrors.pushMeasureError(b);return}if(((c=this.activeInstantaneousDynamic)==null?void 0:c.DynEnum)===m)return}o?this.createNewMultiExpressionIfNeeded(r,u,Fraction$1.createFromFraction(s)):this.createNewMultiExpressionIfNeeded(r,u);const g=new InstantaneousDynamicExpression(d,this.soundDynamic,this.placement,this.staffNumber,r);g.InMeasureTimestamp=s.clone(),this.getMultiExpression.addExpression(g,""),this.initialize(),this.activeInstantaneousDynamic?this.activeInstantaneousDynamic.DynEnum=g.DynEnum:this.activeInstantaneousDynamic=new InstantaneousDynamicExpression(d,0,PlacementEnum.NotYetDefined,1,r)}}}interpretWords(e,r,s){var b;const o=e.value;if(r.Rules.IgnoreBracketsWords&&(/^\(\s*\)$/.test(o)||/^\[\s*\]$/.test(o)))return;let a;const l=e.attribute("font-style");let c,u,d;l&&(c=l.value,c==="italic"&&(a=FontStyles.Italic));const g=e.attribute("font-weight");g&&(u=g.value,u==="bold"&&(a=FontStyles.Bold,c==="italic"&&(a=FontStyles.BoldItalic)));const m=e.attribute("color");m&&(d=m.value);let y;if(r.Rules.PlaceWordsInsideStafflineFromXml){const A=(b=e.attribute("default-y"))==null?void 0:b.value;(A==null?void 0:A.length)>0&&(y=Number.parseInt(A,10))}if(o.length>0){if(e.hasAttributes&&e.attribute("default-x")&&(this.directionTimestamp=Fraction$1.createFromFraction(s)),this.checkIfWordsNodeIsRepetitionInstruction(o))return;this.fillMultiOrTempoExpression(o,r,s,a,d,y),this.initialize()}}readNumber(e){var o;let r=1;const s=(o=e.attribute("number"))==null?void 0:o.value;return s&&(r=Number.parseInt(s,10)),r}interpretWedge(e,r,s,o){var c,u;e!==void 0&&e.hasAttributes&&e.attribute("default-x")&&(this.directionTimestamp=Fraction$1.createFromFraction(s));const a=this.readNumber(e),l=(u=(c=e.attribute("type"))==null?void 0:c.value)==null?void 0:u.toLowerCase();this.lastWedge&&this.lastWedge.parentMeasure.MeasureNumberXML===r.MeasureNumberXML&&this.lastWedge.StaffNumber===this.staffNumber&&this.placement===this.lastWedge.Placement&&this.WedgeYPosXml!==void 0&&this.lastWedge.YPosXml===this.WedgeYPosXml&&this.lastWedge.StartMultiExpression.Timestamp.Equals(this.directionTimestamp)&&this.lastWedge.DynamicType===ContDynamicEnum[l]||(l==="stop"?this.createNewMultiExpressionIfNeeded(r,a,s):this.createNewMultiExpressionIfNeeded(r,a),this.addWedge(e,r,s),this.initialize())}interpretRehearsalMark(e,r,s,o){r.rehearsalExpression=new RehearsalExpression(e.value,this.placement)}createNewMultiExpressionIfNeeded(e,r,s=void 0){s||(s=this.directionTimestamp);let o=this.getMultiExpression;return(!o||o&&(o.SourceMeasureParent!==e||o.numberXml!==r||o.SourceMeasureParent===e&&o.Timestamp!==s))&&(this.getMultiExpression=o=new MultiExpression(e,Fraction$1.createFromFraction(s)),e.StaffLinkedExpressions[this.globalStaffIndex].push(o)),o}createNewTempoExpressionIfNeeded(e){(!this.currentMultiTempoExpression||this.currentMultiTempoExpression.SourceMeasureParent!==e||this.currentMultiTempoExpression.Timestamp!==this.directionTimestamp)&&(this.currentMultiTempoExpression=new MultiTempoExpression(e,Fraction$1.createFromFraction(this.directionTimestamp)),e.TempoExpressions.push(this.currentMultiTempoExpression))}addWedge(e,r,s){if(e!==void 0&&e.hasAttributes){const o=this.readNumber(e),a=e.attribute("type").value.toLowerCase();try{if(a==="crescendo"||a==="diminuendo"){const l=new ContinuousDynamicExpression(ContDynamicEnum[a],this.placement,this.staffNumber,r,this.activeInstantaneousDynamic,o);this.lastWedge=l,this.lastWedge.YPosXml=this.WedgeYPosXml,this.openContinuousDynamicExpressions.push(l);let c=this.getMultiExpression;c||(c=this.createNewMultiExpressionIfNeeded(r,o)),c.StartingContinuousDynamic=l,l.StartMultiExpression=c,this.activeInstantaneousDynamic!==void 0&&this.activeInstantaneousDynamic.StaffNumber===l.StaffNumber&&(this.activeInstantaneousDynamic=void 0)}else if(a==="stop")for(const l of this.openContinuousDynamicExpressions)l.NumberXml===o&&this.closeOpenContinuousDynamic(l,r,s)}catch(l){const c="ReaderErrorMessages/WedgeError, Error while reading Crescendo / Diminuendo.";this.musicSheet.SheetErrors.pushMeasureError(c),loglevelExports.debug("ExpressionReader.addWedge",c,l)}}}fillMultiOrTempoExpression(e,r,s,o,a,l=void 0){if(!e)return;const c=e.trim();this.createExpressionFromString("",c,r,s,e,o,a,l)}createExpressionFromString(e,r,s,o,a,l,c,u=void 0){if(InstantaneousTempoExpression.isInputStringInstantaneousTempo(r)||ContinuousTempoExpression.isInputStringContinuousTempo(r)){if(s.TempoExpressions.length>0)for(let y=0,b=s.TempoExpressions.length;y<b;++y){const A=s.TempoExpressions[y];if(A.Timestamp===this.directionTimestamp&&A.InstantaneousTempo!==void 0&&A.InstantaneousTempo.Label.indexOf(r)!==-1)return!1}if(this.createNewTempoExpressionIfNeeded(s),this.currentMultiTempoExpression.CombinedExpressionsText=a,InstantaneousTempoExpression.isInputStringInstantaneousTempo(r)){const y=new InstantaneousTempoExpression(r,this.placement,this.staffNumber,this.soundTempo,this.currentMultiTempoExpression);return y.ColorXML=c,this.currentMultiTempoExpression.addExpression(y,e),!0}if(ContinuousTempoExpression.isInputStringContinuousTempo(r)){const y=new ContinuousTempoExpression(r,this.placement,this.staffNumber,this.currentMultiTempoExpression);return y.ColorXML=c,this.currentMultiTempoExpression.addExpression(y,e),!0}}if(ContinuousDynamicExpression.isInputStringContinuousDynamic(r)){const y=new ContinuousDynamicExpression(void 0,this.placement,this.staffNumber,s,this.activeInstantaneousDynamic,-1,r);y.ColorXML=c;const b=this.getMultiExpression;return b&&this.closeOpenContinuousDynamic(b.StartingContinuousDynamic,s,o),this.createNewMultiExpressionIfNeeded(s,-1),this.activeInstantaneousDynamic!==void 0&&this.activeInstantaneousDynamic.StaffNumber===y.StaffNumber&&(this.activeInstantaneousDynamic=void 0),this.openContinuousDynamicExpressions.push(y),y.StartMultiExpression=this.getMultiExpression,this.getMultiExpression.addExpression(y,e),!0}if(MoodExpression.isInputStringMood(r)){const y=this.createNewMultiExpressionIfNeeded(s,-1);s.hasMoodExpressions=!0;const b=new MoodExpression(r,this.placement,this.staffNumber);return b.fontStyle=l,b.ColorXML=c,y.addExpression(b,e),!0}const d=this.createNewMultiExpressionIfNeeded(s,-1);if(s.TempoExpressions.length>0)for(let y=0,b=s.TempoExpressions.length;y<b;++y){const A=s.TempoExpressions[y];if(A.Timestamp===this.directionTimestamp&&A.InstantaneousTempo!==void 0&&A.EntriesList.length>0&&!this.hasDigit(r)&&this.globalStaffIndex>0){if(A.EntriesList[0].label.indexOf(r)>=0)return!1;break}}let g=TextAlignmentEnum.CenterBottom;this.musicSheet.Rules.CompactMode&&(g=TextAlignmentEnum.LeftBottom);const m=new UnknownExpression(r,this.placement,g,this.staffNumber);return m.fontStyle=l,m.ColorXML=c,m.defaultYXml=u,d.addExpression(m,e),!1}closeOpenContinuousDynamic(e,r,s){if(!e)return;const o=e.NumberXml;e.EndMultiExpression=this.createNewMultiExpressionIfNeeded(r,o,s),e.StartMultiExpression.EndingContinuousDynamic=e,this.openContinuousDynamicExpressions=this.openContinuousDynamicExpressions.filter(a=>a!==e)}closeOpenContinuousTempo(e){this.openContinuousTempoExpression.AbsoluteEndTimestamp=e,this.openContinuousTempoExpression=void 0}checkIfWordsNodeIsRepetitionInstruction(e){return e=e.trim().toLowerCase(),e==="coda"||e==="tocoda"||e==="to coda"||e==="fine"||e==="d.c."||e==="dacapo"||e==="da capo"||e==="d.s."||e==="dalsegno"||e==="dal segno"||e==="d.c. al fine"||e==="d.s. al fine"||e==="d.c. al coda"||e==="d.s. al coda"}hasDigit(e){return/\d/.test(e)}}class SlurReader{constructor(e){this.openSlurDict={},this.musicSheet=e}addSlur(e,r,s){try{if(e){for(const o of e)if(o.attributes().length>0){const a=o.attribute("type").value;let l=1;try{o.attribute("number")&&(l=parseInt(o.attribute("number").value,10))}catch(g){loglevelExports.debug("VoiceGenerator.addSlur number: ",g)}let c=PlacementEnum.NotYetDefined;const u=o.attribute("placement");u&&u.value&&(u.value==="above"?c=PlacementEnum.Above:u.value==="below"&&(c=PlacementEnum.Below));const d=o.attribute("orientation");if(d&&d.value&&(d.value==="over"?c=PlacementEnum.Above:d.value==="under"&&(c=PlacementEnum.Below)),a==="start"){let g=new Slur;this.openSlurDict[l]=g,g.StartNote=r,g.idx=s,g.PlacementXml=c}else if(a==="stop"){const g=this.openSlurDict[l];if(g){const m=o.name;if(m==="slide"||m==="glissando"){const y=g.StartNote,b=new Glissando(y);b.AddNote(r),b.EndNote=r,r.NoteGlissando=b,delete this.openSlurDict[l]}else g.idx=s,g.EndNote=r,r.isDuplicateSlur(g)||(r.NoteSlurs.push(g),g.StartNote.NoteSlurs.push(g)),delete this.openSlurDict[l]}}}}}catch(o){const a=ITextTranslation.translateText("ReaderErrorMessages/SlurError","Error while reading slur.");this.musicSheet.SheetErrors.pushMeasureError(a)}}}class InstrumentReader{constructor(e,r,s,o){this.voiceGeneratorsDict={},this.staffMainVoiceGeneratorDict={},this.divisions=0,this.currentClefNumber=1,this.currentXmlMeasureIndex=0,this.activeKeyHasBeenInitialized=!1,this.abstractInstructions=[],this.soundTempos=new Map,this.xmlNotes=[],this.repetitionInstructionReader=r,this.xmlMeasureList=s,this.musicSheet=o.GetMusicSheet,this.instrument=o,this.activeClefs=new Array(o.Staves.length),this.activeClefsHaveBeenInitialized=new Array(o.Staves.length);for(let a=0;a<o.Staves.length;a++)this.activeClefsHaveBeenInitialized[a]=!1;this.createExpressionGenerators(o.Staves.length),this.slurReader=new SlurReader(this.musicSheet),this.pluginManager=e}get SoundTempos(){return this.soundTempos}get ActiveKey(){return this.activeKey}get MaxTieNoteFraction(){return this.maxTieNoteFraction}get ActiveRhythm(){return this.activeRhythm}set ActiveRhythm(e){this.activeRhythm=e}readNextXmlMeasure(e,r,s){var g,m,y,b,A,S,E,x,P;if(this.currentXmlMeasureIndex>=this.xmlMeasureList.length)return!1;this.currentMeasure=e,this.followingMultirestMeasures=Math.max(this.followingMultirestMeasures-1,0),this.inSourceMeasureInstrumentIndex=this.musicSheet.getGlobalStaffIndexOfFirstStaff(this.instrument),this.repetitionInstructionReader&&this.repetitionInstructionReader.prepareReadingMeasure(e,this.currentXmlMeasureIndex);let o=new Fraction$1(0,1),a=new Fraction$1(0,1),l=!1;this.maxTieNoteFraction=new Fraction$1(0,1);let c=!1;const u=[];let d=!1;try{const C=this.xmlMeasureList[this.currentXmlMeasureIndex],T=C.elements();if(e.Rules.UseXMLMeasureNumbers&&!Number.isInteger(e.MeasureNumberXML)){const I=parseInt((g=C.attribute("number"))==null?void 0:g.value,10);Number.isInteger(I)&&(e.MeasureNumberXML=I)}let k;for(let I=0;I<T.length;I++){const M=T[I];if(I>0&&(k=T[I-1]),M.name==="print"){const R=M.attribute("new-system");(R==null?void 0:R.value)==="yes"&&(e.printNewSystemXml=!0);const B=M.attribute("new-page");(B==null?void 0:B.value)==="yes"&&(e.printNewPageXml=!0)}else if(M.name==="attributes"){const R=M.element("divisions");if(R&&(this.divisions=parseInt(R.value,10),isNaN(this.divisions))){const V=ITextTranslation.translateText("ReaderErrorMessages/DivisionError","Invalid divisions value at Instrument: ");if(loglevelExports.debug("InstrumentReader.readNextXmlMeasure",V),this.divisions=this.readDivisionsFromNotes(),this.divisions>0)this.musicSheet.SheetErrors.push(V+this.instrument.Name);else throw l=!0,new MusicSheetReadingException(V+this.instrument.Name)}if(!M.element("divisions")&&this.divisions===0&&this.currentXmlMeasureIndex===0){const V=ITextTranslation.translateText("ReaderErrorMessages/DivisionError","Invalid divisions value at Instrument: ");if(this.divisions=this.readDivisionsFromNotes(),this.divisions>0)this.musicSheet.SheetErrors.push(V+this.instrument.Name);else throw l=!0,new MusicSheetReadingException(V+this.instrument.Name)}this.addAbstractInstruction(M,s,k,o.clone()),o.Equals(new Fraction$1(0,1))&&this.isAttributesNodeAtBeginOfMeasure(this.xmlMeasureList[this.currentXmlMeasureIndex],M)&&this.saveAbstractInstructionList(this.instrument.Staves.length,!0),this.isAttributesNodeAtEndOfMeasure(this.xmlMeasureList[this.currentXmlMeasureIndex],M,o)&&this.saveClefInstructionAtEndOfMeasure();const B=M.elements("staff-details");for(const V of B){const D=V.element("staff-lines");if(D){let F=1;const N=V.attribute("number");N&&(F=parseInt(N.value,10)),this.instrument.Staves[F-1].StafflineCount=parseInt(D.value,10)}}const _=M.element("measure-style");if(_){const V=_.element("multiple-rest");if(V){const D=V.value;let F=0;try{F=Number.parseInt(D,10),e.multipleRestMeasures!==void 0&&F!==e.multipleRestMeasures?e.multipleRestMeasures=0:(e.multipleRestMeasures=F,this.currentMultirestStartMeasure=e,this.followingMultirestMeasures=F+1)}catch(N){console.log("multirest parse error: "+N)}}}}else if(M.name==="note"){let R=!0;((m=M.attribute("print-object"))==null?void 0:m.value)==="no"&&(R=!1);const B=this.getNoteStaff(M);this.currentStaff=this.instrument.Staves[B-1];const _=M.element("chord")!==void 0;if(M.element("voice")){const H=parseInt(M.element("voice").value,10);this.currentVoiceGenerator=this.getOrCreateVoiceGenerator(H,B-1)}else(!_||!this.currentVoiceGenerator)&&(this.currentVoiceGenerator=this.getOrCreateVoiceGenerator(1,B-1));let V=0,D=new Fraction$1(0,1),F=2,N,K=!1;if(M.element("duration")){if(V=parseInt(M.element("duration").value,10),isNaN(V)){const H=ITextTranslation.translateText("ReaderErrorMessages/NoteDurationError","Invalid Note Duration.");this.musicSheet.SheetErrors.pushMeasureError(H),loglevelExports.debug("InstrumentReader.readNextXmlMeasure",H);continue}else if(D=new Fraction$1(V,4*this.divisions),V===0?D=this.getNoteDurationFromTypeNode(M):N=this.getNoteDurationFromTypeNode(M),M.element("time-modification")){D=this.getNoteDurationForTuplet(M);const H=M.element("time-modification");H!=null&&H.element("normal-notes")&&(F=parseInt(H.element("normal-notes").value,10)),K=!0}}const G=M.element("rest")!==void 0,q=M.combinedElement("notations"),O=M.element("grace")!==void 0||V===0||_&&c;let U=!1,$=!1;if(O){const H=M.element("duration"),ve=M.element("grace");ve&&ve.attributes()&&ve.attribute("slash")&&ve.attribute("slash").value==="yes"&&(U=!0),H||(D=this.getNoteDurationFromTypeNode(M)),q&&q.element("slur")&&($=!0)}const[Y,Q]=this.getCueNoteAndNoteTypeXml(M),[xe,ue,W]=this.getStemDirectionAndColors(M);let J,ce=0,ge="",Ee="",Te="";if(q){const H=q.element("ornaments");if(H){J=this.getTremoloInfo(H),this.getWavyLines(H,M,o,a);const me=H.element("tremolo");if(me){const oe=me.attribute("type");if(ge=oe.value,oe){const be=parseInt(me.value,10);be>0&&(ce=be),(oe.value==="start"||oe.value==="stop")&&(D=new Fraction$1(parseInt(M.element("duration").value,10),4*this.divisions))}}const Be=H.elements("wavy-line");if(Be!==void 0)for(const oe of Be){const be=this.expressionReaders[this.readExpressionStaffNumber(M)-1];be&&(be.readExpressionParameters(oe,this.instrument,this.divisions,o,a,this.currentMeasure.MeasureNumber,!1),be.addWavyLine(oe,this.currentMeasure,o,a))}}q.elements("glissando").find(me=>me.attribute("type").value==="start")&&(Ee="start"),q.elements("slide").find(me=>me.attribute("type").value==="start")&&(Te="start")}const De=_?a.clone():o.clone();this.currentStaffEntry=this.currentMeasure.findOrCreateStaffEntry(De,this.inSourceMeasureInstrumentIndex+B-1,this.currentStaff).staffEntry,(!this.currentVoiceGenerator.hasVoiceEntry()||!_&&!O&&!c||O&&!c||O&&!_||!O&&c)&&this.currentVoiceGenerator.createVoiceEntry(De,this.currentStaffEntry,this.activeKey,this.ActiveRhythm,O,U,$),!O&&!_&&(a=o.clone(),o.Add(D)),_&&this.currentStaffEntry!==void 0&&this.currentStaffEntry.ParentStaff!==this.currentStaff&&(this.currentStaffEntry=this.currentVoiceGenerator.checkForStaffEntryLink(this.inSourceMeasureInstrumentIndex+B-1,this.currentStaff,this.currentStaffEntry,this.currentMeasure));const te=this.currentStaffEntry!==void 0&&this.currentStaffEntry.Timestamp!==void 0&&this.currentStaffEntry.Timestamp.Equals(new Fraction$1(0,1))&&!this.currentStaffEntry.hasNotes();this.saveAbstractInstructionList(this.instrument.Staves.length,te),this.activeRhythm,!K&&!O&&(D=new Fraction$1(V,4*this.divisions));const ae=M.elements("dot").length;if(this.currentVoiceGenerator.read(M,D,N,Q,F,G,this.currentStaffEntry,this.currentMeasure,r,this.maxTieNoteFraction,_,s,R,Y,O,xe,J,ue,W,ae,ge,Ee,Te),q!==void 0&&q.element("dynamics")){const H=this.expressionReaders[this.readExpressionStaffNumber(M)-1];H&&(H.readExpressionParameters(M,this.instrument,this.divisions,o,a,this.currentMeasure.MeasureNumber,!1),H.read(M,this.currentMeasure,a,void 0,u.length))}c=O}else if(M.name==="forward"){const R=parseInt(M.element("duration").value,10);o.Add(new Fraction$1(R,4*this.divisions))}else if(M.name==="backup"){const R=parseInt(M.element("duration").value,10);o.Sub(new Fraction$1(R,4*this.divisions)),o.IsNegative()&&(o=new Fraction$1(0,1)),a.Sub(new Fraction$1(R,4*this.divisions)),a.IsNegative()&&(a=new Fraction$1(0,1))}else if(M.name==="direction"){const R=M.elements("direction-type"),B=M.element("direction-type");let _=Math.min(1,o.RealValue);this.activeRhythm!==void 0&&this.activeRhythm.Rhythm&&(_/=this.activeRhythm.Rhythm.RealValue);let V=!1;if(this.repetitionInstructionReader&&(V=this.repetitionInstructionReader.handleRepetitionInstructionsFromWordsOrSymbols(B,_)),!V){let D=this.expressionReaders[0];const F=this.readExpressionStaffNumber(M)-1;if(F<this.expressionReaders.length&&(D=this.expressionReaders[F]),D){B.element("octave-shift")&&(D.readExpressionParameters(M,this.instrument,this.divisions,o,a,this.currentMeasure.MeasureNumber,!0),D.addOctaveShift(M,this.currentMeasure,a.clone())),B.element("pedal")&&(D.readExpressionParameters(M,this.instrument,this.divisions,o,a,this.currentMeasure.MeasureNumber,!0),D.addPedalMarking(M,this.currentMeasure,o.clone()));const N=B.element("words");if(N){if(GradientWords.map(G=>G==null?void 0:G.toLocaleLowerCase()).includes((y=N.value)==null?void 0:y.toLocaleLowerCase())&&(this.currentGradualChangeMeasure=this.currentMeasure,this.currentMeasure.speedInfo={startWord:(b=N.value)==null?void 0:b.toLocaleLowerCase(),startXmlNoteIndex:u.length,endXmlNoteIndex:0,resetXmlNoteIndex:0,startMeasureListIndex:this.currentXmlMeasureIndex,endMeasureListIndex:0,resetMeasureListIndex:0},this.xmlNotes=[]),N.value.startsWith(GRADIENT_SPEED_CLOSE_TAG)&&((A=this.currentGradualChangeMeasure)!=null&&A.speedInfo)&&(this.currentGradualChangeMeasure.speedInfo={...this.currentGradualChangeMeasure.speedInfo,endXmlNoteIndex:this.xmlNotes.length,endMeasureListIndex:this.currentXmlMeasureIndex}),((S=N.value)==null?void 0:S.toLocaleLowerCase())==="a tempo".toLocaleLowerCase()&&((E=this.currentGradualChangeMeasure)!=null&&E.speedInfo)){const{endXmlNoteIndex:G,resetXmlNoteIndex:q,endMeasureListIndex:O}=this.currentGradualChangeMeasure.speedInfo;q===0&&(this.currentGradualChangeMeasure.speedInfo={...this.currentGradualChangeMeasure.speedInfo,endXmlNoteIndex:G||this.xmlNotes.length,endMeasureListIndex:O||this.currentXmlMeasureIndex,resetXmlNoteIndex:this.xmlNotes.length,resetMeasureListIndex:this.currentXmlMeasureIndex}),this.xmlNotes=[]}N.value&&N.value.toLocaleLowerCase()==="hiddenspeed"?d=!0:d=!1}if(R.find(K=>K.element("metronome"))&&((x=this.currentGradualChangeMeasure)!=null&&x.speedInfo)){const{endXmlNoteIndex:K,resetXmlNoteIndex:G,endMeasureListIndex:q}=this.currentGradualChangeMeasure.speedInfo;G===0&&(this.currentGradualChangeMeasure.speedInfo={...this.currentGradualChangeMeasure.speedInfo,endXmlNoteIndex:K||this.xmlNotes.length,endMeasureListIndex:q||this.currentXmlMeasureIndex,resetXmlNoteIndex:this.xmlNotes.length,resetMeasureListIndex:this.currentXmlMeasureIndex}),this.xmlNotes=[]}D.readExpressionParameters(M,this.instrument,this.divisions,o,a,this.currentMeasure.MeasureNumber,!1),D.read(M,this.currentMeasure,o,a.clone(),u.length,d)}}}else if(M.name==="barline"){this.repetitionInstructionReader&&this.repetitionInstructionReader.handleLineRepetitionInstructions(M)&&(this.currentMeasure.HasEndLine=!0);const R=M.attribute("location");if(I===T.length-1||R&&R.value==="right"){const _=(P=M.element("bar-style"))==null?void 0:P.value;_&&(this.currentMeasure.endingBarStyleXml=_,this.currentMeasure.endingBarStyleEnum=SystemLinesEnumHelper.xmlBarlineStyleToSystemLinesEnum(_))}}else if(M.name==="sound")try{if(M.attribute("tempo")){const R=parseFloat(M.attribute("tempo").value);M.element("offset")&&(this.soundTempos.has(this.currentXmlMeasureIndex)||this.soundTempos.set(this.currentXmlMeasureIndex,[]),this.soundTempos.get(this.currentXmlMeasureIndex).push(R)),this.currentXmlMeasureIndex===0&&(this.musicSheet.DefaultStartTempoInBpm=R,this.musicSheet.HasBPMInfo=!0)}}catch(R){loglevelExports.debug("InstrumentReader.readTempoInstruction",R)}else if(M.name==="harmony"){const R=this.getNoteStaff(M);this.currentStaff=this.instrument.Staves[R-1];const B=o.clone();this.currentStaffEntry=this.currentMeasure.findOrCreateStaffEntry(B,this.inSourceMeasureInstrumentIndex+R-1,this.currentStaff).staffEntry,this.currentStaffEntry.ChordContainers.push(ChordSymbolReader.readChordSymbol(M,this.musicSheet,this.activeKey))}}for(const I in this.voiceGeneratorsDict)this.voiceGeneratorsDict.hasOwnProperty(I)&&this.voiceGeneratorsDict[I].checkForOpenBeam();if(this.currentXmlMeasureIndex===this.xmlMeasureList.length-1){for(let I=0;I<this.instrument.Staves.length;I++)this.activeClefsHaveBeenInitialized[I]||this.createDefaultClefInstruction(this.musicSheet.getGlobalStaffIndexOfFirstStaff(this.instrument)+I);this.activeKeyHasBeenInitialized||this.createDefaultKeyInstruction();for(let I=0;I<this.expressionReaders.length;I++){const M=this.expressionReaders[I];M&&M.closeOpenExpressions(this.currentMeasure,o)}}Object.keys(this.voiceGeneratorsDict).forEach(I=>{this.voiceGeneratorsDict[I].finalizeReadingMeasure()}),this.musicSheet.HasBPMInfo?e.TempoInBPM===0&&this.previousMeasure&&(this.currentMeasure.TempoInBPM=this.previousMeasure.TempoInBPM):this.currentMeasure.TempoInBPM=120}catch(C){if(l)throw new MusicSheetReadingException(C.Message);const T=ITextTranslation.translateText("ReaderErrorMessages/MeasureError","Error while reading Measure.");this.musicSheet.SheetErrors.pushMeasureError(T),loglevelExports.debug("InstrumentReader.readNextXmlMeasure",T,C)}return this.previousMeasure=this.currentMeasure,this.currentXmlMeasureIndex+=1,!0}getStemDirectionAndColors(e){let r=StemDirectionType.Undefined,s;const o=e.element("stem");if(o){r=this.getStemDirectionType(o);const c=o.attribute("color");c&&(s=this.parseXmlColor(c.value))}let a=this.getNoteHeadColorXml(e);const l=this.getNoteColorXml(e);return l&&!a&&(a=l),l&&!s&&(s=l),[r,s,a]}parseXmlColor(e){if(e)return e.length===7?e:e.length===9?"#"+e.substr(3):void 0}doCalculationsAfterDurationHasBeenSet(){for(const e in this.voiceGeneratorsDict)this.voiceGeneratorsDict.hasOwnProperty(e)&&this.voiceGeneratorsDict[e].checkOpenTies()}getOrCreateVoiceGenerator(e,r){const s=this.instrument.Staves[r];let o=this.voiceGeneratorsDict[e];if(o)s.Voices.indexOf(o.GetVoice)===-1&&s.Voices.push(o.GetVoice);else{const a=this.staffMainVoiceGeneratorDict[r];a?(o=new VoiceGenerator(this.pluginManager,s,e,this.slurReader,a.GetVoice),s.Voices.push(o.GetVoice),this.voiceGeneratorsDict[e]=o):(o=new VoiceGenerator(this.pluginManager,s,e,this.slurReader),s.Voices.push(o.GetVoice),this.voiceGeneratorsDict[e]=o,this.staffMainVoiceGeneratorDict[r]=o)}return o}createExpressionGenerators(e){this.expressionReaders=new Array(e);for(let r=0;r<e;r++)this.expressionReaders[r]=new ExpressionReader(this.musicSheet,this.instrument,r+1)}createDefaultClefInstruction(e){let r;this.musicSheet.SourceMeasures.length>0?r=this.musicSheet.SourceMeasures[0]:r=this.currentMeasure;const s=new ClefInstruction(ClefEnum.G,0,2);let o;r.FirstInstructionsStaffEntries[e]?(o=r.FirstInstructionsStaffEntries[e],o.removeFirstInstructionOfTypeClefInstruction()):(o=new SourceStaffEntry(void 0,void 0),r.FirstInstructionsStaffEntries[e]=o),s.Parent=o,o.Instructions.splice(0,0,s)}createDefaultKeyInstruction(){let e;this.musicSheet.SourceMeasures.length>0?e=this.musicSheet.SourceMeasures[0]:e=this.currentMeasure;const r=new KeyInstruction(void 0,0,KeyEnum.major);for(let s=this.inSourceMeasureInstrumentIndex;s<this.inSourceMeasureInstrumentIndex+this.instrument.Staves.length;s++)if(e.FirstInstructionsStaffEntries[s]){const o=e.FirstInstructionsStaffEntries[s];r.Parent=o,o.removeFirstInstructionOfTypeKeyInstruction(),o.Instructions[0]instanceof ClefInstruction?o.Instructions.splice(1,0,r):o.Instructions.splice(0,0,r)}else{const o=new SourceStaffEntry(void 0,void 0);e.FirstInstructionsStaffEntries[s]=o,r.Parent=o,o.Instructions.push(r)}}isAttributesNodeAtBeginOfMeasure(e,r){const s=e.elements(),o=s.indexOf(r);if(o>0&&s[o-1].name==="backup")return!0;let a=-1;for(let l=0;l<s.length;l++)if(s[l].name==="note"){a=l;break}return o<a&&a>0||a<0}isAttributesNodeAtEndOfMeasure(e,r,s){var c;if(s.Equals((c=this.ActiveRhythm)==null?void 0:c.Rhythm))return!0;const o=e.elements().slice();let a=0;for(let u=0;u<o.length;u++)if(o[u]===r){a=u;break}let l=0;for(let u=a;u<o.length;u++)if(o[u].name==="note"){l=u;break}return a>l}getNoteDurationFromTypeNode(e){const r=e.element("type");if(r){const s=r.value;return NoteTypeHandler.getNoteDurationFromType(s)}return new Fraction$1(0,4*this.divisions)}addAbstractInstruction(e,r,s,o){if(e.element("divisions")&&e.elements().length===1)return;const a=e.element("transpose");if(a){const u=a.element("chromatic");u&&(this.instrument.PlaybackTranspose=parseInt(u.value,10))}const l=e.elements("clef");let c;if(l.length>0)for(let u=0,d=l.length;u<d;++u){const g=l[u];let m=ClefEnum.G,y=2,b=1,A=0;const S=g.element("line");if(S)try{y=parseInt(S.value,10)}catch(C){c=ITextTranslation.translateText("ReaderErrorMessages/ClefLineError","Invalid clef line. Using default."),this.musicSheet.SheetErrors.pushMeasureError(c),y=2,loglevelExports.debug("InstrumentReader.addAbstractInstruction",c,C)}const E=g.element("sign");if(E)try{m=ClefEnum[E.value],ClefInstruction.isSupportedClef(m)||(c=ITextTranslation.translateText("ReaderErrorMessages/ClefError","Unsupported clef. Using default."),this.musicSheet.SheetErrors.pushMeasureError(c),m=ClefEnum.G,y=2),m===ClefEnum.TAB&&(A=-1)}catch(C){c=ITextTranslation.translateText("ReaderErrorMessages/ClefError","Invalid clef. Using default."),this.musicSheet.SheetErrors.pushMeasureError(c),m=ClefEnum.G,y=2,loglevelExports.debug("InstrumentReader.addAbstractInstruction",c,C)}const x=g.element("clef-octave-change");if(x)try{A=parseInt(x.value,10)}catch(C){c=ITextTranslation.translateText("ReaderErrorMessages/ClefOctaveError","Invalid clef octave. Using default."),this.musicSheet.SheetErrors.pushMeasureError(c),A=0}if(g.hasAttributes&&g.attribute("number"))try{b=parseInt(g.attribute("number").value,10),b>this.currentClefNumber&&(b=this.currentClefNumber),this.currentClefNumber=b+1}catch(C){c=ITextTranslation.translateText("ReaderErrorMessages/ClefError","Invalid clef. Using default."),this.musicSheet.SheetErrors.pushMeasureError(c),b=1,this.currentClefNumber=b+1}const P=new ClefInstruction(m,A,y);this.abstractInstructions.push([b,P,o])}if(e.element("key")!==void 0&&this.instrument.MidiInstrumentId!==MidiInstrument.Percussion){let u=0;const d=e.element("key").element("fifths");if(d)try{u=parseInt(d.value,10)}catch(b){c=ITextTranslation.translateText("ReaderErrorMessages/KeyError","Invalid key. Set to default."),this.musicSheet.SheetErrors.pushMeasureError(c),u=0,loglevelExports.debug("InstrumentReader.addAbstractInstruction",c,b)}let g=KeyEnum.none,m=e.element("key");if(m&&(m=m.element("mode")),m)try{g=KeyEnum[m.value]}catch(b){c=ITextTranslation.translateText("ReaderErrorMessages/KeyError","Invalid key/mode. Set to default."),this.musicSheet.SheetErrors.pushMeasureError(c),g=KeyEnum.major,loglevelExports.debug("InstrumentReader.addAbstractInstruction",c,b)}const y=new KeyInstruction(void 0,u,g);this.abstractInstructions.push([1,y,o])}if(e.element("time")){const u=e.element("time");let d=RhythmSymbolEnum.NONE,g=!0;if(u!==void 0&&u.hasAttributes){const x=u.attribute("symbol");x&&(x.value==="common"?d=RhythmSymbolEnum.COMMON:x.value==="cut"&&(d=RhythmSymbolEnum.CUT));const P=u.attribute("print-object");P&&P.value==="no"&&(g=!1)}let m=0,y=0;const b=u&&u.element("senza-misura")!==void 0,A=e.elements("time"),S=[],E=[];for(let x=0,P=A.length;x<P;++x){const C=A[x];S.push.apply(S,C.elements("beats")),E.push.apply(E,C.elements("beat-type"))}if(b)this.abstractInstructions.push([1,new RhythmInstruction(new Fraction$1(4,4,0,!1),RhythmSymbolEnum.NONE),o]);else{try{if(S!==void 0&&S.length>0&&E!==void 0&&S.length===E.length){const P=S.length,C=new Array(P);let T=0;for(let k=0;k<P;k++){const I=S[k].value;let M=0,R=0;if(I.indexOf("+")!==-1){const B=I.split("+");for(let _=0,V=B.length;_<V;++_)M+=parseInt(B[_],10)}else M=parseInt(I,10);R=parseInt(E[k].value,10),T=Math.max(T,R),C[k]=new Fraction$1(M,R,0,!1)}for(let k=0;k<P;k++)C[k].Denominator===T?m+=C[k].Numerator:m+=T/C[k].Denominator*C[k].Numerator;y=T}else m=parseInt(e.element("time").element("beats").value,10),y=parseInt(e.element("time").element("beat-type").value,10)}catch(P){c=ITextTranslation.translateText("ReaderErrorMessages/RhythmError","Invalid rhythm. Set to default."),this.musicSheet.SheetErrors.pushMeasureError(c),m=4,y=4,loglevelExports.debug("InstrumentReader.addAbstractInstruction",c,P)}const x=new RhythmInstruction(new Fraction$1(m,y,0,!1),d);x.PrintObject=g,this.abstractInstructions.push([1,x,o])}}}saveAbstractInstructionList(e,r){for(let s=this.abstractInstructions.length-1;s>=0;s--){const o=this.abstractInstructions[s],a=o[0],l=o[1],c=o[2];if(l instanceof ClefInstruction){const u=l;if(this.currentXmlMeasureIndex===0||a<=this.activeClefs.length&&u!==this.activeClefs[a-1])if(!r&&this.currentStaffEntry!==void 0&&!this.currentStaffEntry.hasNotes()&&a-1===this.instrument.Staves.indexOf(this.currentStaffEntry.ParentStaff)){const d=u,g=this.currentStaffEntry;if(c&&Math.abs(c.RealValue-g.Timestamp.RealValue)>.01)continue;d.Parent=g,g.removeFirstInstructionOfTypeClefInstruction(),g.Instructions.push(d),this.activeClefs[a-1]=u,this.abstractInstructions.splice(s,1)}else if(r){if(c.RealValue!==0)continue;let d;if(this.currentMeasure){const g=u,m=this.inSourceMeasureInstrumentIndex+a-1,y=this.currentMeasure.FirstInstructionsStaffEntries[m];if(this.currentXmlMeasureIndex===0)if(!y)d=new SourceStaffEntry(void 0,void 0),this.currentMeasure.FirstInstructionsStaffEntries[m]=d,g.Parent=d,d.Instructions.push(g),this.activeClefsHaveBeenInitialized[a-1]=!0;else if(this.currentMeasure.FirstInstructionsStaffEntries[m]!==void 0&&!(y.Instructions[0]instanceof ClefInstruction))d=y,g.Parent=d,d.removeFirstInstructionOfTypeClefInstruction(),d.Instructions.splice(0,0,g),this.activeClefsHaveBeenInitialized[a-1]=!0;else{const b=new SourceStaffEntry(void 0,void 0);this.currentMeasure.LastInstructionsStaffEntries[m]=b,g.Parent=b,b.Instructions.push(g)}else if(this.activeClefsHaveBeenInitialized[a-1]){let b=this.previousMeasure;this.followingMultirestMeasures>0&&this.currentMeasure.Rules.RenderMultipleRestMeasures&&(b=this.currentMultirestStartMeasure);const A=new SourceStaffEntry(void 0,void 0);b.LastInstructionsStaffEntries[m]=A,g.Parent=A,A.Instructions.push(g)}else{const b=this.musicSheet.SourceMeasures[0];b.FirstInstructionsStaffEntries[m]?(d=b.FirstInstructionsStaffEntries[m],d.removeFirstInstructionOfTypeClefInstruction()):d=new SourceStaffEntry(void 0,void 0),g.Parent=d,d.Instructions.splice(0,0,g),this.activeClefsHaveBeenInitialized[a-1]=!0}this.activeClefs[a-1]=u,this.abstractInstructions.splice(s,1)}}else{let d;const g=this.activeRhythm.Rhythm;g.RealValue>0&&c.RealValue/g.RealValue>.9&&g.RealValue!==c.RealValue&&(this.currentMeasure.LastInstructionsStaffEntries[a-1]||(this.currentMeasure.LastInstructionsStaffEntries[a-1]=new SourceStaffEntry(void 0,this.instrument.Staves[a-1])),d=this.currentMeasure.LastInstructionsStaffEntries[a-1]),d&&(u.Parent=d,d.Instructions.push(u),this.activeClefs[a-1]=u,this.abstractInstructions.splice(s,1))}else a<=this.activeClefs.length&&u===this.activeClefs[a-1]&&this.abstractInstructions.splice(s,1)}if(l instanceof KeyInstruction){const u=l;if(!this.activeKey||this.activeKey.Key!==u.Key){this.activeKey=u,this.abstractInstructions.splice(s,1);let d;if(this.activeKeyHasBeenInitialized?d=this.currentMeasure:(this.activeKeyHasBeenInitialized=!0,this.currentXmlMeasureIndex>0?d=this.musicSheet.SourceMeasures[0]:d=this.currentMeasure),d)for(let g=this.inSourceMeasureInstrumentIndex;g<this.inSourceMeasureInstrumentIndex+e;g++){const m=u;if(d.FirstInstructionsStaffEntries[g]){const y=d.FirstInstructionsStaffEntries[g];m.Parent=y,y.removeFirstInstructionOfTypeKeyInstruction(),y.Instructions.length===0?y.Instructions.push(m):y.Instructions[0]instanceof ClefInstruction?y.Instructions.splice(1,0,m):y.Instructions.splice(0,0,m)}else{const y=new SourceStaffEntry(void 0,void 0);d.FirstInstructionsStaffEntries[g]=y,m.Parent=y,y.Instructions.push(m)}}}else this.abstractInstructions.splice(s,1)}if(l instanceof RhythmInstruction){const u=l;if(!this.activeRhythm||this.activeRhythm!==u){if(this.activeRhythm=u,this.abstractInstructions.splice(s,1),this.currentMeasure)for(let d=this.inSourceMeasureInstrumentIndex;d<this.inSourceMeasureInstrumentIndex+e;d++){const g=u;let m;this.currentMeasure.FirstInstructionsStaffEntries[d]?(m=this.currentMeasure.FirstInstructionsStaffEntries[d],m.removeFirstInstructionOfTypeRhythmInstruction()):(m=new SourceStaffEntry(void 0,void 0),this.currentMeasure.FirstInstructionsStaffEntries[d]=m),g.Parent=m,m.Instructions.push(g)}}else this.abstractInstructions.splice(s,1)}}}saveClefInstructionAtEndOfMeasure(){for(let e=this.abstractInstructions.length-1;e>=0;e--){const r=this.abstractInstructions[e][0],s=this.abstractInstructions[e][1];if(s instanceof ClefInstruction){const o=s;if(!this.activeClefs[r-1]||o.ClefType!==this.activeClefs[r-1].ClefType||o.ClefType===this.activeClefs[r-1].ClefType&&o.Line!==this.activeClefs[r-1].Line){const a=new SourceStaffEntry(void 0,void 0);this.currentMeasure.LastInstructionsStaffEntries[this.inSourceMeasureInstrumentIndex+r-1]=a;const l=o;l.Parent=a,a.Instructions.push(l),this.activeClefs[r-1]=o,this.abstractInstructions.splice(e,1)}}}}getNoteDurationForTuplet(e){let r=new Fraction$1(0,1);const s=this.getNoteDurationFromTypeNode(e);if(e.element("time-modification")){const o=e.element("time-modification");if(o&&o.element("actual-notes")!==void 0&&o.element("normal-notes")){const a=o.element("actual-notes"),l=o.element("normal-notes");if(a!==void 0&&l){const c=parseInt(a.value,10),u=parseInt(l.value,10);r=new Fraction$1(u*s.Numerator,c*s.Denominator)}}}return r}readExpressionStaffNumber(e){let r=1;if(e.element("staff")){const s=e.element("staff");if(s)try{r=parseInt(s.value,10)}catch(o){const a=ITextTranslation.translateText("ReaderErrorMessages/ExpressionStaffError","Invalid Expression staff number. Set to default.");this.musicSheet.SheetErrors.pushMeasureError(a),r=1,loglevelExports.debug("InstrumentReader.readExpressionStaffNumber",a,o)}}return r}readDivisionsFromNotes(){let e=0,r=this.currentXmlMeasureIndex,s=!1;for(;!s;){const o=this.xmlMeasureList[r].elements();for(let a=0,l=o.length;a<l;++a){const c=o[a];if(c.name==="note"&&!c.element("time-modification")){const u=c.element("duration"),d=c.element("type");if(u!==void 0&&d){const g=d.value;let m=0;try{m=parseInt(u.value,10)}catch(y){loglevelExports.debug("InstrumentReader.readDivisionsFromNotes",y);continue}switch(g){case"1024th":e=m/4*1024;break;case"512th":e=m/4*512;break;case"256th":e=m/4*256;break;case"128th":e=m/4*128;break;case"64th":e=m/4*64;break;case"32nd":e=m/4*32;break;case"16th":e=m/4*16;break;case"eighth":e=m/4*8;break;case"quarter":e=m/4*4;break;case"half":e=m/4*2;break;case"whole":e=m/4;break;case"breve":e=m/4/2;break;case"long":e=m/4/4;break;case"maxima":e=m/4/8;break}}}if(e>0){s=!0;break}}if(e===0&&(r++,r===this.xmlMeasureList.length)){const a=ITextTranslation.translateText("ReaderErrorMEssages/DivisionsError","Invalid divisions value at Instrument: ");throw new MusicSheetReadingException(a+this.instrument.Name)}}return e}getCueNoteAndNoteTypeXml(e){const r=e.element("cue");let s=!1;r&&(s=!0);const o=e.element("type");let a=NoteType.UNDEFINED;if(o){const l=o.attribute("size");(l==null?void 0:l.value)==="cue"&&(s=!0),a=NoteTypeHandler.StringToNoteType(o.value)}return[s,a]}getStemDirectionType(e){switch(e.value){case"down":return StemDirectionType.Down;case"up":return StemDirectionType.Up;case"double":return StemDirectionType.Double;case"none":return StemDirectionType.None;default:return StemDirectionType.Undefined}}getNoteHeadColorXml(e){const r=e.element("notehead");if(r){const s=r.attribute("color");if(s)return this.parseXmlColor(s.value)}return null}getNoteColorXml(e){const r=e.attribute("color");return r?this.parseXmlColor(r.value):null}getTremoloInfo(e){let r,s;const o=e.element("tremolo");if(o){const a=o.attribute("type");if(a){if(a.value==="single"){const l=parseInt(o.value,10);l>0&&(r=l)}else r=0;a.value==="unmeasured"&&(s=!0)}}return{tremoloStrokes:r,tremoloUnmeasured:s}}getWavyLines(e,r,s,o){const a=e.elements("wavy-line");if(a)for(const l of a){const c=this.expressionReaders[this.readExpressionStaffNumber(r)-1];c&&(c.readExpressionParameters(l,this.instrument,this.divisions,s,o,this.currentMeasure.MeasureNumber,!1),c.addWavyLine(l,this.currentMeasure,s,o))}}getNoteStaff(e){let r=1;return this.instrument.Staves.length>1&&e.element("staff")&&(r=parseInt(e.element("staff").value,10),isNaN(r)&&(loglevelExports.debug("InstrumentReader.readNextXmlMeasure.get staff number"),r=1)),r}}class InstrumentNames{}InstrumentNames.MidiInstrument={banjo:MidiInstrument.Banjo,blockfloete:MidiInstrument.Recorder,brass:MidiInstrument.Trombone,bratsche:MidiInstrument.Viola,cello:MidiInstrument.Cello,clarinet:MidiInstrument.Clarinet,contrabass:MidiInstrument.Contrabass,"steel drum":MidiInstrument.Steel_Drums,drums:MidiInstrument.Percussion,flute:MidiInstrument.Flute,floete:MidiInstrument.Flute,frenchhorn:MidiInstrument.French_Horn,gitarre:MidiInstrument.Acoustic_Guitar_nylon,guitar:MidiInstrument.Acoustic_Guitar_nylon,harfe:MidiInstrument.Orchestral_Harp,harp:MidiInstrument.Orchestral_Harp,klarinette:MidiInstrument.Clarinet,klavier:MidiInstrument.Acoustic_Grand_Piano,kontrabass:MidiInstrument.Contrabass,oboe:MidiInstrument.Oboe,organ:MidiInstrument.Church_Organ,orgel:MidiInstrument.Church_Organ,orgue:MidiInstrument.Church_Organ,percussion:MidiInstrument.Percussion,piano:MidiInstrument.Acoustic_Grand_Piano,piccolo:MidiInstrument.Piccolo,posaune:MidiInstrument.Trombone,recorder:MidiInstrument.Recorder,sax:MidiInstrument.Tenor_Sax,schlagwerk:MidiInstrument.Percussion,schlagzeug:MidiInstrument.Percussion,steeldrum:MidiInstrument.Steel_Drums,streicher:MidiInstrument.String_Ensemble_1,strings:MidiInstrument.String_Ensemble_1,tpt:MidiInstrument.Trumpet,trombone:MidiInstrument.Trombone,trompete:MidiInstrument.Trumpet,trumpet:MidiInstrument.Trumpet,tuba:MidiInstrument.Tuba,unnamed:MidiInstrument.Acoustic_Grand_Piano,viola:MidiInstrument.Viola,violin:MidiInstrument.Violin,"violon-c":MidiInstrument.Cello,"violon.":MidiInstrument.Violin,voice:MidiInstrument.Synth_Voice,woodblock:MidiInstrument.Woodblock,alt:MidiInstrument.Synth_Voice,alto:MidiInstrument.Synth_Voice,bariton:MidiInstrument.Synth_Voice,baritone:MidiInstrument.Synth_Voice,bass:MidiInstrument.Synth_Voice,sopran:MidiInstrument.Synth_Voice,tenor:MidiInstrument.Synth_Voice};InstrumentNames.MidiInstrumentSounds={"brass.alphorn":MidiInstrument.French_Horn,"brass.alto-horn":MidiInstrument.French_Horn,"brass.baritone-horn":MidiInstrument.French_Horn,"brass.bugle":MidiInstrument.Trumpet,"brass.bugle.alto":MidiInstrument.Trumpet,"brass.bugle.baritone":MidiInstrument.Trombone,"brass.bugle.contrabass":MidiInstrument.Trombone,"brass.bugle.euphonium-bugle":MidiInstrument.French_Horn,"brass.bugle.mellophone-bugle":MidiInstrument.French_Horn,"brass.bugle.soprano":MidiInstrument.Trumpet,"brass.cimbasso":MidiInstrument.Trombone,"brass.conch-shell":MidiInstrument.Flute,"brass.cornet":MidiInstrument.Trumpet,"brass.cornet.soprano":MidiInstrument.Trumpet,"brass.cornett":MidiInstrument.Trumpet,"brass.cornett.tenor":MidiInstrument.Trumpet,"brass.cornettino":MidiInstrument.Trumpet,"brass.didgeridoo":MidiInstrument.Flute,"brass.euphonium":MidiInstrument.French_Horn,"brass.fiscorn":MidiInstrument.French_Horn,"brass.flugelhorn":MidiInstrument.French_Horn,"brass.french-horn":MidiInstrument.French_Horn,"brass.group":MidiInstrument.Brass_Section,"brass.group.synth":MidiInstrument.Synth_Brass_1,"brass.helicon":MidiInstrument.French_Horn,"brass.horagai":MidiInstrument.Trumpet,"brass.kuhlohorn":MidiInstrument.French_Horn,"brass.mellophone":MidiInstrument.French_Horn,"brass.natural-horn":MidiInstrument.French_Horn,"brass.ophicleide":MidiInstrument.French_Horn,"brass.posthorn":MidiInstrument.French_Horn,"brass.saxhorn":MidiInstrument.French_Horn,"brass.sousaphone":MidiInstrument.Tuba,"brass.trombone":MidiInstrument.Trombone,"brass.trombone.alto":MidiInstrument.Trombone,"brass.trombone.bass":MidiInstrument.Trombone,"brass.trombone.contrabass":MidiInstrument.Trombone,"brass.trombone.tenor":MidiInstrument.Trombone,"brass.trumpet":MidiInstrument.Trumpet,"brass.trumpet.baroque":MidiInstrument.Trumpet,"brass.trumpet.bass":MidiInstrument.Trombone,"brass.trumpet.bflat":MidiInstrument.Trumpet,"brass.trumpet.c":MidiInstrument.Trumpet,"brass.trumpet.d":MidiInstrument.Trumpet,"brass.trumpet.piccolo":MidiInstrument.Trumpet,"brass.trumpet.pocket":MidiInstrument.Trumpet,"brass.trumpet.slide":MidiInstrument.Trumpet,"brass.trumpet.tenor":MidiInstrument.Trumpet,"brass.tuba":MidiInstrument.Tuba,"brass.tuba.bass":MidiInstrument.Tuba,"brass.tuba.subcontrabass":MidiInstrument.Tuba,"brass.vienna-horn":MidiInstrument.French_Horn,"brass.wagner-tuba":MidiInstrument.French_Horn,"drum.ashiko":MidiInstrument.Shakuhachi,"drum.bass-drum":MidiInstrument.Percussion,"drum.bongo":MidiInstrument.Percussion,"drum.bougarabou":MidiInstrument.Percussion,"drum.buffalo-drum":MidiInstrument.Percussion,"drum.cajon":MidiInstrument.Percussion,"drum.chenda":MidiInstrument.Percussion,"drum.chu-daiko":MidiInstrument.Percussion,"drum.conga":MidiInstrument.Percussion,"drum.cuica":MidiInstrument.Percussion,"drum.dabakan":MidiInstrument.Percussion,"drum.daff":MidiInstrument.Percussion,"drum.dafli":MidiInstrument.Percussion,"drum.daibyosi":MidiInstrument.Percussion,"drum.damroo":MidiInstrument.Percussion,"drum.darabuka":MidiInstrument.Percussion,"drum.def":MidiInstrument.Percussion,"drum.dhol":MidiInstrument.Percussion,"drum.dholak":MidiInstrument.Percussion,"drum.djembe":MidiInstrument.Percussion,"drum.doira":MidiInstrument.Percussion,"drum.dondo":MidiInstrument.Percussion,"drum.doun-doun-ba":MidiInstrument.Percussion,"drum.duff":MidiInstrument.Percussion,"drum.dumbek":MidiInstrument.Percussion,"drum.fontomfrom":MidiInstrument.Percussion,"drum.frame-drum":MidiInstrument.Percussion,"drum.frame-drum.arabian":MidiInstrument.Percussion,"drum.geduk":MidiInstrument.Percussion,"drum.ghatam":MidiInstrument.Percussion,"drum.gome":MidiInstrument.Percussion,"drum.group":MidiInstrument.Percussion,"drum.group.chinese":MidiInstrument.Percussion,"drum.group.ewe":MidiInstrument.Percussion,"drum.group.indian":MidiInstrument.Percussion,"drum.group.set":MidiInstrument.Percussion,"drum.hand-drum":MidiInstrument.Percussion,"drum.hira-daiko":MidiInstrument.Percussion,"drum.ibo":MidiInstrument.Percussion,"drum.igihumurizo":MidiInstrument.Percussion,"drum.inyahura":MidiInstrument.Percussion,"drum.ishakwe":MidiInstrument.Percussion,"drum.jang-gu":MidiInstrument.Percussion,"drum.kagan":MidiInstrument.Percussion,"drum.kakko":MidiInstrument.Percussion,"drum.kanjira":MidiInstrument.Percussion,"drum.kendhang":MidiInstrument.Percussion,"drum.kendhang.ageng":MidiInstrument.Percussion,"drum.kendhang.ciblon":MidiInstrument.Percussion,"drum.kenkeni":MidiInstrument.Percussion,"drum.khol":MidiInstrument.Percussion,"drum.kick-drum":MidiInstrument.Percussion,"drum.kidi":MidiInstrument.Percussion,"drum.ko-daiko":MidiInstrument.Percussion,"drum.kpanlogo":MidiInstrument.Percussion,"drum.kudum":MidiInstrument.Percussion,"drum.lambeg":MidiInstrument.Percussion,"drum.lion-drum":MidiInstrument.Percussion,"drum.log-drum":MidiInstrument.Percussion,"drum.log-drum.african":MidiInstrument.Percussion,"drum.log-drum.native":MidiInstrument.Percussion,"drum.log-drum.nigerian":MidiInstrument.Percussion,"drum.madal":MidiInstrument.Percussion,"drum.maddale":MidiInstrument.Percussion,"drum.mridangam":MidiInstrument.Percussion,"drum.naal":MidiInstrument.Percussion,"drum.nagado-daiko":MidiInstrument.Percussion,"drum.nagara":MidiInstrument.Percussion,"drum.naqara":MidiInstrument.Percussion,"drum.o-daiko":MidiInstrument.Percussion,"drum.okawa":MidiInstrument.Percussion,"drum.okedo-daiko":MidiInstrument.Percussion,"drum.pahu-hula":MidiInstrument.Percussion,"drum.pakhawaj":MidiInstrument.Percussion,"drum.pandeiro":MidiInstrument.Percussion,"drum.pandero":MidiInstrument.Percussion,"drum.powwow":MidiInstrument.Percussion,"drum.pueblo":MidiInstrument.Percussion,"drum.repinique":MidiInstrument.Percussion,"drum.riq":MidiInstrument.Percussion,"drum.rototom":MidiInstrument.Percussion,"drum.sabar":MidiInstrument.Percussion,"drum.sakara":MidiInstrument.Percussion,"drum.sampho":MidiInstrument.Percussion,"drum.sangban":MidiInstrument.Percussion,"drum.shime-daiko":MidiInstrument.Percussion,"drum.slit-drum":MidiInstrument.Percussion,"drum.slit-drum.krin":MidiInstrument.Percussion,"drum.snare-drum":MidiInstrument.Percussion,"drum.snare-drum.electric":MidiInstrument.Synth_Drum,"drum.sogo":MidiInstrument.Percussion,"drum.surdo":MidiInstrument.Percussion,"drum.tabla":MidiInstrument.Percussion,"drum.tabla.bayan":MidiInstrument.Percussion,"drum.tabla.dayan":MidiInstrument.Percussion,"drum.tabor":MidiInstrument.Percussion,"drum.taiko":MidiInstrument.Taiko_Drum,"drum.talking":MidiInstrument.Percussion,"drum.tama":MidiInstrument.Percussion,"drum.tamborim":MidiInstrument.Percussion,"drum.tamborita":MidiInstrument.Percussion,"drum.tambourine":MidiInstrument.Percussion,"drum.tamte":MidiInstrument.Percussion,"drum.tangku":MidiInstrument.Percussion,"drum.tan-tan":MidiInstrument.Percussion,"drum.taphon":MidiInstrument.Percussion,"drum.tar":MidiInstrument.Percussion,"drum.tasha":MidiInstrument.Percussion,"drum.tenor-drum":MidiInstrument.Percussion,"drum.teponaxtli":MidiInstrument.Percussion,"drum.thavil":MidiInstrument.Percussion,"drum.the-box":MidiInstrument.Percussion,"drum.timbale":MidiInstrument.Percussion,"drum.timpani":MidiInstrument.Timpani,"drum.tinaja":MidiInstrument.Percussion,"drum.toere":MidiInstrument.Percussion,"drum.tombak":MidiInstrument.Percussion,"drum.tom-tom":MidiInstrument.Melodic_Tom,"drum.tom-tom.synth":MidiInstrument.Melodic_Tom,"drum.tsuzumi":MidiInstrument.Percussion,"drum.tumbak":MidiInstrument.Percussion,"drum.uchiwa-daiko":MidiInstrument.Percussion,"drum.udaku":MidiInstrument.Percussion,"drum.udu":MidiInstrument.Percussion,"drum.zarb":MidiInstrument.Percussion,"effect.applause":MidiInstrument.Applause,"effect.gunshot":MidiInstrument.Gunshot,"effect.helicopter":MidiInstrument.Helicopter,"effect.telephone-ring":MidiInstrument.Telephone_Ring,"keyboard.accordion":MidiInstrument.Accordion,"keyboard.bandoneon":MidiInstrument.Accordion,"keyboard.celesta":MidiInstrument.Celesta,"keyboard.clavichord":MidiInstrument.Harpsichord,"keyboard.clavichord.synth":MidiInstrument.Harpsichord,"keyboard.concertina":MidiInstrument.Accordion,"keyboard.fortepiano":MidiInstrument.Acoustic_Grand_Piano,"keyboard.harmonium":MidiInstrument.Drawbar_Organ,"keyboard.harpsichord":MidiInstrument.Harpsichord,"keyboard.ondes-martenot":MidiInstrument.Pad_3_polysynth,"keyboard.organ":MidiInstrument.Church_Organ,"keyboard.organ.drawbar":MidiInstrument.Percussive_Organ,"keyboard.organ.percussive":MidiInstrument.Rock_Organ,"keyboard.organ.pipe":MidiInstrument.Church_Organ,"keyboard.organ.reed":MidiInstrument.Church_Organ,"keyboard.organ.rotary":MidiInstrument.Rock_Organ,"keyboard.piano":MidiInstrument.Acoustic_Grand_Piano,"keyboard.piano.electric":MidiInstrument.Electric_Grand_Piano,"keyboard.piano.grand":MidiInstrument.Acoustic_Grand_Piano,"keyboard.piano.honky-tonk":MidiInstrument.Honky_tonk_Piano,"keyboard.piano.prepared":MidiInstrument.Acoustic_Grand_Piano,"keyboard.piano.toy":MidiInstrument.Honky_tonk_Piano,"keyboard.piano.upright":MidiInstrument.Acoustic_Grand_Piano,"keyboard.virginal":MidiInstrument.Acoustic_Grand_Piano,"metal.adodo":MidiInstrument.Xylophone,"metal.anvil":MidiInstrument.Xylophone,"metal.babendil":MidiInstrument.Xylophone,"metal.bells.agogo":MidiInstrument.Agogo,"metal.bells.almglocken":MidiInstrument.Tubular_Bells,"metal.bells.bell-plate":MidiInstrument.Tubular_Bells,"metal.bells.bell-tree":MidiInstrument.Tubular_Bells,"metal.bells.carillon":MidiInstrument.Tubular_Bells,"metal.bells.chimes":MidiInstrument.Tinkle_Bell,"metal.bells.chimta":MidiInstrument.Tubular_Bells,"metal.bells.chippli":MidiInstrument.Tubular_Bells,"metal.bells.church":MidiInstrument.Tubular_Bells,"metal.bells.cowbell":MidiInstrument.Percussion,"metal.bells.dawuro":MidiInstrument.Percussion,"metal.bells.gankokwe":MidiInstrument.Percussion,"metal.bells.ghungroo":MidiInstrument.Percussion,"metal.bells.hatheli":MidiInstrument.Percussion,"metal.bells.jingle-bell":MidiInstrument.Percussion,"metal.bells.khartal":MidiInstrument.Percussion,"metal.bells.mark-tree":MidiInstrument.Percussion,"metal.bells.sistrum":MidiInstrument.Percussion,"metal.bells.sleigh-bells":MidiInstrument.Percussion,"metal.bells.temple":MidiInstrument.Percussion,"metal.bells.tibetan":MidiInstrument.Percussion,"metal.bells.tinklebell":MidiInstrument.Percussion,"metal.bells.trychel":MidiInstrument.Percussion,"metal.bells.wind-chimes":MidiInstrument.Percussion,"metal.bells.zills":MidiInstrument.Percussion,"metal.berimbau":MidiInstrument.Flute,"metal.brake-drums":MidiInstrument.Percussion,"metal.crotales":MidiInstrument.Percussion,"metal.cymbal.bo":MidiInstrument.Percussion,"metal.cymbal.ceng-ceng":MidiInstrument.Percussion,"metal.cymbal.chabara":MidiInstrument.Percussion,"metal.cymbal.chinese":MidiInstrument.Percussion,"metal.cymbal.ching":MidiInstrument.Percussion,"metal.cymbal.clash":MidiInstrument.Percussion,"metal.cymbal.crash":MidiInstrument.Percussion,"metal.cymbal.finger":MidiInstrument.Percussion,"metal.cymbal.hand":MidiInstrument.Percussion,"metal.cymbal.kesi":MidiInstrument.Percussion,"metal.cymbal.manjeera":MidiInstrument.Percussion,"metal.cymbal.reverse":MidiInstrument.Percussion,"metal.cymbal.ride":MidiInstrument.Percussion,"metal.cymbal.sizzle":MidiInstrument.Percussion,"metal.cymbal.splash":MidiInstrument.Percussion,"metal.cymbal.suspended":MidiInstrument.Percussion,"metal.cymbal.tebyoshi":MidiInstrument.Percussion,"metal.cymbal.tibetan":MidiInstrument.Percussion,"metal.cymbal.tingsha":MidiInstrument.Percussion,"metal.flexatone":MidiInstrument.Percussion,"metal.gong":MidiInstrument.Percussion,"metal.gong.ageng":MidiInstrument.Percussion,"metal.gong.agung":MidiInstrument.Percussion,"metal.gong.chanchiki":MidiInstrument.Percussion,"metal.gong.chinese":MidiInstrument.Percussion,"metal.gong.gandingan":MidiInstrument.Percussion,"metal.gong.kempul":MidiInstrument.Percussion,"metal.gong.kempyang":MidiInstrument.Percussion,"metal.gong.ketuk":MidiInstrument.Percussion,"metal.gong.kkwenggwari":MidiInstrument.Percussion,"metal.gong.luo":MidiInstrument.Percussion,"metal.gong.singing":MidiInstrument.Percussion,"metal.gong.thai":MidiInstrument.Percussion,"metal.guira":MidiInstrument.Percussion,"metal.hang":MidiInstrument.Percussion,"metal.hi-hat":MidiInstrument.Percussion,"metal.jaw-harp":MidiInstrument.Percussion,"metal.kengong":MidiInstrument.Percussion,"metal.murchang":MidiInstrument.Percussion,"metal.musical-saw":MidiInstrument.Percussion,"metal.singing-bowl":MidiInstrument.Percussion,"metal.spoons":MidiInstrument.Percussion,"metal.steel-drums":MidiInstrument.Percussion,"metal.tamtam":MidiInstrument.Percussion,"metal.thundersheet":MidiInstrument.Percussion,"metal.triangle":MidiInstrument.Percussion,"metal.washboard":MidiInstrument.Percussion,"pitched-percussion.angklung":MidiInstrument.Xylophone,"pitched-percussion.balafon":MidiInstrument.Xylophone,"pitched-percussion.bell-lyre":MidiInstrument.Xylophone,"pitched-percussion.bells":MidiInstrument.Tubular_Bells,"pitched-percussion.bianqing":MidiInstrument.Xylophone,"pitched-percussion.bianzhong":MidiInstrument.Xylophone,"pitched-percussion.bonang":MidiInstrument.Xylophone,"pitched-percussion.cimbalom":MidiInstrument.Xylophone,"pitched-percussion.crystal-glasses":MidiInstrument.Xylophone,"pitched-percussion.dan-tam-thap-luc":MidiInstrument.Xylophone,"pitched-percussion.fangxiang":MidiInstrument.Xylophone,"pitched-percussion.gandingan-a-kayo":MidiInstrument.Xylophone,"pitched-percussion.gangsa":MidiInstrument.Xylophone,"pitched-percussion.gender":MidiInstrument.Xylophone,"pitched-percussion.giying":MidiInstrument.Xylophone,"pitched-percussion.glass-harmonica":MidiInstrument.Xylophone,"pitched-percussion.glockenspiel":MidiInstrument.Glockenspiel,"pitched-percussion.glockenspiel.alto":MidiInstrument.Glockenspiel,"pitched-percussion.glockenspiel.soprano":MidiInstrument.Glockenspiel,"pitched-percussion.gyil":MidiInstrument.Xylophone,"pitched-percussion.hammer-dulcimer":MidiInstrument.Dulcimer,"pitched-percussion.handbells":MidiInstrument.Tubular_Bells,"pitched-percussion.handchimes":MidiInstrument.Tubular_Bells,"pitched-percussion.kalimba":MidiInstrument.Kalimba,"pitched-percussion.kantil":MidiInstrument.Xylophone,"pitched-percussion.khim":MidiInstrument.Xylophone,"pitched-percussion.kulintang":MidiInstrument.Xylophone,"pitched-percussion.kulintang-a-kayo":MidiInstrument.Xylophone,"pitched-percussion.kulintang-a-tiniok":MidiInstrument.Xylophone,"pitched-percussion.likembe":MidiInstrument.Xylophone,"pitched-percussion.luntang":MidiInstrument.Xylophone,"pitched-percussion.marimba":MidiInstrument.Marimba,"pitched-percussion.marimba.bass":MidiInstrument.Marimba,"pitched-percussion.mbira":MidiInstrument.Marimba,"pitched-percussion.mbira.array":MidiInstrument.Marimba,"pitched-percussion.metallophone":MidiInstrument.Xylophone,"pitched-percussion.metallophone.alto":MidiInstrument.Xylophone,"pitched-percussion.metallophone.bass":MidiInstrument.Xylophone,"pitched-percussion.metallophone.soprano":MidiInstrument.Xylophone,"pitched-percussion.music-box":MidiInstrument.Glockenspiel,"pitched-percussion.pelog-panerus":MidiInstrument.Xylophone,"pitched-percussion.pemade":MidiInstrument.Xylophone,"pitched-percussion.penyacah":MidiInstrument.Xylophone,"pitched-percussion.ranat.ek":MidiInstrument.Xylophone,"pitched-percussion.ranat.ek-lek":MidiInstrument.Xylophone,"pitched-percussion.ranat.thum":MidiInstrument.Xylophone,"pitched-percussion.ranat.thum-lek":MidiInstrument.Xylophone,"pitched-percussion.reyong":MidiInstrument.Xylophone,"pitched-percussion.sanza":MidiInstrument.Xylophone,"pitched-percussion.saron-barung":MidiInstrument.Xylophone,"pitched-percussion.saron-demong":MidiInstrument.Xylophone,"pitched-percussion.saron-panerus":MidiInstrument.Xylophone,"pitched-percussion.slendro-panerus":MidiInstrument.Xylophone,"pitched-percussion.slentem":MidiInstrument.Xylophone,"pitched-percussion.tsymbaly":MidiInstrument.Xylophone,"pitched-percussion.tubes":MidiInstrument.Tubular_Bells,"pitched-percussion.tubular-bells":MidiInstrument.Tubular_Bells,"pitched-percussion.vibraphone":MidiInstrument.Vibraphone,"pitched-percussion.xylophone":MidiInstrument.Xylophone,"pitched-percussion.xylophone.alto":MidiInstrument.Xylophone,"pitched-percussion.xylophone.bass":MidiInstrument.Xylophone,"pitched-percussion.xylophone.soprano":MidiInstrument.Xylophone,"pitched-percussion.xylorimba":MidiInstrument.Xylophone,"pitched-percussion.yangqin":MidiInstrument.Xylophone,"pluck.archlute":MidiInstrument.Acoustic_Guitar_nylon,"pluck.autoharp":MidiInstrument.Orchestral_Harp,"pluck.baglama":MidiInstrument.Orchestral_Harp,"pluck.bajo":MidiInstrument.Acoustic_Guitar_steel,"pluck.balalaika":MidiInstrument.Acoustic_Guitar_steel,"pluck.balalaika.alto":MidiInstrument.Acoustic_Guitar_steel,"pluck.balalaika.bass":MidiInstrument.Acoustic_Guitar_steel,"pluck.balalaika.contrabass":MidiInstrument.Acoustic_Guitar_steel,"pluck.balalaika.piccolo":MidiInstrument.Acoustic_Guitar_steel,"pluck.balalaika.prima":MidiInstrument.Acoustic_Guitar_steel,"pluck.balalaika.secunda":MidiInstrument.Acoustic_Guitar_steel,"pluck.bandola":MidiInstrument.Acoustic_Guitar_steel,"pluck.bandura":MidiInstrument.Acoustic_Guitar_steel,"pluck.bandurria":MidiInstrument.Acoustic_Guitar_steel,"pluck.banjo":MidiInstrument.Banjo,"pluck.banjo.tenor":MidiInstrument.Banjo,"pluck.banjolele":MidiInstrument.Banjo,"pluck.barbat":MidiInstrument.Acoustic_Guitar_steel,"pluck.bass":MidiInstrument.Electric_Bass_finger,"pluck.bass.acoustic":MidiInstrument.Acoustic_Bass,"pluck.bass.bolon":MidiInstrument.Electric_Bass_finger,"pluck.bass.electric":MidiInstrument.Electric_Bass_finger,"pluck.bass.fretless":MidiInstrument.Fretless_Bass,"pluck.bass.guitarron":MidiInstrument.Acoustic_Bass,"pluck.bass.synth":MidiInstrument.Synth_Bass_1,"pluck.bass.synth.lead":MidiInstrument.Synth_Bass_2,"pluck.celtic-harp":MidiInstrument.Orchestral_Harp,"pluck.charango":MidiInstrument.Acoustic_Guitar_nylon,"pluck.chitarra-battente":MidiInstrument.Acoustic_Guitar_nylon,"pluck.cithara":MidiInstrument.Acoustic_Guitar_nylon,"pluck.cittern":MidiInstrument.Acoustic_Guitar_nylon,"pluck.cuatro":MidiInstrument.Acoustic_Guitar_nylon,"pluck.dulcimer":MidiInstrument.Dulcimer,"pluck.dutar":MidiInstrument.Acoustic_Grand_Piano,"pluck.duxianqin":MidiInstrument.Dulcimer,"pluck.ektara":MidiInstrument.Acoustic_Guitar_nylon,"pluck.guitar":MidiInstrument.Acoustic_Guitar_nylon,"pluck.guitar.acoustic":MidiInstrument.Acoustic_Guitar_nylon,"pluck.guitar.electric":MidiInstrument.Electric_Guitar_clean,"pluck.guitar.nylon-string":MidiInstrument.Electric_Guitar_clean,"pluck.guitar.pedal-steel":MidiInstrument.Electric_Guitar_clean,"pluck.guitar.portuguese":MidiInstrument.Acoustic_Guitar_nylon,"pluck.guitar.requinto":MidiInstrument.Acoustic_Guitar_nylon,"pluck.guitar.resonator":MidiInstrument.Acoustic_Guitar_nylon,"pluck.guitar.steel-string":MidiInstrument.Acoustic_Guitar_steel,"pluck.harp":MidiInstrument.Orchestral_Harp,"pluck.harp-guitar":MidiInstrument.Orchestral_Harp,"pluck.huapanguera":MidiInstrument.Orchestral_Harp,"pluck.lute":MidiInstrument.Acoustic_Grand_Piano,"pluck.lyre":MidiInstrument.Orchestral_Harp,"pluck.mandobass":MidiInstrument.Acoustic_Guitar_nylon,"pluck.mandocello":MidiInstrument.Acoustic_Guitar_nylon,"pluck.mandola":MidiInstrument.Acoustic_Guitar_nylon,"pluck.mandolin":MidiInstrument.Acoustic_Guitar_nylon,"pluck.mandolin.octave":MidiInstrument.Acoustic_Guitar_nylon,"pluck.setar":MidiInstrument.Acoustic_Guitar_nylon,"pluck.shamisen":MidiInstrument.Shamisen,"pluck.sitar":MidiInstrument.Sitar,"pluck.synth":MidiInstrument.Electric_Bass_pick,"pluck.synth.charang":MidiInstrument.Electric_Bass_pick,"pluck.synth.chiff":MidiInstrument.Electric_Bass_pick,"pluck.synth.stick":MidiInstrument.Electric_Bass_pick,"pluck.tambura":MidiInstrument.Acoustic_Grand_Piano,"pluck.ukulele":MidiInstrument.Banjo,"pluck.ukulele.tenor":MidiInstrument.Banjo,"strings.arpeggione":MidiInstrument.Cello,"strings.cello":MidiInstrument.Cello,"strings.cello.piccolo":MidiInstrument.Cello,"strings.contrabass":MidiInstrument.Contrabass,"strings.fiddle":MidiInstrument.Fiddle,"strings.fiddle.hardanger":MidiInstrument.Fiddle,"strings.group":MidiInstrument.String_Ensemble_1,"strings.group.synth":MidiInstrument.Synth_Strings_1,"strings.octobass":MidiInstrument.Contrabass,"strings.tromba-marina":MidiInstrument.Contrabass,"strings.vielle":MidiInstrument.Violin,"strings.viol":MidiInstrument.Violin,"strings.viol.alto":MidiInstrument.Violin,"strings.viol.bass":MidiInstrument.Violin,"strings.viol.tenor":MidiInstrument.Violin,"strings.viol.treble":MidiInstrument.Violin,"strings.viol.violone":MidiInstrument.Violin,"strings.viola":MidiInstrument.Viola,"strings.viola-damore":MidiInstrument.Viola,"strings.violin":MidiInstrument.Violin,"strings.violono.piccolo":MidiInstrument.Violin,"strings.violotta":MidiInstrument.Viola,"synth.group":MidiInstrument.Pad_3_polysynth,"synth.group.fifths":MidiInstrument.Pad_3_polysynth,"synth.group.orchestra":MidiInstrument.Orchestra_Hit,"synth.pad":MidiInstrument.Pad_1_new_age,"synth.pad.bowed":MidiInstrument.Pad_1_new_age,"synth.pad.choir":MidiInstrument.Pad_4_choir,"synth.pad.halo":MidiInstrument.Acoustic_Grand_Piano,"synth.pad.polysynth":MidiInstrument.Pad_3_polysynth,"voice.alto":MidiInstrument.Voice_Oohs,"voice.baritone":MidiInstrument.Voice_Oohs,"voice.bass":MidiInstrument.Voice_Oohs,"voice.female":MidiInstrument.Synth_Voice,"voice.kazoo":MidiInstrument.Flute,"voice.male":MidiInstrument.Voice_Oohs,"voice.mezzo-soprano":MidiInstrument.Voice_Oohs,"voice.soprano":MidiInstrument.Voice_Oohs,"voice.synth":MidiInstrument.Synth_Voice,"voice.tenor":MidiInstrument.Voice_Oohs,"voice.vocals":MidiInstrument.Choir_Aahs,"wind.flutes.flute":MidiInstrument.Flute,"wind.flutes.flute.alto":MidiInstrument.Flute,"wind.flutes.flute.bass":MidiInstrument.Flute,"wind.flutes.flute.contra-alto":MidiInstrument.Flute,"wind.flutes.flute.contrabass":MidiInstrument.Flute,"wind.flutes.flute.double-contrabass":MidiInstrument.Flute,"wind.flutes.flute.irish":MidiInstrument.Flute,"wind.flutes.flute.piccolo":MidiInstrument.Piccolo,"wind.flutes.flute.subcontrabass":MidiInstrument.Flute,"wind.flutes.ocarina":MidiInstrument.Ocarina,"wind.flutes.panpipes":MidiInstrument.Pan_Flute,"wind.flutes.recorder":MidiInstrument.Acoustic_Grand_Piano,"wind.flutes.recorder.alto":MidiInstrument.Recorder,"wind.flutes.recorder.bass":MidiInstrument.Recorder,"wind.flutes.recorder.contrabass":MidiInstrument.Recorder,"wind.flutes.recorder.descant":MidiInstrument.Recorder,"wind.flutes.recorder.garklein":MidiInstrument.Recorder,"wind.flutes.recorder.great-bass":MidiInstrument.Recorder,"wind.flutes.recorder.sopranino":MidiInstrument.Recorder,"wind.flutes.recorder.soprano":MidiInstrument.Recorder,"wind.flutes.recorder.tenor":MidiInstrument.Recorder,"wind.flutes.shakuhachi":MidiInstrument.Shakuhachi,"wind.flutes.whistle":MidiInstrument.Whistle,"wind.flutes.whistle.alto":MidiInstrument.Whistle,"wind.flutes.whistle.low-irish":MidiInstrument.Whistle,"wind.flutes.whistle.shiva":MidiInstrument.Whistle,"wind.flutes.whistle.slide":MidiInstrument.Whistle,"wind.flutes.whistle.tin":MidiInstrument.Whistle,"wind.flutes.whistle.tin.bflat":MidiInstrument.Whistle,"wind.flutes.whistle.tin.c":MidiInstrument.Whistle,"wind.flutes.whistle.tin.d":MidiInstrument.Whistle,"wind.group":MidiInstrument.Flute,"wind.pipes.bagpipes":MidiInstrument.Bag_pipe,"wind.reed.basset-horn":MidiInstrument.Bassoon,"wind.reed.bassoon":MidiInstrument.Bassoon,"wind.reed.bombarde":MidiInstrument.Bassoon,"wind.reed.clarinet":MidiInstrument.Clarinet,"wind.reed.clarinet.a":MidiInstrument.Clarinet,"wind.reed.clarinet.alto":MidiInstrument.Clarinet,"wind.reed.clarinet.bass":MidiInstrument.Clarinet,"wind.reed.clarinet.basset":MidiInstrument.Clarinet,"wind.reed.clarinet.bflat":MidiInstrument.Clarinet,"wind.reed.clarinet.contra-alto":MidiInstrument.Clarinet,"wind.reed.clarinet.contrabass":MidiInstrument.Clarinet,"wind.reed.clarinet.d":MidiInstrument.Clarinet,"wind.reed.clarinet.eflat":MidiInstrument.Clarinet,"wind.reed.clarinet.g":MidiInstrument.Clarinet,"wind.reed.clarinet.piccolo":MidiInstrument.Clarinet,"wind.reed.clarinet.piccolo.aflat":MidiInstrument.Clarinet,"wind.reed.clarinette-damour":MidiInstrument.Clarinet,"wind.reed.contrabass":MidiInstrument.Clarinet,"wind.reed.contrabassoon":MidiInstrument.Clarinet,"wind.reed.cornamuse":MidiInstrument.Bag_pipe,"wind.reed.english-horn":MidiInstrument.English_Horn,"wind.reed.harmonica":MidiInstrument.Harmonica,"wind.reed.harmonica.bass":MidiInstrument.Harmonica,"wind.reed.oboe":MidiInstrument.Oboe,"wind.reed.oboe.bass":MidiInstrument.Oboe,"wind.reed.oboe.piccolo":MidiInstrument.Oboe,"wind.reed.oboe-da-caccia":MidiInstrument.Oboe,"wind.reed.oboe-damore":MidiInstrument.Oboe,"wind.reed.saxonette":MidiInstrument.Soprano_Sax,"wind.reed.saxophone":MidiInstrument.Alto_Sax,"wind.reed.saxophone.alto":MidiInstrument.Alto_Sax,"wind.reed.saxophone.aulochrome":MidiInstrument.Alto_Sax,"wind.reed.saxophone.baritone":MidiInstrument.Baritone_Sax,"wind.reed.saxophone.bass":MidiInstrument.Baritone_Sax,"wind.reed.saxophone.contrabass":MidiInstrument.Baritone_Sax,"wind.reed.saxophone.melody":MidiInstrument.Baritone_Sax,"wind.reed.saxophone.mezzo-soprano":MidiInstrument.Alto_Sax,"wind.reed.saxophone.sopranino":MidiInstrument.Soprano_Sax,"wind.reed.saxophone.sopranissimo":MidiInstrument.Soprano_Sax,"wind.reed.saxophone.soprano":MidiInstrument.Soprano_Sax,"wind.reed.saxophone.subcontrabass":MidiInstrument.Baritone_Sax,"wind.reed.saxophone.tenor":MidiInstrument.Tenor_Sax,"wood.bones":MidiInstrument.Woodblock,"wood.castanets":MidiInstrument.Woodblock,"wood.claves":MidiInstrument.Woodblock,"wood.drum-sticks":MidiInstrument.Woodblock,"wood.gourd":MidiInstrument.Woodblock,"wood.granite-block":MidiInstrument.Woodblock,"wood.guban":MidiInstrument.Woodblock,"wood.guiro":MidiInstrument.Woodblock,"wood.hyoushigi":MidiInstrument.Woodblock,"wood.ipu":MidiInstrument.Woodblock,"wood.jam-block":MidiInstrument.Woodblock,"wood.kaekeeke":MidiInstrument.Woodblock,"wood.kagul":MidiInstrument.Woodblock,"wood.kalaau":MidiInstrument.Woodblock,"wood.kashiklar":MidiInstrument.Woodblock,"wood.kubing":MidiInstrument.Woodblock,"wood.pan-clappers":MidiInstrument.Woodblock,"wood.sand-block":MidiInstrument.Woodblock,"wood.slapstick":MidiInstrument.Woodblock,"wood.stir-drum":MidiInstrument.Woodblock,"wood.temple-block":MidiInstrument.Woodblock,"wood.tic-toc-block":MidiInstrument.Woodblock,"wood.tonetang":MidiInstrument.Woodblock,"wood.wood-block":MidiInstrument.Woodblock};class SubInstrument{constructor(e){this.parentInstrument=e,this.fixedKey=-1,this.name=this.parseMidiInstrument(this.parentInstrument.Name),this.midiInstrumentID=InstrumentNames.MidiInstrument[this.name],this.volume=1}get ParentInstrument(){return this.parentInstrument}static isPianoInstrument(e){return e===MidiInstrument.Acoustic_Grand_Piano||e===MidiInstrument.Bright_Acoustic_Piano||e===MidiInstrument.Electric_Grand_Piano||e===MidiInstrument.Electric_Piano_1||e===MidiInstrument.Electric_Piano_2}setMidiInstrumentSound(e){this.midiInstrumentID=InstrumentNames.MidiInstrumentSounds[e]}setMidiInstrument(e){this.midiInstrumentID=InstrumentNames.MidiInstrument[this.parseMidiInstrument(e)]}parseMidiInstrument(e){try{if(e){const r=e.toLowerCase().trim();for(const s in InstrumentNames.MidiInstrument)if(r.indexOf(s)!==-1)return s}if(this.parentInstrument.Name){const r=this.parentInstrument.Name.toLowerCase().trim();for(const s in InstrumentNames.MidiInstrument)if(r.indexOf(s)!==-1)return s}}catch(r){loglevelExports.error("Error parsing MIDI Instrument. Default to Grand Piano.")}return"unnamed"}}class StringUtil{static StringContainsSeparatedWord(e,r,s=!1){return new RegExp("( |^)"+r+"([ .]|$)",s?"i":void 0).test(e)}}class RepetitionInstructionReader{set MusicSheet(e){this.musicSheet=e,this.xmlMeasureList=new Array(this.musicSheet.Instruments.length),this.repetitionInstructions=[]}prepareReadingMeasure(e,r){this.currentMeasureIndex=r}handleLineRepetitionInstructions(e){let r=!1;if(e.elements().length>0){let s="",o=!1,a="",l="",c="";const u=[],d=e.element("bar-style");d&&(c=d.value),e.attributes().length>0&&e.attribute("location")?s=e.attribute("location").value:s="right";const g=e.elements();for(let m=0,y=g.length;m<y;++m){const b=g[m];if(b.name==="repeat"&&b.hasAttributes)o=!0,a=b.attribute("direction").value;else if(b.name==="ending"&&b.hasAttributes&&b.attribute("type")!==void 0&&b.attribute("number")){l=b.attribute("type").value;const S=b.attribute("number").value.split("[,+]");for(let E=0,x=S.length;E<x;++E){const P=S[E],C=P.match("[0-9]");if(P.search("-")!==-1&&C.length===2){const T=parseInt(C[0],10),k=parseInt(C[1],10);for(let I=T;I<=k;I++)u.push(I)}else for(let T=0,k=C.length;T<k;++T){const I=C[T];u.push(parseInt(I,10))}}}}if(c==="light-heavy"&&u.length===0&&!o&&(r=!0),o||u.length>0)if(s==="left"){if(l==="start"){const m=new RepetitionInstruction(this.currentMeasureIndex,RepetitionInstructionEnum.Ending,AlignmentType.Begin,void 0,u);this.addInstruction(this.repetitionInstructions,m)}if(a==="forward"){const m=new RepetitionInstruction(this.currentMeasureIndex,RepetitionInstructionEnum.StartLine);this.addInstruction(this.repetitionInstructions,m)}}else{if(l==="stop"){const m=new RepetitionInstruction(this.currentMeasureIndex,RepetitionInstructionEnum.Ending,AlignmentType.End,void 0,u);this.addInstruction(this.repetitionInstructions,m)}if(a==="backward"){const m=new RepetitionInstruction(this.currentMeasureIndex,RepetitionInstructionEnum.BackJumpLine);this.addInstruction(this.repetitionInstructions,m)}}}return r}handleRepetitionInstructionsFromWordsOrSymbols(e,r){const s=e.element("words"),o=this.currentMeasureIndex;if(s){const a="d\\s?\\.s\\.",l=s.value.trim().toLowerCase();if(StringUtil.StringContainsSeparatedWord(l,a+" al fine",!0)){const u=new RepetitionInstruction(o,RepetitionInstructionEnum.DalSegnoAlFine);return this.addInstruction(this.repetitionInstructions,u),!0}if(StringUtil.StringContainsSeparatedWord(l,a+" al coda",!0)){const u=new RepetitionInstruction(o,RepetitionInstructionEnum.DalSegnoAlCoda);return this.addInstruction(this.repetitionInstructions,u),!0}const c="d\\.\\s?c\\.";if(StringUtil.StringContainsSeparatedWord(l,c+" al fine",!0)){const u=new RepetitionInstruction(o,RepetitionInstructionEnum.DaCapoAlFine);return this.addInstruction(this.repetitionInstructions,u),!0}if(StringUtil.StringContainsSeparatedWord(l,c+" al coda",!0)){const u=new RepetitionInstruction(o,RepetitionInstructionEnum.DaCapoAlCoda);return this.addInstruction(this.repetitionInstructions,u),!0}if(StringUtil.StringContainsSeparatedWord(l,c)||StringUtil.StringContainsSeparatedWord(l,"da\\s?capo",!0)){const u=new RepetitionInstruction(o,RepetitionInstructionEnum.DaCapo);return this.addInstruction(this.repetitionInstructions,u),!0}if(StringUtil.StringContainsSeparatedWord(l,a,!0)||StringUtil.StringContainsSeparatedWord(l,"dal\\s?segno",!0)){let u;return StringUtil.StringContainsSeparatedWord(l,"al\\s?coda",!0)?u=new RepetitionInstruction(o,RepetitionInstructionEnum.DalSegnoAlCoda):u=new RepetitionInstruction(o,RepetitionInstructionEnum.DalSegno),this.addInstruction(this.repetitionInstructions,u),!0}if(StringUtil.StringContainsSeparatedWord(l,"to\\s?coda",!0)||StringUtil.StringContainsSeparatedWord(l,"a (la )?coda",!0)){const u=new RepetitionInstruction(o,RepetitionInstructionEnum.ToCoda);return this.addInstruction(this.repetitionInstructions,u),!0}if(StringUtil.StringContainsSeparatedWord(l,"fine",!0)){const u=new RepetitionInstruction(o,RepetitionInstructionEnum.Fine);return this.addInstruction(this.repetitionInstructions,u),!0}if(StringUtil.StringContainsSeparatedWord(l,"coda",!0)){const u=new RepetitionInstruction(o,RepetitionInstructionEnum.Coda);return this.addInstruction(this.repetitionInstructions,u),!0}if(StringUtil.StringContainsSeparatedWord(l,"segno",!0)){const u=new RepetitionInstruction(o,RepetitionInstructionEnum.Segno);return this.addInstruction(this.repetitionInstructions,u),!0}}else if(e.element("segno")){const a=new RepetitionInstruction(o,RepetitionInstructionEnum.Segno);return this.addInstruction(this.repetitionInstructions,a),!0}else if(e.element("coda")){const a=new RepetitionInstruction(o,RepetitionInstructionEnum.Coda);return this.addInstruction(this.repetitionInstructions,a),!0}return!1}removeRedundantInstructions(){let e=0,r=0,s=0,o=0;for(let a=0;a<this.repetitionInstructions.length;a++){const l=this.repetitionInstructions[a];switch(l.type){case RepetitionInstructionEnum.Coda:s>0&&this.findInstructionInPreviousMeasure(a,l.measureIndex,RepetitionInstructionEnum.ToCoda)&&(l.type=RepetitionInstructionEnum.None),r===0&&s===0&&(l.type=RepetitionInstructionEnum.ToCoda,l.alignment=AlignmentType.End,l.measureIndex--);break;case RepetitionInstructionEnum.Segno:if(e-o>0){let c=!1;for(let u=0,d=this.repetitionInstructions.length;u<d;++u){const g=this.repetitionInstructions[u];if(l.measureIndex-g.measureIndex===1)switch(g.type){case RepetitionInstructionEnum.BackJumpLine:s-r>0?g.type=RepetitionInstructionEnum.DalSegnoAlCoda:g.type=RepetitionInstructionEnum.DalSegno,l.type=RepetitionInstructionEnum.None,c=!0;break;case RepetitionInstructionEnum.DalSegno:case RepetitionInstructionEnum.DalSegnoAlFine:case RepetitionInstructionEnum.DalSegnoAlCoda:l.type=RepetitionInstructionEnum.None,c=!0;break}if(c)break}if(c)break;s-r>0?l.type=RepetitionInstructionEnum.DalSegnoAlCoda:l.type=RepetitionInstructionEnum.DalSegno,l.alignment=AlignmentType.End,l.measureIndex--}break}if(this.backwardSearchForPreviousIdenticalInstruction(a,l)||l.type===RepetitionInstructionEnum.None)this.repetitionInstructions.splice(a,1),a--;else switch(l.type){case RepetitionInstructionEnum.Fine:break;case RepetitionInstructionEnum.ToCoda:s++;break;case RepetitionInstructionEnum.Coda:r++;break;case RepetitionInstructionEnum.Segno:e++;break;case RepetitionInstructionEnum.DalSegnoAlFine:case RepetitionInstructionEnum.DalSegnoAlCoda:o++;break}}this.repetitionInstructions.sort(RepetitionInstructionComparer.Compare)}findInstructionInPreviousMeasure(e,r,s){for(let o=e-1;o>=0;o--){const a=this.repetitionInstructions[o];if(r-a.measureIndex===1&&a.type===s)return!0}return!1}backwardSearchForPreviousIdenticalInstruction(e,r){for(let s=e-1;s>=0;s--)if(this.repetitionInstructions[s].equals(r))return!0;return!1}addInstruction(e,r){let s=!0;for(let o=0,a=e.length;o<a;++o){const l=e[o];if(r.equals(l)){s=!1;break}}s&&e.push(r)}}class RepetitionCalculator{constructor(){this.repetitionInstructions=[],this.openRepetitions=[],this.lastRepetitionCommonPartStartIndex=0}calculateRepetitions(e,r,s){this.musicSheet=e,this.repetitionInstructions=r,this.rules=s,this.rules||(this.rules=new EngravingRules),this.openRepetitions.length=0,this.lastRepetitionCommonPartStartIndex=0;const o=this.musicSheet.SourceMeasures;for(const u of this.repetitionInstructions){this.currentMeasureIndex=u.measureIndex;try{this.currentMeasure=o[this.currentMeasureIndex],this.handleRepetitionInstructions(u)}catch(d){loglevelExports.error("RepetitionCalculator: calculateRepetitions",d)}}for(;this.openRepetitions.length>0;)try{const u=this.openRepetitions.last();if(u.RepetitonUnderConstruction.FromWords){if(u.WaitingForCoda){let d=u.RepetitonUnderConstruction.BackwardJumpInstructions.last().measureIndex+1;d>=this.musicSheet.SourceMeasures.length&&(d=-1),u.RepetitonUnderConstruction.setEndingStartIndex(2,d)}else if(u.RepetitonUnderConstruction.BackwardJumpInstructions.length===0){this.openRepetitions.splice(this.openRepetitions.length-1,1);continue}}else if(u.RepetitonUnderConstruction.BackwardJumpInstructions.length===0){const d=o.length-1,g=new RepetitionInstruction(d,RepetitionInstructionEnum.BackJumpLine,AlignmentType.End,u.RepetitonUnderConstruction);u.RepetitonUnderConstruction.BackwardJumpInstructions.push(g),o[d].LastRepetitionInstructions.push(g)}this.finalizeRepetition(this.openRepetitions.last())}catch(u){try{const d=this.openRepetitions.last().RepetitonUnderConstruction;for(const g of this.repetitionInstructions)g.parentRepetition===d&&(g.parentRepetition=void 0);this.openRepetitions.splice(this.openRepetitions.length-1,1)}catch(d){loglevelExports.error("RepetitionCalculator: calculateRepetitions2",d)}}let a=!1;const l=0,c=this.musicSheet.SourceMeasures.length-1;for(const u of this.musicSheet.Repetitions)if(u.StartIndex===l&&u.EndIndex===c){a=!0;break}if(!a){const u=new Repetition(this.musicSheet,!0);u.FromWords=!0,u.startMarker=new RepetitionInstruction(l,RepetitionInstructionEnum.StartLine),u.startMarker.parentRepetition=u,this.musicSheet.SourceMeasures[l].FirstRepetitionInstructions.push(u.startMarker),u.endMarker=new RepetitionInstruction(c,RepetitionInstructionEnum.BackJumpLine),u.endMarker.parentRepetition=u,u.BackwardJumpInstructions.push(u.endMarker),u.UserNumberOfRepetitions=u.DefaultNumberOfRepetitions,this.musicSheet.Repetitions.push(u)}for(let u=0,d=this.musicSheet.SourceMeasures.length;u<d;++u){const g=this.musicSheet.SourceMeasures[u];g.FirstRepetitionInstructions.length>1&&g.FirstRepetitionInstructions.sort(RepetitionInstructionComparer.Compare),g.LastRepetitionInstructions.length>1&&g.LastRepetitionInstructions.sort(RepetitionInstructionComparer.Compare)}}handleRepetitionInstructions(e){var s,o,a,l,c,u,d;let r;switch(e.type){case RepetitionInstructionEnum.StartLine:r=this.createNewRepetition(this.currentMeasureIndex),e.parentRepetition=r.RepetitonUnderConstruction,r.RepetitonUnderConstruction.FromWords=!1,r.RepetitonUnderConstruction.startMarker=e,(s=this.currentMeasure)==null||s.FirstRepetitionInstructions.push(e);break;case RepetitionInstructionEnum.BackJumpLine:r=this.getOrCreateCurrentRepetition2(!1),e.parentRepetition=r.RepetitonUnderConstruction,r.RepetitonUnderConstruction.BackwardJumpInstructions.push(e),(o=this.currentMeasure)==null||o.LastRepetitionInstructions.push(e),r.RepetitonUnderConstruction.EndingParts.length===0&&this.finalizeRepetition(r);break;case RepetitionInstructionEnum.Ending:if(r=this.getOrCreateCurrentRepetition(),e.parentRepetition=r.RepetitonUnderConstruction,e.endingIndices.contains(1)&&e.alignment===AlignmentType.Begin){if(r.RepetitonUnderConstruction.BackwardJumpInstructions.length>0||r.RepetitonUnderConstruction.EndingIndexDict.hasOwnProperty(1)){r=void 0;for(let m=this.openRepetitions.length-1;m>=0;m--){const y=this.openRepetitions[m];if(y.RepetitonUnderConstruction.BackwardJumpInstructions.length===0)for(r=y;this.openRepetitions.length-1>m;){const b=this.openRepetitions.last();this.finalizeRepetition(b)}}r===void 0&&(r=this.createNewRepetition(0),r.RepetitonUnderConstruction.startMarker=new RepetitionInstruction(0,RepetitionInstructionEnum.None))}r.RepetitonUnderConstruction.forwardJumpInstruction===void 0&&(r.RepetitonUnderConstruction.forwardJumpInstruction=new RepetitionInstruction(this.currentMeasureIndex-1,RepetitionInstructionEnum.ForwardJump,AlignmentType.End,r.RepetitonUnderConstruction),this.musicSheet.SourceMeasures[this.currentMeasureIndex-1].LastRepetitionInstructions.push(r.RepetitonUnderConstruction.forwardJumpInstruction))}if(e.alignment===AlignmentType.Begin)r.RepetitonUnderConstruction.setEndingsStartIndex(e.endingIndices,this.currentMeasureIndex),(a=this.currentMeasure)==null||a.FirstRepetitionInstructions.push(e);else for(let m=0,y=e.endingIndices.length;m<y;++m){const b=e.endingIndices[m];r.RepetitonUnderConstruction.setEndingEndIndex(b,this.currentMeasureIndex),(l=this.currentMeasure)==null||l.LastRepetitionInstructions.push(e)}break;case RepetitionInstructionEnum.Segno:if(r=this.getCurrentRepetition(!0),r!==void 0&&r.SegnoFound&&r.RepetitonUnderConstruction.BackwardJumpInstructions.length>0&&Math.abs(r.RepetitonUnderConstruction.BackwardJumpInstructions.last().measureIndex-this.currentMeasureIndex)<=1||this.openRepetitions.length&&((d=(u=(c=this.openRepetitions)==null?void 0:c.find(m=>m.RepetitonUnderConstruction.startMarker.type===RepetitionInstructionEnum.StartLine))==null?void 0:u.RepetitonUnderConstruction)==null?void 0:d.StartIndex)===this.currentMeasureIndex)break;r=this.createNewRepetition(this.currentMeasureIndex),e.parentRepetition=r.RepetitonUnderConstruction,r.RepetitonUnderConstruction.FromWords=!0,r.SegnoFound=!0,r.RepetitonUnderConstruction.startMarker=e,this.currentMeasure.FirstRepetitionInstructions.push(e);break;case RepetitionInstructionEnum.Fine:if(this.openRepetitions.length===0||(r=this.getCurrentRepetition(!0),r===void 0))break;e.parentRepetition=r.RepetitonUnderConstruction,r.RepetitonUnderConstruction.FromWords=!0,r.RepetitonUnderConstruction.forwardJumpInstruction===void 0?(r.FineFound=!0,r.RepetitonUnderConstruction.forwardJumpInstruction=e,r.RepetitonUnderConstruction.setEndingStartIndex(2,-2),this.currentMeasure.LastRepetitionInstructions.push(e)):this.currentMeasure.LastRepetitionInstructions.push(new RepetitionInstruction(this.currentMeasureIndex,RepetitionInstructionEnum.Fine,AlignmentType.End,void 0));break;case RepetitionInstructionEnum.ToCoda:if(this.openRepetitions.length===0||(r=this.getCurrentRepetition(!0),r===void 0))break;r.RepetitonUnderConstruction.forwardJumpInstruction===void 0&&(e.parentRepetition=r.RepetitonUnderConstruction,r.RepetitonUnderConstruction.FromWords=!0,r.ToCodaFound=!0,r.RepetitonUnderConstruction.forwardJumpInstruction=e,this.currentMeasure.LastRepetitionInstructions.push(e));break;case RepetitionInstructionEnum.Coda:if(this.openRepetitions.length===0)break;r=this.getOrCreateCurrentRepetition2(!0),e.parentRepetition=r.RepetitonUnderConstruction,r.WaitingForCoda?(r.CodaFound=!0,r.RepetitonUnderConstruction.setEndingStartIndex(2,this.currentMeasureIndex),this.currentMeasure.LastRepetitionInstructions.push(e),this.finalizeRepetition(r),this.currentMeasureIndex>0&&(this.musicSheet.SourceMeasures[this.currentMeasureIndex-1].printNewSystemXml=!0)):r.ToCodaFound||(r.RepetitonUnderConstruction.BackwardJumpInstructions.length===0?(r.ToCodaFound=!0,r.RepetitonUnderConstruction.forwardJumpInstruction=new RepetitionInstruction(this.currentMeasureIndex,RepetitionInstructionEnum.ToCoda,AlignmentType.End,r.RepetitonUnderConstruction),this.currentMeasure.LastRepetitionInstructions.push(r.RepetitonUnderConstruction.forwardJumpInstruction)):this.currentMeasure.LastRepetitionInstructions.push(new RepetitionInstruction(this.currentMeasureIndex,RepetitionInstructionEnum.Coda,AlignmentType.Begin,void 0)));break;case RepetitionInstructionEnum.DaCapo:r=this.getOrCreateCurrentRepetition(),r.RepetitonUnderConstruction.BackwardJumpInstructions.length>0&&this.finalizeRepetition(r),r.RepetitonUnderConstruction.StartIndex!==0&&(r=this.createNewRepetition(0)),e.parentRepetition=r.RepetitonUnderConstruction,r.RepetitonUnderConstruction.FromWords=!0,r.RepetitonUnderConstruction.startMarker=new RepetitionInstruction(0,RepetitionInstructionEnum.None,AlignmentType.Begin,r.RepetitonUnderConstruction),r.RepetitonUnderConstruction.BackwardJumpInstructions.push(e),this.currentMeasure.LastRepetitionInstructions.push(e),r.RepetitonUnderConstruction.EndingParts.length===0&&this.finalizeRepetition(r);break;case RepetitionInstructionEnum.DalSegno:if(r=this.getOrCreateCurrentRepetition2(!0),r.RepetitonUnderConstruction.BackwardJumpInstructions.length>0&&(this.finalizeRepetition(r),r=this.createNewRepetition(0),r.RepetitonUnderConstruction.FromWords=!0,r.RepetitonUnderConstruction.startMarker=new RepetitionInstruction(0,RepetitionInstructionEnum.None,AlignmentType.Begin,r.RepetitonUnderConstruction)),e.parentRepetition=r.RepetitonUnderConstruction,!r.SegnoFound){const m=this.findInstructionInMainListBackwards(RepetitionInstructionEnum.Segno,e.measureIndex);m>=0&&(r.SegnoFound=!0,r.RepetitonUnderConstruction.startMarker=new RepetitionInstruction(m,RepetitionInstructionEnum.Segno,AlignmentType.Begin,r.RepetitonUnderConstruction),this.musicSheet.SourceMeasures[m].FirstRepetitionInstructions.splice(0,0,r.RepetitonUnderConstruction.startMarker))}r.RepetitonUnderConstruction.EndingIndexDict.hasOwnProperty(1)&&r.RepetitonUnderConstruction.setEndingEndIndex(1,this.currentMeasureIndex),r.RepetitonUnderConstruction.BackwardJumpInstructions.push(e),this.currentMeasure.LastRepetitionInstructions.push(e);break;case RepetitionInstructionEnum.DalSegnoAlFine:if(this.openRepetitions.length===0)break;if(r=this.getOrCreateCurrentRepetition2(!0),e.parentRepetition=r.RepetitonUnderConstruction,!r.SegnoFound){const m=this.findInstructionInMainListBackwards(RepetitionInstructionEnum.Segno,e.measureIndex);m>=0&&(r.SegnoFound=!0,r.RepetitonUnderConstruction.startMarker=new RepetitionInstruction(m,RepetitionInstructionEnum.Segno,AlignmentType.Begin,r.RepetitonUnderConstruction),this.musicSheet.SourceMeasures[m].FirstRepetitionInstructions.splice(0,0,r.RepetitonUnderConstruction.startMarker))}if(!r.FineFound){const m=this.findInstructionInMainListBackwards(RepetitionInstructionEnum.Fine,e.measureIndex);m>=0&&(r.FineFound=!0,r.RepetitonUnderConstruction.forwardJumpInstruction=new RepetitionInstruction(m,RepetitionInstructionEnum.Fine,AlignmentType.Begin,r.RepetitonUnderConstruction),r.RepetitonUnderConstruction.setEndingStartIndex(2,-2),this.musicSheet.SourceMeasures[m].LastRepetitionInstructions.splice(0,0,r.RepetitonUnderConstruction.forwardJumpInstruction))}r.RepetitonUnderConstruction.EndingIndexDict.hasOwnProperty(1)||r.RepetitonUnderConstruction.setEndingEndIndex(1,this.currentMeasureIndex),r.RepetitonUnderConstruction.BackwardJumpInstructions.push(e),this.currentMeasure.LastRepetitionInstructions.push(e);break;case RepetitionInstructionEnum.DaCapoAlFine:if(r=this.getOrCreateCurrentRepetition(),r.RepetitonUnderConstruction.BackwardJumpInstructions.length>0&&(this.finalizeRepetition(r),r=this.createNewRepetition(0)),r.RepetitonUnderConstruction.startMarker!==void 0&&r.RepetitonUnderConstruction.StartIndex!==0&&(r=this.createNewRepetition(0)),r.RepetitonUnderConstruction.startMarker=new RepetitionInstruction(0,RepetitionInstructionEnum.None,AlignmentType.Begin,r.RepetitonUnderConstruction),r.RepetitonUnderConstruction.FromWords=!0,e.parentRepetition=r.RepetitonUnderConstruction,!r.FineFound){const m=this.findInstructionInMainListBackwards(RepetitionInstructionEnum.Fine,e.measureIndex);m>=0&&(r.FineFound=!0,r.RepetitonUnderConstruction.forwardJumpInstruction=new RepetitionInstruction(m,RepetitionInstructionEnum.Fine,AlignmentType.Begin,r.RepetitonUnderConstruction),r.RepetitonUnderConstruction.setEndingStartIndex(2,-2),this.musicSheet.SourceMeasures[m].LastRepetitionInstructions.splice(0,0,r.RepetitonUnderConstruction.forwardJumpInstruction))}r.RepetitonUnderConstruction.EndingIndexDict.hasOwnProperty(1)||r.RepetitonUnderConstruction.setEndingEndIndex(1,this.currentMeasureIndex),r.RepetitonUnderConstruction.BackwardJumpInstructions.push(e),this.currentMeasure.LastRepetitionInstructions.push(e);break;case RepetitionInstructionEnum.DalSegnoAlCoda:if(this.openRepetitions.length===0)break;if(r=this.getOrCreateCurrentRepetition2(!0),e.parentRepetition=r.RepetitonUnderConstruction,!r.SegnoFound){const m=this.findInstructionInMainListBackwards(RepetitionInstructionEnum.Segno,e.measureIndex);m>=0&&(r.SegnoFound=!0,r.RepetitonUnderConstruction.startMarker=new RepetitionInstruction(m,RepetitionInstructionEnum.Segno,AlignmentType.Begin,r.RepetitonUnderConstruction),this.musicSheet.SourceMeasures[m].FirstRepetitionInstructions.splice(0,0,r.RepetitonUnderConstruction.startMarker))}if(!r.ToCodaFound){const m=this.findInstructionInMainListBackwards(RepetitionInstructionEnum.ToCoda,e.measureIndex);if(m>=0)r.RepetitonUnderConstruction.forwardJumpInstruction=new RepetitionInstruction(m,RepetitionInstructionEnum.ToCoda,AlignmentType.Begin,r.RepetitonUnderConstruction),this.musicSheet.SourceMeasures[m].LastRepetitionInstructions.splice(0,0,r.RepetitonUnderConstruction.forwardJumpInstruction),r.ToCodaFound=!0;else{const y=this.findInstructionInMainListBackwards(RepetitionInstructionEnum.Coda,e.measureIndex);y>=0&&(r.RepetitonUnderConstruction.forwardJumpInstruction=new RepetitionInstruction(y,RepetitionInstructionEnum.ToCoda,AlignmentType.Begin,r.RepetitonUnderConstruction),this.musicSheet.SourceMeasures[y].LastRepetitionInstructions.splice(0,0,r.RepetitonUnderConstruction.forwardJumpInstruction),r.ToCodaFound=!0)}}r.ToCodaFound&&(r.WaitingForCoda=!0),r.RepetitonUnderConstruction.EndingIndexDict.hasOwnProperty(1)||r.RepetitonUnderConstruction.setEndingEndIndex(1,this.currentMeasureIndex),r.RepetitonUnderConstruction.BackwardJumpInstructions.push(e),this.currentMeasure.LastRepetitionInstructions.push(e);break;case RepetitionInstructionEnum.DaCapoAlCoda:if(r=this.getOrCreateCurrentRepetition(),r.RepetitonUnderConstruction.BackwardJumpInstructions.length>0?(this.finalizeRepetition(r),r=this.createNewRepetition(0)):r.RepetitonUnderConstruction.EndingParts.length===0&&(this.finalizeRepetition(r),r=this.createNewRepetition(0)),r.RepetitonUnderConstruction.startMarker!==void 0&&r.RepetitonUnderConstruction.StartIndex!==0&&(r=this.createNewRepetition(0)),r.RepetitonUnderConstruction.startMarker=new RepetitionInstruction(0,RepetitionInstructionEnum.None,AlignmentType.Begin,r.RepetitonUnderConstruction),r.RepetitonUnderConstruction.FromWords=!0,e.parentRepetition=r.RepetitonUnderConstruction,!r.ToCodaFound){const m=this.findInstructionInMainListBackwards(RepetitionInstructionEnum.ToCoda,e.measureIndex);if(m>=0)r.RepetitonUnderConstruction.forwardJumpInstruction=new RepetitionInstruction(m,RepetitionInstructionEnum.ToCoda,AlignmentType.Begin,r.RepetitonUnderConstruction),this.musicSheet.SourceMeasures[m].LastRepetitionInstructions.splice(0,0,r.RepetitonUnderConstruction.forwardJumpInstruction),r.ToCodaFound=!0;else{const y=this.findInstructionInMainListBackwards(RepetitionInstructionEnum.Coda,e.measureIndex);y>=0&&(r.RepetitonUnderConstruction.forwardJumpInstruction=new RepetitionInstruction(y,RepetitionInstructionEnum.ToCoda,AlignmentType.Begin,r.RepetitonUnderConstruction),this.musicSheet.SourceMeasures[y].LastRepetitionInstructions.splice(0,0,r.RepetitonUnderConstruction.forwardJumpInstruction),r.ToCodaFound=!0)}}r.ToCodaFound&&(r.WaitingForCoda=!0),r.RepetitonUnderConstruction.EndingIndexDict.hasOwnProperty(1)||r.RepetitonUnderConstruction.setEndingEndIndex(1,this.currentMeasureIndex),r.RepetitonUnderConstruction.BackwardJumpInstructions.push(e),this.currentMeasure.LastRepetitionInstructions.push(e);break;case RepetitionInstructionEnum.None:break;default:throw new ArgumentOutOfRangeException("currentRepetitionInstruction")}return!0}findInstructionInMainListBackwards(e,r){for(let s=this.repetitionInstructions.length-1;s>=0;s--){const o=this.repetitionInstructions[s];if(o.measureIndex<=r&&o.type===e)return o.measureIndex}return-1}finalizeRepetition(e){const r=e.RepetitonUnderConstruction;if(r.BackwardJumpInstructions.length>0){let s=!0;const o=this.getLastFinalizedRepetition();if(o!==void 0&&r.coversIdenticalMeasures(o)){if(r.NumberOfEndings>o.NumberOfEndings){const a=this.musicSheet.Repetitions.indexOf(o,0);a>-1&&this.musicSheet.Repetitions.splice(a,1),o.removeFromRepetitionInstructions(),this.musicSheet.Repetitions.push(r)}s=!1,r.removeFromRepetitionInstructions()}else this.musicSheet.Repetitions.push(r);if(s){r.startMarker.type===RepetitionInstructionEnum.None&&this.musicSheet.SourceMeasures[r.StartIndex].FirstRepetitionInstructions.push(r.startMarker),console.log("设置循环次数3",window==null?void 0:window.DYCustomRepeatCount,this.rules.DYCustomRepeatCount,r.DefaultNumberOfRepetitions);const a=(window==null?void 0:window.DYCustomRepeatCount)>r.DefaultNumberOfRepetitions?window==null?void 0:window.DYCustomRepeatCount:r.DefaultNumberOfRepetitions;r.UserNumberOfRepetitions=a||this.rules.DYCustomRepeatCount||r.DefaultNumberOfRepetitions}}this.openRepetitions.splice(this.openRepetitions.length-1,1)}getCurrentRepetition(e){let r;for(let s=this.openRepetitions.length-1;s>=0;s--)if(this.openRepetitions[s].RepetitonUnderConstruction.FromWords===e){for(r=this.openRepetitions[s];s<this.openRepetitions.length-1;)this.finalizeRepetition(this.openRepetitions.last());return r}return r}getOrCreateCurrentRepetition(){if(this.openRepetitions.length>0)return this.openRepetitions.last();const e=this.createNewRepetition(0);return e.RepetitonUnderConstruction.startMarker=new RepetitionInstruction(0,RepetitionInstructionEnum.None,AlignmentType.Begin,e.RepetitonUnderConstruction),e}getOrCreateCurrentRepetition2(e){let r;if(this.openRepetitions.length&&this.openRepetitions.last().RepetitonUnderConstruction.EndingParts.length<2){for(let o=this.openRepetitions.length-1;o>=0;o--)if(r=this.openRepetitions[o],r.RepetitonUnderConstruction.FromWords===e){for(;o<this.openRepetitions.length-1;)this.finalizeRepetition(this.openRepetitions.last());return r}}return r=this.createNewRepetition(this.lastRepetitionCommonPartStartIndex),r.RepetitonUnderConstruction.startMarker=new RepetitionInstruction(this.lastRepetitionCommonPartStartIndex,RepetitionInstructionEnum.None,AlignmentType.Begin,r.RepetitonUnderConstruction),r.RepetitonUnderConstruction.FromWords=e,r}createNewRepetition(e){if(this.openRepetitions.length>0){const s=this.openRepetitions.last(),o=s.RepetitonUnderConstruction;if(o.BackwardJumpInstructions.length>0){const a=Object.keys(o.EndingIndexDict);(a.length===0||o.EndingIndexDict[a[a.length-1]].part.EndIndex>=0)&&this.finalizeRepetition(s)}}const r=new RepetitionBuildingContainer(this.musicSheet);return this.lastRepetitionCommonPartStartIndex=e,this.openRepetitions.push(r),r}getLastFinalizedRepetition(){if(this.musicSheet.Repetitions.length>0)return this.musicSheet.Repetitions.last()}}class RepetitionBuildingContainer{constructor(e){this.RepetitonUnderConstruction=new Repetition(e)}}class MusicSymbolModuleFactory{static createRepetitionInstructionReader(){return new RepetitionInstructionReader}static createRepetitionCalculator(){return new RepetitionCalculator}}class ReaderPluginManager{constructor(){this.voiceMeasureReadPlugins=[]}addVoiceMeasureReadPlugin(e){this.voiceMeasureReadPlugins.push(e)}processVoiceMeasureReadPlugins(e,r,s){for(const o of this.voiceMeasureReadPlugins)try{o.measureReadCalculations(e,r,s)}catch(a){loglevelExports.info("VoiceGenerator.addSingleNote: ",a)}}}class MusicSheetReader{constructor(e=void 0,r=new EngravingRules){this.completeNumberOfStaves=0,this.pluginManager=new ReaderPluginManager,e?this.afterSheetReadingModules=e:this.afterSheetReadingModules=[],this.repetitionInstructionReader=MusicSymbolModuleFactory.createRepetitionInstructionReader(),this.repetitionCalculator=MusicSymbolModuleFactory.createRepetitionCalculator(),this.rules=r}get PluginManager(){return this.pluginManager}get CompleteNumberOfStaves(){return this.completeNumberOfStaves}static doCalculationsAfterDurationHasBeenSet(e){for(const r of e)r.doCalculationsAfterDurationHasBeenSet()}createMusicSheet(e,r){try{return this._createMusicSheet(e,r)}catch(s){loglevelExports.error("MusicSheetReader.CreateMusicSheet",s);return}}_removeFromArray(e,r){const s=e.indexOf(r);s!==-1&&e.splice(s,1)}trimString(e){return e.replace(/^\s+|\s+$/g,"")}_lastElement(e){return e[e.length-1]}_createMusicSheet(e,r){const s=[];let o=0;if(this.musicSheet=new MusicSheet,this.musicSheet.Path=r,this.musicSheet.Rules=this.rules,!e)throw new MusicSheetReadingException("Undefined root element");this.pushSheetLabels(e,r);const a=e.element("part-list");if(!a)throw new MusicSheetReadingException("Undefined partListNode");const l=e.elements("part"),c=a.elements();this.initializeReading(c,l,s);let u=!0;this.currentFraction=new Fraction$1(0,1);let d=!1,g=e.element("identification");for(g&&(g=g.element("encoding")),g&&(g=g.element("software")),g!==void 0&&g.value==="Guitar Pro 5"&&(d=!0);u;){this.currentMeasure!==void 0&&this.currentMeasure.HasEndLine&&this.rules.NewPartAndSystemAfterFinalBarline&&(o=0),this.currentMeasure=new SourceMeasure(this.completeNumberOfStaves,this.musicSheet.Rules);for(const m of s)try{u=u&&m.readNextXmlMeasure(this.currentMeasure,this.currentFraction,d)}catch(y){const b=ITextTranslation.translateText("ReaderErrorMessages/InstrumentError","Error while reading instruments.");throw new MusicSheetReadingException(b,y)}u&&(this.musicSheet.addMeasure(this.currentMeasure),this.checkIfRhythmInstructionsAreSetAndEqual(s),this.checkSourceMeasureForNullEntries(),o=this.setSourceMeasureDuration(s,o),MusicSheetReader.doCalculationsAfterDurationHasBeenSet(s),this.currentMeasure.AbsoluteTimestamp=this.currentFraction.clone(),this.musicSheet.SheetErrors.finalizeMeasure(this.currentMeasure.MeasureNumber),this.currentFraction.Add(this.currentMeasure.Duration),this.previousMeasure=this.currentMeasure)}this.repetitionInstructionReader&&(this.repetitionInstructionReader.removeRedundantInstructions(),this.repetitionCalculator&&this.repetitionCalculator.calculateRepetitions(this.musicSheet,this.repetitionInstructionReader.repetitionInstructions)),this.musicSheet.DefaultStartTempoInBpm===0&&(this.musicSheet.DefaultStartTempoInBpm=100),this.musicSheet.checkForInstrumentWithNoVoice(),this.musicSheet.fillStaffList();for(let m=0,y=this.afterSheetReadingModules.length;m<y;++m)this.afterSheetReadingModules[m].calculate(this.musicSheet);return this.musicSheet.userStartTempoInBPM=this.musicSheet.userStartTempoInBPM||this.musicSheet.DefaultStartTempoInBpm,this.musicSheet.InitializeStartTempoInBPM(this.musicSheet.userStartTempoInBPM),this.musicSheet.MusicPartManager.init(),this.musicSheet}initializeReading(e,r,s){const o=this.createInstrumentGroups(e);this.completeNumberOfStaves=this.getCompleteNumberOfStavesFromXml(r),r.length!==0&&(this.repetitionInstructionReader.MusicSheet=this.musicSheet,this.currentFraction=new Fraction$1(0,1),this.currentMeasure=void 0,this.previousMeasure=void 0);let a=0;for(const l of r){const c=l.attribute("id");if(c){const u=o[c.value],d=l.elements("measure");let g=1;try{g=this.getInstrumentNumberOfStavesFromXml(l)}catch(m){const y=ITextTranslation.translateText("ReaderErrorMessages/InstrumentStavesNumberError","Invalid number of staves at instrument: ");this.musicSheet.SheetErrors.push(y+u.Name);continue}u.createStaves(g),s.push(new InstrumentReader(this.pluginManager,this.repetitionInstructionReader,d,u)),this.repetitionInstructionReader&&(this.repetitionInstructionReader.xmlMeasureList[a]=d),a++}}}checkIfRhythmInstructionsAreSetAndEqual(e){const r=[];for(let a=0;a<this.completeNumberOfStaves;a++)if(this.currentMeasure.FirstInstructionsStaffEntries[a]){const l=this.currentMeasure.FirstInstructionsStaffEntries[a].Instructions[this.currentMeasure.FirstInstructionsStaffEntries[a].Instructions.length-1];l instanceof RhythmInstruction&&r.push(l)}let s=0,o=-1;for(let a=0,l=r.length;a<l;++a){const c=r[a];if(c.Rhythm.RealValue>s){if(this.areRhythmInstructionsMixed(r)&&c.SymbolEnum!==RhythmSymbolEnum.NONE)continue;s=c.Rhythm.RealValue,o=r.indexOf(c)}}if(r.length>0&&r.length<this.completeNumberOfStaves){const a=r[o].clone();for(let l=0;l<this.completeNumberOfStaves;l++)this.currentMeasure.FirstInstructionsStaffEntries[l]!==void 0&&!(this._lastElement(this.currentMeasure.FirstInstructionsStaffEntries[l].Instructions)instanceof RhythmInstruction)&&(this.currentMeasure.FirstInstructionsStaffEntries[l].removeAllInstructionsOfTypeRhythmInstruction(),this.currentMeasure.FirstInstructionsStaffEntries[l].Instructions.push(a.clone())),this.currentMeasure.FirstInstructionsStaffEntries[l]||(this.currentMeasure.FirstInstructionsStaffEntries[l]=new SourceStaffEntry(void 0,void 0),this.currentMeasure.FirstInstructionsStaffEntries[l].Instructions.push(a.clone()));for(let l=0,c=e.length;l<c;++l){const u=e[l];u.ActiveRhythm=a}}if(r.length===0&&this.currentMeasure===this.musicSheet.SourceMeasures[0]){const a=new RhythmInstruction(new Fraction$1(4,4,0,!1),RhythmSymbolEnum.NONE);for(let l=0;l<this.completeNumberOfStaves;l++)this.currentMeasure.FirstInstructionsStaffEntries[l]?this.currentMeasure.FirstInstructionsStaffEntries[l].removeAllInstructionsOfTypeRhythmInstruction():this.currentMeasure.FirstInstructionsStaffEntries[l]=new SourceStaffEntry(void 0,void 0),this.currentMeasure.FirstInstructionsStaffEntries[l].Instructions.push(a);for(let l=0,c=e.length;l<c;++l){const u=e[l];u.ActiveRhythm=a}}for(let a=0,l=r.length;a<l;++a){const c=r[a];if(c.Rhythm.RealValue<s&&this._lastElement(this.currentMeasure.FirstInstructionsStaffEntries[r.indexOf(c)].Instructions)instanceof RhythmInstruction){const u=this.currentMeasure.FirstInstructionsStaffEntries[r.indexOf(c)].Instructions;u[u.length-1]=r[o].clone()}Math.abs(c.Rhythm.RealValue-s)<1e-6&&c.SymbolEnum!==RhythmSymbolEnum.NONE&&this.areRhythmInstructionsMixed(r)&&(c.SymbolEnum=RhythmSymbolEnum.NONE)}}areRhythmInstructionsMixed(e){for(let r=1;r<e.length;r++)if(Math.abs(e[r].Rhythm.RealValue-e[0].Rhythm.RealValue)<1e-6&&e[r].SymbolEnum!==e[0].SymbolEnum)return!0;return!1}setSourceMeasureDuration(e,r){let s=new Fraction$1(0,1);const o=[];for(const c of e){o.push(c.MaxTieNoteFraction);const u=c.ActiveRhythm.Rhythm;s.lt(u)&&(s=new Fraction$1(u.Numerator,u.Denominator,0,!1))}const a=this.currentMeasure.calculateInstrumentsDuration(this.musicSheet,o);let l=new Fraction$1(0,1);for(const c of a)l.lt(c)&&(l=c);Fraction$1.Equal(l,s)?this.checkFractionsForEquivalence(l,s):l.lt(s)&&(l=this.currentMeasure.reverseCheck(this.musicSheet,l),this.checkFractionsForEquivalence(l,s)),this.currentMeasure.ImplicitMeasure=this.checkIfMeasureIsImplicit(l,s),this.currentMeasure.ImplicitMeasure||r++,this.currentMeasure.Duration=l,this.currentMeasure.ActiveTimeSignature=s,this.currentMeasure.MeasureNumber=r;for(let c=0;c<a.length;c++){const u=a[c];if(this.currentMeasure.ImplicitMeasure&&u!==l||!Fraction$1.Equal(u,s)&&!this.allInstrumentsHaveSameDuration(a,l)){const d=this.musicSheet.getGlobalStaffIndexOfFirstStaff(this.musicSheet.Instruments[c]);for(let g=0;g<this.musicSheet.Instruments[c].Staves.length;g++)if(!this.graphicalMeasureIsEmpty(d+g)){this.currentMeasure.setErrorInGraphicalMeasure(d+g,!0);const m=ITextTranslation.translateText("ReaderErrorMessages/MissingNotesError","Given Notes don't correspond to measure duration.");this.musicSheet.SheetErrors.pushMeasureError(m)}}}return r}checkFractionsForEquivalence(e,r){if(r.Denominator>e.Denominator){const s=r.Denominator/e.Denominator;e.expand(s)}}checkIfMeasureIsImplicit(e,r){return!this.previousMeasure&&e.lt(r)?!0:this.previousMeasure?Fraction$1.plus(this.previousMeasure.Duration,e).Equals(r):!1}allInstrumentsHaveSameDuration(e,r){let s=0;for(let o=0,a=e.length;o<a;++o)e[o].Equals(r)&&s++;return s===e.length&&r!==new Fraction$1(0,1)}graphicalMeasureIsEmpty(e){let r=0;for(let s=0;s<this.currentMeasure.VerticalSourceStaffEntryContainers.length;s++)this.currentMeasure.VerticalSourceStaffEntryContainers[s].StaffEntries[e]||r++;return r===this.currentMeasure.VerticalSourceStaffEntryContainers.length}checkSourceMeasureForNullEntries(){for(let e=this.currentMeasure.VerticalSourceStaffEntryContainers.length-1;e>=0;e--)for(let r=this.currentMeasure.VerticalSourceStaffEntryContainers[e].StaffEntries.length-1;r>=0;r--){const s=this.currentMeasure.VerticalSourceStaffEntryContainers[e].StaffEntries[r];if(s)for(let o=s.VoiceEntries.length-1;o>=0;o--){const a=s.VoiceEntries[o];a.Notes.length===0&&(this._removeFromArray(a.ParentVoice.VoiceEntries,a),this._removeFromArray(s.VoiceEntries,a))}s!==void 0&&s.VoiceEntries.length===0&&s.ChordContainers.length===0&&(this.currentMeasure.VerticalSourceStaffEntryContainers[e].StaffEntries[r]=void 0)}for(let e=this.currentMeasure.VerticalSourceStaffEntryContainers.length-1;e>=0;e--){let r=0;for(let s=0,o=this.currentMeasure.VerticalSourceStaffEntryContainers[e].StaffEntries.length;s<o;++s)this.currentMeasure.VerticalSourceStaffEntryContainers[e].StaffEntries[s]||r++;r===this.currentMeasure.VerticalSourceStaffEntryContainers[e].StaffEntries.length&&this._removeFromArray(this.currentMeasure.VerticalSourceStaffEntryContainers,this.currentMeasure.VerticalSourceStaffEntryContainers[e])}}pushSheetLabels(e,r){this.readComposer(e),this.readTitle(e),this.readCopyright(e);try{(!this.musicSheet.Title||!this.musicSheet.Composer||!this.musicSheet.Subtitle)&&this.readTitleAndComposerFromCredits(e)}catch(s){loglevelExports.info("MusicSheetReader.pushSheetLabels","readTitleAndComposerFromCredits",s)}try{if(!this.musicSheet.Title){const s=Math.max(0,r.lastIndexOf("/"),r.lastIndexOf("\\")),a=r.substr(s).split(".",1);this.musicSheet.Title=new Label(a[0])}}catch(s){loglevelExports.info("MusicSheetReader.pushSheetLabels","read title from file name",s)}}presentAttrsWithValue(e,r){for(const s of e.attributes())if(s.value===r)return!0;return!1}readComposer(e){const r=e.element("identification");if(r){const s=r.elements("creator");for(let o=0,a=s.length;o<a;++o){const l=s[o];if(l.hasAttributes){if(this.presentAttrsWithValue(l,"composer")){this.musicSheet.Composer=new Label(this.trimString(l.value));continue}(this.presentAttrsWithValue(l,"lyricist")||this.presentAttrsWithValue(l,"poet"))&&(this.musicSheet.Lyricist=new Label(this.trimString(l.value)))}}}}readCopyright(e){const r=e.elements("identification");if(r.length>0){const o=r[0].elements("rights");if(o.length>0)for(let a=0,l=o.length;a<l;++a){const c=o[a];if(c.value){this.musicSheet.Copyright=new Label(c.value,TextAlignmentEnum.CenterBottom,void 0,!0);break}}}}readTitleAndComposerFromCredits(e){var c,u,d,g,m;if(this.rules.SheetComposerSubtitleUseLegacyParsing){this.readTitleAndComposerFromCreditsLegacy(e);return}const r=this.computeSystemYCoordinates(e);if(r===0)return;let s,o,a;const l=e.elements("credit");for(let y=0,b=l.length;y<b;++y){const A=l[y];if(!A.attribute("page"))return;if(A.attribute("page").value==="1"){let S;if(A){let E=!1,x=!1;const P=A.element("credit-type");(P==null?void 0:P.value)==="subtitle"?E=!0:(P==null?void 0:P.value)==="composer"&&(x=!0);let C=E||x;S=A.elements("credit-words");for(const T of S){const k=(c=T.value)==null?void 0:c.trim();if(k==="Copyright ©")continue;const I=(u=T.attribute("justify"))==null?void 0:u.value;I==="right"?(x=!0,C=!0):I==="center"&&s&&(E=!0,C=!0);const M=(d=T.attribute("default-y"))==null?void 0:d.value,R=M!=null,B=R?parseFloat(M):Number.MIN_VALUE;if(R&&B>r||C){if(!s&&!C)s=k;else if(x||I==="right")a?a+=`
  74. `+k:a=k;else if(E||I!=="right"&&I!=="left")o?o+=`
  75. `+k:o=k;else if(I==="left"){this.musicSheet.Lyricist||(this.musicSheet.Lyricist=new Label(k));break}}}}}}if(!this.musicSheet.Title&&s&&(this.musicSheet.Title=new Label(this.trimString(s))),!this.musicSheet.Subtitle&&o&&(this.musicSheet.Subtitle=new Label(this.trimString(o))),a){let y=!1;if(!this.musicSheet.Composer)y=!0;else{const b=((g=a.match(`
  76. `))!=null?g:[]).length+1,A=((m=this.musicSheet.Composer.text.match(`
  77. `))!=null?m:[]).length+1;b>=A&&(y=!0)}y&&(this.musicSheet.Composer=new Label(this.trimString(a)))}}readTitleAndComposerFromCreditsLegacy(e){var d,g,m;const r=this.computeSystemYCoordinates(e);if(r===0)return;let s=1,o,a=0,l,c;const u=e.elements("credit");for(let y=0,b=u.length;y<b;++y){const A=u[y];if(!A.attribute("page"))return;if(A.attribute("page").value==="1"){let S;if(A){if(S=A.element("credit-words"),!S.attribute("justify"))break;const E=(d=S.attribute("justify"))==null?void 0:d.value,x=(g=S.attribute("default-y"))==null?void 0:g.value,P=x!=null,C=P?parseFloat(x):Number.MIN_VALUE;let T=!1;const k=A.element("credit-type");if((k==null?void 0:k.value)==="subtitle"&&(T=!0),P&&C>r||T){if(!this.musicSheet.Title&&!T){const I=(m=S.attribute("font-size"))==null?void 0:m.value;if(I){const M=parseFloat(I);s<M&&(s=M,o=S.value)}}switch(this.musicSheet.Subtitle||(E!=="right"&&E!=="left"||T)&&(a<C?(a=C,c&&(l=c),c=S.value):l?l+=`
  78. `+S.value:l=S.value),E){case"right":this.musicSheet.Composer||(this.musicSheet.Composer=new Label(this.trimString(S.value)));break;case"left":this.musicSheet.Lyricist||(this.musicSheet.Lyricist=new Label(this.trimString(S.value)));break}}}}}!this.musicSheet.Title&&o&&(this.musicSheet.Title=new Label(this.trimString(o))),!this.musicSheet.Subtitle&&l&&(this.musicSheet.Subtitle=new Label(this.trimString(l)))}computeSystemYCoordinates(e){if(!e.element("defaults"))return 0;let r=0,s=0;try{const l=e.element("defaults").element("page-layout").element("page-height").value;r=parseFloat(l)}catch(l){return loglevelExports.info("MusicSheetReader.computeSystemYCoordinates(): couldn't find page height, not reading title/composer."),0}let o=!1;const a=e.elements("part");for(let l=0,c=a.length;l<c;++l){const u=a[l].elements("measure");for(let d=0,g=u.length;d<g;++d){const m=u[d];if(m.element("print")){const y=m.element("print").elements("system-layout");for(let b=0,A=y.length;b<A;++b){const S=y[b];if(S.element("top-system-distance")){const E=S.element("top-system-distance").value;s=parseFloat(E),o=!0;break}}break}}if(o)break}if(e.element("defaults").element("system-layout")&&e.element("defaults").element("system-layout").element("top-system-distance")){const c=e.element("defaults").element("system-layout").element("top-system-distance").value;s=parseFloat(c)}return s===0?0:r-s}readTitle(e){const r=e.element("work");let s;r&&(s=r.element("work-title"),s&&s.value&&(this.musicSheet.Title=new Label(this.trimString(s.value))));const o=e.element("movement-title");let a="";if(o&&(this.musicSheet.Title?a=this.trimString(o.value):this.musicSheet.Title=new Label(this.trimString(o.value))),r){const l=r.element("work-number");if(l){const c=l.value;c&&(a===""?a=c:a=a+", "+c)}}a&&(this.musicSheet.Subtitle=new Label(a))}createInstrumentGroups(e){let r=0;const s={};let o;try{const a=e;for(let l=0,c=a.length;l<c;++l){const u=a[l];if(u.name==="score-part"){const d=u.attribute("id").value,g=new Instrument(r,d,this.musicSheet,o);r++;const m=u.elements();for(let y=0,b=m.length;y<b;++y){const A=m[y];try{if(A.name==="part-name")g.Name=A.value,A.attribute("print-object")&&A.attribute("print-object").value==="no"&&(g.NameLabel.print=!1);else if(A.name==="part-abbreviation")g.PartAbbreviation=A.value;else if(A.name==="score-instrument"){const S=new SubInstrument(g);S.idString=A.firstAttribute.value,g.SubInstruments.push(S);const E=A.element("instrument-name");E&&(S.name=E.value,S.setMidiInstrument(E.value));const x=A.element("instrument-sound");x&&(S.instrumentSound=x.value,S.setMidiInstrumentSound(x.value))}else if(A.name==="midi-instrument"){let S=g.getSubInstrument(A.firstAttribute.value);for(let x=0,P=g.SubInstruments.length;x<P;++x){const C=g.SubInstruments[x];if(C.idString===A.value){S=C;break}}const E=A.elements();for(let x=0,P=E.length;x<P;++x){const C=E[x];try{if(C.name==="midi-channel")parseInt(C.value,10)===10&&(g.MidiInstrumentId=MidiInstrument.Percussion);else if(C.name==="midi-program")g.SubInstruments.length>0&&g.MidiInstrumentId!==MidiInstrument.Percussion&&(S.midiInstrumentID=Math.max(0,parseInt(C.value,10)-1));else if(C.name==="midi-unpitched")S.fixedKey=Math.max(0,parseInt(C.value,10));else if(C.name==="volume")try{const T=parseFloat(C.value);S.volume=T/127}catch(T){loglevelExports.debug("ExpressionReader.readExpressionParameters","read volume",T)}else if(C.name==="pan")try{const T=parseFloat(C.value);S.pan=T/64}catch(T){loglevelExports.debug("ExpressionReader.readExpressionParameters","read pan",T)}}catch(T){loglevelExports.info("MusicSheetReader.createInstrumentGroups midi settings: ",T)}}}}catch(S){loglevelExports.info("MusicSheetReader.createInstrumentGroups: ",S)}}if(g.SubInstruments.length===0){const y=new SubInstrument(g);g.SubInstruments.push(y)}s[d]=g,o?(o.InstrumentalGroups.push(g),this.musicSheet.Instruments.push(g)):(this.musicSheet.InstrumentalGroups.push(g),this.musicSheet.Instruments.push(g))}else if(u.name==="part-group"&&u.attribute("type").value==="start"){const d=new InstrumentalGroup("group",this.musicSheet,o);o?o.InstrumentalGroups.push(d):this.musicSheet.InstrumentalGroups.push(d),o=d}else if(u.name==="part-group"&&u.attribute("type").value==="stop"&&o){if(o.InstrumentalGroups.length===1){const d=o.InstrumentalGroups[0];o.Parent?(o.Parent.InstrumentalGroups.push(d),this._removeFromArray(o.Parent.InstrumentalGroups,o)):(this.musicSheet.InstrumentalGroups.push(d),this._removeFromArray(this.musicSheet.InstrumentalGroups,o))}o=o.Parent}}}catch(a){const l=ITextTranslation.translateText("ReaderErrorMessages/InstrumentError","Error while reading Instruments");throw new MusicSheetReadingException(l,a)}for(let a=0,l=this.musicSheet.Instruments.length;a<l;++a){const c=this.musicSheet.Instruments[a];c.Name||(c.Name="Instr. "+c.IdString)}return s}getCompleteNumberOfStavesFromXml(e){let r=0;for(const s of e){const o=s.elements("measure");if(o.length>0){const a=o[0];if(a){let l=a.element("attributes");l&&(l=l.element("staves")),l?r+=parseInt(l.value,10):r++}}}if(isNaN(r)||r<=0){const s=ITextTranslation.translateText("ReaderErrorMessages/StaffError","Invalid number of staves.");throw new MusicSheetReadingException(s)}return r}getInstrumentNumberOfStavesFromXml(e){let r=0;const s=e.element("measure");if(s){const o=s.element("attributes");let a;o&&(a=o.element("staves")),!o||!a?r=1:r=parseInt(a.value,10)}if(isNaN(r)||r<=0){const o=ITextTranslation.translateText("ReaderErrorMessages/StaffError","Invalid number of Staves.");throw new MusicSheetReadingException(o)}return r}}function commonjsRequire(i){throw new Error('Could not dynamically require "'+i+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var jszip_minExports={},jszip_min={get exports(){return jszip_minExports},set exports(i){jszip_minExports=i}};/*!
  79. JSZip v3.10.1 - A JavaScript class for generating and reading zip files
  80. <http://stuartk.com/jszip>
  81. (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
  82. Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
  83. JSZip uses the library pako released under the MIT license :
  84. https://github.com/nodeca/pako/blob/main/LICENSE
  85. */(function(i,e){(function(r){i.exports=r()})(function(){return function r(s,o,a){function l(d,g){if(!o[d]){if(!s[d]){var m=typeof commonjsRequire=="function"&&commonjsRequire;if(!g&&m)return m(d,!0);if(c)return c(d,!0);var y=new Error("Cannot find module '"+d+"'");throw y.code="MODULE_NOT_FOUND",y}var b=o[d]={exports:{}};s[d][0].call(b.exports,function(A){var S=s[d][1][A];return l(S||A)},b,b.exports,r,s,o,a)}return o[d].exports}for(var c=typeof commonjsRequire=="function"&&commonjsRequire,u=0;u<a.length;u++)l(a[u]);return l}({1:[function(r,s,o){var a=r("./utils"),l=r("./support"),c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";o.encode=function(u){for(var d,g,m,y,b,A,S,E=[],x=0,P=u.length,C=P,T=a.getTypeOf(u)!=="string";x<u.length;)C=P-x,m=T?(d=u[x++],g=x<P?u[x++]:0,x<P?u[x++]:0):(d=u.charCodeAt(x++),g=x<P?u.charCodeAt(x++):0,x<P?u.charCodeAt(x++):0),y=d>>2,b=(3&d)<<4|g>>4,A=1<C?(15&g)<<2|m>>6:64,S=2<C?63&m:64,E.push(c.charAt(y)+c.charAt(b)+c.charAt(A)+c.charAt(S));return E.join("")},o.decode=function(u){var d,g,m,y,b,A,S=0,E=0,x="data:";if(u.substr(0,x.length)===x)throw new Error("Invalid base64 input, it looks like a data url.");var P,C=3*(u=u.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(u.charAt(u.length-1)===c.charAt(64)&&C--,u.charAt(u.length-2)===c.charAt(64)&&C--,C%1!=0)throw new Error("Invalid base64 input, bad content length.");for(P=l.uint8array?new Uint8Array(0|C):new Array(0|C);S<u.length;)d=c.indexOf(u.charAt(S++))<<2|(y=c.indexOf(u.charAt(S++)))>>4,g=(15&y)<<4|(b=c.indexOf(u.charAt(S++)))>>2,m=(3&b)<<6|(A=c.indexOf(u.charAt(S++))),P[E++]=d,b!==64&&(P[E++]=g),A!==64&&(P[E++]=m);return P}},{"./support":30,"./utils":32}],2:[function(r,s,o){var a=r("./external"),l=r("./stream/DataWorker"),c=r("./stream/Crc32Probe"),u=r("./stream/DataLengthProbe");function d(g,m,y,b,A){this.compressedSize=g,this.uncompressedSize=m,this.crc32=y,this.compression=b,this.compressedContent=A}d.prototype={getContentWorker:function(){var g=new l(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new u("data_length")),m=this;return g.on("end",function(){if(this.streamInfo.data_length!==m.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),g},getCompressedWorker:function(){return new l(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},d.createWorkerFrom=function(g,m,y){return g.pipe(new c).pipe(new u("uncompressedSize")).pipe(m.compressWorker(y)).pipe(new u("compressedSize")).withStreamInfo("compression",m)},s.exports=d},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(r,s,o){var a=r("./stream/GenericWorker");o.STORE={magic:"\0\0",compressWorker:function(){return new a("STORE compression")},uncompressWorker:function(){return new a("STORE decompression")}},o.DEFLATE=r("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(r,s,o){var a=r("./utils"),l=function(){for(var c,u=[],d=0;d<256;d++){c=d;for(var g=0;g<8;g++)c=1&c?3988292384^c>>>1:c>>>1;u[d]=c}return u}();s.exports=function(c,u){return c!==void 0&&c.length?a.getTypeOf(c)!=="string"?function(d,g,m,y){var b=l,A=y+m;d^=-1;for(var S=y;S<A;S++)d=d>>>8^b[255&(d^g[S])];return-1^d}(0|u,c,c.length,0):function(d,g,m,y){var b=l,A=y+m;d^=-1;for(var S=y;S<A;S++)d=d>>>8^b[255&(d^g.charCodeAt(S))];return-1^d}(0|u,c,c.length,0):0}},{"./utils":32}],5:[function(r,s,o){o.base64=!1,o.binary=!1,o.dir=!1,o.createFolders=!0,o.date=null,o.compression=null,o.compressionOptions=null,o.comment=null,o.unixPermissions=null,o.dosPermissions=null},{}],6:[function(r,s,o){var a=null;a=typeof Promise<"u"?Promise:r("lie"),s.exports={Promise:a}},{lie:37}],7:[function(r,s,o){var a=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",l=r("pako"),c=r("./utils"),u=r("./stream/GenericWorker"),d=a?"uint8array":"array";function g(m,y){u.call(this,"FlateWorker/"+m),this._pako=null,this._pakoAction=m,this._pakoOptions=y,this.meta={}}o.magic="\b\0",c.inherits(g,u),g.prototype.processChunk=function(m){this.meta=m.meta,this._pako===null&&this._createPako(),this._pako.push(c.transformTo(d,m.data),!1)},g.prototype.flush=function(){u.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},g.prototype.cleanUp=function(){u.prototype.cleanUp.call(this),this._pako=null},g.prototype._createPako=function(){this._pako=new l[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var m=this;this._pako.onData=function(y){m.push({data:y,meta:m.meta})}},o.compressWorker=function(m){return new g("Deflate",m)},o.uncompressWorker=function(){return new g("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(r,s,o){function a(b,A){var S,E="";for(S=0;S<A;S++)E+=String.fromCharCode(255&b),b>>>=8;return E}function l(b,A,S,E,x,P){var C,T,k=b.file,I=b.compression,M=P!==d.utf8encode,R=c.transformTo("string",P(k.name)),B=c.transformTo("string",d.utf8encode(k.name)),_=k.comment,V=c.transformTo("string",P(_)),D=c.transformTo("string",d.utf8encode(_)),F=B.length!==k.name.length,N=D.length!==_.length,K="",G="",q="",O=k.dir,U=k.date,$={crc32:0,compressedSize:0,uncompressedSize:0};A&&!S||($.crc32=b.crc32,$.compressedSize=b.compressedSize,$.uncompressedSize=b.uncompressedSize);var Y=0;A&&(Y|=8),M||!F&&!N||(Y|=2048);var Q=0,xe=0;O&&(Q|=16),x==="UNIX"?(xe=798,Q|=function(W,J){var ce=W;return W||(ce=J?16893:33204),(65535&ce)<<16}(k.unixPermissions,O)):(xe=20,Q|=function(W){return 63&(W||0)}(k.dosPermissions)),C=U.getUTCHours(),C<<=6,C|=U.getUTCMinutes(),C<<=5,C|=U.getUTCSeconds()/2,T=U.getUTCFullYear()-1980,T<<=4,T|=U.getUTCMonth()+1,T<<=5,T|=U.getUTCDate(),F&&(G=a(1,1)+a(g(R),4)+B,K+="up"+a(G.length,2)+G),N&&(q=a(1,1)+a(g(V),4)+D,K+="uc"+a(q.length,2)+q);var ue="";return ue+=`
  86. \0`,ue+=a(Y,2),ue+=I.magic,ue+=a(C,2),ue+=a(T,2),ue+=a($.crc32,4),ue+=a($.compressedSize,4),ue+=a($.uncompressedSize,4),ue+=a(R.length,2),ue+=a(K.length,2),{fileRecord:m.LOCAL_FILE_HEADER+ue+R+K,dirRecord:m.CENTRAL_FILE_HEADER+a(xe,2)+ue+a(V.length,2)+"\0\0\0\0"+a(Q,4)+a(E,4)+R+K+V}}var c=r("../utils"),u=r("../stream/GenericWorker"),d=r("../utf8"),g=r("../crc32"),m=r("../signature");function y(b,A,S,E){u.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=A,this.zipPlatform=S,this.encodeFileName=E,this.streamFiles=b,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}c.inherits(y,u),y.prototype.push=function(b){var A=b.meta.percent||0,S=this.entriesCount,E=this._sources.length;this.accumulate?this.contentBuffer.push(b):(this.bytesWritten+=b.data.length,u.prototype.push.call(this,{data:b.data,meta:{currentFile:this.currentFile,percent:S?(A+100*(S-E-1))/S:100}}))},y.prototype.openedSource=function(b){this.currentSourceOffset=this.bytesWritten,this.currentFile=b.file.name;var A=this.streamFiles&&!b.file.dir;if(A){var S=l(b,A,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:S.fileRecord,meta:{percent:0}})}else this.accumulate=!0},y.prototype.closedSource=function(b){this.accumulate=!1;var A=this.streamFiles&&!b.file.dir,S=l(b,A,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(S.dirRecord),A)this.push({data:function(E){return m.DATA_DESCRIPTOR+a(E.crc32,4)+a(E.compressedSize,4)+a(E.uncompressedSize,4)}(b),meta:{percent:100}});else for(this.push({data:S.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},y.prototype.flush=function(){for(var b=this.bytesWritten,A=0;A<this.dirRecords.length;A++)this.push({data:this.dirRecords[A],meta:{percent:100}});var S=this.bytesWritten-b,E=function(x,P,C,T,k){var I=c.transformTo("string",k(T));return m.CENTRAL_DIRECTORY_END+"\0\0\0\0"+a(x,2)+a(x,2)+a(P,4)+a(C,4)+a(I.length,2)+I}(this.dirRecords.length,S,b,this.zipComment,this.encodeFileName);this.push({data:E,meta:{percent:100}})},y.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},y.prototype.registerPrevious=function(b){this._sources.push(b);var A=this;return b.on("data",function(S){A.processChunk(S)}),b.on("end",function(){A.closedSource(A.previous.streamInfo),A._sources.length?A.prepareNextSource():A.end()}),b.on("error",function(S){A.error(S)}),this},y.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},y.prototype.error=function(b){var A=this._sources;if(!u.prototype.error.call(this,b))return!1;for(var S=0;S<A.length;S++)try{A[S].error(b)}catch(E){}return!0},y.prototype.lock=function(){u.prototype.lock.call(this);for(var b=this._sources,A=0;A<b.length;A++)b[A].lock()},s.exports=y},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(r,s,o){var a=r("../compressions"),l=r("./ZipFileWorker");o.generateWorker=function(c,u,d){var g=new l(u.streamFiles,d,u.platform,u.encodeFileName),m=0;try{c.forEach(function(y,b){m++;var A=function(P,C){var T=P||C,k=a[T];if(!k)throw new Error(T+" is not a valid compression method !");return k}(b.options.compression,u.compression),S=b.options.compressionOptions||u.compressionOptions||{},E=b.dir,x=b.date;b._compressWorker(A,S).withStreamInfo("file",{name:y,dir:E,date:x,comment:b.comment||"",unixPermissions:b.unixPermissions,dosPermissions:b.dosPermissions}).pipe(g)}),g.entriesCount=m}catch(y){g.error(y)}return g}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(r,s,o){function a(){if(!(this instanceof a))return new a;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 l=new a;for(var c in this)typeof this[c]!="function"&&(l[c]=this[c]);return l}}(a.prototype=r("./object")).loadAsync=r("./load"),a.support=r("./support"),a.defaults=r("./defaults"),a.version="3.10.1",a.loadAsync=function(l,c){return new a().loadAsync(l,c)},a.external=r("./external"),s.exports=a},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(r,s,o){var a=r("./utils"),l=r("./external"),c=r("./utf8"),u=r("./zipEntries"),d=r("./stream/Crc32Probe"),g=r("./nodejsUtils");function m(y){return new l.Promise(function(b,A){var S=y.decompressed.getContentWorker().pipe(new d);S.on("error",function(E){A(E)}).on("end",function(){S.streamInfo.crc32!==y.decompressed.crc32?A(new Error("Corrupted zip : CRC32 mismatch")):b()}).resume()})}s.exports=function(y,b){var A=this;return b=a.extend(b||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:c.utf8decode}),g.isNode&&g.isStream(y)?l.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):a.prepareContent("the loaded zip file",y,!0,b.optimizedBinaryString,b.base64).then(function(S){var E=new u(b);return E.load(S),E}).then(function(S){var E=[l.Promise.resolve(S)],x=S.files;if(b.checkCRC32)for(var P=0;P<x.length;P++)E.push(m(x[P]));return l.Promise.all(E)}).then(function(S){for(var E=S.shift(),x=E.files,P=0;P<x.length;P++){var C=x[P],T=C.fileNameStr,k=a.resolve(C.fileNameStr);A.file(k,C.decompressed,{binary:!0,optimizedBinaryString:!0,date:C.date,dir:C.dir,comment:C.fileCommentStr.length?C.fileCommentStr:null,unixPermissions:C.unixPermissions,dosPermissions:C.dosPermissions,createFolders:b.createFolders}),C.dir||(A.file(k).unsafeOriginalName=T)}return E.zipComment.length&&(A.comment=E.zipComment),A})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(r,s,o){var a=r("../utils"),l=r("../stream/GenericWorker");function c(u,d){l.call(this,"Nodejs stream input adapter for "+u),this._upstreamEnded=!1,this._bindStream(d)}a.inherits(c,l),c.prototype._bindStream=function(u){var d=this;(this._stream=u).pause(),u.on("data",function(g){d.push({data:g,meta:{percent:0}})}).on("error",function(g){d.isPaused?this.generatedError=g:d.error(g)}).on("end",function(){d.isPaused?d._upstreamEnded=!0:d.end()})},c.prototype.pause=function(){return!!l.prototype.pause.call(this)&&(this._stream.pause(),!0)},c.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},s.exports=c},{"../stream/GenericWorker":28,"../utils":32}],13:[function(r,s,o){var a=r("readable-stream").Readable;function l(c,u,d){a.call(this,u),this._helper=c;var g=this;c.on("data",function(m,y){g.push(m)||g._helper.pause(),d&&d(y)}).on("error",function(m){g.emit("error",m)}).on("end",function(){g.push(null)})}r("../utils").inherits(l,a),l.prototype._read=function(){this._helper.resume()},s.exports=l},{"../utils":32,"readable-stream":16}],14:[function(r,s,o){s.exports={isNode:typeof Buffer<"u",newBufferFrom:function(a,l){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(a,l);if(typeof a=="number")throw new Error('The "data" argument must not be a number');return new Buffer(a,l)},allocBuffer:function(a){if(Buffer.alloc)return Buffer.alloc(a);var l=new Buffer(a);return l.fill(0),l},isBuffer:function(a){return Buffer.isBuffer(a)},isStream:function(a){return a&&typeof a.on=="function"&&typeof a.pause=="function"&&typeof a.resume=="function"}}},{}],15:[function(r,s,o){function a(k,I,M){var R,B=c.getTypeOf(I),_=c.extend(M||{},g);_.date=_.date||new Date,_.compression!==null&&(_.compression=_.compression.toUpperCase()),typeof _.unixPermissions=="string"&&(_.unixPermissions=parseInt(_.unixPermissions,8)),_.unixPermissions&&16384&_.unixPermissions&&(_.dir=!0),_.dosPermissions&&16&_.dosPermissions&&(_.dir=!0),_.dir&&(k=x(k)),_.createFolders&&(R=E(k))&&P.call(this,R,!0);var V=B==="string"&&_.binary===!1&&_.base64===!1;M&&M.binary!==void 0||(_.binary=!V),(I instanceof m&&I.uncompressedSize===0||_.dir||!I||I.length===0)&&(_.base64=!1,_.binary=!0,I="",_.compression="STORE",B="string");var D=null;D=I instanceof m||I instanceof u?I:A.isNode&&A.isStream(I)?new S(k,I):c.prepareContent(k,I,_.binary,_.optimizedBinaryString,_.base64);var F=new y(k,D,_);this.files[k]=F}var l=r("./utf8"),c=r("./utils"),u=r("./stream/GenericWorker"),d=r("./stream/StreamHelper"),g=r("./defaults"),m=r("./compressedObject"),y=r("./zipObject"),b=r("./generate"),A=r("./nodejsUtils"),S=r("./nodejs/NodejsStreamInputAdapter"),E=function(k){k.slice(-1)==="/"&&(k=k.substring(0,k.length-1));var I=k.lastIndexOf("/");return 0<I?k.substring(0,I):""},x=function(k){return k.slice(-1)!=="/"&&(k+="/"),k},P=function(k,I){return I=I!==void 0?I:g.createFolders,k=x(k),this.files[k]||a.call(this,k,null,{dir:!0,createFolders:I}),this.files[k]};function C(k){return Object.prototype.toString.call(k)==="[object RegExp]"}var T={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(k){var I,M,R;for(I in this.files)R=this.files[I],(M=I.slice(this.root.length,I.length))&&I.slice(0,this.root.length)===this.root&&k(M,R)},filter:function(k){var I=[];return this.forEach(function(M,R){k(M,R)&&I.push(R)}),I},file:function(k,I,M){if(arguments.length!==1)return k=this.root+k,a.call(this,k,I,M),this;if(C(k)){var R=k;return this.filter(function(_,V){return!V.dir&&R.test(_)})}var B=this.files[this.root+k];return B&&!B.dir?B:null},folder:function(k){if(!k)return this;if(C(k))return this.filter(function(B,_){return _.dir&&k.test(B)});var I=this.root+k,M=P.call(this,I),R=this.clone();return R.root=M.name,R},remove:function(k){k=this.root+k;var I=this.files[k];if(I||(k.slice(-1)!=="/"&&(k+="/"),I=this.files[k]),I&&!I.dir)delete this.files[k];else for(var M=this.filter(function(B,_){return _.name.slice(0,k.length)===k}),R=0;R<M.length;R++)delete this.files[M[R].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(k){var I,M={};try{if((M=c.extend(k||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:l.utf8encode})).type=M.type.toLowerCase(),M.compression=M.compression.toUpperCase(),M.type==="binarystring"&&(M.type="string"),!M.type)throw new Error("No output type specified.");c.checkSupport(M.type),M.platform!=="darwin"&&M.platform!=="freebsd"&&M.platform!=="linux"&&M.platform!=="sunos"||(M.platform="UNIX"),M.platform==="win32"&&(M.platform="DOS");var R=M.comment||this.comment||"";I=b.generateWorker(this,M,R)}catch(B){(I=new u("error")).error(B)}return new d(I,M.type||"string",M.mimeType)},generateAsync:function(k,I){return this.generateInternalStream(k).accumulate(I)},generateNodeStream:function(k,I){return(k=k||{}).type||(k.type="nodebuffer"),this.generateInternalStream(k).toNodejsStream(I)}};s.exports=T},{"./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(r,s,o){s.exports=r("stream")},{stream:void 0}],17:[function(r,s,o){var a=r("./DataReader");function l(c){a.call(this,c);for(var u=0;u<this.data.length;u++)c[u]=255&c[u]}r("../utils").inherits(l,a),l.prototype.byteAt=function(c){return this.data[this.zero+c]},l.prototype.lastIndexOfSignature=function(c){for(var u=c.charCodeAt(0),d=c.charCodeAt(1),g=c.charCodeAt(2),m=c.charCodeAt(3),y=this.length-4;0<=y;--y)if(this.data[y]===u&&this.data[y+1]===d&&this.data[y+2]===g&&this.data[y+3]===m)return y-this.zero;return-1},l.prototype.readAndCheckSignature=function(c){var u=c.charCodeAt(0),d=c.charCodeAt(1),g=c.charCodeAt(2),m=c.charCodeAt(3),y=this.readData(4);return u===y[0]&&d===y[1]&&g===y[2]&&m===y[3]},l.prototype.readData=function(c){if(this.checkOffset(c),c===0)return[];var u=this.data.slice(this.zero+this.index,this.zero+this.index+c);return this.index+=c,u},s.exports=l},{"../utils":32,"./DataReader":18}],18:[function(r,s,o){var a=r("../utils");function l(c){this.data=c,this.length=c.length,this.index=0,this.zero=0}l.prototype={checkOffset:function(c){this.checkIndex(this.index+c)},checkIndex:function(c){if(this.length<this.zero+c||c<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+c+"). Corrupted zip ?")},setIndex:function(c){this.checkIndex(c),this.index=c},skip:function(c){this.setIndex(this.index+c)},byteAt:function(){},readInt:function(c){var u,d=0;for(this.checkOffset(c),u=this.index+c-1;u>=this.index;u--)d=(d<<8)+this.byteAt(u);return this.index+=c,d},readString:function(c){return a.transformTo("string",this.readData(c))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var c=this.readInt(4);return new Date(Date.UTC(1980+(c>>25&127),(c>>21&15)-1,c>>16&31,c>>11&31,c>>5&63,(31&c)<<1))}},s.exports=l},{"../utils":32}],19:[function(r,s,o){var a=r("./Uint8ArrayReader");function l(c){a.call(this,c)}r("../utils").inherits(l,a),l.prototype.readData=function(c){this.checkOffset(c);var u=this.data.slice(this.zero+this.index,this.zero+this.index+c);return this.index+=c,u},s.exports=l},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(r,s,o){var a=r("./DataReader");function l(c){a.call(this,c)}r("../utils").inherits(l,a),l.prototype.byteAt=function(c){return this.data.charCodeAt(this.zero+c)},l.prototype.lastIndexOfSignature=function(c){return this.data.lastIndexOf(c)-this.zero},l.prototype.readAndCheckSignature=function(c){return c===this.readData(4)},l.prototype.readData=function(c){this.checkOffset(c);var u=this.data.slice(this.zero+this.index,this.zero+this.index+c);return this.index+=c,u},s.exports=l},{"../utils":32,"./DataReader":18}],21:[function(r,s,o){var a=r("./ArrayReader");function l(c){a.call(this,c)}r("../utils").inherits(l,a),l.prototype.readData=function(c){if(this.checkOffset(c),c===0)return new Uint8Array(0);var u=this.data.subarray(this.zero+this.index,this.zero+this.index+c);return this.index+=c,u},s.exports=l},{"../utils":32,"./ArrayReader":17}],22:[function(r,s,o){var a=r("../utils"),l=r("../support"),c=r("./ArrayReader"),u=r("./StringReader"),d=r("./NodeBufferReader"),g=r("./Uint8ArrayReader");s.exports=function(m){var y=a.getTypeOf(m);return a.checkSupport(y),y!=="string"||l.uint8array?y==="nodebuffer"?new d(m):l.uint8array?new g(a.transformTo("uint8array",m)):new c(a.transformTo("array",m)):new u(m)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(r,s,o){o.LOCAL_FILE_HEADER="PK",o.CENTRAL_FILE_HEADER="PK",o.CENTRAL_DIRECTORY_END="PK",o.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",o.ZIP64_CENTRAL_DIRECTORY_END="PK",o.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(r,s,o){var a=r("./GenericWorker"),l=r("../utils");function c(u){a.call(this,"ConvertWorker to "+u),this.destType=u}l.inherits(c,a),c.prototype.processChunk=function(u){this.push({data:l.transformTo(this.destType,u.data),meta:u.meta})},s.exports=c},{"../utils":32,"./GenericWorker":28}],25:[function(r,s,o){var a=r("./GenericWorker"),l=r("../crc32");function c(){a.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}r("../utils").inherits(c,a),c.prototype.processChunk=function(u){this.streamInfo.crc32=l(u.data,this.streamInfo.crc32||0),this.push(u)},s.exports=c},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(r,s,o){var a=r("../utils"),l=r("./GenericWorker");function c(u){l.call(this,"DataLengthProbe for "+u),this.propName=u,this.withStreamInfo(u,0)}a.inherits(c,l),c.prototype.processChunk=function(u){if(u){var d=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=d+u.data.length}l.prototype.processChunk.call(this,u)},s.exports=c},{"../utils":32,"./GenericWorker":28}],27:[function(r,s,o){var a=r("../utils"),l=r("./GenericWorker");function c(u){l.call(this,"DataWorker");var d=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,u.then(function(g){d.dataIsReady=!0,d.data=g,d.max=g&&g.length||0,d.type=a.getTypeOf(g),d.isPaused||d._tickAndRepeat()},function(g){d.error(g)})}a.inherits(c,l),c.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this.data=null},c.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,a.delay(this._tickAndRepeat,[],this)),!0)},c.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(a.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},c.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var u=null,d=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":u=this.data.substring(this.index,d);break;case"uint8array":u=this.data.subarray(this.index,d);break;case"array":case"nodebuffer":u=this.data.slice(this.index,d)}return this.index=d,this.push({data:u,meta:{percent:this.max?this.index/this.max*100:0}})},s.exports=c},{"../utils":32,"./GenericWorker":28}],28:[function(r,s,o){function a(l){this.name=l||"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}a.prototype={push:function(l){this.emit("data",l)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(l){this.emit("error",l)}return!0},error:function(l){return!this.isFinished&&(this.isPaused?this.generatedError=l:(this.isFinished=!0,this.emit("error",l),this.previous&&this.previous.error(l),this.cleanUp()),!0)},on:function(l,c){return this._listeners[l].push(c),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(l,c){if(this._listeners[l])for(var u=0;u<this._listeners[l].length;u++)this._listeners[l][u].call(this,c)},pipe:function(l){return l.registerPrevious(this)},registerPrevious:function(l){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=l.streamInfo,this.mergeStreamInfo(),this.previous=l;var c=this;return l.on("data",function(u){c.processChunk(u)}),l.on("end",function(){c.end()}),l.on("error",function(u){c.error(u)}),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;var l=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),l=!0),this.previous&&this.previous.resume(),!l},flush:function(){},processChunk:function(l){this.push(l)},withStreamInfo:function(l,c){return this.extraStreamInfo[l]=c,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var l in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,l)&&(this.streamInfo[l]=this.extraStreamInfo[l])},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 l="Worker "+this.name;return this.previous?this.previous+" -> "+l:l}},s.exports=a},{}],29:[function(r,s,o){var a=r("../utils"),l=r("./ConvertWorker"),c=r("./GenericWorker"),u=r("../base64"),d=r("../support"),g=r("../external"),m=null;if(d.nodestream)try{m=r("../nodejs/NodejsStreamOutputAdapter")}catch(A){}function y(A,S){return new g.Promise(function(E,x){var P=[],C=A._internalType,T=A._outputType,k=A._mimeType;A.on("data",function(I,M){P.push(I),S&&S(M)}).on("error",function(I){P=[],x(I)}).on("end",function(){try{var I=function(M,R,B){switch(M){case"blob":return a.newBlob(a.transformTo("arraybuffer",R),B);case"base64":return u.encode(R);default:return a.transformTo(M,R)}}(T,function(M,R){var B,_=0,V=null,D=0;for(B=0;B<R.length;B++)D+=R[B].length;switch(M){case"string":return R.join("");case"array":return Array.prototype.concat.apply([],R);case"uint8array":for(V=new Uint8Array(D),B=0;B<R.length;B++)V.set(R[B],_),_+=R[B].length;return V;case"nodebuffer":return Buffer.concat(R);default:throw new Error("concat : unsupported type '"+M+"'")}}(C,P),k);E(I)}catch(M){x(M)}P=[]}).resume()})}function b(A,S,E){var x=S;switch(S){case"blob":case"arraybuffer":x="uint8array";break;case"base64":x="string"}try{this._internalType=x,this._outputType=S,this._mimeType=E,a.checkSupport(x),this._worker=A.pipe(new l(x)),A.lock()}catch(P){this._worker=new c("error"),this._worker.error(P)}}b.prototype={accumulate:function(A){return y(this,A)},on:function(A,S){var E=this;return A==="data"?this._worker.on(A,function(x){S.call(E,x.data,x.meta)}):this._worker.on(A,function(){a.delay(S,arguments,E)}),this},resume:function(){return a.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(A){if(a.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new m(this,{objectMode:this._outputType!=="nodebuffer"},A)}},s.exports=b},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(r,s,o){if(o.base64=!0,o.array=!0,o.string=!0,o.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",o.nodebuffer=typeof Buffer<"u",o.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")o.blob=!1;else{var a=new ArrayBuffer(0);try{o.blob=new Blob([a],{type:"application/zip"}).size===0}catch(c){try{var l=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);l.append(a),o.blob=l.getBlob("application/zip").size===0}catch(u){o.blob=!1}}}try{o.nodestream=!!r("readable-stream").Readable}catch(c){o.nodestream=!1}},{"readable-stream":16}],31:[function(r,s,o){for(var a=r("./utils"),l=r("./support"),c=r("./nodejsUtils"),u=r("./stream/GenericWorker"),d=new Array(256),g=0;g<256;g++)d[g]=252<=g?6:248<=g?5:240<=g?4:224<=g?3:192<=g?2:1;d[254]=d[254]=1;function m(){u.call(this,"utf-8 decode"),this.leftOver=null}function y(){u.call(this,"utf-8 encode")}o.utf8encode=function(b){return l.nodebuffer?c.newBufferFrom(b,"utf-8"):function(A){var S,E,x,P,C,T=A.length,k=0;for(P=0;P<T;P++)(64512&(E=A.charCodeAt(P)))==55296&&P+1<T&&(64512&(x=A.charCodeAt(P+1)))==56320&&(E=65536+(E-55296<<10)+(x-56320),P++),k+=E<128?1:E<2048?2:E<65536?3:4;for(S=l.uint8array?new Uint8Array(k):new Array(k),P=C=0;C<k;P++)(64512&(E=A.charCodeAt(P)))==55296&&P+1<T&&(64512&(x=A.charCodeAt(P+1)))==56320&&(E=65536+(E-55296<<10)+(x-56320),P++),E<128?S[C++]=E:(E<2048?S[C++]=192|E>>>6:(E<65536?S[C++]=224|E>>>12:(S[C++]=240|E>>>18,S[C++]=128|E>>>12&63),S[C++]=128|E>>>6&63),S[C++]=128|63&E);return S}(b)},o.utf8decode=function(b){return l.nodebuffer?a.transformTo("nodebuffer",b).toString("utf-8"):function(A){var S,E,x,P,C=A.length,T=new Array(2*C);for(S=E=0;S<C;)if((x=A[S++])<128)T[E++]=x;else if(4<(P=d[x]))T[E++]=65533,S+=P-1;else{for(x&=P===2?31:P===3?15:7;1<P&&S<C;)x=x<<6|63&A[S++],P--;1<P?T[E++]=65533:x<65536?T[E++]=x:(x-=65536,T[E++]=55296|x>>10&1023,T[E++]=56320|1023&x)}return T.length!==E&&(T.subarray?T=T.subarray(0,E):T.length=E),a.applyFromCharCode(T)}(b=a.transformTo(l.uint8array?"uint8array":"array",b))},a.inherits(m,u),m.prototype.processChunk=function(b){var A=a.transformTo(l.uint8array?"uint8array":"array",b.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var S=A;(A=new Uint8Array(S.length+this.leftOver.length)).set(this.leftOver,0),A.set(S,this.leftOver.length)}else A=this.leftOver.concat(A);this.leftOver=null}var E=function(P,C){var T;for((C=C||P.length)>P.length&&(C=P.length),T=C-1;0<=T&&(192&P[T])==128;)T--;return T<0||T===0?C:T+d[P[T]]>C?T:C}(A),x=A;E!==A.length&&(l.uint8array?(x=A.subarray(0,E),this.leftOver=A.subarray(E,A.length)):(x=A.slice(0,E),this.leftOver=A.slice(E,A.length))),this.push({data:o.utf8decode(x),meta:b.meta})},m.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:o.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},o.Utf8DecodeWorker=m,a.inherits(y,u),y.prototype.processChunk=function(b){this.push({data:o.utf8encode(b.data),meta:b.meta})},o.Utf8EncodeWorker=y},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(r,s,o){var a=r("./support"),l=r("./base64"),c=r("./nodejsUtils"),u=r("./external");function d(S){return S}function g(S,E){for(var x=0;x<S.length;++x)E[x]=255&S.charCodeAt(x);return E}r("setimmediate"),o.newBlob=function(S,E){o.checkSupport("blob");try{return new Blob([S],{type:E})}catch(P){try{var x=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return x.append(S),x.getBlob(E)}catch(C){throw new Error("Bug : can't construct the Blob.")}}};var m={stringifyByChunk:function(S,E,x){var P=[],C=0,T=S.length;if(T<=x)return String.fromCharCode.apply(null,S);for(;C<T;)E==="array"||E==="nodebuffer"?P.push(String.fromCharCode.apply(null,S.slice(C,Math.min(C+x,T)))):P.push(String.fromCharCode.apply(null,S.subarray(C,Math.min(C+x,T)))),C+=x;return P.join("")},stringifyByChar:function(S){for(var E="",x=0;x<S.length;x++)E+=String.fromCharCode(S[x]);return E},applyCanBeUsed:{uint8array:function(){try{return a.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(S){return!1}}(),nodebuffer:function(){try{return a.nodebuffer&&String.fromCharCode.apply(null,c.allocBuffer(1)).length===1}catch(S){return!1}}()}};function y(S){var E=65536,x=o.getTypeOf(S),P=!0;if(x==="uint8array"?P=m.applyCanBeUsed.uint8array:x==="nodebuffer"&&(P=m.applyCanBeUsed.nodebuffer),P)for(;1<E;)try{return m.stringifyByChunk(S,x,E)}catch(C){E=Math.floor(E/2)}return m.stringifyByChar(S)}function b(S,E){for(var x=0;x<S.length;x++)E[x]=S[x];return E}o.applyFromCharCode=y;var A={};A.string={string:d,array:function(S){return g(S,new Array(S.length))},arraybuffer:function(S){return A.string.uint8array(S).buffer},uint8array:function(S){return g(S,new Uint8Array(S.length))},nodebuffer:function(S){return g(S,c.allocBuffer(S.length))}},A.array={string:y,array:d,arraybuffer:function(S){return new Uint8Array(S).buffer},uint8array:function(S){return new Uint8Array(S)},nodebuffer:function(S){return c.newBufferFrom(S)}},A.arraybuffer={string:function(S){return y(new Uint8Array(S))},array:function(S){return b(new Uint8Array(S),new Array(S.byteLength))},arraybuffer:d,uint8array:function(S){return new Uint8Array(S)},nodebuffer:function(S){return c.newBufferFrom(new Uint8Array(S))}},A.uint8array={string:y,array:function(S){return b(S,new Array(S.length))},arraybuffer:function(S){return S.buffer},uint8array:d,nodebuffer:function(S){return c.newBufferFrom(S)}},A.nodebuffer={string:y,array:function(S){return b(S,new Array(S.length))},arraybuffer:function(S){return A.nodebuffer.uint8array(S).buffer},uint8array:function(S){return b(S,new Uint8Array(S.length))},nodebuffer:d},o.transformTo=function(S,E){if(E=E||"",!S)return E;o.checkSupport(S);var x=o.getTypeOf(E);return A[x][S](E)},o.resolve=function(S){for(var E=S.split("/"),x=[],P=0;P<E.length;P++){var C=E[P];C==="."||C===""&&P!==0&&P!==E.length-1||(C===".."?x.pop():x.push(C))}return x.join("/")},o.getTypeOf=function(S){return typeof S=="string"?"string":Object.prototype.toString.call(S)==="[object Array]"?"array":a.nodebuffer&&c.isBuffer(S)?"nodebuffer":a.uint8array&&S instanceof Uint8Array?"uint8array":a.arraybuffer&&S instanceof ArrayBuffer?"arraybuffer":void 0},o.checkSupport=function(S){if(!a[S.toLowerCase()])throw new Error(S+" is not supported by this platform")},o.MAX_VALUE_16BITS=65535,o.MAX_VALUE_32BITS=-1,o.pretty=function(S){var E,x,P="";for(x=0;x<(S||"").length;x++)P+="\\x"+((E=S.charCodeAt(x))<16?"0":"")+E.toString(16).toUpperCase();return P},o.delay=function(S,E,x){setImmediate(function(){S.apply(x||null,E||[])})},o.inherits=function(S,E){function x(){}x.prototype=E.prototype,S.prototype=new x},o.extend=function(){var S,E,x={};for(S=0;S<arguments.length;S++)for(E in arguments[S])Object.prototype.hasOwnProperty.call(arguments[S],E)&&x[E]===void 0&&(x[E]=arguments[S][E]);return x},o.prepareContent=function(S,E,x,P,C){return u.Promise.resolve(E).then(function(T){return a.blob&&(T instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(T))!==-1)&&typeof FileReader<"u"?new u.Promise(function(k,I){var M=new FileReader;M.onload=function(R){k(R.target.result)},M.onerror=function(R){I(R.target.error)},M.readAsArrayBuffer(T)}):T}).then(function(T){var k=o.getTypeOf(T);return k?(k==="arraybuffer"?T=o.transformTo("uint8array",T):k==="string"&&(C?T=l.decode(T):x&&P!==!0&&(T=function(I){return g(I,a.uint8array?new Uint8Array(I.length):new Array(I.length))}(T))),T):u.Promise.reject(new Error("Can't read the data of '"+S+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(r,s,o){var a=r("./reader/readerFor"),l=r("./utils"),c=r("./signature"),u=r("./zipEntry"),d=r("./support");function g(m){this.files=[],this.loadOptions=m}g.prototype={checkSignature:function(m){if(!this.reader.readAndCheckSignature(m)){this.reader.index-=4;var y=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+l.pretty(y)+", expected "+l.pretty(m)+")")}},isSignature:function(m,y){var b=this.reader.index;this.reader.setIndex(m);var A=this.reader.readString(4)===y;return this.reader.setIndex(b),A},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 m=this.reader.readData(this.zipCommentLength),y=d.uint8array?"uint8array":"array",b=l.transformTo(y,m);this.zipComment=this.loadOptions.decodeFileName(b)},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 m,y,b,A=this.zip64EndOfCentralSize-44;0<A;)m=this.reader.readInt(2),y=this.reader.readInt(4),b=this.reader.readData(y),this.zip64ExtensibleData[m]={id:m,length:y,value:b}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var m,y;for(m=0;m<this.files.length;m++)y=this.files[m],this.reader.setIndex(y.localHeaderOffset),this.checkSignature(c.LOCAL_FILE_HEADER),y.readLocalPart(this.reader),y.handleUTF8(),y.processAttributes()},readCentralDir:function(){var m;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(c.CENTRAL_FILE_HEADER);)(m=new u({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(m);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 m=this.reader.lastIndexOfSignature(c.CENTRAL_DIRECTORY_END);if(m<0)throw this.isSignature(0,c.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(m);var y=m;if(this.checkSignature(c.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===l.MAX_VALUE_16BITS||this.diskWithCentralDirStart===l.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===l.MAX_VALUE_16BITS||this.centralDirRecords===l.MAX_VALUE_16BITS||this.centralDirSize===l.MAX_VALUE_32BITS||this.centralDirOffset===l.MAX_VALUE_32BITS){if(this.zip64=!0,(m=this.reader.lastIndexOfSignature(c.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(m),this.checkSignature(c.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,c.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(c.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(c.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var b=this.centralDirOffset+this.centralDirSize;this.zip64&&(b+=20,b+=12+this.zip64EndOfCentralSize);var A=y-b;if(0<A)this.isSignature(y,c.CENTRAL_FILE_HEADER)||(this.reader.zero=A);else if(A<0)throw new Error("Corrupted zip: missing "+Math.abs(A)+" bytes.")},prepareReader:function(m){this.reader=a(m)},load:function(m){this.prepareReader(m),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},s.exports=g},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(r,s,o){var a=r("./reader/readerFor"),l=r("./utils"),c=r("./compressedObject"),u=r("./crc32"),d=r("./utf8"),g=r("./compressions"),m=r("./support");function y(b,A){this.options=b,this.loadOptions=A}y.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(b){var A,S;if(b.skip(22),this.fileNameLength=b.readInt(2),S=b.readInt(2),this.fileName=b.readData(this.fileNameLength),b.skip(S),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((A=function(E){for(var x in g)if(Object.prototype.hasOwnProperty.call(g,x)&&g[x].magic===E)return g[x];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+l.pretty(this.compressionMethod)+" unknown (inner file : "+l.transformTo("string",this.fileName)+")");this.decompressed=new c(this.compressedSize,this.uncompressedSize,this.crc32,A,b.readData(this.compressedSize))},readCentralPart:function(b){this.versionMadeBy=b.readInt(2),b.skip(2),this.bitFlag=b.readInt(2),this.compressionMethod=b.readString(2),this.date=b.readDate(),this.crc32=b.readInt(4),this.compressedSize=b.readInt(4),this.uncompressedSize=b.readInt(4);var A=b.readInt(2);if(this.extraFieldsLength=b.readInt(2),this.fileCommentLength=b.readInt(2),this.diskNumberStart=b.readInt(2),this.internalFileAttributes=b.readInt(2),this.externalFileAttributes=b.readInt(4),this.localHeaderOffset=b.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");b.skip(A),this.readExtraFields(b),this.parseZIP64ExtraField(b),this.fileComment=b.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var b=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),b==0&&(this.dosPermissions=63&this.externalFileAttributes),b==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var b=a(this.extraFields[1].value);this.uncompressedSize===l.MAX_VALUE_32BITS&&(this.uncompressedSize=b.readInt(8)),this.compressedSize===l.MAX_VALUE_32BITS&&(this.compressedSize=b.readInt(8)),this.localHeaderOffset===l.MAX_VALUE_32BITS&&(this.localHeaderOffset=b.readInt(8)),this.diskNumberStart===l.MAX_VALUE_32BITS&&(this.diskNumberStart=b.readInt(4))}},readExtraFields:function(b){var A,S,E,x=b.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});b.index+4<x;)A=b.readInt(2),S=b.readInt(2),E=b.readData(S),this.extraFields[A]={id:A,length:S,value:E};b.setIndex(x)},handleUTF8:function(){var b=m.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=d.utf8decode(this.fileName),this.fileCommentStr=d.utf8decode(this.fileComment);else{var A=this.findExtraFieldUnicodePath();if(A!==null)this.fileNameStr=A;else{var S=l.transformTo(b,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(S)}var E=this.findExtraFieldUnicodeComment();if(E!==null)this.fileCommentStr=E;else{var x=l.transformTo(b,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(x)}}},findExtraFieldUnicodePath:function(){var b=this.extraFields[28789];if(b){var A=a(b.value);return A.readInt(1)!==1||u(this.fileName)!==A.readInt(4)?null:d.utf8decode(A.readData(b.length-5))}return null},findExtraFieldUnicodeComment:function(){var b=this.extraFields[25461];if(b){var A=a(b.value);return A.readInt(1)!==1||u(this.fileComment)!==A.readInt(4)?null:d.utf8decode(A.readData(b.length-5))}return null}},s.exports=y},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(r,s,o){function a(A,S,E){this.name=A,this.dir=E.dir,this.date=E.date,this.comment=E.comment,this.unixPermissions=E.unixPermissions,this.dosPermissions=E.dosPermissions,this._data=S,this._dataBinary=E.binary,this.options={compression:E.compression,compressionOptions:E.compressionOptions}}var l=r("./stream/StreamHelper"),c=r("./stream/DataWorker"),u=r("./utf8"),d=r("./compressedObject"),g=r("./stream/GenericWorker");a.prototype={internalStream:function(A){var S=null,E="string";try{if(!A)throw new Error("No output type specified.");var x=(E=A.toLowerCase())==="string"||E==="text";E!=="binarystring"&&E!=="text"||(E="string"),S=this._decompressWorker();var P=!this._dataBinary;P&&!x&&(S=S.pipe(new u.Utf8EncodeWorker)),!P&&x&&(S=S.pipe(new u.Utf8DecodeWorker))}catch(C){(S=new g("error")).error(C)}return new l(S,E,"")},async:function(A,S){return this.internalStream(A).accumulate(S)},nodeStream:function(A,S){return this.internalStream(A||"nodebuffer").toNodejsStream(S)},_compressWorker:function(A,S){if(this._data instanceof d&&this._data.compression.magic===A.magic)return this._data.getCompressedWorker();var E=this._decompressWorker();return this._dataBinary||(E=E.pipe(new u.Utf8EncodeWorker)),d.createWorkerFrom(E,A,S)},_decompressWorker:function(){return this._data instanceof d?this._data.getContentWorker():this._data instanceof g?this._data:new c(this._data)}};for(var m=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],y=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},b=0;b<m.length;b++)a.prototype[m[b]]=y;s.exports=a},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(r,s,o){(function(a){var l,c,u=a.MutationObserver||a.WebKitMutationObserver;if(u){var d=0,g=new u(A),m=a.document.createTextNode("");g.observe(m,{characterData:!0}),l=function(){m.data=d=++d%2}}else if(a.setImmediate||a.MessageChannel===void 0)l="document"in a&&"onreadystatechange"in a.document.createElement("script")?function(){var S=a.document.createElement("script");S.onreadystatechange=function(){A(),S.onreadystatechange=null,S.parentNode.removeChild(S),S=null},a.document.documentElement.appendChild(S)}:function(){setTimeout(A,0)};else{var y=new a.MessageChannel;y.port1.onmessage=A,l=function(){y.port2.postMessage(0)}}var b=[];function A(){var S,E;c=!0;for(var x=b.length;x;){for(E=b,b=[],S=-1;++S<x;)E[S]();x=b.length}c=!1}s.exports=function(S){b.push(S)!==1||c||l()}}).call(this,typeof commonjsGlobal<"u"?commonjsGlobal:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(r,s,o){var a=r("immediate");function l(){}var c={},u=["REJECTED"],d=["FULFILLED"],g=["PENDING"];function m(x){if(typeof x!="function")throw new TypeError("resolver must be a function");this.state=g,this.queue=[],this.outcome=void 0,x!==l&&S(this,x)}function y(x,P,C){this.promise=x,typeof P=="function"&&(this.onFulfilled=P,this.callFulfilled=this.otherCallFulfilled),typeof C=="function"&&(this.onRejected=C,this.callRejected=this.otherCallRejected)}function b(x,P,C){a(function(){var T;try{T=P(C)}catch(k){return c.reject(x,k)}T===x?c.reject(x,new TypeError("Cannot resolve promise with itself")):c.resolve(x,T)})}function A(x){var P=x&&x.then;if(x&&(typeof x=="object"||typeof x=="function")&&typeof P=="function")return function(){P.apply(x,arguments)}}function S(x,P){var C=!1;function T(M){C||(C=!0,c.reject(x,M))}function k(M){C||(C=!0,c.resolve(x,M))}var I=E(function(){P(k,T)});I.status==="error"&&T(I.value)}function E(x,P){var C={};try{C.value=x(P),C.status="success"}catch(T){C.status="error",C.value=T}return C}(s.exports=m).prototype.finally=function(x){if(typeof x!="function")return this;var P=this.constructor;return this.then(function(C){return P.resolve(x()).then(function(){return C})},function(C){return P.resolve(x()).then(function(){throw C})})},m.prototype.catch=function(x){return this.then(null,x)},m.prototype.then=function(x,P){if(typeof x!="function"&&this.state===d||typeof P!="function"&&this.state===u)return this;var C=new this.constructor(l);return this.state!==g?b(C,this.state===d?x:P,this.outcome):this.queue.push(new y(C,x,P)),C},y.prototype.callFulfilled=function(x){c.resolve(this.promise,x)},y.prototype.otherCallFulfilled=function(x){b(this.promise,this.onFulfilled,x)},y.prototype.callRejected=function(x){c.reject(this.promise,x)},y.prototype.otherCallRejected=function(x){b(this.promise,this.onRejected,x)},c.resolve=function(x,P){var C=E(A,P);if(C.status==="error")return c.reject(x,C.value);var T=C.value;if(T)S(x,T);else{x.state=d,x.outcome=P;for(var k=-1,I=x.queue.length;++k<I;)x.queue[k].callFulfilled(P)}return x},c.reject=function(x,P){x.state=u,x.outcome=P;for(var C=-1,T=x.queue.length;++C<T;)x.queue[C].callRejected(P);return x},m.resolve=function(x){return x instanceof this?x:c.resolve(new this(l),x)},m.reject=function(x){var P=new this(l);return c.reject(P,x)},m.all=function(x){var P=this;if(Object.prototype.toString.call(x)!=="[object Array]")return this.reject(new TypeError("must be an array"));var C=x.length,T=!1;if(!C)return this.resolve([]);for(var k=new Array(C),I=0,M=-1,R=new this(l);++M<C;)B(x[M],M);return R;function B(_,V){P.resolve(_).then(function(D){k[V]=D,++I!==C||T||(T=!0,c.resolve(R,k))},function(D){T||(T=!0,c.reject(R,D))})}},m.race=function(x){var P=this;if(Object.prototype.toString.call(x)!=="[object Array]")return this.reject(new TypeError("must be an array"));var C=x.length,T=!1;if(!C)return this.resolve([]);for(var k=-1,I=new this(l);++k<C;)M=x[k],P.resolve(M).then(function(R){T||(T=!0,c.resolve(I,R))},function(R){T||(T=!0,c.reject(I,R))});var M;return I}},{immediate:36}],38:[function(r,s,o){var a={};(0,r("./lib/utils/common").assign)(a,r("./lib/deflate"),r("./lib/inflate"),r("./lib/zlib/constants")),s.exports=a},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(r,s,o){var a=r("./zlib/deflate"),l=r("./utils/common"),c=r("./utils/strings"),u=r("./zlib/messages"),d=r("./zlib/zstream"),g=Object.prototype.toString,m=0,y=-1,b=0,A=8;function S(x){if(!(this instanceof S))return new S(x);this.options=l.assign({level:y,method:A,chunkSize:16384,windowBits:15,memLevel:8,strategy:b,to:""},x||{});var P=this.options;P.raw&&0<P.windowBits?P.windowBits=-P.windowBits:P.gzip&&0<P.windowBits&&P.windowBits<16&&(P.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new d,this.strm.avail_out=0;var C=a.deflateInit2(this.strm,P.level,P.method,P.windowBits,P.memLevel,P.strategy);if(C!==m)throw new Error(u[C]);if(P.header&&a.deflateSetHeader(this.strm,P.header),P.dictionary){var T;if(T=typeof P.dictionary=="string"?c.string2buf(P.dictionary):g.call(P.dictionary)==="[object ArrayBuffer]"?new Uint8Array(P.dictionary):P.dictionary,(C=a.deflateSetDictionary(this.strm,T))!==m)throw new Error(u[C]);this._dict_set=!0}}function E(x,P){var C=new S(P);if(C.push(x,!0),C.err)throw C.msg||u[C.err];return C.result}S.prototype.push=function(x,P){var C,T,k=this.strm,I=this.options.chunkSize;if(this.ended)return!1;T=P===~~P?P:P===!0?4:0,typeof x=="string"?k.input=c.string2buf(x):g.call(x)==="[object ArrayBuffer]"?k.input=new Uint8Array(x):k.input=x,k.next_in=0,k.avail_in=k.input.length;do{if(k.avail_out===0&&(k.output=new l.Buf8(I),k.next_out=0,k.avail_out=I),(C=a.deflate(k,T))!==1&&C!==m)return this.onEnd(C),!(this.ended=!0);k.avail_out!==0&&(k.avail_in!==0||T!==4&&T!==2)||(this.options.to==="string"?this.onData(c.buf2binstring(l.shrinkBuf(k.output,k.next_out))):this.onData(l.shrinkBuf(k.output,k.next_out)))}while((0<k.avail_in||k.avail_out===0)&&C!==1);return T===4?(C=a.deflateEnd(this.strm),this.onEnd(C),this.ended=!0,C===m):T!==2||(this.onEnd(m),!(k.avail_out=0))},S.prototype.onData=function(x){this.chunks.push(x)},S.prototype.onEnd=function(x){x===m&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=x,this.msg=this.strm.msg},o.Deflate=S,o.deflate=E,o.deflateRaw=function(x,P){return(P=P||{}).raw=!0,E(x,P)},o.gzip=function(x,P){return(P=P||{}).gzip=!0,E(x,P)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(r,s,o){var a=r("./zlib/inflate"),l=r("./utils/common"),c=r("./utils/strings"),u=r("./zlib/constants"),d=r("./zlib/messages"),g=r("./zlib/zstream"),m=r("./zlib/gzheader"),y=Object.prototype.toString;function b(S){if(!(this instanceof b))return new b(S);this.options=l.assign({chunkSize:16384,windowBits:0,to:""},S||{});var E=this.options;E.raw&&0<=E.windowBits&&E.windowBits<16&&(E.windowBits=-E.windowBits,E.windowBits===0&&(E.windowBits=-15)),!(0<=E.windowBits&&E.windowBits<16)||S&&S.windowBits||(E.windowBits+=32),15<E.windowBits&&E.windowBits<48&&!(15&E.windowBits)&&(E.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new g,this.strm.avail_out=0;var x=a.inflateInit2(this.strm,E.windowBits);if(x!==u.Z_OK)throw new Error(d[x]);this.header=new m,a.inflateGetHeader(this.strm,this.header)}function A(S,E){var x=new b(E);if(x.push(S,!0),x.err)throw x.msg||d[x.err];return x.result}b.prototype.push=function(S,E){var x,P,C,T,k,I,M=this.strm,R=this.options.chunkSize,B=this.options.dictionary,_=!1;if(this.ended)return!1;P=E===~~E?E:E===!0?u.Z_FINISH:u.Z_NO_FLUSH,typeof S=="string"?M.input=c.binstring2buf(S):y.call(S)==="[object ArrayBuffer]"?M.input=new Uint8Array(S):M.input=S,M.next_in=0,M.avail_in=M.input.length;do{if(M.avail_out===0&&(M.output=new l.Buf8(R),M.next_out=0,M.avail_out=R),(x=a.inflate(M,u.Z_NO_FLUSH))===u.Z_NEED_DICT&&B&&(I=typeof B=="string"?c.string2buf(B):y.call(B)==="[object ArrayBuffer]"?new Uint8Array(B):B,x=a.inflateSetDictionary(this.strm,I)),x===u.Z_BUF_ERROR&&_===!0&&(x=u.Z_OK,_=!1),x!==u.Z_STREAM_END&&x!==u.Z_OK)return this.onEnd(x),!(this.ended=!0);M.next_out&&(M.avail_out!==0&&x!==u.Z_STREAM_END&&(M.avail_in!==0||P!==u.Z_FINISH&&P!==u.Z_SYNC_FLUSH)||(this.options.to==="string"?(C=c.utf8border(M.output,M.next_out),T=M.next_out-C,k=c.buf2string(M.output,C),M.next_out=T,M.avail_out=R-T,T&&l.arraySet(M.output,M.output,C,T,0),this.onData(k)):this.onData(l.shrinkBuf(M.output,M.next_out)))),M.avail_in===0&&M.avail_out===0&&(_=!0)}while((0<M.avail_in||M.avail_out===0)&&x!==u.Z_STREAM_END);return x===u.Z_STREAM_END&&(P=u.Z_FINISH),P===u.Z_FINISH?(x=a.inflateEnd(this.strm),this.onEnd(x),this.ended=!0,x===u.Z_OK):P!==u.Z_SYNC_FLUSH||(this.onEnd(u.Z_OK),!(M.avail_out=0))},b.prototype.onData=function(S){this.chunks.push(S)},b.prototype.onEnd=function(S){S===u.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=S,this.msg=this.strm.msg},o.Inflate=b,o.inflate=A,o.inflateRaw=function(S,E){return(E=E||{}).raw=!0,A(S,E)},o.ungzip=A},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(r,s,o){var a=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";o.assign=function(u){for(var d=Array.prototype.slice.call(arguments,1);d.length;){var g=d.shift();if(g){if(typeof g!="object")throw new TypeError(g+"must be non-object");for(var m in g)g.hasOwnProperty(m)&&(u[m]=g[m])}}return u},o.shrinkBuf=function(u,d){return u.length===d?u:u.subarray?u.subarray(0,d):(u.length=d,u)};var l={arraySet:function(u,d,g,m,y){if(d.subarray&&u.subarray)u.set(d.subarray(g,g+m),y);else for(var b=0;b<m;b++)u[y+b]=d[g+b]},flattenChunks:function(u){var d,g,m,y,b,A;for(d=m=0,g=u.length;d<g;d++)m+=u[d].length;for(A=new Uint8Array(m),d=y=0,g=u.length;d<g;d++)b=u[d],A.set(b,y),y+=b.length;return A}},c={arraySet:function(u,d,g,m,y){for(var b=0;b<m;b++)u[y+b]=d[g+b]},flattenChunks:function(u){return[].concat.apply([],u)}};o.setTyped=function(u){u?(o.Buf8=Uint8Array,o.Buf16=Uint16Array,o.Buf32=Int32Array,o.assign(o,l)):(o.Buf8=Array,o.Buf16=Array,o.Buf32=Array,o.assign(o,c))},o.setTyped(a)},{}],42:[function(r,s,o){var a=r("./common"),l=!0,c=!0;try{String.fromCharCode.apply(null,[0])}catch(m){l=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(m){c=!1}for(var u=new a.Buf8(256),d=0;d<256;d++)u[d]=252<=d?6:248<=d?5:240<=d?4:224<=d?3:192<=d?2:1;function g(m,y){if(y<65537&&(m.subarray&&c||!m.subarray&&l))return String.fromCharCode.apply(null,a.shrinkBuf(m,y));for(var b="",A=0;A<y;A++)b+=String.fromCharCode(m[A]);return b}u[254]=u[254]=1,o.string2buf=function(m){var y,b,A,S,E,x=m.length,P=0;for(S=0;S<x;S++)(64512&(b=m.charCodeAt(S)))==55296&&S+1<x&&(64512&(A=m.charCodeAt(S+1)))==56320&&(b=65536+(b-55296<<10)+(A-56320),S++),P+=b<128?1:b<2048?2:b<65536?3:4;for(y=new a.Buf8(P),S=E=0;E<P;S++)(64512&(b=m.charCodeAt(S)))==55296&&S+1<x&&(64512&(A=m.charCodeAt(S+1)))==56320&&(b=65536+(b-55296<<10)+(A-56320),S++),b<128?y[E++]=b:(b<2048?y[E++]=192|b>>>6:(b<65536?y[E++]=224|b>>>12:(y[E++]=240|b>>>18,y[E++]=128|b>>>12&63),y[E++]=128|b>>>6&63),y[E++]=128|63&b);return y},o.buf2binstring=function(m){return g(m,m.length)},o.binstring2buf=function(m){for(var y=new a.Buf8(m.length),b=0,A=y.length;b<A;b++)y[b]=m.charCodeAt(b);return y},o.buf2string=function(m,y){var b,A,S,E,x=y||m.length,P=new Array(2*x);for(b=A=0;b<x;)if((S=m[b++])<128)P[A++]=S;else if(4<(E=u[S]))P[A++]=65533,b+=E-1;else{for(S&=E===2?31:E===3?15:7;1<E&&b<x;)S=S<<6|63&m[b++],E--;1<E?P[A++]=65533:S<65536?P[A++]=S:(S-=65536,P[A++]=55296|S>>10&1023,P[A++]=56320|1023&S)}return g(P,A)},o.utf8border=function(m,y){var b;for((y=y||m.length)>m.length&&(y=m.length),b=y-1;0<=b&&(192&m[b])==128;)b--;return b<0||b===0?y:b+u[m[b]]>y?b:y}},{"./common":41}],43:[function(r,s,o){s.exports=function(a,l,c,u){for(var d=65535&a|0,g=a>>>16&65535|0,m=0;c!==0;){for(c-=m=2e3<c?2e3:c;g=g+(d=d+l[u++]|0)|0,--m;);d%=65521,g%=65521}return d|g<<16|0}},{}],44:[function(r,s,o){s.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(r,s,o){var a=function(){for(var l,c=[],u=0;u<256;u++){l=u;for(var d=0;d<8;d++)l=1&l?3988292384^l>>>1:l>>>1;c[u]=l}return c}();s.exports=function(l,c,u,d){var g=a,m=d+u;l^=-1;for(var y=d;y<m;y++)l=l>>>8^g[255&(l^c[y])];return-1^l}},{}],46:[function(r,s,o){var a,l=r("../utils/common"),c=r("./trees"),u=r("./adler32"),d=r("./crc32"),g=r("./messages"),m=0,y=4,b=0,A=-2,S=-1,E=4,x=2,P=8,C=9,T=286,k=30,I=19,M=2*T+1,R=15,B=3,_=258,V=_+B+1,D=42,F=113,N=1,K=2,G=3,q=4;function O(H,ve){return H.msg=g[ve],ve}function U(H){return(H<<1)-(4<H?9:0)}function $(H){for(var ve=H.length;0<=--ve;)H[ve]=0}function Y(H){var ve=H.state,pe=ve.pending;pe>H.avail_out&&(pe=H.avail_out),pe!==0&&(l.arraySet(H.output,ve.pending_buf,ve.pending_out,pe,H.next_out),H.next_out+=pe,ve.pending_out+=pe,H.total_out+=pe,H.avail_out-=pe,ve.pending-=pe,ve.pending===0&&(ve.pending_out=0))}function Q(H,ve){c._tr_flush_block(H,0<=H.block_start?H.block_start:-1,H.strstart-H.block_start,ve),H.block_start=H.strstart,Y(H.strm)}function xe(H,ve){H.pending_buf[H.pending++]=ve}function ue(H,ve){H.pending_buf[H.pending++]=ve>>>8&255,H.pending_buf[H.pending++]=255&ve}function W(H,ve){var pe,ee,ne=H.max_chain_length,me=H.strstart,Be=H.prev_length,oe=H.nice_match,be=H.strstart>H.w_size-V?H.strstart-(H.w_size-V):0,Ie=H.window,Re=H.w_mask,Pe=H.prev,he=H.strstart+_,Ce=Ie[me+Be-1],ye=Ie[me+Be];H.prev_length>=H.good_match&&(ne>>=2),oe>H.lookahead&&(oe=H.lookahead);do if(Ie[(pe=ve)+Be]===ye&&Ie[pe+Be-1]===Ce&&Ie[pe]===Ie[me]&&Ie[++pe]===Ie[me+1]){me+=2,pe++;do;while(Ie[++me]===Ie[++pe]&&Ie[++me]===Ie[++pe]&&Ie[++me]===Ie[++pe]&&Ie[++me]===Ie[++pe]&&Ie[++me]===Ie[++pe]&&Ie[++me]===Ie[++pe]&&Ie[++me]===Ie[++pe]&&Ie[++me]===Ie[++pe]&&me<he);if(ee=_-(he-me),me=he-_,Be<ee){if(H.match_start=ve,oe<=(Be=ee))break;Ce=Ie[me+Be-1],ye=Ie[me+Be]}}while((ve=Pe[ve&Re])>be&&--ne!=0);return Be<=H.lookahead?Be:H.lookahead}function J(H){var ve,pe,ee,ne,me,Be,oe,be,Ie,Re,Pe=H.w_size;do{if(ne=H.window_size-H.lookahead-H.strstart,H.strstart>=Pe+(Pe-V)){for(l.arraySet(H.window,H.window,Pe,Pe,0),H.match_start-=Pe,H.strstart-=Pe,H.block_start-=Pe,ve=pe=H.hash_size;ee=H.head[--ve],H.head[ve]=Pe<=ee?ee-Pe:0,--pe;);for(ve=pe=Pe;ee=H.prev[--ve],H.prev[ve]=Pe<=ee?ee-Pe:0,--pe;);ne+=Pe}if(H.strm.avail_in===0)break;if(Be=H.strm,oe=H.window,be=H.strstart+H.lookahead,Ie=ne,Re=void 0,Re=Be.avail_in,Ie<Re&&(Re=Ie),pe=Re===0?0:(Be.avail_in-=Re,l.arraySet(oe,Be.input,Be.next_in,Re,be),Be.state.wrap===1?Be.adler=u(Be.adler,oe,Re,be):Be.state.wrap===2&&(Be.adler=d(Be.adler,oe,Re,be)),Be.next_in+=Re,Be.total_in+=Re,Re),H.lookahead+=pe,H.lookahead+H.insert>=B)for(me=H.strstart-H.insert,H.ins_h=H.window[me],H.ins_h=(H.ins_h<<H.hash_shift^H.window[me+1])&H.hash_mask;H.insert&&(H.ins_h=(H.ins_h<<H.hash_shift^H.window[me+B-1])&H.hash_mask,H.prev[me&H.w_mask]=H.head[H.ins_h],H.head[H.ins_h]=me,me++,H.insert--,!(H.lookahead+H.insert<B)););}while(H.lookahead<V&&H.strm.avail_in!==0)}function ce(H,ve){for(var pe,ee;;){if(H.lookahead<V){if(J(H),H.lookahead<V&&ve===m)return N;if(H.lookahead===0)break}if(pe=0,H.lookahead>=B&&(H.ins_h=(H.ins_h<<H.hash_shift^H.window[H.strstart+B-1])&H.hash_mask,pe=H.prev[H.strstart&H.w_mask]=H.head[H.ins_h],H.head[H.ins_h]=H.strstart),pe!==0&&H.strstart-pe<=H.w_size-V&&(H.match_length=W(H,pe)),H.match_length>=B)if(ee=c._tr_tally(H,H.strstart-H.match_start,H.match_length-B),H.lookahead-=H.match_length,H.match_length<=H.max_lazy_match&&H.lookahead>=B){for(H.match_length--;H.strstart++,H.ins_h=(H.ins_h<<H.hash_shift^H.window[H.strstart+B-1])&H.hash_mask,pe=H.prev[H.strstart&H.w_mask]=H.head[H.ins_h],H.head[H.ins_h]=H.strstart,--H.match_length!=0;);H.strstart++}else H.strstart+=H.match_length,H.match_length=0,H.ins_h=H.window[H.strstart],H.ins_h=(H.ins_h<<H.hash_shift^H.window[H.strstart+1])&H.hash_mask;else ee=c._tr_tally(H,0,H.window[H.strstart]),H.lookahead--,H.strstart++;if(ee&&(Q(H,!1),H.strm.avail_out===0))return N}return H.insert=H.strstart<B-1?H.strstart:B-1,ve===y?(Q(H,!0),H.strm.avail_out===0?G:q):H.last_lit&&(Q(H,!1),H.strm.avail_out===0)?N:K}function ge(H,ve){for(var pe,ee,ne;;){if(H.lookahead<V){if(J(H),H.lookahead<V&&ve===m)return N;if(H.lookahead===0)break}if(pe=0,H.lookahead>=B&&(H.ins_h=(H.ins_h<<H.hash_shift^H.window[H.strstart+B-1])&H.hash_mask,pe=H.prev[H.strstart&H.w_mask]=H.head[H.ins_h],H.head[H.ins_h]=H.strstart),H.prev_length=H.match_length,H.prev_match=H.match_start,H.match_length=B-1,pe!==0&&H.prev_length<H.max_lazy_match&&H.strstart-pe<=H.w_size-V&&(H.match_length=W(H,pe),H.match_length<=5&&(H.strategy===1||H.match_length===B&&4096<H.strstart-H.match_start)&&(H.match_length=B-1)),H.prev_length>=B&&H.match_length<=H.prev_length){for(ne=H.strstart+H.lookahead-B,ee=c._tr_tally(H,H.strstart-1-H.prev_match,H.prev_length-B),H.lookahead-=H.prev_length-1,H.prev_length-=2;++H.strstart<=ne&&(H.ins_h=(H.ins_h<<H.hash_shift^H.window[H.strstart+B-1])&H.hash_mask,pe=H.prev[H.strstart&H.w_mask]=H.head[H.ins_h],H.head[H.ins_h]=H.strstart),--H.prev_length!=0;);if(H.match_available=0,H.match_length=B-1,H.strstart++,ee&&(Q(H,!1),H.strm.avail_out===0))return N}else if(H.match_available){if((ee=c._tr_tally(H,0,H.window[H.strstart-1]))&&Q(H,!1),H.strstart++,H.lookahead--,H.strm.avail_out===0)return N}else H.match_available=1,H.strstart++,H.lookahead--}return H.match_available&&(ee=c._tr_tally(H,0,H.window[H.strstart-1]),H.match_available=0),H.insert=H.strstart<B-1?H.strstart:B-1,ve===y?(Q(H,!0),H.strm.avail_out===0?G:q):H.last_lit&&(Q(H,!1),H.strm.avail_out===0)?N:K}function Ee(H,ve,pe,ee,ne){this.good_length=H,this.max_lazy=ve,this.nice_length=pe,this.max_chain=ee,this.func=ne}function Te(){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=P,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 l.Buf16(2*M),this.dyn_dtree=new l.Buf16(2*(2*k+1)),this.bl_tree=new l.Buf16(2*(2*I+1)),$(this.dyn_ltree),$(this.dyn_dtree),$(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new l.Buf16(R+1),this.heap=new l.Buf16(2*T+1),$(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new l.Buf16(2*T+1),$(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 De(H){var ve;return H&&H.state?(H.total_in=H.total_out=0,H.data_type=x,(ve=H.state).pending=0,ve.pending_out=0,ve.wrap<0&&(ve.wrap=-ve.wrap),ve.status=ve.wrap?D:F,H.adler=ve.wrap===2?0:1,ve.last_flush=m,c._tr_init(ve),b):O(H,A)}function te(H){var ve=De(H);return ve===b&&function(pe){pe.window_size=2*pe.w_size,$(pe.head),pe.max_lazy_match=a[pe.level].max_lazy,pe.good_match=a[pe.level].good_length,pe.nice_match=a[pe.level].nice_length,pe.max_chain_length=a[pe.level].max_chain,pe.strstart=0,pe.block_start=0,pe.lookahead=0,pe.insert=0,pe.match_length=pe.prev_length=B-1,pe.match_available=0,pe.ins_h=0}(H.state),ve}function ae(H,ve,pe,ee,ne,me){if(!H)return A;var Be=1;if(ve===S&&(ve=6),ee<0?(Be=0,ee=-ee):15<ee&&(Be=2,ee-=16),ne<1||C<ne||pe!==P||ee<8||15<ee||ve<0||9<ve||me<0||E<me)return O(H,A);ee===8&&(ee=9);var oe=new Te;return(H.state=oe).strm=H,oe.wrap=Be,oe.gzhead=null,oe.w_bits=ee,oe.w_size=1<<oe.w_bits,oe.w_mask=oe.w_size-1,oe.hash_bits=ne+7,oe.hash_size=1<<oe.hash_bits,oe.hash_mask=oe.hash_size-1,oe.hash_shift=~~((oe.hash_bits+B-1)/B),oe.window=new l.Buf8(2*oe.w_size),oe.head=new l.Buf16(oe.hash_size),oe.prev=new l.Buf16(oe.w_size),oe.lit_bufsize=1<<ne+6,oe.pending_buf_size=4*oe.lit_bufsize,oe.pending_buf=new l.Buf8(oe.pending_buf_size),oe.d_buf=1*oe.lit_bufsize,oe.l_buf=3*oe.lit_bufsize,oe.level=ve,oe.strategy=me,oe.method=pe,te(H)}a=[new Ee(0,0,0,0,function(H,ve){var pe=65535;for(pe>H.pending_buf_size-5&&(pe=H.pending_buf_size-5);;){if(H.lookahead<=1){if(J(H),H.lookahead===0&&ve===m)return N;if(H.lookahead===0)break}H.strstart+=H.lookahead,H.lookahead=0;var ee=H.block_start+pe;if((H.strstart===0||H.strstart>=ee)&&(H.lookahead=H.strstart-ee,H.strstart=ee,Q(H,!1),H.strm.avail_out===0)||H.strstart-H.block_start>=H.w_size-V&&(Q(H,!1),H.strm.avail_out===0))return N}return H.insert=0,ve===y?(Q(H,!0),H.strm.avail_out===0?G:q):(H.strstart>H.block_start&&(Q(H,!1),H.strm.avail_out),N)}),new Ee(4,4,8,4,ce),new Ee(4,5,16,8,ce),new Ee(4,6,32,32,ce),new Ee(4,4,16,16,ge),new Ee(8,16,32,32,ge),new Ee(8,16,128,128,ge),new Ee(8,32,128,256,ge),new Ee(32,128,258,1024,ge),new Ee(32,258,258,4096,ge)],o.deflateInit=function(H,ve){return ae(H,ve,P,15,8,0)},o.deflateInit2=ae,o.deflateReset=te,o.deflateResetKeep=De,o.deflateSetHeader=function(H,ve){return H&&H.state?H.state.wrap!==2?A:(H.state.gzhead=ve,b):A},o.deflate=function(H,ve){var pe,ee,ne,me;if(!H||!H.state||5<ve||ve<0)return H?O(H,A):A;if(ee=H.state,!H.output||!H.input&&H.avail_in!==0||ee.status===666&&ve!==y)return O(H,H.avail_out===0?-5:A);if(ee.strm=H,pe=ee.last_flush,ee.last_flush=ve,ee.status===D)if(ee.wrap===2)H.adler=0,xe(ee,31),xe(ee,139),xe(ee,8),ee.gzhead?(xe(ee,(ee.gzhead.text?1:0)+(ee.gzhead.hcrc?2:0)+(ee.gzhead.extra?4:0)+(ee.gzhead.name?8:0)+(ee.gzhead.comment?16:0)),xe(ee,255&ee.gzhead.time),xe(ee,ee.gzhead.time>>8&255),xe(ee,ee.gzhead.time>>16&255),xe(ee,ee.gzhead.time>>24&255),xe(ee,ee.level===9?2:2<=ee.strategy||ee.level<2?4:0),xe(ee,255&ee.gzhead.os),ee.gzhead.extra&&ee.gzhead.extra.length&&(xe(ee,255&ee.gzhead.extra.length),xe(ee,ee.gzhead.extra.length>>8&255)),ee.gzhead.hcrc&&(H.adler=d(H.adler,ee.pending_buf,ee.pending,0)),ee.gzindex=0,ee.status=69):(xe(ee,0),xe(ee,0),xe(ee,0),xe(ee,0),xe(ee,0),xe(ee,ee.level===9?2:2<=ee.strategy||ee.level<2?4:0),xe(ee,3),ee.status=F);else{var Be=P+(ee.w_bits-8<<4)<<8;Be|=(2<=ee.strategy||ee.level<2?0:ee.level<6?1:ee.level===6?2:3)<<6,ee.strstart!==0&&(Be|=32),Be+=31-Be%31,ee.status=F,ue(ee,Be),ee.strstart!==0&&(ue(ee,H.adler>>>16),ue(ee,65535&H.adler)),H.adler=1}if(ee.status===69)if(ee.gzhead.extra){for(ne=ee.pending;ee.gzindex<(65535&ee.gzhead.extra.length)&&(ee.pending!==ee.pending_buf_size||(ee.gzhead.hcrc&&ee.pending>ne&&(H.adler=d(H.adler,ee.pending_buf,ee.pending-ne,ne)),Y(H),ne=ee.pending,ee.pending!==ee.pending_buf_size));)xe(ee,255&ee.gzhead.extra[ee.gzindex]),ee.gzindex++;ee.gzhead.hcrc&&ee.pending>ne&&(H.adler=d(H.adler,ee.pending_buf,ee.pending-ne,ne)),ee.gzindex===ee.gzhead.extra.length&&(ee.gzindex=0,ee.status=73)}else ee.status=73;if(ee.status===73)if(ee.gzhead.name){ne=ee.pending;do{if(ee.pending===ee.pending_buf_size&&(ee.gzhead.hcrc&&ee.pending>ne&&(H.adler=d(H.adler,ee.pending_buf,ee.pending-ne,ne)),Y(H),ne=ee.pending,ee.pending===ee.pending_buf_size)){me=1;break}me=ee.gzindex<ee.gzhead.name.length?255&ee.gzhead.name.charCodeAt(ee.gzindex++):0,xe(ee,me)}while(me!==0);ee.gzhead.hcrc&&ee.pending>ne&&(H.adler=d(H.adler,ee.pending_buf,ee.pending-ne,ne)),me===0&&(ee.gzindex=0,ee.status=91)}else ee.status=91;if(ee.status===91)if(ee.gzhead.comment){ne=ee.pending;do{if(ee.pending===ee.pending_buf_size&&(ee.gzhead.hcrc&&ee.pending>ne&&(H.adler=d(H.adler,ee.pending_buf,ee.pending-ne,ne)),Y(H),ne=ee.pending,ee.pending===ee.pending_buf_size)){me=1;break}me=ee.gzindex<ee.gzhead.comment.length?255&ee.gzhead.comment.charCodeAt(ee.gzindex++):0,xe(ee,me)}while(me!==0);ee.gzhead.hcrc&&ee.pending>ne&&(H.adler=d(H.adler,ee.pending_buf,ee.pending-ne,ne)),me===0&&(ee.status=103)}else ee.status=103;if(ee.status===103&&(ee.gzhead.hcrc?(ee.pending+2>ee.pending_buf_size&&Y(H),ee.pending+2<=ee.pending_buf_size&&(xe(ee,255&H.adler),xe(ee,H.adler>>8&255),H.adler=0,ee.status=F)):ee.status=F),ee.pending!==0){if(Y(H),H.avail_out===0)return ee.last_flush=-1,b}else if(H.avail_in===0&&U(ve)<=U(pe)&&ve!==y)return O(H,-5);if(ee.status===666&&H.avail_in!==0)return O(H,-5);if(H.avail_in!==0||ee.lookahead!==0||ve!==m&&ee.status!==666){var oe=ee.strategy===2?function(be,Ie){for(var Re;;){if(be.lookahead===0&&(J(be),be.lookahead===0)){if(Ie===m)return N;break}if(be.match_length=0,Re=c._tr_tally(be,0,be.window[be.strstart]),be.lookahead--,be.strstart++,Re&&(Q(be,!1),be.strm.avail_out===0))return N}return be.insert=0,Ie===y?(Q(be,!0),be.strm.avail_out===0?G:q):be.last_lit&&(Q(be,!1),be.strm.avail_out===0)?N:K}(ee,ve):ee.strategy===3?function(be,Ie){for(var Re,Pe,he,Ce,ye=be.window;;){if(be.lookahead<=_){if(J(be),be.lookahead<=_&&Ie===m)return N;if(be.lookahead===0)break}if(be.match_length=0,be.lookahead>=B&&0<be.strstart&&(Pe=ye[he=be.strstart-1])===ye[++he]&&Pe===ye[++he]&&Pe===ye[++he]){Ce=be.strstart+_;do;while(Pe===ye[++he]&&Pe===ye[++he]&&Pe===ye[++he]&&Pe===ye[++he]&&Pe===ye[++he]&&Pe===ye[++he]&&Pe===ye[++he]&&Pe===ye[++he]&&he<Ce);be.match_length=_-(Ce-he),be.match_length>be.lookahead&&(be.match_length=be.lookahead)}if(be.match_length>=B?(Re=c._tr_tally(be,1,be.match_length-B),be.lookahead-=be.match_length,be.strstart+=be.match_length,be.match_length=0):(Re=c._tr_tally(be,0,be.window[be.strstart]),be.lookahead--,be.strstart++),Re&&(Q(be,!1),be.strm.avail_out===0))return N}return be.insert=0,Ie===y?(Q(be,!0),be.strm.avail_out===0?G:q):be.last_lit&&(Q(be,!1),be.strm.avail_out===0)?N:K}(ee,ve):a[ee.level].func(ee,ve);if(oe!==G&&oe!==q||(ee.status=666),oe===N||oe===G)return H.avail_out===0&&(ee.last_flush=-1),b;if(oe===K&&(ve===1?c._tr_align(ee):ve!==5&&(c._tr_stored_block(ee,0,0,!1),ve===3&&($(ee.head),ee.lookahead===0&&(ee.strstart=0,ee.block_start=0,ee.insert=0))),Y(H),H.avail_out===0))return ee.last_flush=-1,b}return ve!==y?b:ee.wrap<=0?1:(ee.wrap===2?(xe(ee,255&H.adler),xe(ee,H.adler>>8&255),xe(ee,H.adler>>16&255),xe(ee,H.adler>>24&255),xe(ee,255&H.total_in),xe(ee,H.total_in>>8&255),xe(ee,H.total_in>>16&255),xe(ee,H.total_in>>24&255)):(ue(ee,H.adler>>>16),ue(ee,65535&H.adler)),Y(H),0<ee.wrap&&(ee.wrap=-ee.wrap),ee.pending!==0?b:1)},o.deflateEnd=function(H){var ve;return H&&H.state?(ve=H.state.status)!==D&&ve!==69&&ve!==73&&ve!==91&&ve!==103&&ve!==F&&ve!==666?O(H,A):(H.state=null,ve===F?O(H,-3):b):A},o.deflateSetDictionary=function(H,ve){var pe,ee,ne,me,Be,oe,be,Ie,Re=ve.length;if(!H||!H.state||(me=(pe=H.state).wrap)===2||me===1&&pe.status!==D||pe.lookahead)return A;for(me===1&&(H.adler=u(H.adler,ve,Re,0)),pe.wrap=0,Re>=pe.w_size&&(me===0&&($(pe.head),pe.strstart=0,pe.block_start=0,pe.insert=0),Ie=new l.Buf8(pe.w_size),l.arraySet(Ie,ve,Re-pe.w_size,pe.w_size,0),ve=Ie,Re=pe.w_size),Be=H.avail_in,oe=H.next_in,be=H.input,H.avail_in=Re,H.next_in=0,H.input=ve,J(pe);pe.lookahead>=B;){for(ee=pe.strstart,ne=pe.lookahead-(B-1);pe.ins_h=(pe.ins_h<<pe.hash_shift^pe.window[ee+B-1])&pe.hash_mask,pe.prev[ee&pe.w_mask]=pe.head[pe.ins_h],pe.head[pe.ins_h]=ee,ee++,--ne;);pe.strstart=ee,pe.lookahead=B-1,J(pe)}return pe.strstart+=pe.lookahead,pe.block_start=pe.strstart,pe.insert=pe.lookahead,pe.lookahead=0,pe.match_length=pe.prev_length=B-1,pe.match_available=0,H.next_in=oe,H.input=be,H.avail_in=Be,pe.wrap=me,b},o.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(r,s,o){s.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(r,s,o){s.exports=function(a,l){var c,u,d,g,m,y,b,A,S,E,x,P,C,T,k,I,M,R,B,_,V,D,F,N,K;c=a.state,u=a.next_in,N=a.input,d=u+(a.avail_in-5),g=a.next_out,K=a.output,m=g-(l-a.avail_out),y=g+(a.avail_out-257),b=c.dmax,A=c.wsize,S=c.whave,E=c.wnext,x=c.window,P=c.hold,C=c.bits,T=c.lencode,k=c.distcode,I=(1<<c.lenbits)-1,M=(1<<c.distbits)-1;e:do{C<15&&(P+=N[u++]<<C,C+=8,P+=N[u++]<<C,C+=8),R=T[P&I];t:for(;;){if(P>>>=B=R>>>24,C-=B,(B=R>>>16&255)===0)K[g++]=65535&R;else{if(!(16&B)){if(!(64&B)){R=T[(65535&R)+(P&(1<<B)-1)];continue t}if(32&B){c.mode=12;break e}a.msg="invalid literal/length code",c.mode=30;break e}_=65535&R,(B&=15)&&(C<B&&(P+=N[u++]<<C,C+=8),_+=P&(1<<B)-1,P>>>=B,C-=B),C<15&&(P+=N[u++]<<C,C+=8,P+=N[u++]<<C,C+=8),R=k[P&M];i:for(;;){if(P>>>=B=R>>>24,C-=B,!(16&(B=R>>>16&255))){if(!(64&B)){R=k[(65535&R)+(P&(1<<B)-1)];continue i}a.msg="invalid distance code",c.mode=30;break e}if(V=65535&R,C<(B&=15)&&(P+=N[u++]<<C,(C+=8)<B&&(P+=N[u++]<<C,C+=8)),b<(V+=P&(1<<B)-1)){a.msg="invalid distance too far back",c.mode=30;break e}if(P>>>=B,C-=B,(B=g-m)<V){if(S<(B=V-B)&&c.sane){a.msg="invalid distance too far back",c.mode=30;break e}if(F=x,(D=0)===E){if(D+=A-B,B<_){for(_-=B;K[g++]=x[D++],--B;);D=g-V,F=K}}else if(E<B){if(D+=A+E-B,(B-=E)<_){for(_-=B;K[g++]=x[D++],--B;);if(D=0,E<_){for(_-=B=E;K[g++]=x[D++],--B;);D=g-V,F=K}}}else if(D+=E-B,B<_){for(_-=B;K[g++]=x[D++],--B;);D=g-V,F=K}for(;2<_;)K[g++]=F[D++],K[g++]=F[D++],K[g++]=F[D++],_-=3;_&&(K[g++]=F[D++],1<_&&(K[g++]=F[D++]))}else{for(D=g-V;K[g++]=K[D++],K[g++]=K[D++],K[g++]=K[D++],2<(_-=3););_&&(K[g++]=K[D++],1<_&&(K[g++]=K[D++]))}break}}break}}while(u<d&&g<y);u-=_=C>>3,P&=(1<<(C-=_<<3))-1,a.next_in=u,a.next_out=g,a.avail_in=u<d?d-u+5:5-(u-d),a.avail_out=g<y?y-g+257:257-(g-y),c.hold=P,c.bits=C}},{}],49:[function(r,s,o){var a=r("../utils/common"),l=r("./adler32"),c=r("./crc32"),u=r("./inffast"),d=r("./inftrees"),g=1,m=2,y=0,b=-2,A=1,S=852,E=592;function x(D){return(D>>>24&255)+(D>>>8&65280)+((65280&D)<<8)+((255&D)<<24)}function P(){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 a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function C(D){var F;return D&&D.state?(F=D.state,D.total_in=D.total_out=F.total=0,D.msg="",F.wrap&&(D.adler=1&F.wrap),F.mode=A,F.last=0,F.havedict=0,F.dmax=32768,F.head=null,F.hold=0,F.bits=0,F.lencode=F.lendyn=new a.Buf32(S),F.distcode=F.distdyn=new a.Buf32(E),F.sane=1,F.back=-1,y):b}function T(D){var F;return D&&D.state?((F=D.state).wsize=0,F.whave=0,F.wnext=0,C(D)):b}function k(D,F){var N,K;return D&&D.state?(K=D.state,F<0?(N=0,F=-F):(N=1+(F>>4),F<48&&(F&=15)),F&&(F<8||15<F)?b:(K.window!==null&&K.wbits!==F&&(K.window=null),K.wrap=N,K.wbits=F,T(D))):b}function I(D,F){var N,K;return D?(K=new P,(D.state=K).window=null,(N=k(D,F))!==y&&(D.state=null),N):b}var M,R,B=!0;function _(D){if(B){var F;for(M=new a.Buf32(512),R=new a.Buf32(32),F=0;F<144;)D.lens[F++]=8;for(;F<256;)D.lens[F++]=9;for(;F<280;)D.lens[F++]=7;for(;F<288;)D.lens[F++]=8;for(d(g,D.lens,0,288,M,0,D.work,{bits:9}),F=0;F<32;)D.lens[F++]=5;d(m,D.lens,0,32,R,0,D.work,{bits:5}),B=!1}D.lencode=M,D.lenbits=9,D.distcode=R,D.distbits=5}function V(D,F,N,K){var G,q=D.state;return q.window===null&&(q.wsize=1<<q.wbits,q.wnext=0,q.whave=0,q.window=new a.Buf8(q.wsize)),K>=q.wsize?(a.arraySet(q.window,F,N-q.wsize,q.wsize,0),q.wnext=0,q.whave=q.wsize):(K<(G=q.wsize-q.wnext)&&(G=K),a.arraySet(q.window,F,N-K,G,q.wnext),(K-=G)?(a.arraySet(q.window,F,N-K,K,0),q.wnext=K,q.whave=q.wsize):(q.wnext+=G,q.wnext===q.wsize&&(q.wnext=0),q.whave<q.wsize&&(q.whave+=G))),0}o.inflateReset=T,o.inflateReset2=k,o.inflateResetKeep=C,o.inflateInit=function(D){return I(D,15)},o.inflateInit2=I,o.inflate=function(D,F){var N,K,G,q,O,U,$,Y,Q,xe,ue,W,J,ce,ge,Ee,Te,De,te,ae,H,ve,pe,ee,ne=0,me=new a.Buf8(4),Be=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!D||!D.state||!D.output||!D.input&&D.avail_in!==0)return b;(N=D.state).mode===12&&(N.mode=13),O=D.next_out,G=D.output,$=D.avail_out,q=D.next_in,K=D.input,U=D.avail_in,Y=N.hold,Q=N.bits,xe=U,ue=$,ve=y;e:for(;;)switch(N.mode){case A:if(N.wrap===0){N.mode=13;break}for(;Q<16;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}if(2&N.wrap&&Y===35615){me[N.check=0]=255&Y,me[1]=Y>>>8&255,N.check=c(N.check,me,2,0),Q=Y=0,N.mode=2;break}if(N.flags=0,N.head&&(N.head.done=!1),!(1&N.wrap)||(((255&Y)<<8)+(Y>>8))%31){D.msg="incorrect header check",N.mode=30;break}if((15&Y)!=8){D.msg="unknown compression method",N.mode=30;break}if(Q-=4,H=8+(15&(Y>>>=4)),N.wbits===0)N.wbits=H;else if(H>N.wbits){D.msg="invalid window size",N.mode=30;break}N.dmax=1<<H,D.adler=N.check=1,N.mode=512&Y?10:12,Q=Y=0;break;case 2:for(;Q<16;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}if(N.flags=Y,(255&N.flags)!=8){D.msg="unknown compression method",N.mode=30;break}if(57344&N.flags){D.msg="unknown header flags set",N.mode=30;break}N.head&&(N.head.text=Y>>8&1),512&N.flags&&(me[0]=255&Y,me[1]=Y>>>8&255,N.check=c(N.check,me,2,0)),Q=Y=0,N.mode=3;case 3:for(;Q<32;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}N.head&&(N.head.time=Y),512&N.flags&&(me[0]=255&Y,me[1]=Y>>>8&255,me[2]=Y>>>16&255,me[3]=Y>>>24&255,N.check=c(N.check,me,4,0)),Q=Y=0,N.mode=4;case 4:for(;Q<16;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}N.head&&(N.head.xflags=255&Y,N.head.os=Y>>8),512&N.flags&&(me[0]=255&Y,me[1]=Y>>>8&255,N.check=c(N.check,me,2,0)),Q=Y=0,N.mode=5;case 5:if(1024&N.flags){for(;Q<16;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}N.length=Y,N.head&&(N.head.extra_len=Y),512&N.flags&&(me[0]=255&Y,me[1]=Y>>>8&255,N.check=c(N.check,me,2,0)),Q=Y=0}else N.head&&(N.head.extra=null);N.mode=6;case 6:if(1024&N.flags&&(U<(W=N.length)&&(W=U),W&&(N.head&&(H=N.head.extra_len-N.length,N.head.extra||(N.head.extra=new Array(N.head.extra_len)),a.arraySet(N.head.extra,K,q,W,H)),512&N.flags&&(N.check=c(N.check,K,W,q)),U-=W,q+=W,N.length-=W),N.length))break e;N.length=0,N.mode=7;case 7:if(2048&N.flags){if(U===0)break e;for(W=0;H=K[q+W++],N.head&&H&&N.length<65536&&(N.head.name+=String.fromCharCode(H)),H&&W<U;);if(512&N.flags&&(N.check=c(N.check,K,W,q)),U-=W,q+=W,H)break e}else N.head&&(N.head.name=null);N.length=0,N.mode=8;case 8:if(4096&N.flags){if(U===0)break e;for(W=0;H=K[q+W++],N.head&&H&&N.length<65536&&(N.head.comment+=String.fromCharCode(H)),H&&W<U;);if(512&N.flags&&(N.check=c(N.check,K,W,q)),U-=W,q+=W,H)break e}else N.head&&(N.head.comment=null);N.mode=9;case 9:if(512&N.flags){for(;Q<16;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}if(Y!==(65535&N.check)){D.msg="header crc mismatch",N.mode=30;break}Q=Y=0}N.head&&(N.head.hcrc=N.flags>>9&1,N.head.done=!0),D.adler=N.check=0,N.mode=12;break;case 10:for(;Q<32;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}D.adler=N.check=x(Y),Q=Y=0,N.mode=11;case 11:if(N.havedict===0)return D.next_out=O,D.avail_out=$,D.next_in=q,D.avail_in=U,N.hold=Y,N.bits=Q,2;D.adler=N.check=1,N.mode=12;case 12:if(F===5||F===6)break e;case 13:if(N.last){Y>>>=7&Q,Q-=7&Q,N.mode=27;break}for(;Q<3;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}switch(N.last=1&Y,Q-=1,3&(Y>>>=1)){case 0:N.mode=14;break;case 1:if(_(N),N.mode=20,F!==6)break;Y>>>=2,Q-=2;break e;case 2:N.mode=17;break;case 3:D.msg="invalid block type",N.mode=30}Y>>>=2,Q-=2;break;case 14:for(Y>>>=7&Q,Q-=7&Q;Q<32;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}if((65535&Y)!=(Y>>>16^65535)){D.msg="invalid stored block lengths",N.mode=30;break}if(N.length=65535&Y,Q=Y=0,N.mode=15,F===6)break e;case 15:N.mode=16;case 16:if(W=N.length){if(U<W&&(W=U),$<W&&(W=$),W===0)break e;a.arraySet(G,K,q,W,O),U-=W,q+=W,$-=W,O+=W,N.length-=W;break}N.mode=12;break;case 17:for(;Q<14;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}if(N.nlen=257+(31&Y),Y>>>=5,Q-=5,N.ndist=1+(31&Y),Y>>>=5,Q-=5,N.ncode=4+(15&Y),Y>>>=4,Q-=4,286<N.nlen||30<N.ndist){D.msg="too many length or distance symbols",N.mode=30;break}N.have=0,N.mode=18;case 18:for(;N.have<N.ncode;){for(;Q<3;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}N.lens[Be[N.have++]]=7&Y,Y>>>=3,Q-=3}for(;N.have<19;)N.lens[Be[N.have++]]=0;if(N.lencode=N.lendyn,N.lenbits=7,pe={bits:N.lenbits},ve=d(0,N.lens,0,19,N.lencode,0,N.work,pe),N.lenbits=pe.bits,ve){D.msg="invalid code lengths set",N.mode=30;break}N.have=0,N.mode=19;case 19:for(;N.have<N.nlen+N.ndist;){for(;Ee=(ne=N.lencode[Y&(1<<N.lenbits)-1])>>>16&255,Te=65535&ne,!((ge=ne>>>24)<=Q);){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}if(Te<16)Y>>>=ge,Q-=ge,N.lens[N.have++]=Te;else{if(Te===16){for(ee=ge+2;Q<ee;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}if(Y>>>=ge,Q-=ge,N.have===0){D.msg="invalid bit length repeat",N.mode=30;break}H=N.lens[N.have-1],W=3+(3&Y),Y>>>=2,Q-=2}else if(Te===17){for(ee=ge+3;Q<ee;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}Q-=ge,H=0,W=3+(7&(Y>>>=ge)),Y>>>=3,Q-=3}else{for(ee=ge+7;Q<ee;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}Q-=ge,H=0,W=11+(127&(Y>>>=ge)),Y>>>=7,Q-=7}if(N.have+W>N.nlen+N.ndist){D.msg="invalid bit length repeat",N.mode=30;break}for(;W--;)N.lens[N.have++]=H}}if(N.mode===30)break;if(N.lens[256]===0){D.msg="invalid code -- missing end-of-block",N.mode=30;break}if(N.lenbits=9,pe={bits:N.lenbits},ve=d(g,N.lens,0,N.nlen,N.lencode,0,N.work,pe),N.lenbits=pe.bits,ve){D.msg="invalid literal/lengths set",N.mode=30;break}if(N.distbits=6,N.distcode=N.distdyn,pe={bits:N.distbits},ve=d(m,N.lens,N.nlen,N.ndist,N.distcode,0,N.work,pe),N.distbits=pe.bits,ve){D.msg="invalid distances set",N.mode=30;break}if(N.mode=20,F===6)break e;case 20:N.mode=21;case 21:if(6<=U&&258<=$){D.next_out=O,D.avail_out=$,D.next_in=q,D.avail_in=U,N.hold=Y,N.bits=Q,u(D,ue),O=D.next_out,G=D.output,$=D.avail_out,q=D.next_in,K=D.input,U=D.avail_in,Y=N.hold,Q=N.bits,N.mode===12&&(N.back=-1);break}for(N.back=0;Ee=(ne=N.lencode[Y&(1<<N.lenbits)-1])>>>16&255,Te=65535&ne,!((ge=ne>>>24)<=Q);){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}if(Ee&&!(240&Ee)){for(De=ge,te=Ee,ae=Te;Ee=(ne=N.lencode[ae+((Y&(1<<De+te)-1)>>De)])>>>16&255,Te=65535&ne,!(De+(ge=ne>>>24)<=Q);){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}Y>>>=De,Q-=De,N.back+=De}if(Y>>>=ge,Q-=ge,N.back+=ge,N.length=Te,Ee===0){N.mode=26;break}if(32&Ee){N.back=-1,N.mode=12;break}if(64&Ee){D.msg="invalid literal/length code",N.mode=30;break}N.extra=15&Ee,N.mode=22;case 22:if(N.extra){for(ee=N.extra;Q<ee;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}N.length+=Y&(1<<N.extra)-1,Y>>>=N.extra,Q-=N.extra,N.back+=N.extra}N.was=N.length,N.mode=23;case 23:for(;Ee=(ne=N.distcode[Y&(1<<N.distbits)-1])>>>16&255,Te=65535&ne,!((ge=ne>>>24)<=Q);){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}if(!(240&Ee)){for(De=ge,te=Ee,ae=Te;Ee=(ne=N.distcode[ae+((Y&(1<<De+te)-1)>>De)])>>>16&255,Te=65535&ne,!(De+(ge=ne>>>24)<=Q);){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}Y>>>=De,Q-=De,N.back+=De}if(Y>>>=ge,Q-=ge,N.back+=ge,64&Ee){D.msg="invalid distance code",N.mode=30;break}N.offset=Te,N.extra=15&Ee,N.mode=24;case 24:if(N.extra){for(ee=N.extra;Q<ee;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}N.offset+=Y&(1<<N.extra)-1,Y>>>=N.extra,Q-=N.extra,N.back+=N.extra}if(N.offset>N.dmax){D.msg="invalid distance too far back",N.mode=30;break}N.mode=25;case 25:if($===0)break e;if(W=ue-$,N.offset>W){if((W=N.offset-W)>N.whave&&N.sane){D.msg="invalid distance too far back",N.mode=30;break}J=W>N.wnext?(W-=N.wnext,N.wsize-W):N.wnext-W,W>N.length&&(W=N.length),ce=N.window}else ce=G,J=O-N.offset,W=N.length;for($<W&&(W=$),$-=W,N.length-=W;G[O++]=ce[J++],--W;);N.length===0&&(N.mode=21);break;case 26:if($===0)break e;G[O++]=N.length,$--,N.mode=21;break;case 27:if(N.wrap){for(;Q<32;){if(U===0)break e;U--,Y|=K[q++]<<Q,Q+=8}if(ue-=$,D.total_out+=ue,N.total+=ue,ue&&(D.adler=N.check=N.flags?c(N.check,G,ue,O-ue):l(N.check,G,ue,O-ue)),ue=$,(N.flags?Y:x(Y))!==N.check){D.msg="incorrect data check",N.mode=30;break}Q=Y=0}N.mode=28;case 28:if(N.wrap&&N.flags){for(;Q<32;){if(U===0)break e;U--,Y+=K[q++]<<Q,Q+=8}if(Y!==(4294967295&N.total)){D.msg="incorrect length check",N.mode=30;break}Q=Y=0}N.mode=29;case 29:ve=1;break e;case 30:ve=-3;break e;case 31:return-4;case 32:default:return b}return D.next_out=O,D.avail_out=$,D.next_in=q,D.avail_in=U,N.hold=Y,N.bits=Q,(N.wsize||ue!==D.avail_out&&N.mode<30&&(N.mode<27||F!==4))&&V(D,D.output,D.next_out,ue-D.avail_out)?(N.mode=31,-4):(xe-=D.avail_in,ue-=D.avail_out,D.total_in+=xe,D.total_out+=ue,N.total+=ue,N.wrap&&ue&&(D.adler=N.check=N.flags?c(N.check,G,ue,D.next_out-ue):l(N.check,G,ue,D.next_out-ue)),D.data_type=N.bits+(N.last?64:0)+(N.mode===12?128:0)+(N.mode===20||N.mode===15?256:0),(xe==0&&ue===0||F===4)&&ve===y&&(ve=-5),ve)},o.inflateEnd=function(D){if(!D||!D.state)return b;var F=D.state;return F.window&&(F.window=null),D.state=null,y},o.inflateGetHeader=function(D,F){var N;return D&&D.state&&2&(N=D.state).wrap?((N.head=F).done=!1,y):b},o.inflateSetDictionary=function(D,F){var N,K=F.length;return D&&D.state?(N=D.state).wrap!==0&&N.mode!==11?b:N.mode===11&&l(1,F,K,0)!==N.check?-3:V(D,F,K,K)?(N.mode=31,-4):(N.havedict=1,y):b},o.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(r,s,o){var a=r("../utils/common"),l=[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],c=[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],u=[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],d=[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];s.exports=function(g,m,y,b,A,S,E,x){var P,C,T,k,I,M,R,B,_,V=x.bits,D=0,F=0,N=0,K=0,G=0,q=0,O=0,U=0,$=0,Y=0,Q=null,xe=0,ue=new a.Buf16(16),W=new a.Buf16(16),J=null,ce=0;for(D=0;D<=15;D++)ue[D]=0;for(F=0;F<b;F++)ue[m[y+F]]++;for(G=V,K=15;1<=K&&ue[K]===0;K--);if(K<G&&(G=K),K===0)return A[S++]=20971520,A[S++]=20971520,x.bits=1,0;for(N=1;N<K&&ue[N]===0;N++);for(G<N&&(G=N),D=U=1;D<=15;D++)if(U<<=1,(U-=ue[D])<0)return-1;if(0<U&&(g===0||K!==1))return-1;for(W[1]=0,D=1;D<15;D++)W[D+1]=W[D]+ue[D];for(F=0;F<b;F++)m[y+F]!==0&&(E[W[m[y+F]]++]=F);if(M=g===0?(Q=J=E,19):g===1?(Q=l,xe-=257,J=c,ce-=257,256):(Q=u,J=d,-1),D=N,I=S,O=F=Y=0,T=-1,k=($=1<<(q=G))-1,g===1&&852<$||g===2&&592<$)return 1;for(;;){for(R=D-O,_=E[F]<M?(B=0,E[F]):E[F]>M?(B=J[ce+E[F]],Q[xe+E[F]]):(B=96,0),P=1<<D-O,N=C=1<<q;A[I+(Y>>O)+(C-=P)]=R<<24|B<<16|_|0,C!==0;);for(P=1<<D-1;Y&P;)P>>=1;if(P!==0?(Y&=P-1,Y+=P):Y=0,F++,--ue[D]==0){if(D===K)break;D=m[y+E[F]]}if(G<D&&(Y&k)!==T){for(O===0&&(O=G),I+=N,U=1<<(q=D-O);q+O<K&&!((U-=ue[q+O])<=0);)q++,U<<=1;if($+=1<<q,g===1&&852<$||g===2&&592<$)return 1;A[T=Y&k]=G<<24|q<<16|I-S|0}}return Y!==0&&(A[I+Y]=D-O<<24|64<<16|0),x.bits=G,0}},{"../utils/common":41}],51:[function(r,s,o){s.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(r,s,o){var a=r("../utils/common"),l=0,c=1;function u(ne){for(var me=ne.length;0<=--me;)ne[me]=0}var d=0,g=29,m=256,y=m+1+g,b=30,A=19,S=2*y+1,E=15,x=16,P=7,C=256,T=16,k=17,I=18,M=[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],R=[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],B=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],_=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],V=new Array(2*(y+2));u(V);var D=new Array(2*b);u(D);var F=new Array(512);u(F);var N=new Array(256);u(N);var K=new Array(g);u(K);var G,q,O,U=new Array(b);function $(ne,me,Be,oe,be){this.static_tree=ne,this.extra_bits=me,this.extra_base=Be,this.elems=oe,this.max_length=be,this.has_stree=ne&&ne.length}function Y(ne,me){this.dyn_tree=ne,this.max_code=0,this.stat_desc=me}function Q(ne){return ne<256?F[ne]:F[256+(ne>>>7)]}function xe(ne,me){ne.pending_buf[ne.pending++]=255&me,ne.pending_buf[ne.pending++]=me>>>8&255}function ue(ne,me,Be){ne.bi_valid>x-Be?(ne.bi_buf|=me<<ne.bi_valid&65535,xe(ne,ne.bi_buf),ne.bi_buf=me>>x-ne.bi_valid,ne.bi_valid+=Be-x):(ne.bi_buf|=me<<ne.bi_valid&65535,ne.bi_valid+=Be)}function W(ne,me,Be){ue(ne,Be[2*me],Be[2*me+1])}function J(ne,me){for(var Be=0;Be|=1&ne,ne>>>=1,Be<<=1,0<--me;);return Be>>>1}function ce(ne,me,Be){var oe,be,Ie=new Array(E+1),Re=0;for(oe=1;oe<=E;oe++)Ie[oe]=Re=Re+Be[oe-1]<<1;for(be=0;be<=me;be++){var Pe=ne[2*be+1];Pe!==0&&(ne[2*be]=J(Ie[Pe]++,Pe))}}function ge(ne){var me;for(me=0;me<y;me++)ne.dyn_ltree[2*me]=0;for(me=0;me<b;me++)ne.dyn_dtree[2*me]=0;for(me=0;me<A;me++)ne.bl_tree[2*me]=0;ne.dyn_ltree[2*C]=1,ne.opt_len=ne.static_len=0,ne.last_lit=ne.matches=0}function Ee(ne){8<ne.bi_valid?xe(ne,ne.bi_buf):0<ne.bi_valid&&(ne.pending_buf[ne.pending++]=ne.bi_buf),ne.bi_buf=0,ne.bi_valid=0}function Te(ne,me,Be,oe){var be=2*me,Ie=2*Be;return ne[be]<ne[Ie]||ne[be]===ne[Ie]&&oe[me]<=oe[Be]}function De(ne,me,Be){for(var oe=ne.heap[Be],be=Be<<1;be<=ne.heap_len&&(be<ne.heap_len&&Te(me,ne.heap[be+1],ne.heap[be],ne.depth)&&be++,!Te(me,oe,ne.heap[be],ne.depth));)ne.heap[Be]=ne.heap[be],Be=be,be<<=1;ne.heap[Be]=oe}function te(ne,me,Be){var oe,be,Ie,Re,Pe=0;if(ne.last_lit!==0)for(;oe=ne.pending_buf[ne.d_buf+2*Pe]<<8|ne.pending_buf[ne.d_buf+2*Pe+1],be=ne.pending_buf[ne.l_buf+Pe],Pe++,oe===0?W(ne,be,me):(W(ne,(Ie=N[be])+m+1,me),(Re=M[Ie])!==0&&ue(ne,be-=K[Ie],Re),W(ne,Ie=Q(--oe),Be),(Re=R[Ie])!==0&&ue(ne,oe-=U[Ie],Re)),Pe<ne.last_lit;);W(ne,C,me)}function ae(ne,me){var Be,oe,be,Ie=me.dyn_tree,Re=me.stat_desc.static_tree,Pe=me.stat_desc.has_stree,he=me.stat_desc.elems,Ce=-1;for(ne.heap_len=0,ne.heap_max=S,Be=0;Be<he;Be++)Ie[2*Be]!==0?(ne.heap[++ne.heap_len]=Ce=Be,ne.depth[Be]=0):Ie[2*Be+1]=0;for(;ne.heap_len<2;)Ie[2*(be=ne.heap[++ne.heap_len]=Ce<2?++Ce:0)]=1,ne.depth[be]=0,ne.opt_len--,Pe&&(ne.static_len-=Re[2*be+1]);for(me.max_code=Ce,Be=ne.heap_len>>1;1<=Be;Be--)De(ne,Ie,Be);for(be=he;Be=ne.heap[1],ne.heap[1]=ne.heap[ne.heap_len--],De(ne,Ie,1),oe=ne.heap[1],ne.heap[--ne.heap_max]=Be,ne.heap[--ne.heap_max]=oe,Ie[2*be]=Ie[2*Be]+Ie[2*oe],ne.depth[be]=(ne.depth[Be]>=ne.depth[oe]?ne.depth[Be]:ne.depth[oe])+1,Ie[2*Be+1]=Ie[2*oe+1]=be,ne.heap[1]=be++,De(ne,Ie,1),2<=ne.heap_len;);ne.heap[--ne.heap_max]=ne.heap[1],function(ye,Fe){var Ue,Ye,Ge,Ke,et,Ze,st=Fe.dyn_tree,vt=Fe.max_code,lt=Fe.stat_desc.static_tree,dt=Fe.stat_desc.has_stree,Tt=Fe.stat_desc.extra_bits,ut=Fe.stat_desc.extra_base,pt=Fe.stat_desc.max_length,Ct=0;for(Ke=0;Ke<=E;Ke++)ye.bl_count[Ke]=0;for(st[2*ye.heap[ye.heap_max]+1]=0,Ue=ye.heap_max+1;Ue<S;Ue++)pt<(Ke=st[2*st[2*(Ye=ye.heap[Ue])+1]+1]+1)&&(Ke=pt,Ct++),st[2*Ye+1]=Ke,vt<Ye||(ye.bl_count[Ke]++,et=0,ut<=Ye&&(et=Tt[Ye-ut]),Ze=st[2*Ye],ye.opt_len+=Ze*(Ke+et),dt&&(ye.static_len+=Ze*(lt[2*Ye+1]+et)));if(Ct!==0){do{for(Ke=pt-1;ye.bl_count[Ke]===0;)Ke--;ye.bl_count[Ke]--,ye.bl_count[Ke+1]+=2,ye.bl_count[pt]--,Ct-=2}while(0<Ct);for(Ke=pt;Ke!==0;Ke--)for(Ye=ye.bl_count[Ke];Ye!==0;)vt<(Ge=ye.heap[--Ue])||(st[2*Ge+1]!==Ke&&(ye.opt_len+=(Ke-st[2*Ge+1])*st[2*Ge],st[2*Ge+1]=Ke),Ye--)}}(ne,me),ce(Ie,Ce,ne.bl_count)}function H(ne,me,Be){var oe,be,Ie=-1,Re=me[1],Pe=0,he=7,Ce=4;for(Re===0&&(he=138,Ce=3),me[2*(Be+1)+1]=65535,oe=0;oe<=Be;oe++)be=Re,Re=me[2*(oe+1)+1],++Pe<he&&be===Re||(Pe<Ce?ne.bl_tree[2*be]+=Pe:be!==0?(be!==Ie&&ne.bl_tree[2*be]++,ne.bl_tree[2*T]++):Pe<=10?ne.bl_tree[2*k]++:ne.bl_tree[2*I]++,Ie=be,Ce=(Pe=0)===Re?(he=138,3):be===Re?(he=6,3):(he=7,4))}function ve(ne,me,Be){var oe,be,Ie=-1,Re=me[1],Pe=0,he=7,Ce=4;for(Re===0&&(he=138,Ce=3),oe=0;oe<=Be;oe++)if(be=Re,Re=me[2*(oe+1)+1],!(++Pe<he&&be===Re)){if(Pe<Ce)for(;W(ne,be,ne.bl_tree),--Pe!=0;);else be!==0?(be!==Ie&&(W(ne,be,ne.bl_tree),Pe--),W(ne,T,ne.bl_tree),ue(ne,Pe-3,2)):Pe<=10?(W(ne,k,ne.bl_tree),ue(ne,Pe-3,3)):(W(ne,I,ne.bl_tree),ue(ne,Pe-11,7));Ie=be,Ce=(Pe=0)===Re?(he=138,3):be===Re?(he=6,3):(he=7,4)}}u(U);var pe=!1;function ee(ne,me,Be,oe){ue(ne,(d<<1)+(oe?1:0),3),function(be,Ie,Re,Pe){Ee(be),Pe&&(xe(be,Re),xe(be,~Re)),a.arraySet(be.pending_buf,be.window,Ie,Re,be.pending),be.pending+=Re}(ne,me,Be,!0)}o._tr_init=function(ne){pe||(function(){var me,Be,oe,be,Ie,Re=new Array(E+1);for(be=oe=0;be<g-1;be++)for(K[be]=oe,me=0;me<1<<M[be];me++)N[oe++]=be;for(N[oe-1]=be,be=Ie=0;be<16;be++)for(U[be]=Ie,me=0;me<1<<R[be];me++)F[Ie++]=be;for(Ie>>=7;be<b;be++)for(U[be]=Ie<<7,me=0;me<1<<R[be]-7;me++)F[256+Ie++]=be;for(Be=0;Be<=E;Be++)Re[Be]=0;for(me=0;me<=143;)V[2*me+1]=8,me++,Re[8]++;for(;me<=255;)V[2*me+1]=9,me++,Re[9]++;for(;me<=279;)V[2*me+1]=7,me++,Re[7]++;for(;me<=287;)V[2*me+1]=8,me++,Re[8]++;for(ce(V,y+1,Re),me=0;me<b;me++)D[2*me+1]=5,D[2*me]=J(me,5);G=new $(V,M,m+1,y,E),q=new $(D,R,0,b,E),O=new $(new Array(0),B,0,A,P)}(),pe=!0),ne.l_desc=new Y(ne.dyn_ltree,G),ne.d_desc=new Y(ne.dyn_dtree,q),ne.bl_desc=new Y(ne.bl_tree,O),ne.bi_buf=0,ne.bi_valid=0,ge(ne)},o._tr_stored_block=ee,o._tr_flush_block=function(ne,me,Be,oe){var be,Ie,Re=0;0<ne.level?(ne.strm.data_type===2&&(ne.strm.data_type=function(Pe){var he,Ce=4093624447;for(he=0;he<=31;he++,Ce>>>=1)if(1&Ce&&Pe.dyn_ltree[2*he]!==0)return l;if(Pe.dyn_ltree[18]!==0||Pe.dyn_ltree[20]!==0||Pe.dyn_ltree[26]!==0)return c;for(he=32;he<m;he++)if(Pe.dyn_ltree[2*he]!==0)return c;return l}(ne)),ae(ne,ne.l_desc),ae(ne,ne.d_desc),Re=function(Pe){var he;for(H(Pe,Pe.dyn_ltree,Pe.l_desc.max_code),H(Pe,Pe.dyn_dtree,Pe.d_desc.max_code),ae(Pe,Pe.bl_desc),he=A-1;3<=he&&Pe.bl_tree[2*_[he]+1]===0;he--);return Pe.opt_len+=3*(he+1)+5+5+4,he}(ne),be=ne.opt_len+3+7>>>3,(Ie=ne.static_len+3+7>>>3)<=be&&(be=Ie)):be=Ie=Be+5,Be+4<=be&&me!==-1?ee(ne,me,Be,oe):ne.strategy===4||Ie===be?(ue(ne,2+(oe?1:0),3),te(ne,V,D)):(ue(ne,4+(oe?1:0),3),function(Pe,he,Ce,ye){var Fe;for(ue(Pe,he-257,5),ue(Pe,Ce-1,5),ue(Pe,ye-4,4),Fe=0;Fe<ye;Fe++)ue(Pe,Pe.bl_tree[2*_[Fe]+1],3);ve(Pe,Pe.dyn_ltree,he-1),ve(Pe,Pe.dyn_dtree,Ce-1)}(ne,ne.l_desc.max_code+1,ne.d_desc.max_code+1,Re+1),te(ne,ne.dyn_ltree,ne.dyn_dtree)),ge(ne),oe&&Ee(ne)},o._tr_tally=function(ne,me,Be){return ne.pending_buf[ne.d_buf+2*ne.last_lit]=me>>>8&255,ne.pending_buf[ne.d_buf+2*ne.last_lit+1]=255&me,ne.pending_buf[ne.l_buf+ne.last_lit]=255&Be,ne.last_lit++,me===0?ne.dyn_ltree[2*Be]++:(ne.matches++,me--,ne.dyn_ltree[2*(N[Be]+m+1)]++,ne.dyn_dtree[2*Q(me)]++),ne.last_lit===ne.lit_bufsize-1},o._tr_align=function(ne){ue(ne,2,3),W(ne,C,V),function(me){me.bi_valid===16?(xe(me,me.bi_buf),me.bi_buf=0,me.bi_valid=0):8<=me.bi_valid&&(me.pending_buf[me.pending++]=255&me.bi_buf,me.bi_buf>>=8,me.bi_valid-=8)}(ne)}},{"../utils/common":41}],53:[function(r,s,o){s.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(r,s,o){(function(a){(function(l,c){if(!l.setImmediate){var u,d,g,m,y=1,b={},A=!1,S=l.document,E=Object.getPrototypeOf&&Object.getPrototypeOf(l);E=E&&E.setTimeout?E:l,u={}.toString.call(l.process)==="[object process]"?function(T){process.nextTick(function(){P(T)})}:function(){if(l.postMessage&&!l.importScripts){var T=!0,k=l.onmessage;return l.onmessage=function(){T=!1},l.postMessage("","*"),l.onmessage=k,T}}()?(m="setImmediate$"+Math.random()+"$",l.addEventListener?l.addEventListener("message",C,!1):l.attachEvent("onmessage",C),function(T){l.postMessage(m+T,"*")}):l.MessageChannel?((g=new MessageChannel).port1.onmessage=function(T){P(T.data)},function(T){g.port2.postMessage(T)}):S&&"onreadystatechange"in S.createElement("script")?(d=S.documentElement,function(T){var k=S.createElement("script");k.onreadystatechange=function(){P(T),k.onreadystatechange=null,d.removeChild(k),k=null},d.appendChild(k)}):function(T){setTimeout(P,0,T)},E.setImmediate=function(T){typeof T!="function"&&(T=new Function(""+T));for(var k=new Array(arguments.length-1),I=0;I<k.length;I++)k[I]=arguments[I+1];var M={callback:T,args:k};return b[y]=M,u(y),y++},E.clearImmediate=x}function x(T){delete b[T]}function P(T){if(A)setTimeout(P,0,T);else{var k=b[T];if(k){A=!0;try{(function(I){var M=I.callback,R=I.args;switch(R.length){case 0:M();break;case 1:M(R[0]);break;case 2:M(R[0],R[1]);break;case 3:M(R[0],R[1],R[2]);break;default:M.apply(c,R)}})(k)}finally{x(T),A=!1}}}}function C(T){T.source===l&&typeof T.data=="string"&&T.data.indexOf(m)===0&&P(+T.data.slice(m.length))}})(typeof self>"u"?a===void 0?this:a:self)}).call(this,typeof commonjsGlobal<"u"?commonjsGlobal:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(jszip_min);class MXLHelper{static MXLtoIXmlElement(e){const r=new jszip_minExports;return r.loadAsync(e).then(a=>r.file("META-INF/container.xml").async("text"),a=>{throw a}).then(a=>{const u=new DOMParser().parseFromString(a,"text/xml").getElementsByTagName("rootfile")[0].getAttribute("full-path");return r.file(u).async("text")},a=>{throw a}).then(a=>{const c=new DOMParser().parseFromString(a,"text/xml"),u=new IXmlElement(c.documentElement);return Promise.resolve(u)},a=>{throw a}).then(a=>a,a=>{throw new Error("extractSheetFromMxl: "+a.message)})}static MXLtoXMLstring(e){const r=new jszip_minExports;return r.loadAsync(e).then(s=>r.file("META-INF/container.xml").async("text"),s=>{throw loglevelExports.error(s),s}).then(s=>{const l=new DOMParser().parseFromString(s,"text/xml").getElementsByTagName("rootfile")[0].getAttribute("full-path");return r.file(l).async("text")},s=>{throw s})}}class PlaybackNoteGenerator{calculate(e){const r=new MusicPartManagerIterator(e);for(;!r.EndReached;){const s=r.CurrentEnrolledTimestamp,o=r.CurrentAudibleVoiceEntries();for(const a of o)this.handleVoiceEntry(e,a,s);r.moveToNext()}}handleVoiceEntry(e,r,s){if(r.IsGrace)return;const o=r.ParentVoice;let a;e.PlaybackDataDict.containsKey(o)?a=e.PlaybackDataDict.getValue(o):(a=[],e.PlaybackDataDict.setValue(o,a));for(const l of r.PlaybackEntries)if(l.HasNotes){for(const u of l.Notes)u.setLength();const c=Fraction$1.plus(s,l.TimestampShift);PlaybackNoteGenerator.addEntrySorted(a,l,c)}}static addEntrySorted(e,r,s){if(e.length===0)e.push({enrolledTimestamp:s,playbackEntry:r});else for(let o=e.length-1;o>=0;o--){const a=e[o];if(s.RealValue>a.enrolledTimestamp.RealValue)if(o===e.length-1){e.push({enrolledTimestamp:s,playbackEntry:r});break}else{e.splice(o+1,0,{enrolledTimestamp:s,playbackEntry:r});break}}}}class ScreenViewingRegion{constructor(e,r,s,o){this.psi=new BoundingBox$1(void 0),this.displaySizeInPixel=e,this.RelativeDisplaySize=r,this.RelativeDisplayPosition=s,this.WidthInUnits=o}static createWithRelativeDefaults(e,r){return new ScreenViewingRegion(e,new SizeF2D(1,1),new PointF2D(0,0),r)}static createWithDefaults(){return new ScreenViewingRegion(new SizeF2D(1,1),new SizeF2D(1,1),new PointF2D(0,0),1)}get UpperLeftPositionInUnits(){return this.psi.AbsolutePosition}set UpperLeftPositionInUnits(e){this.psi.AbsolutePosition=e}get DisplaySizeInPixel(){return this.displaySizeInPixel}set DisplaySizeInPixel(e){this.displaySizeInPixel=e,this.regionSizeInPixel=new SizeF2D(this.displaySizeInPixel.width*this.relativeRegionSize.width,this.displaySizeInPixel.height*this.relativeRegionSize.height),this.recalculateDependentVariables()}get RelativeDisplaySize(){return this.relativeRegionSize}set RelativeDisplaySize(e){this.relativeRegionSize=e,this.regionSizeInPixel=new SizeF2D(this.displaySizeInPixel.width*this.relativeRegionSize.width,this.displaySizeInPixel.height*this.relativeRegionSize.height),this.recalculateDependentVariables()}get RegionSizeInPixel(){return this.regionSizeInPixel}get WidthInUnits(){return this.psi.BorderRight}set WidthInUnits(e){this.psi.BorderRight=e,this.recalculateDependentVariables()}get ViewRegionInUnits(){return new SizeF2D(this.psi.BorderRight,this.psi.BorderBottom)}isVisible(e,r){const s=this.psi.collisionDetection(e);return this.psi.liesInsideBorders(e),s}isInsideDisplayArea(e,r){return this.RelativeDisplayPosition.x<=e&&e<=this.RelativeDisplayPosition.x+this.RelativeDisplaySize.width&&this.RelativeDisplayPosition.y<=r&&r<=this.RelativeDisplayPosition.y+this.RelativeDisplaySize.height}transformToUnitCoordinates(e){return new PointF2D(this.UpperLeftPositionInUnits.x+this.ViewRegionInUnits.width*((e.x-this.RelativeDisplayPosition.x)/this.RelativeDisplaySize.width),this.UpperLeftPositionInUnits.y+this.ViewRegionInUnits.height*((e.y-this.RelativeDisplayPosition.y)/this.RelativeDisplaySize.height))}transformLengthXToUnitCoordinates(e){return e/this.horizontalUnitToPixelRatio}transformLengthYToUnitCoordinates(e){return e/this.verticalUnitToPixelRatio}recalculateDependentVariables(){const e=this.regionSizeInPixel.width/this.regionSizeInPixel.height;this.psi.BorderBottom=this.psi.BorderRight/e,this.horizontalUnitToPixelRatio=this.regionSizeInPixel.width/this.ViewRegionInUnits.width,this.verticalUnitToPixelRatio=this.regionSizeInPixel.height/this.ViewRegionInUnits.height}}class AbstractZoomView{constructor(e){this.aspectRatio=1,this.zoomViews=[],this.mouseZoomMode=!1,this.autoScrollY=!0,this.displayInteractionManager=e,this.displayInteractionManager.addListener(this),this.offsetXMin=Number.MIN_VALUE,this.offsetYMin=Number.MIN_VALUE,this.rangeXMin=1,this.rangeYMin=1,this.offsetXMax=Number.MAX_VALUE,this.offsetYMax=Number.MAX_VALUE,this.rangeXMax=1e9,this.rangeYMax=1e9,this.XScrollingEnabled=!1,this.YScrollingEnabled=!0}positionTouched(e,r){if(!this.convertToUnitsReady())return;const s=this.getPositionInUnits(e,r);this.unitPosTouched(s,e,r)}get TouchActive(){return this.displayInteractionManager.TouchActive}get TouchMoving(){return this.displayInteractionManager.TouchMoving}positionDoubleTouched(e,r){if(!this.convertToUnitsReady())return;const s=this.getPositionInUnits(e,r);this.unitPosDoubleTouched(s,e,r)}get UsesManuallyControlledZoomMode(){return this.usesManuallyControlledZoomMode}set UsesManuallyControlledZoomMode(e){this.usesManuallyControlledZoomMode=e}mouseDown(e,r,s=!1){if(!this.convertToUnitsReady())return;this.selectScrollControllerY(!1),this.lastRangeX=Math.max(1,this.RangeX),this.lastRangeY=Math.max(1,this.RangeY),this.lastOffsetX=this.OffsetX,this.lastOffsetY=this.OffsetY;const o=this.getPositionInUnits(e,r);this.unitPosTouchDown(o,e,r),this.usesManuallyControlledZoomMode||(s?this.mouseZoomMode=!0:this.mouseZoomMode=!1)}mouseUp(e,r){const s=this.getPositionInUnits(e,r);this.unitPosTouchUp(s,e,r)}mouseMove(e,r,s,o){this.mouseZoomMode?(Math.abs(s-0)>1e-8&&(this.RangeX=Math.abs(this.lastRangeX/(1+s))),!this.lockRanges&&Math.abs(o-0)>1e-8&&(this.RangeY=Math.abs(this.lastRangeY/(1-o)))):(Math.abs(s-0)>1e-8&&(this.OffsetX=this.lastOffsetX-s*this.RangeX),Math.abs(o-0)>1e-8&&(this.OffsetY=this.lastOffsetY-o*this.RangeY));const a=this.getPositionInUnits(e,r);this.unitPosMove(a,e,r)}zoom(e){this.RangeX=Math.abs(this.lastRangeX/e)}addZoomView(e){this.zoomViews.push(e)}get OffsetX(){return this.offsetX}set OffsetX(e){this.offsetX=Math.min(this.offsetXMax,Math.max(this.offsetXMin,e));for(const r of this.zoomViews)r.viewportXChanged(this.offsetX,this.RangeX)}get OffsetY(){return this.offsetY}set OffsetY(e){this.offsetY=e,this.offsetY>this.offsetYMax?this.offsetY=this.offsetYMax:this.offsetY<this.offsetYMin&&(this.offsetY=this.offsetYMin);for(const r of this.zoomViews)r.viewportYChanged(this.offsetY,this.RangeY)}get RangeX(){return this.rangeX}set RangeX(e){if(this.rangeX=Math.min(this.rangeXMax,Math.max(this.rangeXMin,e)),this.lockRanges){this.RangeY=this.RangeX/this.aspectRatio;for(const r of this.zoomViews)r.viewportXChanged(this.OffsetX,this.RangeX),r.viewportYChanged(this.OffsetY,this.RangeY)}else for(const r of this.zoomViews)r.viewportXChanged(this.OffsetX,this.RangeX)}get RangeY(){return this.rangeY}set RangeY(e){this.rangeY=Math.min(this.rangeYMax,Math.max(this.rangeYMin,e));for(const r of this.zoomViews)r.viewportYChanged(this.OffsetY,this.RangeY)}set AspectRatio(e){this.aspectRatio=e}initialize(e,r,s,o){this.setVerticalViewport(s,o),this.setHorizontalViewport(e,r)}setHorizontalViewport(e,r){this.RangeX=r,this.OffsetX=e,this.lastRangeX=this.RangeX,this.lastOffsetX=this.OffsetX}setVerticalViewport(e,r){this.RangeY=r,this.OffsetY=e,this.lastRangeY=this.RangeY,this.lastOffsetY=this.OffsetY}viewSizeChanged(e,r){this.lockRanges&&(this.aspectRatio=e/r,this.RangeY=this.RangeX/this.aspectRatio,this.lastRangeY=this.RangeY)}outputChanged(e,r,s){this.OffsetY=r}setOffsetXValueOnly(e){this.offsetX=Math.min(this.offsetXMax,Math.max(this.offsetXMin,e))}setXOffset(e,r){this.displayInteractionManager.TouchActive||this.XScrollingEnabled}setOffsetYValueOnly(e){this.offsetY=Math.min(this.offsetYMax,Math.max(this.offsetYMin,e))}setYOffset(e,r){this.displayInteractionManager.TouchActive||!this.YScrollingEnabled||r&&this.selectScrollControllerY(!0)}selectScrollControllerY(e){this.autoScrollY!==e&&(this.autoScrollY=e)}displaySizeChanged(e,r){throw new Error("Method not implemented.")}}var InteractionType=(i=>(i[i.SingleTouch=0]="SingleTouch",i[i.DoubleTouch=1]="DoubleTouch",i[i.TouchUp=2]="TouchUp",i[i.TouchDown=3]="TouchDown",i[i.Move=4]="Move",i))(InteractionType||{});class VoiceEntryInteractionListener{constructor(e){this.renderingManager=e}userDisplayInteraction(e,r,s){var o,a;switch(s){case InteractionType.TouchDown:case InteractionType.SingleTouch:case InteractionType.DoubleTouch:{const l=this.renderingManager.GraphicalMusicSheet.GetNearestVoiceEntry(r);if(l&&l.parentStaffEntry.parentVerticalContainer!==void 0){const c=l.parentStaffEntry.parentVerticalContainer.AbsoluteTimestamp;this.renderingManager.setStartPosition(c),((o=l.notes[0])==null?void 0:o.sourceNote.Pitch)!==void 0&&((a=this.renderingManager.PlaybackManager)==null||a.playVoiceEntry(l.parentVoiceEntry))}break}}}}class SheetRenderingManager extends AbstractZoomView{constructor(e,r){super(e),this.mainViewingRegion=ScreenViewingRegion.createWithDefaults(),this.tryAgainToRenderCount=0,this.yOffsetMouseDown=Number.MIN_VALUE,this.unlockCursorDistancePixel=50,this.relativeTopPosition=.06,this.internalPreviewImageScale=3,this.listeners=[],this.LockDisplayToCursor=!0,this.ZoomActive=!1,this.rules=r,this.addZoomView(this),this.lockRanges=!0,this.TopBarHeightInPixel=70,this.BottomBarHeightInPixel=0,this.rules.UseDefaultVoiceInteractionListener&&this.listeners.push(new VoiceEntryInteractionListener(this))}addListener(e){this.listeners.push(e)}get Listeners(){return this.listeners}convertToUnitsReady(){return this.graphicalMusicSheet!==void 0}unitPosTouched(e,r,s){if(!this.SingleTouchDisabled){const o=new PointF2D(r,s);this.handleUserDisplayInteraction(o,e,InteractionType.SingleTouch)}}unitPosDoubleTouched(e,r,s){if(!this.DoubleTouchDisabled){const o=new PointF2D(r,s);this.handleUserDisplayInteraction(o,e,InteractionType.DoubleTouch)}}unitPosTouchDown(e,r,s){const o=new PointF2D(r,s);this.handleUserDisplayInteraction(o,e,InteractionType.TouchDown),this.yOffsetMouseDown=e.y}unitPosTouchUp(e,r,s){const o=new PointF2D(r,s);this.handleUserDisplayInteraction(o,e,InteractionType.TouchUp),this.displayInteractionManager.WasZoomGestureActive===!1&&this.unlockFromCursorIfNecessary(e),this.yOffsetMouseDown=Number.MIN_VALUE}unitPosMove(e,r,s){const o=new PointF2D(r,s);this.handleUserDisplayInteraction(o,e,InteractionType.Move),this.unlockFromCursorIfNecessary(e)}get MainViewingRegion(){return this.mainViewingRegion}setMusicSheet(e){this.graphicalMusicSheet=e,this.adaptDisplayLimitsToSheet(),this.setYOffset(0,!0)}viewportXChanged(e,r){this.graphicalMusicSheet!==void 0&&this.horizontalViewportChanged(e,r)}viewportYChanged(e,r){this.graphicalMusicSheet!==void 0&&(this.yOffsetMouseDown<=Number.MIN_VALUE+.5&&(this.yOffsetMouseDown=e),this.verticalViewportChanged(e,r))}displaySizeChanged(e,r){super.viewSizeChanged(e,r),!(Math.abs(e-0)<1e-7||Math.abs(r-0)<1e-7)&&(this.graphicalMusicSheet!==void 0&&this.graphicalMusicSheet.EnforceRedrawOfMusicSystems(),this.mainViewingRegion.DisplaySizeInPixel=new SizeF2D(e,r),this.adaptDisplayLimitsToSheet())}calcDisplayYPosition(e){return e.PositionAndShape.AbsolutePosition.y+e.PositionAndShape.BorderMarginTop-this.topBarHeightInUnits()-this.relativeTopPosition*this.heightWithoutTopBottomBarsInUnits()}yPositionForLastSystem(e){return e.PositionAndShape.AbsolutePosition.y+e.PositionAndShape.BorderMarginBottom-this.topBarHeightInUnits()-(1-this.relativeTopPosition)*this.heightWithoutTopBottomBarsInUnits()}scorePositionChanged(e,r,s,o,a,l){const c=this.calcDisplayYPosition(o);this.setYPosition(c,l)}setXPosition(e,r){this.LockDisplayToCursor&&this.setXOffset(e,r)}setYPosition(e,r){this.LockDisplayToCursor&&this.setYOffset(e,r)}get DrawingParameters(){return this.musicSheetDrawer.drawingParameters}topBarHeightInUnits(){return this.mainViewingRegion.transformLengthYToUnitCoordinates(this.TopBarHeightInPixel)}bottomBarHeightInUnits(){return this.mainViewingRegion.transformLengthYToUnitCoordinates(this.BottomBarHeightInPixel)}heightWithoutTopBottomBarsInUnits(){return this.mainViewingRegion.ViewRegionInUnits.height-this.topBarHeightInUnits()-this.bottomBarHeightInUnits()}activePositionToBottomBarHeight(){return(this.mainViewingRegion.ViewRegionInUnits.height-this.topBarHeightInUnits()-this.bottomBarHeightInUnits())*(1-2*this.relativeTopPosition)}getClickPosition(e,r){return this.mainViewingRegion.transformToUnitCoordinates(new PointF2D(e,r))}graphicalObjectIsVisible(e){return this.mainViewingRegion.isVisible(e,!1)}adaptDisplayLimitsToSheet(){if(this.graphicalMusicSheet===void 0||this.graphicalMusicSheet.MusicPages.length===0||this.graphicalMusicSheet.MusicPages[0].MusicSystems.length===0)return;this.offsetXMin=0,this.rangeXMin=this.graphicalMusicSheet.MinAllowedSystemWidth,this.rangeXMax=300,this.offsetYMin=-.3*this.RangeY;const e=this.graphicalMusicSheet.MusicPages.last().PositionAndShape;this.offsetYMax=Math.max(0,e.BorderMarginBottom-.7*this.RangeY),this.OffsetY>this.offsetYMax&&this.setYOffset(this.offsetYMax,!0)}horizontalViewportChanged(e,r){this.mainViewingRegion.WidthInUnits!==r&&(this.mainViewingRegion.WidthInUnits=r)}verticalViewportChanged(e,r){this.mainViewingRegion.UpperLeftPositionInUnits=new PointF2D(this.mainViewingRegion.UpperLeftPositionInUnits.x,e)}unlockFromCursorIfNecessary(e){if(this.LockDisplayToCursor===!1||this.ZoomActive||this.displayInteractionManager.ZoomGestureActive||this.displayInteractionManager.WasZoomGestureActive)return;Math.abs((e.y-this.yOffsetMouseDown)*this.mainViewingRegion.RegionSizeInPixel.height/this.mainViewingRegion.ViewRegionInUnits.height)>this.unlockCursorDistancePixel&&(this.LockDisplayToCursor=!1)}getPositionInUnits(e,r){return this.mainViewingRegion.transformToUnitCoordinates(new PointF2D(e,r))}handleUserDisplayInteraction(e,r,s){switch(s){case InteractionType.TouchDown:case InteractionType.SingleTouch:case InteractionType.DoubleTouch:case InteractionType.TouchUp:case InteractionType.TouchDown:case InteractionType.Move:for(const o of this.listeners)o.userDisplayInteraction(e,r,s);break;default:throw new Error("type")}}setStartPosition(e){var r;this.graphicalMusicSheet!==void 0&&(this.graphicalMusicSheet.ParentMusicSheet.SelectionStart=e,(r=this.PlaybackManager)==null||r.reset())}get GraphicalMusicSheet(){return this.graphicalMusicSheet}}class WebSheetRenderingManager extends SheetRenderingManager{mouseMove(e,r,s,o){const a=this.getPositionInUnits(e,r);this.unitPosMove(a,e,r)}}class AbstractDisplayInteractionManager{constructor(){this.listeners=[],this.zoomGestureActive=!1,this.touchCount=0,this.touchActive=!1,this.touchMoving=!1,this.displayWidth=1,this.displayHeight=1,this.displayDpi=96,this.maxNumerOfFingers=2,this.movementThreshInch=.075,this.interactionWasZoomGesture=!1}addListener(e){this.listeners.push(e)}get ZoomGestureActive(){return this.zoomGestureActive}get WasZoomGestureActive(){return this.interactionWasZoomGesture}displaySizeChanged(e,r){this.displayWidth=e,this.displayHeight=r;for(const s of this.listeners)s.displaySizeChanged(this.displayWidth,this.displayHeight)}Dispose(){this.dispose()}Initialize(){this.initialize()}get DisplayDpi(){return this.displayDpi}get TouchActive(){return this.touchActive}get TouchMoving(){return this.touchMoving}touchDown(e,r,s){this.interactionWasZoomGesture=!1;const o=e/this.displayWidth,a=r/this.displayHeight;this.lastRelPosX=o,this.lastRelPosY=a,this.lastPixelX=e,this.lastPixelY=r,this.touchActive=!0,this.touchMoving=!1,this.touchCount=Math.min(this.touchCount+1,this.maxNumerOfFingers);for(const l of this.listeners)l.mouseDown(o,a,!s)}move(e,r){if(this.touchActive&&!this.zoomGestureActive){const s=e/this.displayWidth,o=r/this.displayHeight,a=s-this.lastRelPosX,l=o-this.lastRelPosY;this.touchMoving=!0;for(const c of this.listeners)c.mouseMove(s,o,a,l)}}zoomGestureStarted(){this.zoomGestureActive=!0}zoomGestureCompleted(){this.zoomGestureActive=!1,this.interactionWasZoomGesture=!0}zoomGestureMove(e){this.zoomGestureActive&&this.listeners.forEach(function(r){r.zoom(e)})}touchUp(e,r){this.touchActive=!1,this.touchMoving=!1,this.touchCount=Math.max(0,this.touchCount-1);const s=e/this.displayWidth,o=r/this.displayHeight;for(const a of this.listeners)a.mouseUp(s,o)}click(e,r){if(!this.mouseDidMove(this.lastPixelX,e,this.lastPixelY,r)&&!this.ZoomGestureActive){const s=e/this.displayWidth,o=r/this.displayHeight;for(const a of this.listeners)a.positionTouched(s,o)}}doubleClick(e,r){if(!this.mouseDidMove(this.lastPixelX,e,this.lastPixelY,r)&&!this.ZoomGestureActive){const s=e/this.displayWidth,o=r/this.displayHeight;for(const a of this.listeners)a.positionDoubleTouched(s,o)}}mouseDidMove(e,r,s,o){const a=Math.abs(e-r)/this.displayDpi,l=Math.abs(s-o)/this.displayDpi;return a>this.movementThreshInch||l>this.movementThreshInch}}class WebDisplayInteractionManager extends AbstractDisplayInteractionManager{constructor(e){super(),this.fullOffsetLeft=0,this.fullOffsetTop=0,this.fullScrollTop=0,this.fullScrollLeft=0,this.parentScrollMap=new Map,this.scrollCallbackMap=new Map,this.timeout=void 0,this.resizeObserver=void 0,this.EventCallbackMap=new Dictionary,this.DOUBLE_CLICK_WINDOW=200,this.lastClick=0,this.osmdSheetMusicContainer=e,this.listenForInteractions()}get FullOffsetTop(){return this.fullOffsetTop}get FullScrollTop(){return this.fullScrollTop}get FullOffsetLeft(){return this.fullOffsetLeft}get FullScrollLeft(){return this.fullScrollLeft}static resizeCallback(e,r){clearTimeout(r.timeout),r.timeout=setTimeout(()=>{r.fullOffsetLeft=0,r.fullOffsetTop=0;let s=r.osmdSheetMusicContainer;for(;s;)r.fullOffsetLeft+=s.offsetLeft,r.fullOffsetTop+=s.offsetTop,s=s.offsetParent;r.resizeEventListener(),r.deregisterScrollOffsets(),r.registerScrollOffsets()},500)}registerScrollOffsets(){let e=this.osmdSheetMusicContainer;this.fullScrollTop=0,this.fullScrollLeft=0;const r=this;for(;e&&e!==document.documentElement;){if(this.parentScrollMap.set(e,[e.scrollTop,e.scrollLeft]),this.fullScrollLeft+=e.scrollLeft,this.fullScrollTop+=e.scrollTop,e.scrollHeight>e.clientHeight){const s=function(o){const a=r.parentScrollMap.get(this),l=a[0],c=a[1];r.fullScrollTop=r.fullScrollTop-l+this.scrollTop,r.fullScrollLeft=r.fullScrollLeft-c+this.scrollLeft,r.parentScrollMap.set(this,[this.scrollTop,this.scrollLeft])};this.scrollCallbackMap.set(e,s),e.addEventListener("scroll",s)}e=e.parentElement}}deregisterScrollOffsets(){for(const e of this.scrollCallbackMap.keys())e.removeEventListener("scroll",this.scrollCallbackMap.get(e));this.scrollCallbackMap.clear()}initialize(){this.fullOffsetLeft=0,this.fullOffsetTop=0;let e=this.osmdSheetMusicContainer;const r=[],s=this;for(window.ResizeObserver&&(this.resizeObserver=new ResizeObserver(o=>{WebDisplayInteractionManager.resizeCallback(o,s)}));e;)this.fullOffsetLeft+=e.offsetLeft,this.fullOffsetTop+=e.offsetTop,this.resizeObserver?this.resizeObserver.observe(e):r.push(e),e=e.offsetParent;if(this.resizeObserver)this.disposeResizeListener=()=>{s.resizeObserver.disconnect(),s.resizeObserver=void 0};else{let o=()=>{WebDisplayInteractionManager.resizeCallback(r,s)};window.addEventListener("resize",o),this.disposeResizeListener=()=>{window.removeEventListener("resize",o),o=void 0}}s.registerScrollOffsets()}dispose(){this.disposeResizeListener();for(const e of this.EventCallbackMap.keys()){const r=this.EventCallbackMap.getValue(e);r[0].removeEventListener(e,r[1])}this.EventCallbackMap.clear(),this.deregisterScrollOffsets(),this.scrollCallbackMap.clear(),this.parentScrollMap.clear()}isTouch(){if("ontouchstart"in window||window.DocumentTouch)return!0;if(!window.matchMedia)return!1;const r=["(",["-webkit-","-moz-","-o-","-ms-"].join("touch-enabled),("),"heartz",")"].join("");return window.matchMedia(r).matches}get downEventName(){return this.isTouch()?"touchstart":"mousedown"}get moveEventName(){return this.isTouch()?"touchmove":"mousemove"}listenForInteractions(){const e=this.downEventListener.bind(this),r=this.touchEndEventListener.bind(this),s=this.moveEventListener.bind(this);this.osmdSheetMusicContainer.addEventListener("mousedown",e),this.osmdSheetMusicContainer.addEventListener("touchend",r),document.addEventListener(this.moveEventName,s),this.EventCallbackMap.setValue("mousedown",[this.osmdSheetMusicContainer,e]),this.EventCallbackMap.setValue("touchend",[this.osmdSheetMusicContainer,r]),this.EventCallbackMap.setValue(this.moveEventName,[document,s])}downEventListener(e){const r=new Date().getTime(),s=r-this.lastClick;clearTimeout(this.clickTimeout);let o=0,a=0;this.isTouch()&&e instanceof TouchEvent?(o=e.touches[0].pageX,a=e.touches[0].pageY):e instanceof MouseEvent&&(o=e.pageX,a=e.pageY);const l=this.getOffsetCoordinates(o,a);if(s<this.DOUBLE_CLICK_WINDOW&&s>0)this.doubleClick(l.x,l.y);else{const c=this;this.clickTimeout=setTimeout(function(){clearTimeout(this.clickTimeout),c.isTouch()?c.touchDown(l.x,l.y,void 0):c.click(l.x,l.y)},this.DOUBLE_CLICK_WINDOW)}this.lastClick=r}moveEventListener(e){let r=0,s=0;if(this.isTouch()&&e instanceof TouchEvent){let a;e.touches&&e.touches.length>0?a=e.touches[0]:e.changedTouches&&e.changedTouches.length>0&&(a=e.changedTouches[0]),r=a==null?void 0:a.clientX,s=a==null?void 0:a.clientY}else e instanceof MouseEvent&&(r=e.clientX,s=e.clientY);const o=this.getOffsetCoordinates(r,s);this.move(o.x,o.y)}touchEndEventListener(e){let r;e.touches&&e.touches.length>0?r=e.touches[0]:e.changedTouches&&e.changedTouches.length>0&&(r=e.changedTouches[0]);const s=this.getOffsetCoordinates(r==null?void 0:r.pageX,r==null?void 0:r.pageY);this.touchUp(s.x,s.y)}resizeEventListener(){this.displaySizeChanged(this.osmdSheetMusicContainer.clientWidth,this.osmdSheetMusicContainer.clientHeight)}getOffsetCoordinates(e,r){const s=e-this.fullOffsetLeft+this.fullScrollLeft,o=r-this.fullOffsetTop+this.fullScrollTop;return new PointF2D(s,o)}}class DynamicsCalculator{static fillDynamicsList(e,r,s){for(let o=0;o<r.StaffLinkedExpressions.length;o++)for(let a=0,l=r.StaffLinkedExpressions[o].length;a<l;++a){const c=r.StaffLinkedExpressions[o][a];if(!(c.InstantaneousDynamic===void 0&&c.StartingContinuousDynamic===void 0)){if(c.StaffNumber=o,c.StartingContinuousDynamic!==void 0&&c.StartingContinuousDynamic.isWedge()&&c.StartingContinuousDynamic.EndMultiExpression!==void 0){const u=c.AbsoluteTimestamp,d=c.StartingContinuousDynamic.EndMultiExpression.AbsoluteTimestamp;if(u.Equals(d))continue}if(c.InstantaneousDynamic!==void 0){s[o].push(new DynamicsContainer(c.InstantaneousDynamic,c.StaffNumber));const u=this.getOtherStaffIndexIfLinkedStavesAreDetected(e,o,c.InstantaneousDynamic.Placement);u>=0&&s[u].push(new DynamicsContainer(c.InstantaneousDynamic,u))}if(c.StartingContinuousDynamic!==void 0){s[o].push(new DynamicsContainer(c.StartingContinuousDynamic,c.StaffNumber));const u=this.getOtherStaffIndexIfLinkedStavesAreDetected(e,o,c.StartingContinuousDynamic.Placement);u>=0&&s[u].push(new DynamicsContainer(c.StartingContinuousDynamic,u))}}}}static getOtherStaffIndexIfLinkedStavesAreDetected(e,r,s){const o=e.getStaffFromIndex(r),a=o.ParentInstrument.Staves.indexOf(o),l=o.ParentInstrument.Staves.length;return l>1&&a===0&&s===PlacementEnum.Below?r+1:l>1&&a===1&&s===PlacementEnum.Above?r-1:-1}static fillDynamicExpressions(e){const r=e.DynListStaves,s=e.getCompleteNumberOfStaves(),o=e.TimestampSortedDynamicExpressionsList;for(let a=0;a<s;a++)r.push([]);for(let a=0,l=e.SourceMeasures.length;a<l;++a){const c=e.SourceMeasures[a];DynamicsCalculator.fillDynamicsList(e,c,r)}for(let a=0;a<r.length;a++)for(let l=0,c=r[a].length;l<c;++l){const u=r[a][l];u.instantaneousDynamicExpression!==void 0&&!InstantaneousDynamicExpression.dynamicToRelativeVolumeDict.containsKey(u.instantaneousDynamicExpression.DynEnum)||o.push(u)}o.sort(DynamicsContainer.Compare)}calculate(e){DynamicsCalculator.fillDynamicExpressions(e)}}const _OpenSheetMusicDisplay=class{constructor(i,e=OSMDOptions.OSMDOptionsStandard(),r=new EngravingRules){if(this.version="1.8.7-audio-extended",this.cursorsOptions=[],this.cursors=[],this.zoom=1,this.zoomUpdated=!1,this.loadUrlTimeout=5e3,this.rules=r,typeof i=="string"?this.container=document.getElementById(i):i&&"appendChild"in i&&(this.container=i),!this.container)throw new Error("Please pass a valid div container to OpenSheetMusicDisplay");e.autoResize===void 0&&(e.autoResize=!0),this.backendType=BackendType.SVG,this.setOptions(e),this.interactionManager=new WebDisplayInteractionManager(this.container),this.renderingManager=new WebSheetRenderingManager(this.interactionManager,this.rules)}get cursor(){return this.cursors[0]}get Cursor(){return this.cursor}get RenderingManager(){return this.renderingManager}set PlaybackManager(i){this.renderingManager&&(this.renderingManager.PlaybackManager=i)}get PlaybackManager(){var i;return(i=this.renderingManager)==null?void 0:i.PlaybackManager}isUrl(i){return i.length<2083}isMxl(i){return i.substr(0,4)==="PK"}processMxl(i,e,r){MXLHelper.MXLtoXMLstring(i).then(s=>{e(this.processStringXml(s))},s=>{loglevelExports.error(new Error("[OSMD] Invalid MXL file: "+s)),r(new Error("[OSMD] Invalid MXL file: "+s))})}processStringXml(i){const e=new DOMParser;if(i.substr(0,3)==="")return loglevelExports.debug("[OSMD] UTF with BOM detected, truncate first three bytes and pass along: "+i),e.parseFromString(i.substr(3),"application/xml");if(i.substr(0,6).includes("<?xml")){const r=this.OnXMLRead(i);return loglevelExports.debug("[OSMD] Finally parsing XML content, length: "+r.length),e.parseFromString(r,"application/xml")}}load(i,e="Untitled Score"){this.reset();const r=this;return new Promise(function(o,a){new Promise(function(c,u){if(typeof i=="string"){const d=i.trim();if(r.isMxl(d))loglevelExports.debug("[OSMD] This is a zip file, unpack it first: "+d),r.processMxl(d,c,u);else{const g=r.processStringXml(d);if(g)c(g);else if(r.isUrl(d))AJAX.ajax(d).then(m=>{r.isMxl(m)?r.processMxl(m,c,u):c(r.processStringXml(m))},m=>{throw u(m),m});else{const m=new Error("[OSMD] osmd.load(string): Could not process string. Did not find <?xml at beginning.");console.error(m.message),u(m)}}}else if(i instanceof Document)c(i);else{const d=new Error("[OSMD] osmd.load(): content is not string or Document. Could not load.");console.error(d.message),u(d)}}).then(function(c){(!c||!c.nodeName)&&a(new Error("OpenSheetMusicDisplay: The document which was provided is invalid"));const u=c.childNodes;loglevelExports.debug("[OSMD] load(), Document url: "+c.URL);let d;for(let A=0,S=u.length;A<S;A+=1){const E=u[A];if(E.nodeType===Node.ELEMENT_NODE&&E.nodeName.toLowerCase()==="score-partwise"){d=E;break}}d||(console.error("Could not parse MusicXML, no valid partwise element found"),a(new Error("OpenSheetMusicDisplay: Document is not a valid 'partwise' MusicXML")));const g=new IXmlElement(d),m=new DynamicsCalculator,y=new PlaybackNoteGenerator,b=new MusicSheetReader([m,y],r.rules);r.sheet=b.createMusicSheet(g,"Untitled Score"),r.sheet===void 0&&a(new Error("given music sheet was incomplete or could not be loaded.")),loglevelExports.info(`[OSMD] Loaded sheet ${r.sheet.TitleString} successfully.`),r.needBackendUpdate=!0,r.updateGraphic(),o()}).catch(function(c){loglevelExports.debug("Content XML Promise was rejected"),a(c)})})}updateGraphic(){const i=new VexFlowMusicSheetCalculator(this.rules);this.graphic=new GraphicalMusicSheet(this.sheet,i),this.drawingParameters.drawCursors&&this.cursors.forEach(e=>{e.init(this.sheet.MusicPartManager,this.graphic)}),this.drawingParameters.DrawingParametersEnum===DrawingParametersEnum.leadsheet&&(this.graphic.LeadSheet=!0),this.renderingManager.setMusicSheet(this.graphic),this.interactionManager.Initialize()}render(){var e;if(!this.graphic)throw new Error("OpenSheetMusicDisplay: Before rendering a music sheet, please load a MusicXML file");(e=this.drawer)==null||e.clear();let i=this.container.offsetWidth;this.rules.RenderSingleHorizontalStaffline&&(i=this.rules.SheetMaximumWidth),this.sheet.pageWidth=i/this.zoom/10,this.renderingManager.MainViewingRegion.WidthInUnits=this.sheet.pageWidth,this.rules.PageFormat&&!this.rules.PageFormat.IsUndefined?(this.rules.PageHeight=this.sheet.pageWidth/this.rules.PageFormat.aspectRatio,loglevelExports.debug("[OSMD] PageHeight: "+this.rules.PageHeight)):(loglevelExports.debug("[OSMD] endless/undefined pageformat, id: "+this.rules.PageFormat.idString),this.rules.PageHeight=100001),this.graphic.reCalculate(),this.drawingParameters.drawCursors&&(this.graphic.Cursors.length=0),this.createOrRefreshRenderBackend(),this.needBackendUpdate=!1,this.drawer.setZoom(this.zoom);for(const r of this.sheet.SourceMeasures)r.WasRendered=!1;this.drawer.drawSheet(this.graphic),this.enableOrDisableCursors(this.drawingParameters.drawCursors),this.drawingParameters.drawCursors&&this.cursors.forEach(r=>{r.update()}),this.zoomUpdated=!1,this.interactionManager.displaySizeChanged(this.container.clientWidth,this.container.clientHeight),this.rules.RenderCount++}createOrRefreshRenderBackend(){if(this.drawer&&this.drawer.Backends){this.drawer.Backends[0]&&this.drawer.Backends[0].removeAllChildrenFromContainer(this.container);for(const s of this.drawer.Backends)s.free();this.drawer.Backends.clear()}this.drawingParameters.Rules=this.rules,this.drawer=new VexFlowMusicSheetDrawer(this.drawingParameters),this.drawer.drawableBoundingBoxElement=this.DrawBoundingBox,this.drawer.bottomLineVisible=this.drawBottomLine,this.drawer.skyLineVisible=this.drawSkyLine;let i=this.container.offsetWidth;this.rules.RenderSingleHorizontalStaffline&&(i=(this.EngravingRules.PageLeftMargin+this.graphic.MusicPages[0].PositionAndShape.Size.width+this.EngravingRules.PageRightMargin)*10*this.zoom);let e;const r=32767;for(const s of this.graphic.MusicPages){if(s.PageNumber>this.rules.MaxPageToDrawNumber)break;const o=this.createBackend(this.backendType,s),a=" exceeds CanvasBackend limit of 32767. Cutting off score.";o.getOSMDBackendType()===BackendType.Canvas&&i>r&&(loglevelExports.warn("[OSMD] Warning: width of "+i+a),i=r),this.rules.PageFormat&&!this.rules.PageFormat.IsUndefined?e=i/this.rules.PageFormat.aspectRatio:(e=s.PositionAndShape.Size.height,e+=this.rules.PageBottomMargin,o.getOSMDBackendType()===BackendType.Canvas&&(e+=.1),e+=s.PositionAndShape.BorderTop,this.rules.RenderTitle&&(e+=this.rules.TitleTopDistance),e*=this.zoom*10),o.getOSMDBackendType()===BackendType.Canvas&&e>r&&(loglevelExports.warn("[OSMD] Warning: height of "+e+a),e=Math.min(e,r)),o.resize(i,e),o.clear(),o.getContext().setFillStyle(this.rules.DefaultColorMusic),o.getContext().setStrokeStyle(this.rules.DefaultColorMusic),this.drawer.Backends.push(o),this.graphic.drawer=this.drawer}}exportSVG(){var i;for(const e of(i=this.drawer)==null?void 0:i.Backends)e instanceof SvgVexFlowBackend&&e.export()}IsReadyToRender(){return this.graphic!==void 0}clear(){var i;(i=this.drawer)==null||i.clear(),this.reset()}dispose(){this.disposeResizeListener&&this.disposeResizeListener(),this.InteractionManager&&this.InteractionManager.Dispose()}setOptions(i){if(this.rules||(this.rules=new EngravingRules),!this.drawingParameters&&!i.drawingParameters?this.drawingParameters=new DrawingParameters(DrawingParametersEnum.default,this.rules):i.drawingParameters&&(this.drawingParameters?this.drawingParameters.DrawingParametersEnum=DrawingParametersEnum[i.drawingParameters.toLowerCase()]:this.drawingParameters=new DrawingParameters(DrawingParametersEnum[i.drawingParameters],this.rules)),i==null){loglevelExports.warn(`warning: osmd.setOptions() called without an options parameter, has no effect.
  87. example usage: osmd.setOptions({drawCredits: false, drawPartNames: false})`);return}this.OnXMLRead=function(o){return o},i.onXMLRead&&(this.OnXMLRead=i.onXMLRead);let r=!this.drawer||!this.drawer.Backends||this.drawer.Backends.length<1;if(i.backend!==void 0){const o=OSMDOptions.BackendTypeFromString(i.backend);r=r||this.backendType!==o,this.backendType=o}this.needBackendUpdate=r,i.autoBeam!==void 0&&(this.rules.AutoBeamNotes=i.autoBeam);const s=i.autoBeamOptions;if(s&&(s.maintain_stem_directions===void 0&&(s.maintain_stem_directions=!1),this.rules.AutoBeamOptions=s,s.groups&&s.groups.length)){for(const o of s.groups)if(o.length!==2)throw new Error("Each fraction in autoBeamOptions.groups must be of length 2, e.g. [3,4] for beaming three fourths")}i.percussionOneLineCutoff!==void 0&&(this.rules.PercussionOneLineCutoff=i.percussionOneLineCutoff),this.rules.PercussionOneLineCutoff!==0&&i.percussionForceVoicesOneLineCutoff!==void 0&&(this.rules.PercussionForceVoicesOneLineCutoff=i.percussionForceVoicesOneLineCutoff),i.alignRests!==void 0&&(this.rules.AlignRests=i.alignRests),i.coloringMode!==void 0&&this.setColoringMode(i),i.coloringEnabled!==void 0&&(this.rules.ColoringEnabled=i.coloringEnabled),i.colorStemsLikeNoteheads!==void 0&&(this.rules.ColorStemsLikeNoteheads=i.colorStemsLikeNoteheads),i.disableCursor&&(this.drawingParameters.drawCursors=!1),i.drawHiddenNotes&&(this.drawingParameters.drawHiddenNotes=!0),i.drawCredits!==void 0&&(this.drawingParameters.DrawCredits=i.drawCredits),i.drawComposer!==void 0&&(this.drawingParameters.DrawComposer=i.drawComposer),i.drawTitle!==void 0&&(this.drawingParameters.DrawTitle=i.drawTitle),i.drawSubtitle!==void 0&&(this.drawingParameters.DrawSubtitle=i.drawSubtitle),i.drawLyricist!==void 0&&(this.drawingParameters.DrawLyricist=i.drawLyricist),i.drawMetronomeMarks!==void 0&&(this.rules.MetronomeMarksDrawn=i.drawMetronomeMarks),i.drawPartNames!==void 0&&(this.drawingParameters.DrawPartNames=i.drawPartNames,i.drawPartAbbreviations||(this.rules.RenderPartAbbreviations=i.drawPartNames)),i.drawPartAbbreviations!==void 0&&(this.rules.RenderPartAbbreviations=i.drawPartAbbreviations),i.drawFingerings===!1&&(this.rules.RenderFingerings=!1),i.drawMeasureNumbers!==void 0&&(this.rules.RenderMeasureNumbers=i.drawMeasureNumbers),i.drawMeasureNumbersOnlyAtSystemStart&&(this.rules.RenderMeasureNumbersOnlyAtSystemStart=i.drawMeasureNumbersOnlyAtSystemStart),i.drawLyrics!==void 0&&(this.rules.RenderLyrics=i.drawLyrics),i.drawTimeSignatures!==void 0&&(this.rules.RenderTimeSignatures=i.drawTimeSignatures),i.drawSlurs!==void 0&&(this.rules.RenderSlurs=i.drawSlurs),i.measureNumberInterval!==void 0&&(this.rules.MeasureNumberLabelOffset=i.measureNumberInterval),i.useXMLMeasureNumbers!==void 0&&(this.rules.UseXMLMeasureNumbers=i.useXMLMeasureNumbers),i.fingeringPosition!==void 0&&(this.rules.FingeringPosition=AbstractExpression.PlacementEnumFromString(i.fingeringPosition)),i.fingeringInsideStafflines!==void 0&&(this.rules.FingeringInsideStafflines=i.fingeringInsideStafflines),i.newSystemFromXML!==void 0&&(this.rules.NewSystemAtXMLNewSystemAttribute=i.newSystemFromXML),i.newSystemFromNewPageInXML!==void 0&&(this.rules.NewSystemAtXMLNewPageAttribute=i.newSystemFromNewPageInXML),i.newPageFromXML!==void 0&&(this.rules.NewPageAtXMLNewPageAttribute=i.newPageFromXML),i.fillEmptyMeasuresWithWholeRest!==void 0&&(this.rules.FillEmptyMeasuresWithWholeRest=i.fillEmptyMeasuresWithWholeRest),i.followCursor!==void 0&&(this.FollowCursor=i.followCursor),i.setWantedStemDirectionByXml!==void 0&&(this.rules.SetWantedStemDirectionByXml=i.setWantedStemDirectionByXml),i.darkMode?(this.rules.applyDefaultColorMusic("#FFFFFF"),this.rules.PageBackgroundColor="#000000"):i.darkMode===!1&&(this.rules.applyDefaultColorMusic("#000000"),this.rules.PageBackgroundColor=void 0),i.defaultColorMusic&&this.rules.applyDefaultColorMusic(i.defaultColorMusic),i.defaultColorNotehead&&(this.rules.DefaultColorNotehead=i.defaultColorNotehead),i.defaultColorRest&&(this.rules.DefaultColorRest=i.defaultColorRest),i.defaultColorStem&&(this.rules.DefaultColorStem=i.defaultColorStem),i.defaultColorLabel&&(this.rules.DefaultColorLabel=i.defaultColorLabel),i.defaultColorTitle&&(this.rules.DefaultColorTitle=i.defaultColorTitle),i.defaultFontFamily&&(this.rules.DefaultFontFamily=i.defaultFontFamily),i.defaultFontStyle&&(this.rules.DefaultFontStyle=i.defaultFontStyle),i.drawUpToMeasureNumber&&(this.rules.MaxMeasureToDrawIndex=i.drawUpToMeasureNumber-1),i.drawFromMeasureNumber&&(this.rules.MinMeasureToDrawIndex=i.drawFromMeasureNumber-1),i.drawUpToPageNumber&&(this.rules.MaxPageToDrawNumber=i.drawUpToPageNumber),i.drawUpToSystemNumber&&(this.rules.MaxSystemToDrawNumber=i.drawUpToSystemNumber),i.tupletsRatioed&&(this.rules.TupletsRatioed=!0),i.tupletsBracketed&&(this.rules.TupletsBracketed=!0),i.tripletsBracketed&&(this.rules.TripletsBracketed=!0),i.autoResize?(this.resizeHandlerAttached||this.autoResize(),this.autoResizeEnabled=!0):i.autoResize===!1&&(this.autoResizeEnabled=!1),i.pageFormat!==void 0&&this.setPageFormat(i.pageFormat),i.pageBackgroundColor!==void 0&&(this.rules.PageBackgroundColor=i.pageBackgroundColor),i.performanceMode!==void 0&&(this.rules.PerformanceMode=i.performanceMode),i.renderSingleHorizontalStaffline!==void 0&&(this.rules.RenderSingleHorizontalStaffline=i.renderSingleHorizontalStaffline),i.spacingFactorSoftmax!==void 0&&(this.rules.SoftmaxFactorVexFlow=i.spacingFactorSoftmax),i.spacingBetweenTextLines!==void 0&&(this.rules.SpacingBetweenTextLines=i.spacingBetweenTextLines),i.stretchLastSystemLine!==void 0&&(this.rules.StretchLastSystemLine=i.stretchLastSystemLine),i.autoGenerateMultipleRestMeasuresFromRestMeasures!==void 0&&(this.rules.AutoGenerateMultipleRestMeasuresFromRestMeasures=i.autoGenerateMultipleRestMeasuresFromRestMeasures),i.cursorsOptions!==void 0?this.cursorsOptions=i.cursorsOptions:this.cursorsOptions=[{type:CursorType.Standard,color:this.EngravingRules.DefaultColorCursor,alpha:.5,follow:!0}],i.preferredSkyBottomLineBatchCalculatorBackend!==void 0&&(this.rules.PreferredSkyBottomLineBatchCalculatorBackend=i.preferredSkyBottomLineBatchCalculatorBackend),i.skyBottomLineBatchMinMeasures!==void 0&&(this.rules.SkyBottomLineBatchMinMeasures=i.skyBottomLineBatchMinMeasures)}setColoringMode(i){if(i.coloringMode===ColoringModes.XML){this.rules.ColoringMode=ColoringModes.XML;return}const e=[NoteEnum.C,NoteEnum.D,NoteEnum.E,NoteEnum.F,NoteEnum.G,NoteEnum.A,NoteEnum.B];let r;if(i.coloringMode===ColoringModes.CustomColorSet){if(!i.coloringSetCustom||i.coloringSetCustom.length!==8)throw new Error("Invalid amount of colors: With coloringModes.customColorSet, you have to provide a coloringSetCustom parameter (array) with 8 strings (C to B, rest note).");for(const o of i.coloringSetCustom)if(!/^\#[0-9a-fA-F]{6}$/.test(o))throw new Error(`One of the color strings in options.coloringSetCustom was not a valid HTML Hex color:
  88. `+o);r=i.coloringSetCustom}else if(i.coloringMode===ColoringModes.AutoColoring){r=[];const o=Object.keys(AutoColorSet);for(let a=0;a<o.length;a++)r.push(AutoColorSet[o[a]])}const s=new Dictionary;for(let o=0;o<e.length;o++)s.setValue(e[o],r[o]);s.setValue(-1,r.last()),this.rules.ColoringSetCurrent=s,this.rules.ColoringMode=i.coloringMode}setLogLevel(i){switch(i){case"trace":loglevelExports.setLevel(loglevelExports.levels.TRACE);break;case"debug":loglevelExports.setLevel(loglevelExports.levels.DEBUG);break;case"info":loglevelExports.setLevel(loglevelExports.levels.INFO);break;case"warn":loglevelExports.setLevel(loglevelExports.levels.WARN);break;case"error":loglevelExports.setLevel(loglevelExports.levels.ERROR);break;case"silent":loglevelExports.setLevel(loglevelExports.levels.SILENT);break;default:loglevelExports.warn(`Could not set log level to ${i}. Using warn instead.`),loglevelExports.setLevel(loglevelExports.levels.WARN);break}}getLogLevel(){return loglevelExports.getLevel()}reset(){this.drawingParameters.drawCursors&&this.cursors.forEach(i=>{i.hide()}),this.sheet=void 0,this.graphic=void 0,this.zoom=1,this.rules.RenderCount=0}autoResize(){const i=this;this.handleResize(()=>{},()=>{var e;((e=this.graphic)==null?void 0:e.GetCalculator)instanceof VexFlowMusicSheetCalculator&&(this.graphic.GetCalculator.beamsNeedUpdate=!0),i.IsReadyToRender()&&i.render()})}handleResize(i,e){let r,s;const a=this;function l(){a.AutoResizeEnabled&&(r=new Date().getTime(),s||(i(),r=new Date().getTime(),s=window.setTimeout(c,200)))}function c(){s=void 0,window.clearTimeout(s),new Date().getTime()-r<200?s=window.setTimeout(c,200):e()}window.attachEvent?window.attachEvent("onresize",l):window.addEventListener("resize",l),this.disposeResizeListener=()=>{window.detachEvent?window.detachEvent("onresize",l):window.removeEventListener("resize",l),this.resizeHandlerAttached=!1},this.resizeHandlerAttached=!0,window.setTimeout(i,0),window.setTimeout(e,1)}enableOrDisableCursors(i){var e,r,s,o,a,l,c,u,d;if(this.drawingParameters.drawCursors=i,i){for(let g=0;g<this.cursorsOptions.length;g++){const m=(r=(e=this.cursors[g])==null?void 0:e.Hidden)!=null?r:!1,y=(s=this.cursors[g])==null?void 0:s.Iterator;(o=this.cursors[g])==null||o.hide();let b=(a=this.drawer)==null?void 0:a.Backends[0];if(b&&this.rules.RestoreCursorAfterRerender&&this.cursors[g]){const A=this.cursors[g].updateCurrentPage();b=this.drawer.Backends[A-1]}b&&b.getRenderElement()&&(this.cursors[g]&&((l=this.PlaybackManager)==null||l.removeListener(this.cursors[g]),this.cursors[g].Dispose()),this.cursors[g]=new Cursor(b.getRenderElement(),this,this.cursorsOptions[g])),this.sheet&&this.graphic&&this.cursors[g]&&this.cursors[g].init(this.sheet.MusicPartManager,this.graphic),this.rules.RestoreCursorAfterRerender&&(y&&(this.cursors[g].iterator=y),m?(c=this.cursors[g])==null||c.hide():(u=this.cursors[g])==null||u.show())}(d=this.renderingManager.PlaybackManager)==null||d.addListener(this.cursor)}else this.cursors.forEach(g=>{g.hide()})}createBackend(i,e){let r;return i===void 0||i===BackendType.SVG?r=new SvgVexFlowBackend(this.rules):r=new CanvasVexFlowBackend(this.rules),r.graphicalMusicPage=e,r.initialize(this.container,this.zoom),r}static StringToPageFormat(i){let e=PageFormat.UndefinedPageFormat;if(i.match("^[0-9]+x[0-9]+$")){const r=i.split("x"),s=Number.parseInt(r[0],10),o=Number.parseInt(r[1],10);s>0&&s<32768&&o>0&&o<32768&&(e=new PageFormat(s,o,`customPageFormat${i}`))}return i=i.replace(" ","_"),i=i.replace("Landscape","L"),i=i.replace("Portrait","P"),_OpenSheetMusicDisplay.PageFormatStandards.hasOwnProperty(i)&&(e=_OpenSheetMusicDisplay.PageFormatStandards[i]),e}setPageFormat(i){const e=_OpenSheetMusicDisplay.StringToPageFormat(i);this.needBackendUpdate=!e.Equals(this.rules.PageFormat),this.rules.PageFormat=e}setCustomPageFormat(i,e){if(i>0&&e>0){const r=new PageFormat(i,e);this.rules.PageFormat=r}}set DrawSkyLine(i){this.drawSkyLine=i,this.drawer&&(this.drawer.skyLineVisible=i)}get DrawSkyLine(){return this.drawer.skyLineVisible}set DrawBottomLine(i){this.drawBottomLine=i,this.drawer&&(this.drawer.bottomLineVisible=i)}get DrawBottomLine(){return this.drawer.bottomLineVisible}set DrawBoundingBox(i){this.setDrawBoundingBox(i,!0)}get DrawBoundingBox(){return this.drawBoundingBox}setDrawBoundingBox(i,e=!1){this.drawBoundingBox=i,this.drawer&&(this.drawer.drawableBoundingBoxElement=i),e&&this.render()}get AutoResizeEnabled(){return this.autoResizeEnabled}set AutoResizeEnabled(i){this.autoResizeEnabled=i}get Zoom(){return this.zoom}set Zoom(i){var e;this.zoom=i,this.zoomUpdated=!0,((e=this.graphic)==null?void 0:e.GetCalculator)instanceof VexFlowMusicSheetCalculator&&(this.graphic.GetCalculator.beamsNeedUpdate=this.zoomUpdated)}set FollowCursor(i){this.followCursor=i}get FollowCursor(){return this.followCursor}set TransposeCalculator(i){MusicSheetCalculator.transposeCalculator=i}get TransposeCalculator(){return MusicSheetCalculator.transposeCalculator}get Sheet(){return this.sheet}get Drawer(){return this.drawer}get GraphicSheet(){return this.graphic}get DrawingParameters(){return this.drawingParameters}get EngravingRules(){return this.rules}get InteractionManager(){return this.interactionManager}get Version(){return this.version}};let OpenSheetMusicDisplay=_OpenSheetMusicDisplay;OpenSheetMusicDisplay.PageFormatStandards={A3_L:new PageFormat(420,297,"A3_L"),A3_P:new PageFormat(297,420,"A3_P"),A4_L:new PageFormat(297,210,"A4_L"),A4_P:new PageFormat(210,297,"A4_P"),A5_L:new PageFormat(210,148,"A5_L"),A5_P:new PageFormat(148,210,"A5_P"),A6_L:new PageFormat(148,105,"A6_L"),A6_P:new PageFormat(105,148,"A6_P"),Endless:PageFormat.UndefinedPageFormat,Letter_L:new PageFormat(279.4,215.9,"Letter_L"),Letter_P:new PageFormat(215.9,279.4,"Letter_P")};var handlebarsExports={},handlebars={get exports(){return handlebarsExports},set exports(i){handlebarsExports=i}},handlebars_runtimeExports={},handlebars_runtime={get exports(){return handlebars_runtimeExports},set exports(i){handlebars_runtimeExports=i}},base$1={},utils={};utils.__esModule=!0;utils.extend=extend;utils.indexOf=indexOf;utils.escapeExpression=escapeExpression;utils.isEmpty=isEmpty;utils.createFrame=createFrame;utils.blockParams=blockParams;utils.appendContextPath=appendContextPath;var escape$1={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},badChars=/[&<>"'`=]/g,possible=/[&<>"'`=]/;function escapeChar(i){return escape$1[i]}function extend(i){for(var e=1;e<arguments.length;e++)for(var r in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],r)&&(i[r]=arguments[e][r]);return i}var toString=Object.prototype.toString;utils.toString=toString;var isFunction=function i(e){return typeof e=="function"};isFunction(/x/)&&(utils.isFunction=isFunction=function(i){return typeof i=="function"&&toString.call(i)==="[object Function]"});utils.isFunction=isFunction;var isArray=Array.isArray||function(i){return i&&typeof i=="object"?toString.call(i)==="[object Array]":!1};utils.isArray=isArray;function indexOf(i,e){for(var r=0,s=i.length;r<s;r++)if(i[r]===e)return r;return-1}function escapeExpression(i){if(typeof i!="string"){if(i&&i.toHTML)return i.toHTML();if(i==null)return"";if(!i)return i+"";i=""+i}return possible.test(i)?i.replace(badChars,escapeChar):i}function isEmpty(i){return!i&&i!==0?!0:!!(isArray(i)&&i.length===0)}function createFrame(i){var e=extend({},i);return e._parent=i,e}function blockParams(i,e){return i.path=e,i}function appendContextPath(i,e){return(i?i+".":"")+e}var exceptionExports={},exception={get exports(){return exceptionExports},set exports(i){exceptionExports=i}};(function(i,e){e.__esModule=!0;var r=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function s(o,a){var l=a&&a.loc,c=void 0,u=void 0,d=void 0,g=void 0;l&&(c=l.start.line,u=l.end.line,d=l.start.column,g=l.end.column,o+=" - "+c+":"+d);for(var m=Error.prototype.constructor.call(this,o),y=0;y<r.length;y++)this[r[y]]=m[r[y]];Error.captureStackTrace&&Error.captureStackTrace(this,s);try{l&&(this.lineNumber=c,this.endLineNumber=u,Object.defineProperty?(Object.defineProperty(this,"column",{value:d,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:g,enumerable:!0})):(this.column=d,this.endColumn=g))}catch(b){}}s.prototype=new Error,e.default=s,i.exports=e.default})(exception,exceptionExports);var helpers$1={},blockHelperMissingExports={},blockHelperMissing={get exports(){return blockHelperMissingExports},set exports(i){blockHelperMissingExports=i}};(function(i,e){e.__esModule=!0;var r=utils;e.default=function(s){s.registerHelper("blockHelperMissing",function(o,a){var l=a.inverse,c=a.fn;if(o===!0)return c(this);if(o===!1||o==null)return l(this);if(r.isArray(o))return o.length>0?(a.ids&&(a.ids=[a.name]),s.helpers.each(o,a)):l(this);if(a.data&&a.ids){var u=r.createFrame(a.data);u.contextPath=r.appendContextPath(a.data.contextPath,a.name),a={data:u}}return c(o,a)})},i.exports=e.default})(blockHelperMissing,blockHelperMissingExports);var eachExports={},each={get exports(){return eachExports},set exports(i){eachExports=i}};(function(i,e){e.__esModule=!0;function r(l){return l&&l.__esModule?l:{default:l}}var s=utils,o=exceptionExports,a=r(o);e.default=function(l){l.registerHelper("each",function(c,u){if(!u)throw new a.default("Must pass iterator to #each");var d=u.fn,g=u.inverse,m=0,y="",b=void 0,A=void 0;u.data&&u.ids&&(A=s.appendContextPath(u.data.contextPath,u.ids[0])+"."),s.isFunction(c)&&(c=c.call(this)),u.data&&(b=s.createFrame(u.data));function S(T,k,I){b&&(b.key=T,b.index=k,b.first=k===0,b.last=!!I,A&&(b.contextPath=A+T)),y=y+d(c[T],{data:b,blockParams:s.blockParams([c[T],T],[A+T,null])})}if(c&&typeof c=="object")if(s.isArray(c))for(var E=c.length;m<E;m++)m in c&&S(m,m,m===c.length-1);else if(typeof Symbol=="function"&&c[Symbol.iterator]){for(var x=[],P=c[Symbol.iterator](),C=P.next();!C.done;C=P.next())x.push(C.value);c=x;for(var E=c.length;m<E;m++)S(m,m,m===c.length-1)}else(function(){var T=void 0;Object.keys(c).forEach(function(k){T!==void 0&&S(T,m-1),T=k,m++}),T!==void 0&&S(T,m-1,!0)})();return m===0&&(y=g(this)),y})},i.exports=e.default})(each,eachExports);var helperMissingExports={},helperMissing={get exports(){return helperMissingExports},set exports(i){helperMissingExports=i}};(function(i,e){e.__esModule=!0;function r(a){return a&&a.__esModule?a:{default:a}}var s=exceptionExports,o=r(s);e.default=function(a){a.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new o.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},i.exports=e.default})(helperMissing,helperMissingExports);var _ifExports={},_if={get exports(){return _ifExports},set exports(i){_ifExports=i}};(function(i,e){e.__esModule=!0;function r(l){return l&&l.__esModule?l:{default:l}}var s=utils,o=exceptionExports,a=r(o);e.default=function(l){l.registerHelper("if",function(c,u){if(arguments.length!=2)throw new a.default("#if requires exactly one argument");return s.isFunction(c)&&(c=c.call(this)),!u.hash.includeZero&&!c||s.isEmpty(c)?u.inverse(this):u.fn(this)}),l.registerHelper("unless",function(c,u){if(arguments.length!=2)throw new a.default("#unless requires exactly one argument");return l.helpers.if.call(this,c,{fn:u.inverse,inverse:u.fn,hash:u.hash})})},i.exports=e.default})(_if,_ifExports);var logExports={},log$1={get exports(){return logExports},set exports(i){logExports=i}};(function(i,e){e.__esModule=!0,e.default=function(r){r.registerHelper("log",function(){for(var s=[void 0],o=arguments[arguments.length-1],a=0;a<arguments.length-1;a++)s.push(arguments[a]);var l=1;o.hash.level!=null?l=o.hash.level:o.data&&o.data.level!=null&&(l=o.data.level),s[0]=l,r.log.apply(r,s)})},i.exports=e.default})(log$1,logExports);var lookupExports={},lookup={get exports(){return lookupExports},set exports(i){lookupExports=i}};(function(i,e){e.__esModule=!0,e.default=function(r){r.registerHelper("lookup",function(s,o,a){return s&&a.lookupProperty(s,o)})},i.exports=e.default})(lookup,lookupExports);var _withExports={},_with={get exports(){return _withExports},set exports(i){_withExports=i}};(function(i,e){e.__esModule=!0;function r(l){return l&&l.__esModule?l:{default:l}}var s=utils,o=exceptionExports,a=r(o);e.default=function(l){l.registerHelper("with",function(c,u){if(arguments.length!=2)throw new a.default("#with requires exactly one argument");s.isFunction(c)&&(c=c.call(this));var d=u.fn;if(s.isEmpty(c))return u.inverse(this);var g=u.data;return u.data&&u.ids&&(g=s.createFrame(u.data),g.contextPath=s.appendContextPath(u.data.contextPath,u.ids[0])),d(c,{data:g,blockParams:s.blockParams([c],[g&&g.contextPath])})})},i.exports=e.default})(_with,_withExports);helpers$1.__esModule=!0;helpers$1.registerDefaultHelpers=registerDefaultHelpers;helpers$1.moveHelperToHooks=moveHelperToHooks;function _interopRequireDefault$7(i){return i&&i.__esModule?i:{default:i}}var _helpersBlockHelperMissing=blockHelperMissingExports,_helpersBlockHelperMissing2=_interopRequireDefault$7(_helpersBlockHelperMissing),_helpersEach=eachExports,_helpersEach2=_interopRequireDefault$7(_helpersEach),_helpersHelperMissing=helperMissingExports,_helpersHelperMissing2=_interopRequireDefault$7(_helpersHelperMissing),_helpersIf=_ifExports,_helpersIf2=_interopRequireDefault$7(_helpersIf),_helpersLog=logExports,_helpersLog2=_interopRequireDefault$7(_helpersLog),_helpersLookup=lookupExports,_helpersLookup2=_interopRequireDefault$7(_helpersLookup),_helpersWith=_withExports,_helpersWith2=_interopRequireDefault$7(_helpersWith);function registerDefaultHelpers(i){_helpersBlockHelperMissing2.default(i),_helpersEach2.default(i),_helpersHelperMissing2.default(i),_helpersIf2.default(i),_helpersLog2.default(i),_helpersLookup2.default(i),_helpersWith2.default(i)}function moveHelperToHooks(i,e,r){i.helpers[e]&&(i.hooks[e]=i.helpers[e],r||delete i.helpers[e])}var decorators={},inlineExports={},inline={get exports(){return inlineExports},set exports(i){inlineExports=i}};(function(i,e){e.__esModule=!0;var r=utils;e.default=function(s){s.registerDecorator("inline",function(o,a,l,c){var u=o;return a.partials||(a.partials={},u=function(d,g){var m=l.partials;l.partials=r.extend({},m,a.partials);var y=o(d,g);return l.partials=m,y}),a.partials[c.args[0]]=c.fn,u})},i.exports=e.default})(inline,inlineExports);decorators.__esModule=!0;decorators.registerDefaultDecorators=registerDefaultDecorators;function _interopRequireDefault$6(i){return i&&i.__esModule?i:{default:i}}var _decoratorsInline=inlineExports,_decoratorsInline2=_interopRequireDefault$6(_decoratorsInline);function registerDefaultDecorators(i){_decoratorsInline2.default(i)}var loggerExports={},logger={get exports(){return loggerExports},set exports(i){loggerExports=i}};(function(i,e){e.__esModule=!0;var r=utils,s={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(a){if(typeof a=="string"){var l=r.indexOf(s.methodMap,a.toLowerCase());l>=0?a=l:a=parseInt(a,10)}return a},log:function(a){if(a=s.lookupLevel(a),typeof console<"u"&&s.lookupLevel(s.level)<=a){var l=s.methodMap[a];console[l]||(l="log");for(var c=arguments.length,u=Array(c>1?c-1:0),d=1;d<c;d++)u[d-1]=arguments[d];console[l].apply(console,u)}}};e.default=s,i.exports=e.default})(logger,loggerExports);var protoAccess={},createNewLookupObject$1={};createNewLookupObject$1.__esModule=!0;createNewLookupObject$1.createNewLookupObject=createNewLookupObject;var _utils$4=utils;function createNewLookupObject(){for(var i=arguments.length,e=Array(i),r=0;r<i;r++)e[r]=arguments[r];return _utils$4.extend.apply(void 0,[Object.create(null)].concat(e))}protoAccess.__esModule=!0;protoAccess.createProtoAccessControl=createProtoAccessControl;protoAccess.resultIsAllowed=resultIsAllowed;protoAccess.resetLoggedProperties=resetLoggedProperties;function _interopRequireDefault$5(i){return i&&i.__esModule?i:{default:i}}var _createNewLookupObject=createNewLookupObject$1,_logger$1=loggerExports,_logger2$1=_interopRequireDefault$5(_logger$1),loggedProperties=Object.create(null);function createProtoAccessControl(i){var e=Object.create(null);e.constructor=!1,e.__defineGetter__=!1,e.__defineSetter__=!1,e.__lookupGetter__=!1;var r=Object.create(null);return r.__proto__=!1,{properties:{whitelist:_createNewLookupObject.createNewLookupObject(r,i.allowedProtoProperties),defaultValue:i.allowProtoPropertiesByDefault},methods:{whitelist:_createNewLookupObject.createNewLookupObject(e,i.allowedProtoMethods),defaultValue:i.allowProtoMethodsByDefault}}}function resultIsAllowed(i,e,r){return checkWhiteList(typeof i=="function"?e.methods:e.properties,r)}function checkWhiteList(i,e){return i.whitelist[e]!==void 0?i.whitelist[e]===!0:i.defaultValue!==void 0?i.defaultValue:(logUnexpecedPropertyAccessOnce(e),!1)}function logUnexpecedPropertyAccessOnce(i){loggedProperties[i]!==!0&&(loggedProperties[i]=!0,_logger2$1.default.log("error",'Handlebars: Access has been denied to resolve the property "'+i+`" because it is not an "own property" of its parent.
  89. You can add a runtime option to disable the check or this warning:
  90. See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function resetLoggedProperties(){Object.keys(loggedProperties).forEach(function(i){delete loggedProperties[i]})}base$1.__esModule=!0;base$1.HandlebarsEnvironment=HandlebarsEnvironment;function _interopRequireDefault$4(i){return i&&i.__esModule?i:{default:i}}var _utils$3=utils,_exception$3=exceptionExports,_exception2$3=_interopRequireDefault$4(_exception$3),_helpers$2=helpers$1,_decorators=decorators,_logger=loggerExports,_logger2=_interopRequireDefault$4(_logger),_internalProtoAccess$1=protoAccess,VERSION="4.7.8";base$1.VERSION=VERSION;var COMPILER_REVISION=8;base$1.COMPILER_REVISION=COMPILER_REVISION;var LAST_COMPATIBLE_COMPILER_REVISION=7;base$1.LAST_COMPATIBLE_COMPILER_REVISION=LAST_COMPATIBLE_COMPILER_REVISION;var REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};base$1.REVISION_CHANGES=REVISION_CHANGES;var objectType="[object Object]";function HandlebarsEnvironment(i,e,r){this.helpers=i||{},this.partials=e||{},this.decorators=r||{},_helpers$2.registerDefaultHelpers(this),_decorators.registerDefaultDecorators(this)}HandlebarsEnvironment.prototype={constructor:HandlebarsEnvironment,logger:_logger2.default,log:_logger2.default.log,registerHelper:function i(e,r){if(_utils$3.toString.call(e)===objectType){if(r)throw new _exception2$3.default("Arg not supported with multiple helpers");_utils$3.extend(this.helpers,e)}else this.helpers[e]=r},unregisterHelper:function i(e){delete this.helpers[e]},registerPartial:function i(e,r){if(_utils$3.toString.call(e)===objectType)_utils$3.extend(this.partials,e);else{if(typeof r>"u")throw new _exception2$3.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},unregisterPartial:function i(e){delete this.partials[e]},registerDecorator:function i(e,r){if(_utils$3.toString.call(e)===objectType){if(r)throw new _exception2$3.default("Arg not supported with multiple decorators");_utils$3.extend(this.decorators,e)}else this.decorators[e]=r},unregisterDecorator:function i(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function i(){_internalProtoAccess$1.resetLoggedProperties()}};var log=_logger2.default.log;base$1.log=log;base$1.createFrame=_utils$3.createFrame;base$1.logger=_logger2.default;var safeStringExports={},safeString={get exports(){return safeStringExports},set exports(i){safeStringExports=i}};(function(i,e){e.__esModule=!0;function r(s){this.string=s}r.prototype.toString=r.prototype.toHTML=function(){return""+this.string},e.default=r,i.exports=e.default})(safeString,safeStringExports);var runtime={},wrapHelper$1={};wrapHelper$1.__esModule=!0;wrapHelper$1.wrapHelper=wrapHelper;function wrapHelper(i,e){if(typeof i!="function")return i;var r=function(){var o=arguments[arguments.length-1];return arguments[arguments.length-1]=e(o),i.apply(this,arguments)};return r}runtime.__esModule=!0;runtime.checkRevision=checkRevision;runtime.template=template;runtime.wrapProgram=wrapProgram;runtime.resolvePartial=resolvePartial;runtime.invokePartial=invokePartial;runtime.noop=noop;function _interopRequireDefault$3(i){return i&&i.__esModule?i:{default:i}}function _interopRequireWildcard$1(i){if(i&&i.__esModule)return i;var e={};if(i!=null)for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);return e.default=i,e}var _utils$2=utils,Utils=_interopRequireWildcard$1(_utils$2),_exception$2=exceptionExports,_exception2$2=_interopRequireDefault$3(_exception$2),_base=base$1,_helpers$1=helpers$1,_internalWrapHelper=wrapHelper$1,_internalProtoAccess=protoAccess;function checkRevision(i){var e=i&&i[0]||1,r=_base.COMPILER_REVISION;if(!(e>=_base.LAST_COMPATIBLE_COMPILER_REVISION&&e<=_base.COMPILER_REVISION))if(e<_base.LAST_COMPATIBLE_COMPILER_REVISION){var s=_base.REVISION_CHANGES[r],o=_base.REVISION_CHANGES[e];throw new _exception2$2.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+s+") or downgrade your runtime to an older version ("+o+").")}else throw new _exception2$2.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+i[1]+").")}function template(i,e){if(!e)throw new _exception2$2.default("No environment passed to template");if(!i||!i.main)throw new _exception2$2.default("Unknown template object: "+typeof i);i.main.decorator=i.main_d,e.VM.checkRevision(i.compiler);var r=i.compiler&&i.compiler[0]===7;function s(l,c,u){u.hash&&(c=Utils.extend({},c,u.hash),u.ids&&(u.ids[0]=!0)),l=e.VM.resolvePartial.call(this,l,c,u);var d=Utils.extend({},u,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),g=e.VM.invokePartial.call(this,l,c,d);if(g==null&&e.compile&&(u.partials[u.name]=e.compile(l,i.compilerOptions,e),g=u.partials[u.name](c,d)),g!=null){if(u.indent){for(var m=g.split(`
  91. `),y=0,b=m.length;y<b&&!(!m[y]&&y+1===b);y++)m[y]=u.indent+m[y];g=m.join(`
  92. `)}return g}else throw new _exception2$2.default("The partial "+u.name+" could not be compiled when running in runtime-only mode")}var o={strict:function(c,u,d){if(!c||!(u in c))throw new _exception2$2.default('"'+u+'" not defined in '+c,{loc:d});return o.lookupProperty(c,u)},lookupProperty:function(c,u){var d=c[u];if(d==null||Object.prototype.hasOwnProperty.call(c,u)||_internalProtoAccess.resultIsAllowed(d,o.protoAccessControl,u))return d},lookup:function(c,u){for(var d=c.length,g=0;g<d;g++){var m=c[g]&&o.lookupProperty(c[g],u);if(m!=null)return c[g][u]}},lambda:function(c,u){return typeof c=="function"?c.call(u):c},escapeExpression:Utils.escapeExpression,invokePartial:s,fn:function(c){var u=i[c];return u.decorator=i[c+"_d"],u},programs:[],program:function(c,u,d,g,m){var y=this.programs[c],b=this.fn(c);return u||m||g||d?y=wrapProgram(this,c,b,u,d,g,m):y||(y=this.programs[c]=wrapProgram(this,c,b)),y},data:function(c,u){for(;c&&u--;)c=c._parent;return c},mergeIfNeeded:function(c,u){var d=c||u;return c&&u&&c!==u&&(d=Utils.extend({},u,c)),d},nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:i.compiler};function a(l){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],u=c.data;a._setup(c),!c.partial&&i.useData&&(u=initData(l,u));var d=void 0,g=i.useBlockParams?[]:void 0;i.useDepths&&(c.depths?d=l!=c.depths[0]?[l].concat(c.depths):c.depths:d=[l]);function m(y){return""+i.main(o,y,o.helpers,o.partials,u,g,d)}return m=executeDecorators(i.main,m,o,c.depths||[],u,g),m(l,c)}return a.isTop=!0,a._setup=function(l){if(l.partial)o.protoAccessControl=l.protoAccessControl,o.helpers=l.helpers,o.partials=l.partials,o.decorators=l.decorators,o.hooks=l.hooks;else{var c=Utils.extend({},e.helpers,l.helpers);wrapHelpersToPassLookupProperty(c,o),o.helpers=c,i.usePartial&&(o.partials=o.mergeIfNeeded(l.partials,e.partials)),(i.usePartial||i.useDecorators)&&(o.decorators=Utils.extend({},e.decorators,l.decorators)),o.hooks={},o.protoAccessControl=_internalProtoAccess.createProtoAccessControl(l);var u=l.allowCallsToHelperMissing||r;_helpers$1.moveHelperToHooks(o,"helperMissing",u),_helpers$1.moveHelperToHooks(o,"blockHelperMissing",u)}},a._child=function(l,c,u,d){if(i.useBlockParams&&!u)throw new _exception2$2.default("must pass block params");if(i.useDepths&&!d)throw new _exception2$2.default("must pass parent depths");return wrapProgram(o,l,i[l],c,0,u,d)},a}function wrapProgram(i,e,r,s,o,a,l){function c(u){var d=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],g=l;return l&&u!=l[0]&&!(u===i.nullContext&&l[0]===null)&&(g=[u].concat(l)),r(i,u,i.helpers,i.partials,d.data||s,a&&[d.blockParams].concat(a),g)}return c=executeDecorators(r,c,i,l,s,a),c.program=e,c.depth=l?l.length:0,c.blockParams=o||0,c}function resolvePartial(i,e,r){return i?!i.call&&!r.name&&(r.name=i,i=r.partials[i]):r.name==="@partial-block"?i=r.data["partial-block"]:i=r.partials[r.name],i}function invokePartial(i,e,r){var s=r.data&&r.data["partial-block"];r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var o=void 0;if(r.fn&&r.fn!==noop&&function(){r.data=_base.createFrame(r.data);var a=r.fn;o=r.data["partial-block"]=function(c){var u=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return u.data=_base.createFrame(u.data),u.data["partial-block"]=s,a(c,u)},a.partials&&(r.partials=Utils.extend({},r.partials,a.partials))}(),i===void 0&&o&&(i=o),i===void 0)throw new _exception2$2.default("The partial "+r.name+" could not be found");if(i instanceof Function)return i(e,r)}function noop(){return""}function initData(i,e){return(!e||!("root"in e))&&(e=e?_base.createFrame(e):{},e.root=i),e}function executeDecorators(i,e,r,s,o,a){if(i.decorator){var l={};e=i.decorator(e,l,r,s&&s[0],o,a,s),Utils.extend(e,l)}return e}function wrapHelpersToPassLookupProperty(i,e){Object.keys(i).forEach(function(r){var s=i[r];i[r]=passLookupPropertyOption(s,e)})}function passLookupPropertyOption(i,e){var r=e.lookupProperty;return _internalWrapHelper.wrapHelper(i,function(s){return Utils.extend({lookupProperty:r},s)})}var noConflictExports={},noConflict={get exports(){return noConflictExports},set exports(i){noConflictExports=i}};(function(i,e){e.__esModule=!0,e.default=function(r){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var s=globalThis.Handlebars;r.noConflict=function(){return globalThis.Handlebars===r&&(globalThis.Handlebars=s),r}},i.exports=e.default})(noConflict,noConflictExports);(function(i,e){e.__esModule=!0;function r(P){return P&&P.__esModule?P:{default:P}}function s(P){if(P&&P.__esModule)return P;var C={};if(P!=null)for(var T in P)Object.prototype.hasOwnProperty.call(P,T)&&(C[T]=P[T]);return C.default=P,C}var o=base$1,a=s(o),l=safeStringExports,c=r(l),u=exceptionExports,d=r(u),g=utils,m=s(g),y=runtime,b=s(y),A=noConflictExports,S=r(A);function E(){var P=new a.HandlebarsEnvironment;return m.extend(P,a),P.SafeString=c.default,P.Exception=d.default,P.Utils=m,P.escapeExpression=m.escapeExpression,P.VM=b,P.template=function(C){return b.template(C,P)},P}var x=E();x.create=E,S.default(x),x.default=x,e.default=x,i.exports=e.default})(handlebars_runtime,handlebars_runtimeExports);var astExports={},ast={get exports(){return astExports},set exports(i){astExports=i}};(function(i,e){e.__esModule=!0;var r={helpers:{helperExpression:function(o){return o.type==="SubExpression"||(o.type==="MustacheStatement"||o.type==="BlockStatement")&&!!(o.params&&o.params.length||o.hash)},scopedId:function(o){return/^\.|this\b/.test(o.original)},simpleId:function(o){return o.parts.length===1&&!r.helpers.scopedId(o)&&!o.depth}}};e.default=r,i.exports=e.default})(ast,astExports);var base={},parserExports={},parser$1={get exports(){return parserExports},set exports(i){parserExports=i}};(function(i,e){e.__esModule=!0;var r=function(){var s={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(c,u,d,g,m,y,b){var A=y.length-1;switch(m){case 1:return y[A-1];case 2:this.$=g.prepareProgram(y[A]);break;case 3:this.$=y[A];break;case 4:this.$=y[A];break;case 5:this.$=y[A];break;case 6:this.$=y[A];break;case 7:this.$=y[A];break;case 8:this.$=y[A];break;case 9:this.$={type:"CommentStatement",value:g.stripComment(y[A]),strip:g.stripFlags(y[A],y[A]),loc:g.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:y[A],value:y[A],loc:g.locInfo(this._$)};break;case 11:this.$=g.prepareRawBlock(y[A-2],y[A-1],y[A],this._$);break;case 12:this.$={path:y[A-3],params:y[A-2],hash:y[A-1]};break;case 13:this.$=g.prepareBlock(y[A-3],y[A-2],y[A-1],y[A],!1,this._$);break;case 14:this.$=g.prepareBlock(y[A-3],y[A-2],y[A-1],y[A],!0,this._$);break;case 15:this.$={open:y[A-5],path:y[A-4],params:y[A-3],hash:y[A-2],blockParams:y[A-1],strip:g.stripFlags(y[A-5],y[A])};break;case 16:this.$={path:y[A-4],params:y[A-3],hash:y[A-2],blockParams:y[A-1],strip:g.stripFlags(y[A-5],y[A])};break;case 17:this.$={path:y[A-4],params:y[A-3],hash:y[A-2],blockParams:y[A-1],strip:g.stripFlags(y[A-5],y[A])};break;case 18:this.$={strip:g.stripFlags(y[A-1],y[A-1]),program:y[A]};break;case 19:var S=g.prepareBlock(y[A-2],y[A-1],y[A],y[A],!1,this._$),E=g.prepareProgram([S],y[A-1].loc);E.chained=!0,this.$={strip:y[A-2].strip,program:E,chain:!0};break;case 20:this.$=y[A];break;case 21:this.$={path:y[A-1],strip:g.stripFlags(y[A-2],y[A])};break;case 22:this.$=g.prepareMustache(y[A-3],y[A-2],y[A-1],y[A-4],g.stripFlags(y[A-4],y[A]),this._$);break;case 23:this.$=g.prepareMustache(y[A-3],y[A-2],y[A-1],y[A-4],g.stripFlags(y[A-4],y[A]),this._$);break;case 24:this.$={type:"PartialStatement",name:y[A-3],params:y[A-2],hash:y[A-1],indent:"",strip:g.stripFlags(y[A-4],y[A]),loc:g.locInfo(this._$)};break;case 25:this.$=g.preparePartialBlock(y[A-2],y[A-1],y[A],this._$);break;case 26:this.$={path:y[A-3],params:y[A-2],hash:y[A-1],strip:g.stripFlags(y[A-4],y[A])};break;case 27:this.$=y[A];break;case 28:this.$=y[A];break;case 29:this.$={type:"SubExpression",path:y[A-3],params:y[A-2],hash:y[A-1],loc:g.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:y[A],loc:g.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:g.id(y[A-2]),value:y[A],loc:g.locInfo(this._$)};break;case 32:this.$=g.id(y[A-1]);break;case 33:this.$=y[A];break;case 34:this.$=y[A];break;case 35:this.$={type:"StringLiteral",value:y[A],original:y[A],loc:g.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(y[A]),original:Number(y[A]),loc:g.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:y[A]==="true",original:y[A]==="true",loc:g.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:g.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:g.locInfo(this._$)};break;case 40:this.$=y[A];break;case 41:this.$=y[A];break;case 42:this.$=g.preparePath(!0,y[A],this._$);break;case 43:this.$=g.preparePath(!1,y[A],this._$);break;case 44:y[A-2].push({part:g.id(y[A]),original:y[A],separator:y[A-1]}),this.$=y[A-2];break;case 45:this.$=[{part:g.id(y[A]),original:y[A]}];break;case 46:this.$=[];break;case 47:y[A-1].push(y[A]);break;case 48:this.$=[];break;case 49:y[A-1].push(y[A]);break;case 50:this.$=[];break;case 51:y[A-1].push(y[A]);break;case 58:this.$=[];break;case 59:y[A-1].push(y[A]);break;case 64:this.$=[];break;case 65:y[A-1].push(y[A]);break;case 70:this.$=[];break;case 71:y[A-1].push(y[A]);break;case 78:this.$=[];break;case 79:y[A-1].push(y[A]);break;case 82:this.$=[];break;case 83:y[A-1].push(y[A]);break;case 86:this.$=[];break;case 87:y[A-1].push(y[A]);break;case 90:this.$=[];break;case 91:y[A-1].push(y[A]);break;case 94:this.$=[];break;case 95:y[A-1].push(y[A]);break;case 98:this.$=[y[A]];break;case 99:y[A-1].push(y[A]);break;case 100:this.$=[y[A]];break;case 101:y[A-1].push(y[A]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(c,u){throw new Error(c)},parse:function(c){var u=this,d=[0],g=[null],m=[],y=this.table,b="",A=0,S=0;this.lexer.setInput(c),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var E=this.lexer.yylloc;m.push(E);var x=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function P(){var F;return F=u.lexer.lex()||1,typeof F!="number"&&(F=u.symbols_[F]||F),F}for(var C,T,k,I,M={},R,B,_,V;;){if(T=d[d.length-1],this.defaultActions[T]?k=this.defaultActions[T]:((C===null||typeof C>"u")&&(C=P()),k=y[T]&&y[T][C]),typeof k>"u"||!k.length||!k[0]){var D="";{V=[];for(R in y[T])this.terminals_[R]&&R>2&&V.push("'"+this.terminals_[R]+"'");this.lexer.showPosition?D="Parse error on line "+(A+1)+`:
  93. `+this.lexer.showPosition()+`
  94. Expecting `+V.join(", ")+", got '"+(this.terminals_[C]||C)+"'":D="Parse error on line "+(A+1)+": Unexpected "+(C==1?"end of input":"'"+(this.terminals_[C]||C)+"'"),this.parseError(D,{text:this.lexer.match,token:this.terminals_[C]||C,line:this.lexer.yylineno,loc:E,expected:V})}}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+T+", token: "+C);switch(k[0]){case 1:d.push(C),g.push(this.lexer.yytext),m.push(this.lexer.yylloc),d.push(k[1]),C=null,S=this.lexer.yyleng,b=this.lexer.yytext,A=this.lexer.yylineno,E=this.lexer.yylloc;break;case 2:if(B=this.productions_[k[1]][1],M.$=g[g.length-B],M._$={first_line:m[m.length-(B||1)].first_line,last_line:m[m.length-1].last_line,first_column:m[m.length-(B||1)].first_column,last_column:m[m.length-1].last_column},x&&(M._$.range=[m[m.length-(B||1)].range[0],m[m.length-1].range[1]]),I=this.performAction.call(M,b,S,A,this.yy,k[1],g,m),typeof I<"u")return I;B&&(d=d.slice(0,-1*B*2),g=g.slice(0,-1*B),m=m.slice(0,-1*B)),d.push(this.productions_[k[1]][0]),g.push(M.$),m.push(M._$),_=y[d[d.length-2]][d[d.length-1]],d.push(_);break;case 3:return!0}}return!0}},o=function(){var l={EOF:1,parseError:function(u,d){if(this.yy.parser)this.yy.parser.parseError(u,d);else throw new Error(u)},setInput:function(u){return this._input=u,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var u=this._input[0];this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u;var d=u.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),u},unput:function(u){var d=u.length,g=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d-1),this.offset-=d;var m=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var y=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:g?(g.length===m.length?this.yylloc.first_column:0)+m[m.length-g.length].length-g[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-d]),this},more:function(){return this._more=!0,this},less:function(u){this.unput(this.match.slice(u))},pastInput:function(){var u=this.matched.substr(0,this.matched.length-this.match.length);return(u.length>20?"...":"")+u.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var u=this.match;return u.length<20&&(u+=this._input.substr(0,20-u.length)),(u.substr(0,20)+(u.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var u=this.pastInput(),d=new Array(u.length+1).join("-");return u+this.upcomingInput()+`
  95. `+d+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var u,d,g,m,y;this._more||(this.yytext="",this.match="");for(var b=this._currentRules(),A=0;A<b.length&&(g=this._input.match(this.rules[b[A]]),!(g&&(!d||g[0].length>d[0].length)&&(d=g,m=A,!this.options.flex)));A++);return d?(y=d[0].match(/(?:\r\n?|\n).*/g),y&&(this.yylineno+=y.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:y?y[y.length-1].length-y[y.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+d[0].length},this.yytext+=d[0],this.match+=d[0],this.matches=d,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(d[0].length),this.matched+=d[0],u=this.performAction.call(this,this.yy,this,b[m],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),u||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
  96. `+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var u=this.next();return typeof u<"u"?u:this.lex()},begin:function(u){this.conditionStack.push(u)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(u){this.begin(u)}};return l.options={},l.performAction=function(u,d,g,m){function y(b,A){return d.yytext=d.yytext.substring(b,d.yyleng-A+b)}switch(g){case 0:if(d.yytext.slice(-2)==="\\\\"?(y(0,1),this.begin("mu")):d.yytext.slice(-1)==="\\"?(y(0,1),this.begin("emu")):this.begin("mu"),d.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(y(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(d.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return d.yytext=y(1,2).replace(/\\"/g,'"'),80;case 32:return d.yytext=y(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return d.yytext=d.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},l.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],l.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},l}();s.lexer=o;function a(){this.yy={}}return a.prototype=s,s.Parser=a,new a}();e.default=r,i.exports=e.default})(parser$1,parserExports);var whitespaceControlExports={},whitespaceControl={get exports(){return whitespaceControlExports},set exports(i){whitespaceControlExports=i}},visitorExports={},visitor={get exports(){return visitorExports},set exports(i){visitorExports=i}};(function(i,e){e.__esModule=!0;function r(d){return d&&d.__esModule?d:{default:d}}var s=exceptionExports,o=r(s);function a(){this.parents=[]}a.prototype={constructor:a,mutating:!1,acceptKey:function(g,m){var y=this.accept(g[m]);if(this.mutating){if(y&&!a.prototype[y.type])throw new o.default('Unexpected node type "'+y.type+'" found when accepting '+m+" on "+g.type);g[m]=y}},acceptRequired:function(g,m){if(this.acceptKey(g,m),!g[m])throw new o.default(g.type+" requires "+m)},acceptArray:function(g){for(var m=0,y=g.length;m<y;m++)this.acceptKey(g,m),g[m]||(g.splice(m,1),m--,y--)},accept:function(g){if(g){if(!this[g.type])throw new o.default("Unknown type: "+g.type,g);this.current&&this.parents.unshift(this.current),this.current=g;var m=this[g.type](g);if(this.current=this.parents.shift(),!this.mutating||m)return m;if(m!==!1)return g}},Program:function(g){this.acceptArray(g.body)},MustacheStatement:l,Decorator:l,BlockStatement:c,DecoratorBlock:c,PartialStatement:u,PartialBlockStatement:function(g){u.call(this,g),this.acceptKey(g,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:l,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(g){this.acceptArray(g.pairs)},HashPair:function(g){this.acceptRequired(g,"value")}};function l(d){this.acceptRequired(d,"path"),this.acceptArray(d.params),this.acceptKey(d,"hash")}function c(d){l.call(this,d),this.acceptKey(d,"program"),this.acceptKey(d,"inverse")}function u(d){this.acceptRequired(d,"name"),this.acceptArray(d.params),this.acceptKey(d,"hash")}e.default=a,i.exports=e.default})(visitor,visitorExports);(function(i,e){e.__esModule=!0;function r(g){return g&&g.__esModule?g:{default:g}}var s=visitorExports,o=r(s);function a(){var g=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=g}a.prototype=new o.default,a.prototype.Program=function(g){var m=!this.options.ignoreStandalone,y=!this.isRootSeen;this.isRootSeen=!0;for(var b=g.body,A=0,S=b.length;A<S;A++){var E=b[A],x=this.accept(E);if(x){var P=l(b,A,y),C=c(b,A,y),T=x.openStandalone&&P,k=x.closeStandalone&&C,I=x.inlineStandalone&&P&&C;x.close&&u(b,A,!0),x.open&&d(b,A,!0),m&&I&&(u(b,A),d(b,A)&&E.type==="PartialStatement"&&(E.indent=/([ \t]+$)/.exec(b[A-1].original)[1])),m&&T&&(u((E.program||E.inverse).body),d(b,A)),m&&k&&(u(b,A),d((E.inverse||E.program).body))}}return g},a.prototype.BlockStatement=a.prototype.DecoratorBlock=a.prototype.PartialBlockStatement=function(g){this.accept(g.program),this.accept(g.inverse);var m=g.program||g.inverse,y=g.program&&g.inverse,b=y,A=y;if(y&&y.chained)for(b=y.body[0].program;A.chained;)A=A.body[A.body.length-1].program;var S={open:g.openStrip.open,close:g.closeStrip.close,openStandalone:c(m.body),closeStandalone:l((b||m).body)};if(g.openStrip.close&&u(m.body,null,!0),y){var E=g.inverseStrip;E.open&&d(m.body,null,!0),E.close&&u(b.body,null,!0),g.closeStrip.open&&d(A.body,null,!0),!this.options.ignoreStandalone&&l(m.body)&&c(b.body)&&(d(m.body),u(b.body))}else g.closeStrip.open&&d(m.body,null,!0);return S},a.prototype.Decorator=a.prototype.MustacheStatement=function(g){return g.strip},a.prototype.PartialStatement=a.prototype.CommentStatement=function(g){var m=g.strip||{};return{inlineStandalone:!0,open:m.open,close:m.close}};function l(g,m,y){m===void 0&&(m=g.length);var b=g[m-1],A=g[m-2];if(!b)return y;if(b.type==="ContentStatement")return(A||!y?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(b.original)}function c(g,m,y){m===void 0&&(m=-1);var b=g[m+1],A=g[m+2];if(!b)return y;if(b.type==="ContentStatement")return(A||!y?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(b.original)}function u(g,m,y){var b=g[m==null?0:m+1];if(!(!b||b.type!=="ContentStatement"||!y&&b.rightStripped)){var A=b.value;b.value=b.value.replace(y?/^\s+/:/^[ \t]*\r?\n?/,""),b.rightStripped=b.value!==A}}function d(g,m,y){var b=g[m==null?g.length-1:m-1];if(!(!b||b.type!=="ContentStatement"||!y&&b.leftStripped)){var A=b.value;return b.value=b.value.replace(y?/\s+$/:/[ \t]+$/,""),b.leftStripped=b.value!==A,b.leftStripped}}e.default=a,i.exports=e.default})(whitespaceControl,whitespaceControlExports);var helpers={};helpers.__esModule=!0;helpers.SourceLocation=SourceLocation;helpers.id=id;helpers.stripFlags=stripFlags;helpers.stripComment=stripComment;helpers.preparePath=preparePath;helpers.prepareMustache=prepareMustache;helpers.prepareRawBlock=prepareRawBlock;helpers.prepareBlock=prepareBlock;helpers.prepareProgram=prepareProgram;helpers.preparePartialBlock=preparePartialBlock;function _interopRequireDefault$2(i){return i&&i.__esModule?i:{default:i}}var _exception$1=exceptionExports,_exception2$1=_interopRequireDefault$2(_exception$1);function validateClose(i,e){if(e=e.path?e.path.original:e,i.path.original!==e){var r={loc:i.path.loc};throw new _exception2$1.default(i.path.original+" doesn't match "+e,r)}}function SourceLocation(i,e){this.source=i,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}function id(i){return/^\[.*\]$/.test(i)?i.substring(1,i.length-1):i}function stripFlags(i,e){return{open:i.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function stripComment(i){return i.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function preparePath(i,e,r){r=this.locInfo(r);for(var s=i?"@":"",o=[],a=0,l=0,c=e.length;l<c;l++){var u=e[l].part,d=e[l].original!==u;if(s+=(e[l].separator||"")+u,!d&&(u===".."||u==="."||u==="this")){if(o.length>0)throw new _exception2$1.default("Invalid path: "+s,{loc:r});u===".."&&a++}else o.push(u)}return{type:"PathExpression",data:i,depth:a,parts:o,original:s,loc:r}}function prepareMustache(i,e,r,s,o,a){var l=s.charAt(3)||s.charAt(2),c=l!=="{"&&l!=="&",u=/\*/.test(s);return{type:u?"Decorator":"MustacheStatement",path:i,params:e,hash:r,escaped:c,strip:o,loc:this.locInfo(a)}}function prepareRawBlock(i,e,r,s){validateClose(i,r),s=this.locInfo(s);var o={type:"Program",body:e,strip:{},loc:s};return{type:"BlockStatement",path:i.path,params:i.params,hash:i.hash,program:o,openStrip:{},inverseStrip:{},closeStrip:{},loc:s}}function prepareBlock(i,e,r,s,o,a){s&&s.path&&validateClose(i,s);var l=/\*/.test(i.open);e.blockParams=i.blockParams;var c=void 0,u=void 0;if(r){if(l)throw new _exception2$1.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=s.strip),u=r.strip,c=r.program}return o&&(o=c,c=e,e=o),{type:l?"DecoratorBlock":"BlockStatement",path:i.path,params:i.params,hash:i.hash,program:e,inverse:c,openStrip:i.strip,inverseStrip:u,closeStrip:s&&s.strip,loc:this.locInfo(a)}}function prepareProgram(i,e){if(!e&&i.length){var r=i[0].loc,s=i[i.length-1].loc;r&&s&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:s.end.line,column:s.end.column}})}return{type:"Program",body:i,strip:{},loc:e}}function preparePartialBlock(i,e,r,s){return validateClose(i,r),{type:"PartialBlockStatement",name:i.path,params:i.params,hash:i.hash,program:e,openStrip:i.strip,closeStrip:r&&r.strip,loc:this.locInfo(s)}}base.__esModule=!0;base.parseWithoutProcessing=parseWithoutProcessing;base.parse=parse$2;function _interopRequireWildcard(i){if(i&&i.__esModule)return i;var e={};if(i!=null)for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);return e.default=i,e}function _interopRequireDefault$1(i){return i&&i.__esModule?i:{default:i}}var _parser=parserExports,_parser2=_interopRequireDefault$1(_parser),_whitespaceControl=whitespaceControlExports,_whitespaceControl2=_interopRequireDefault$1(_whitespaceControl),_helpers=helpers,Helpers=_interopRequireWildcard(_helpers),_utils$1=utils;base.parser=_parser2.default;var yy={};_utils$1.extend(yy,Helpers);function parseWithoutProcessing(i,e){if(i.type==="Program")return i;_parser2.default.yy=yy,yy.locInfo=function(s){return new yy.SourceLocation(e&&e.srcName,s)};var r=_parser2.default.parse(i);return r}function parse$2(i,e){var r=parseWithoutProcessing(i,e),s=new _whitespaceControl2.default(e);return s.accept(r)}var compiler={};compiler.__esModule=!0;compiler.Compiler=Compiler;compiler.precompile=precompile;compiler.compile=compile;function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}var _exception=exceptionExports,_exception2=_interopRequireDefault(_exception),_utils=utils,_ast=astExports,_ast2=_interopRequireDefault(_ast),slice=[].slice;function Compiler(){}Compiler.prototype={compiler:Compiler,equals:function i(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var s=0;s<r;s++){var o=this.opcodes[s],a=e.opcodes[s];if(o.opcode!==a.opcode||!argEquals(o.args,a.args))return!1}r=this.children.length;for(var s=0;s<r;s++)if(!this.children[s].equals(e.children[s]))return!1;return!0},guid:0,compile:function i(e,r){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=r,this.stringParams=r.stringParams,this.trackIds=r.trackIds,r.blockParams=r.blockParams||[],r.knownHelpers=_utils.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},r.knownHelpers),this.accept(e)},compileProgram:function i(e){var r=new this.compiler,s=r.compile(e,this.options),o=this.guid++;return this.usePartial=this.usePartial||s.usePartial,this.children[o]=s,this.useDepths=this.useDepths||s.useDepths,o},accept:function i(e){if(!this[e.type])throw new _exception2.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var r=this[e.type](e);return this.sourceNode.shift(),r},Program:function i(e){this.options.blockParams.unshift(e.blockParams);for(var r=e.body,s=r.length,o=0;o<s;o++)this.accept(r[o]);return this.options.blockParams.shift(),this.isSimple=s===1,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function i(e){transformLiteralToPath(e);var r=e.program,s=e.inverse;r=r&&this.compileProgram(r),s=s&&this.compileProgram(s);var o=this.classifySexpr(e);o==="helper"?this.helperSexpr(e,r,s):o==="simple"?(this.simpleSexpr(e),this.opcode("pushProgram",r),this.opcode("pushProgram",s),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,r,s),this.opcode("pushProgram",r),this.opcode("pushProgram",s),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function i(e){var r=e.program&&this.compileProgram(e.program),s=this.setupFullMustacheParams(e,r,void 0),o=e.path;this.useDecorators=!0,this.opcode("registerDecorator",s.length,o.original)},PartialStatement:function i(e){this.usePartial=!0;var r=e.program;r&&(r=this.compileProgram(e.program));var s=e.params;if(s.length>1)throw new _exception2.default("Unsupported number of partial arguments: "+s.length,e);s.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):s.push({type:"PathExpression",parts:[],depth:0}));var o=e.name.original,a=e.name.type==="SubExpression";a&&this.accept(e.name),this.setupFullMustacheParams(e,r,void 0,!0);var l=e.indent||"";this.options.preventIndent&&l&&(this.opcode("appendContent",l),l=""),this.opcode("invokePartial",a,o,l),this.opcode("append")},PartialBlockStatement:function i(e){this.PartialStatement(e)},MustacheStatement:function i(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function i(e){this.DecoratorBlock(e)},ContentStatement:function i(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function i(){},SubExpression:function i(e){transformLiteralToPath(e);var r=this.classifySexpr(e);r==="simple"?this.simpleSexpr(e):r==="helper"?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function i(e,r,s){var o=e.path,a=o.parts[0],l=r!=null||s!=null;this.opcode("getContext",o.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",s),o.strict=!0,this.accept(o),this.opcode("invokeAmbiguous",a,l)},simpleSexpr:function i(e){var r=e.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},helperSexpr:function i(e,r,s){var o=this.setupFullMustacheParams(e,r,s),a=e.path,l=a.parts[0];if(this.options.knownHelpers[l])this.opcode("invokeKnownHelper",o.length,l);else{if(this.options.knownHelpersOnly)throw new _exception2.default("You specified knownHelpersOnly, but used the unknown helper "+l,e);a.strict=!0,a.falsy=!0,this.accept(a),this.opcode("invokeHelper",o.length,a.original,_ast2.default.helpers.simpleId(a))}},PathExpression:function i(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],s=_ast2.default.helpers.scopedId(e),o=!e.depth&&!s&&this.blockParamIndex(r);o?this.opcode("lookupBlockParam",o,e.parts):r?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,s):this.opcode("pushContext")},StringLiteral:function i(e){this.opcode("pushString",e.value)},NumberLiteral:function i(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function i(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function i(){this.opcode("pushLiteral","undefined")},NullLiteral:function i(){this.opcode("pushLiteral","null")},Hash:function i(e){var r=e.pairs,s=0,o=r.length;for(this.opcode("pushHash");s<o;s++)this.pushParam(r[s].value);for(;s--;)this.opcode("assignToHash",r[s].key);this.opcode("popHash")},opcode:function i(e){this.opcodes.push({opcode:e,args:slice.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function i(e){e&&(this.useDepths=!0)},classifySexpr:function i(e){var r=_ast2.default.helpers.simpleId(e.path),s=r&&!!this.blockParamIndex(e.path.parts[0]),o=!s&&_ast2.default.helpers.helperExpression(e),a=!s&&(o||r);if(a&&!o){var l=e.path.parts[0],c=this.options;c.knownHelpers[l]?o=!0:c.knownHelpersOnly&&(a=!1)}return o?"helper":a?"ambiguous":"simple"},pushParams:function i(e){for(var r=0,s=e.length;r<s;r++)this.pushParam(e[r])},pushParam:function i(e){var r=e.value!=null?e.value:e.original||"";if(this.stringParams)r.replace&&(r=r.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",r,e.type),e.type==="SubExpression"&&this.accept(e);else{if(this.trackIds){var s=void 0;if(e.parts&&!_ast2.default.helpers.scopedId(e)&&!e.depth&&(s=this.blockParamIndex(e.parts[0])),s){var o=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",s,o)}else r=e.original||r,r.replace&&(r=r.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,r)}this.accept(e)}},setupFullMustacheParams:function i(e,r,s,o){var a=e.params;return this.pushParams(a),this.opcode("pushProgram",r),this.opcode("pushProgram",s),e.hash?this.accept(e.hash):this.opcode("emptyHash",o),a},blockParamIndex:function i(e){for(var r=0,s=this.options.blockParams.length;r<s;r++){var o=this.options.blockParams[r],a=o&&_utils.indexOf(o,e);if(o&&a>=0)return[r,a]}}};function precompile(i,e,r){if(i==null||typeof i!="string"&&i.type!=="Program")throw new _exception2.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+i);e=e||{},"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var s=r.parse(i,e),o=new r.Compiler().compile(s,e);return new r.JavaScriptCompiler().compile(o,e)}function compile(i,e,r){if(e===void 0&&(e={}),i==null||typeof i!="string"&&i.type!=="Program")throw new _exception2.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+i);e=_utils.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var s=void 0;function o(){var l=r.parse(i,e),c=new r.Compiler().compile(l,e),u=new r.JavaScriptCompiler().compile(c,e,void 0,!0);return r.template(u)}function a(l,c){return s||(s=o()),s.call(this,l,c)}return a._setup=function(l){return s||(s=o()),s._setup(l)},a._child=function(l,c,u,d){return s||(s=o()),s._child(l,c,u,d)},a}function argEquals(i,e){if(i===e)return!0;if(_utils.isArray(i)&&_utils.isArray(e)&&i.length===e.length){for(var r=0;r<i.length;r++)if(!argEquals(i[r],e[r]))return!1;return!0}}function transformLiteralToPath(i){if(!i.path.parts){var e=i.path;i.path={type:"PathExpression",data:!1,depth:0,parts:[e.original+""],original:e.original+"",loc:e.loc}}}var javascriptCompilerExports={},javascriptCompiler={get exports(){return javascriptCompilerExports},set exports(i){javascriptCompilerExports=i}},codeGenExports={},codeGen={get exports(){return codeGenExports},set exports(i){codeGenExports=i}},sourceMap={},sourceMapGenerator={},base64Vlq={},base64$1={},hasRequiredBase64;function requireBase64(){if(hasRequiredBase64)return base64$1;hasRequiredBase64=1;var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return base64$1.encode=function(e){if(0<=e&&e<i.length)return i[e];throw new TypeError("Must be between 0 and 63: "+e)},base64$1.decode=function(e){var r=65,s=90,o=97,a=122,l=48,c=57,u=43,d=47,g=26,m=52;return r<=e&&e<=s?e-r:o<=e&&e<=a?e-o+g:l<=e&&e<=c?e-l+m:e==u?62:e==d?63:-1},base64$1}var hasRequiredBase64Vlq;function requireBase64Vlq(){if(hasRequiredBase64Vlq)return base64Vlq;hasRequiredBase64Vlq=1;var i=requireBase64(),e=5,r=1<<e,s=r-1,o=r;function a(c){return c<0?(-c<<1)+1:(c<<1)+0}function l(c){var u=(c&1)===1,d=c>>1;return u?-d:d}return base64Vlq.encode=function(u){var d="",g,m=a(u);do g=m&s,m>>>=e,m>0&&(g|=o),d+=i.encode(g);while(m>0);return d},base64Vlq.decode=function(u,d,g){var m=u.length,y=0,b=0,A,S;do{if(d>=m)throw new Error("Expected more digits in base 64 VLQ value.");if(S=i.decode(u.charCodeAt(d++)),S===-1)throw new Error("Invalid base64 digit: "+u.charAt(d-1));A=!!(S&o),S&=s,y=y+(S<<b),b+=e}while(A);g.value=l(y),g.rest=d},base64Vlq}var util={},hasRequiredUtil;function requireUtil(){return hasRequiredUtil||(hasRequiredUtil=1,function(i){function e(T,k,I){if(k in T)return T[k];if(arguments.length===3)return I;throw new Error('"'+k+'" is a required argument.')}i.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,s=/^data:.+\,.+$/;function o(T){var k=T.match(r);return k?{scheme:k[1],auth:k[2],host:k[3],port:k[4],path:k[5]}:null}i.urlParse=o;function a(T){var k="";return T.scheme&&(k+=T.scheme+":"),k+="//",T.auth&&(k+=T.auth+"@"),T.host&&(k+=T.host),T.port&&(k+=":"+T.port),T.path&&(k+=T.path),k}i.urlGenerate=a;function l(T){var k=T,I=o(T);if(I){if(!I.path)return T;k=I.path}for(var M=i.isAbsolute(k),R=k.split(/\/+/),B,_=0,V=R.length-1;V>=0;V--)B=R[V],B==="."?R.splice(V,1):B===".."?_++:_>0&&(B===""?(R.splice(V+1,_),_=0):(R.splice(V,2),_--));return k=R.join("/"),k===""&&(k=M?"/":"."),I?(I.path=k,a(I)):k}i.normalize=l;function c(T,k){T===""&&(T="."),k===""&&(k=".");var I=o(k),M=o(T);if(M&&(T=M.path||"/"),I&&!I.scheme)return M&&(I.scheme=M.scheme),a(I);if(I||k.match(s))return k;if(M&&!M.host&&!M.path)return M.host=k,a(M);var R=k.charAt(0)==="/"?k:l(T.replace(/\/+$/,"")+"/"+k);return M?(M.path=R,a(M)):R}i.join=c,i.isAbsolute=function(T){return T.charAt(0)==="/"||r.test(T)};function u(T,k){T===""&&(T="."),T=T.replace(/\/$/,"");for(var I=0;k.indexOf(T+"/")!==0;){var M=T.lastIndexOf("/");if(M<0||(T=T.slice(0,M),T.match(/^([^\/]+:\/)?\/*$/)))return k;++I}return Array(I+1).join("../")+k.substr(T.length+1)}i.relative=u;var d=function(){var T=Object.create(null);return!("__proto__"in T)}();function g(T){return T}function m(T){return b(T)?"$"+T:T}i.toSetString=d?g:m;function y(T){return b(T)?T.slice(1):T}i.fromSetString=d?g:y;function b(T){if(!T)return!1;var k=T.length;if(k<9||T.charCodeAt(k-1)!==95||T.charCodeAt(k-2)!==95||T.charCodeAt(k-3)!==111||T.charCodeAt(k-4)!==116||T.charCodeAt(k-5)!==111||T.charCodeAt(k-6)!==114||T.charCodeAt(k-7)!==112||T.charCodeAt(k-8)!==95||T.charCodeAt(k-9)!==95)return!1;for(var I=k-10;I>=0;I--)if(T.charCodeAt(I)!==36)return!1;return!0}function A(T,k,I){var M=E(T.source,k.source);return M!==0||(M=T.originalLine-k.originalLine,M!==0)||(M=T.originalColumn-k.originalColumn,M!==0||I)||(M=T.generatedColumn-k.generatedColumn,M!==0)||(M=T.generatedLine-k.generatedLine,M!==0)?M:E(T.name,k.name)}i.compareByOriginalPositions=A;function S(T,k,I){var M=T.generatedLine-k.generatedLine;return M!==0||(M=T.generatedColumn-k.generatedColumn,M!==0||I)||(M=E(T.source,k.source),M!==0)||(M=T.originalLine-k.originalLine,M!==0)||(M=T.originalColumn-k.originalColumn,M!==0)?M:E(T.name,k.name)}i.compareByGeneratedPositionsDeflated=S;function E(T,k){return T===k?0:T===null?1:k===null?-1:T>k?1:-1}function x(T,k){var I=T.generatedLine-k.generatedLine;return I!==0||(I=T.generatedColumn-k.generatedColumn,I!==0)||(I=E(T.source,k.source),I!==0)||(I=T.originalLine-k.originalLine,I!==0)||(I=T.originalColumn-k.originalColumn,I!==0)?I:E(T.name,k.name)}i.compareByGeneratedPositionsInflated=x;function P(T){return JSON.parse(T.replace(/^\)]}'[^\n]*\n/,""))}i.parseSourceMapInput=P;function C(T,k,I){if(k=k||"",T&&(T[T.length-1]!=="/"&&k[0]!=="/"&&(T+="/"),k=T+k),I){var M=o(I);if(!M)throw new Error("sourceMapURL could not be parsed");if(M.path){var R=M.path.lastIndexOf("/");R>=0&&(M.path=M.path.substring(0,R+1))}k=c(a(M),k)}return l(k)}i.computeSourceURL=C}(util)),util}var arraySet={},hasRequiredArraySet;function requireArraySet(){if(hasRequiredArraySet)return arraySet;hasRequiredArraySet=1;var i=requireUtil(),e=Object.prototype.hasOwnProperty,r=typeof Map<"u";function s(){this._array=[],this._set=r?new Map:Object.create(null)}return s.fromArray=function(a,l){for(var c=new s,u=0,d=a.length;u<d;u++)c.add(a[u],l);return c},s.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},s.prototype.add=function(a,l){var c=r?a:i.toSetString(a),u=r?this.has(a):e.call(this._set,c),d=this._array.length;(!u||l)&&this._array.push(a),u||(r?this._set.set(a,d):this._set[c]=d)},s.prototype.has=function(a){if(r)return this._set.has(a);var l=i.toSetString(a);return e.call(this._set,l)},s.prototype.indexOf=function(a){if(r){var l=this._set.get(a);if(l>=0)return l}else{var c=i.toSetString(a);if(e.call(this._set,c))return this._set[c]}throw new Error('"'+a+'" is not in the set.')},s.prototype.at=function(a){if(a>=0&&a<this._array.length)return this._array[a];throw new Error("No element indexed by "+a)},s.prototype.toArray=function(){return this._array.slice()},arraySet.ArraySet=s,arraySet}var mappingList={},hasRequiredMappingList;function requireMappingList(){if(hasRequiredMappingList)return mappingList;hasRequiredMappingList=1;var i=requireUtil();function e(s,o){var a=s.generatedLine,l=o.generatedLine,c=s.generatedColumn,u=o.generatedColumn;return l>a||l==a&&u>=c||i.compareByGeneratedPositionsInflated(s,o)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(o,a){this._array.forEach(o,a)},r.prototype.add=function(o){e(this._last,o)?(this._last=o,this._array.push(o)):(this._sorted=!1,this._array.push(o))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(i.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},mappingList.MappingList=r,mappingList}var hasRequiredSourceMapGenerator;function requireSourceMapGenerator(){if(hasRequiredSourceMapGenerator)return sourceMapGenerator;hasRequiredSourceMapGenerator=1;var i=requireBase64Vlq(),e=requireUtil(),r=requireArraySet().ArraySet,s=requireMappingList().MappingList;function o(a){a||(a={}),this._file=e.getArg(a,"file",null),this._sourceRoot=e.getArg(a,"sourceRoot",null),this._skipValidation=e.getArg(a,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new s,this._sourcesContents=null}return o.prototype._version=3,o.fromSourceMap=function(l){var c=l.sourceRoot,u=new o({file:l.file,sourceRoot:c});return l.eachMapping(function(d){var g={generated:{line:d.generatedLine,column:d.generatedColumn}};d.source!=null&&(g.source=d.source,c!=null&&(g.source=e.relative(c,g.source)),g.original={line:d.originalLine,column:d.originalColumn},d.name!=null&&(g.name=d.name)),u.addMapping(g)}),l.sources.forEach(function(d){var g=d;c!==null&&(g=e.relative(c,d)),u._sources.has(g)||u._sources.add(g);var m=l.sourceContentFor(d);m!=null&&u.setSourceContent(d,m)}),u},o.prototype.addMapping=function(l){var c=e.getArg(l,"generated"),u=e.getArg(l,"original",null),d=e.getArg(l,"source",null),g=e.getArg(l,"name",null);this._skipValidation||this._validateMapping(c,u,d,g),d!=null&&(d=String(d),this._sources.has(d)||this._sources.add(d)),g!=null&&(g=String(g),this._names.has(g)||this._names.add(g)),this._mappings.add({generatedLine:c.line,generatedColumn:c.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:d,name:g})},o.prototype.setSourceContent=function(l,c){var u=l;this._sourceRoot!=null&&(u=e.relative(this._sourceRoot,u)),c!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[e.toSetString(u)]=c):this._sourcesContents&&(delete this._sourcesContents[e.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(l,c,u){var d=c;if(c==null){if(l.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);d=l.file}var g=this._sourceRoot;g!=null&&(d=e.relative(g,d));var m=new r,y=new r;this._mappings.unsortedForEach(function(b){if(b.source===d&&b.originalLine!=null){var A=l.originalPositionFor({line:b.originalLine,column:b.originalColumn});A.source!=null&&(b.source=A.source,u!=null&&(b.source=e.join(u,b.source)),g!=null&&(b.source=e.relative(g,b.source)),b.originalLine=A.line,b.originalColumn=A.column,A.name!=null&&(b.name=A.name))}var S=b.source;S!=null&&!m.has(S)&&m.add(S);var E=b.name;E!=null&&!y.has(E)&&y.add(E)},this),this._sources=m,this._names=y,l.sources.forEach(function(b){var A=l.sourceContentFor(b);A!=null&&(u!=null&&(b=e.join(u,b)),g!=null&&(b=e.relative(g,b)),this.setSourceContent(b,A))},this)},o.prototype._validateMapping=function(l,c,u,d){if(c&&typeof c.line!="number"&&typeof c.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(l&&"line"in l&&"column"in l&&l.line>0&&l.column>=0&&!c&&!u&&!d)){if(l&&"line"in l&&"column"in l&&c&&"line"in c&&"column"in c&&l.line>0&&l.column>=0&&c.line>0&&c.column>=0&&u)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:l,source:u,original:c,name:d}))}},o.prototype._serializeMappings=function(){for(var l=0,c=1,u=0,d=0,g=0,m=0,y="",b,A,S,E,x=this._mappings.toArray(),P=0,C=x.length;P<C;P++){if(A=x[P],b="",A.generatedLine!==c)for(l=0;A.generatedLine!==c;)b+=";",c++;else if(P>0){if(!e.compareByGeneratedPositionsInflated(A,x[P-1]))continue;b+=","}b+=i.encode(A.generatedColumn-l),l=A.generatedColumn,A.source!=null&&(E=this._sources.indexOf(A.source),b+=i.encode(E-m),m=E,b+=i.encode(A.originalLine-1-d),d=A.originalLine-1,b+=i.encode(A.originalColumn-u),u=A.originalColumn,A.name!=null&&(S=this._names.indexOf(A.name),b+=i.encode(S-g),g=S)),y+=b}return y},o.prototype._generateSourcesContent=function(l,c){return l.map(function(u){if(!this._sourcesContents)return null;c!=null&&(u=e.relative(c,u));var d=e.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,d)?this._sourcesContents[d]:null},this)},o.prototype.toJSON=function(){var l={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(l.file=this._file),this._sourceRoot!=null&&(l.sourceRoot=this._sourceRoot),this._sourcesContents&&(l.sourcesContent=this._generateSourcesContent(l.sources,l.sourceRoot)),l},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},sourceMapGenerator.SourceMapGenerator=o,sourceMapGenerator}var sourceMapConsumer={},binarySearch={},hasRequiredBinarySearch;function requireBinarySearch(){return hasRequiredBinarySearch||(hasRequiredBinarySearch=1,function(i){i.GREATEST_LOWER_BOUND=1,i.LEAST_UPPER_BOUND=2;function e(r,s,o,a,l,c){var u=Math.floor((s-r)/2)+r,d=l(o,a[u],!0);return d===0?u:d>0?s-u>1?e(u,s,o,a,l,c):c==i.LEAST_UPPER_BOUND?s<a.length?s:-1:u:u-r>1?e(r,u,o,a,l,c):c==i.LEAST_UPPER_BOUND?u:r<0?-1:r}i.search=function(s,o,a,l){if(o.length===0)return-1;var c=e(-1,o.length,s,o,a,l||i.GREATEST_LOWER_BOUND);if(c<0)return-1;for(;c-1>=0&&a(o[c],o[c-1],!0)===0;)--c;return c}}(binarySearch)),binarySearch}var quickSort={},hasRequiredQuickSort;function requireQuickSort(){if(hasRequiredQuickSort)return quickSort;hasRequiredQuickSort=1;function i(s,o,a){var l=s[o];s[o]=s[a],s[a]=l}function e(s,o){return Math.round(s+Math.random()*(o-s))}function r(s,o,a,l){if(a<l){var c=e(a,l),u=a-1;i(s,c,l);for(var d=s[l],g=a;g<l;g++)o(s[g],d)<=0&&(u+=1,i(s,u,g));i(s,u+1,g);var m=u+1;r(s,o,a,m-1),r(s,o,m+1,l)}}return quickSort.quickSort=function(s,o){r(s,o,0,s.length-1)},quickSort}var hasRequiredSourceMapConsumer;function requireSourceMapConsumer(){if(hasRequiredSourceMapConsumer)return sourceMapConsumer;hasRequiredSourceMapConsumer=1;var i=requireUtil(),e=requireBinarySearch(),r=requireArraySet().ArraySet,s=requireBase64Vlq(),o=requireQuickSort().quickSort;function a(d,g){var m=d;return typeof d=="string"&&(m=i.parseSourceMapInput(d)),m.sections!=null?new u(m,g):new l(m,g)}a.fromSourceMap=function(d,g){return l.fromSourceMap(d,g)},a.prototype._version=3,a.prototype.__generatedMappings=null,Object.defineProperty(a.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),a.prototype.__originalMappings=null,Object.defineProperty(a.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),a.prototype._charIsMappingSeparator=function(g,m){var y=g.charAt(m);return y===";"||y===","},a.prototype._parseMappings=function(g,m){throw new Error("Subclasses must implement _parseMappings")},a.GENERATED_ORDER=1,a.ORIGINAL_ORDER=2,a.GREATEST_LOWER_BOUND=1,a.LEAST_UPPER_BOUND=2,a.prototype.eachMapping=function(g,m,y){var b=m||null,A=y||a.GENERATED_ORDER,S;switch(A){case a.GENERATED_ORDER:S=this._generatedMappings;break;case a.ORIGINAL_ORDER:S=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var E=this.sourceRoot;S.map(function(x){var P=x.source===null?null:this._sources.at(x.source);return P=i.computeSourceURL(E,P,this._sourceMapURL),{source:P,generatedLine:x.generatedLine,generatedColumn:x.generatedColumn,originalLine:x.originalLine,originalColumn:x.originalColumn,name:x.name===null?null:this._names.at(x.name)}},this).forEach(g,b)},a.prototype.allGeneratedPositionsFor=function(g){var m=i.getArg(g,"line"),y={source:i.getArg(g,"source"),originalLine:m,originalColumn:i.getArg(g,"column",0)};if(y.source=this._findSourceIndex(y.source),y.source<0)return[];var b=[],A=this._findMapping(y,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions,e.LEAST_UPPER_BOUND);if(A>=0){var S=this._originalMappings[A];if(g.column===void 0)for(var E=S.originalLine;S&&S.originalLine===E;)b.push({line:i.getArg(S,"generatedLine",null),column:i.getArg(S,"generatedColumn",null),lastColumn:i.getArg(S,"lastGeneratedColumn",null)}),S=this._originalMappings[++A];else for(var x=S.originalColumn;S&&S.originalLine===m&&S.originalColumn==x;)b.push({line:i.getArg(S,"generatedLine",null),column:i.getArg(S,"generatedColumn",null),lastColumn:i.getArg(S,"lastGeneratedColumn",null)}),S=this._originalMappings[++A]}return b},sourceMapConsumer.SourceMapConsumer=a;function l(d,g){var m=d;typeof d=="string"&&(m=i.parseSourceMapInput(d));var y=i.getArg(m,"version"),b=i.getArg(m,"sources"),A=i.getArg(m,"names",[]),S=i.getArg(m,"sourceRoot",null),E=i.getArg(m,"sourcesContent",null),x=i.getArg(m,"mappings"),P=i.getArg(m,"file",null);if(y!=this._version)throw new Error("Unsupported version: "+y);S&&(S=i.normalize(S)),b=b.map(String).map(i.normalize).map(function(C){return S&&i.isAbsolute(S)&&i.isAbsolute(C)?i.relative(S,C):C}),this._names=r.fromArray(A.map(String),!0),this._sources=r.fromArray(b,!0),this._absoluteSources=this._sources.toArray().map(function(C){return i.computeSourceURL(S,C,g)}),this.sourceRoot=S,this.sourcesContent=E,this._mappings=x,this._sourceMapURL=g,this.file=P}l.prototype=Object.create(a.prototype),l.prototype.consumer=a,l.prototype._findSourceIndex=function(d){var g=d;if(this.sourceRoot!=null&&(g=i.relative(this.sourceRoot,g)),this._sources.has(g))return this._sources.indexOf(g);var m;for(m=0;m<this._absoluteSources.length;++m)if(this._absoluteSources[m]==d)return m;return-1},l.fromSourceMap=function(g,m){var y=Object.create(l.prototype),b=y._names=r.fromArray(g._names.toArray(),!0),A=y._sources=r.fromArray(g._sources.toArray(),!0);y.sourceRoot=g._sourceRoot,y.sourcesContent=g._generateSourcesContent(y._sources.toArray(),y.sourceRoot),y.file=g._file,y._sourceMapURL=m,y._absoluteSources=y._sources.toArray().map(function(I){return i.computeSourceURL(y.sourceRoot,I,m)});for(var S=g._mappings.toArray().slice(),E=y.__generatedMappings=[],x=y.__originalMappings=[],P=0,C=S.length;P<C;P++){var T=S[P],k=new c;k.generatedLine=T.generatedLine,k.generatedColumn=T.generatedColumn,T.source&&(k.source=A.indexOf(T.source),k.originalLine=T.originalLine,k.originalColumn=T.originalColumn,T.name&&(k.name=b.indexOf(T.name)),x.push(k)),E.push(k)}return o(y.__originalMappings,i.compareByOriginalPositions),y},l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function c(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}l.prototype._parseMappings=function(g,m){for(var y=1,b=0,A=0,S=0,E=0,x=0,P=g.length,C=0,T={},k={},I=[],M=[],R,B,_,V,D;C<P;)if(g.charAt(C)===";")y++,C++,b=0;else if(g.charAt(C)===",")C++;else{for(R=new c,R.generatedLine=y,V=C;V<P&&!this._charIsMappingSeparator(g,V);V++);if(B=g.slice(C,V),_=T[B],_)C+=B.length;else{for(_=[];C<V;)s.decode(g,C,k),D=k.value,C=k.rest,_.push(D);if(_.length===2)throw new Error("Found a source, but no line and column");if(_.length===3)throw new Error("Found a source and line, but no column");T[B]=_}R.generatedColumn=b+_[0],b=R.generatedColumn,_.length>1&&(R.source=E+_[1],E+=_[1],R.originalLine=A+_[2],A=R.originalLine,R.originalLine+=1,R.originalColumn=S+_[3],S=R.originalColumn,_.length>4&&(R.name=x+_[4],x+=_[4])),M.push(R),typeof R.originalLine=="number"&&I.push(R)}o(M,i.compareByGeneratedPositionsDeflated),this.__generatedMappings=M,o(I,i.compareByOriginalPositions),this.__originalMappings=I},l.prototype._findMapping=function(g,m,y,b,A,S){if(g[y]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+g[y]);if(g[b]<0)throw new TypeError("Column must be greater than or equal to 0, got "+g[b]);return e.search(g,m,A,S)},l.prototype.computeColumnSpans=function(){for(var g=0;g<this._generatedMappings.length;++g){var m=this._generatedMappings[g];if(g+1<this._generatedMappings.length){var y=this._generatedMappings[g+1];if(m.generatedLine===y.generatedLine){m.lastGeneratedColumn=y.generatedColumn-1;continue}}m.lastGeneratedColumn=1/0}},l.prototype.originalPositionFor=function(g){var m={generatedLine:i.getArg(g,"line"),generatedColumn:i.getArg(g,"column")},y=this._findMapping(m,this._generatedMappings,"generatedLine","generatedColumn",i.compareByGeneratedPositionsDeflated,i.getArg(g,"bias",a.GREATEST_LOWER_BOUND));if(y>=0){var b=this._generatedMappings[y];if(b.generatedLine===m.generatedLine){var A=i.getArg(b,"source",null);A!==null&&(A=this._sources.at(A),A=i.computeSourceURL(this.sourceRoot,A,this._sourceMapURL));var S=i.getArg(b,"name",null);return S!==null&&(S=this._names.at(S)),{source:A,line:i.getArg(b,"originalLine",null),column:i.getArg(b,"originalColumn",null),name:S}}}return{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(g){return g==null}):!1},l.prototype.sourceContentFor=function(g,m){if(!this.sourcesContent)return null;var y=this._findSourceIndex(g);if(y>=0)return this.sourcesContent[y];var b=g;this.sourceRoot!=null&&(b=i.relative(this.sourceRoot,b));var A;if(this.sourceRoot!=null&&(A=i.urlParse(this.sourceRoot))){var S=b.replace(/^file:\/\//,"");if(A.scheme=="file"&&this._sources.has(S))return this.sourcesContent[this._sources.indexOf(S)];if((!A.path||A.path=="/")&&this._sources.has("/"+b))return this.sourcesContent[this._sources.indexOf("/"+b)]}if(m)return null;throw new Error('"'+b+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(g){var m=i.getArg(g,"source");if(m=this._findSourceIndex(m),m<0)return{line:null,column:null,lastColumn:null};var y={source:m,originalLine:i.getArg(g,"line"),originalColumn:i.getArg(g,"column")},b=this._findMapping(y,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions,i.getArg(g,"bias",a.GREATEST_LOWER_BOUND));if(b>=0){var A=this._originalMappings[b];if(A.source===y.source)return{line:i.getArg(A,"generatedLine",null),column:i.getArg(A,"generatedColumn",null),lastColumn:i.getArg(A,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},sourceMapConsumer.BasicSourceMapConsumer=l;function u(d,g){var m=d;typeof d=="string"&&(m=i.parseSourceMapInput(d));var y=i.getArg(m,"version"),b=i.getArg(m,"sections");if(y!=this._version)throw new Error("Unsupported version: "+y);this._sources=new r,this._names=new r;var A={line:-1,column:0};this._sections=b.map(function(S){if(S.url)throw new Error("Support for url field in sections not implemented.");var E=i.getArg(S,"offset"),x=i.getArg(E,"line"),P=i.getArg(E,"column");if(x<A.line||x===A.line&&P<A.column)throw new Error("Section offsets must be ordered and non-overlapping.");return A=E,{generatedOffset:{generatedLine:x+1,generatedColumn:P+1},consumer:new a(i.getArg(S,"map"),g)}})}return u.prototype=Object.create(a.prototype),u.prototype.constructor=a,u.prototype._version=3,Object.defineProperty(u.prototype,"sources",{get:function(){for(var d=[],g=0;g<this._sections.length;g++)for(var m=0;m<this._sections[g].consumer.sources.length;m++)d.push(this._sections[g].consumer.sources[m]);return d}}),u.prototype.originalPositionFor=function(g){var m={generatedLine:i.getArg(g,"line"),generatedColumn:i.getArg(g,"column")},y=e.search(m,this._sections,function(A,S){var E=A.generatedLine-S.generatedOffset.generatedLine;return E||A.generatedColumn-S.generatedOffset.generatedColumn}),b=this._sections[y];return b?b.consumer.originalPositionFor({line:m.generatedLine-(b.generatedOffset.generatedLine-1),column:m.generatedColumn-(b.generatedOffset.generatedLine===m.generatedLine?b.generatedOffset.generatedColumn-1:0),bias:g.bias}):{source:null,line:null,column:null,name:null}},u.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(g){return g.consumer.hasContentsOfAllSources()})},u.prototype.sourceContentFor=function(g,m){for(var y=0;y<this._sections.length;y++){var b=this._sections[y],A=b.consumer.sourceContentFor(g,!0);if(A)return A}if(m)return null;throw new Error('"'+g+'" is not in the SourceMap.')},u.prototype.generatedPositionFor=function(g){for(var m=0;m<this._sections.length;m++){var y=this._sections[m];if(y.consumer._findSourceIndex(i.getArg(g,"source"))!==-1){var b=y.consumer.generatedPositionFor(g);if(b){var A={line:b.line+(y.generatedOffset.generatedLine-1),column:b.column+(y.generatedOffset.generatedLine===b.line?y.generatedOffset.generatedColumn-1:0)};return A}}}return{line:null,column:null}},u.prototype._parseMappings=function(g,m){this.__generatedMappings=[],this.__originalMappings=[];for(var y=0;y<this._sections.length;y++)for(var b=this._sections[y],A=b.consumer._generatedMappings,S=0;S<A.length;S++){var E=A[S],x=b.consumer._sources.at(E.source);x=i.computeSourceURL(b.consumer.sourceRoot,x,this._sourceMapURL),this._sources.add(x),x=this._sources.indexOf(x);var P=null;E.name&&(P=b.consumer._names.at(E.name),this._names.add(P),P=this._names.indexOf(P));var C={source:x,generatedLine:E.generatedLine+(b.generatedOffset.generatedLine-1),generatedColumn:E.generatedColumn+(b.generatedOffset.generatedLine===E.generatedLine?b.generatedOffset.generatedColumn-1:0),originalLine:E.originalLine,originalColumn:E.originalColumn,name:P};this.__generatedMappings.push(C),typeof C.originalLine=="number"&&this.__originalMappings.push(C)}o(this.__generatedMappings,i.compareByGeneratedPositionsDeflated),o(this.__originalMappings,i.compareByOriginalPositions)},sourceMapConsumer.IndexedSourceMapConsumer=u,sourceMapConsumer}var sourceNode={},hasRequiredSourceNode;function requireSourceNode(){if(hasRequiredSourceNode)return sourceNode;hasRequiredSourceNode=1;var i=requireSourceMapGenerator().SourceMapGenerator,e=requireUtil(),r=/(\r?\n)/,s=10,o="$$$isSourceNode$$$";function a(l,c,u,d,g){this.children=[],this.sourceContents={},this.line=l==null?null:l,this.column=c==null?null:c,this.source=u==null?null:u,this.name=g==null?null:g,this[o]=!0,d!=null&&this.add(d)}return a.fromStringWithSourceMap=function(c,u,d){var g=new a,m=c.split(r),y=0,b=function(){var P=T(),C=T()||"";return P+C;function T(){return y<m.length?m[y++]:void 0}},A=1,S=0,E=null;return u.eachMapping(function(P){if(E!==null)if(A<P.generatedLine)x(E,b()),A++,S=0;else{var C=m[y]||"",T=C.substr(0,P.generatedColumn-S);m[y]=C.substr(P.generatedColumn-S),S=P.generatedColumn,x(E,T),E=P;return}for(;A<P.generatedLine;)g.add(b()),A++;if(S<P.generatedColumn){var C=m[y]||"";g.add(C.substr(0,P.generatedColumn)),m[y]=C.substr(P.generatedColumn),S=P.generatedColumn}E=P},this),y<m.length&&(E&&x(E,b()),g.add(m.splice(y).join(""))),u.sources.forEach(function(P){var C=u.sourceContentFor(P);C!=null&&(d!=null&&(P=e.join(d,P)),g.setSourceContent(P,C))}),g;function x(P,C){if(P===null||P.source===void 0)g.add(C);else{var T=d?e.join(d,P.source):P.source;g.add(new a(P.originalLine,P.originalColumn,T,C,P.name))}}},a.prototype.add=function(c){if(Array.isArray(c))c.forEach(function(u){this.add(u)},this);else if(c[o]||typeof c=="string")c&&this.children.push(c);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+c);return this},a.prototype.prepend=function(c){if(Array.isArray(c))for(var u=c.length-1;u>=0;u--)this.prepend(c[u]);else if(c[o]||typeof c=="string")this.children.unshift(c);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+c);return this},a.prototype.walk=function(c){for(var u,d=0,g=this.children.length;d<g;d++)u=this.children[d],u[o]?u.walk(c):u!==""&&c(u,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(c){var u,d,g=this.children.length;if(g>0){for(u=[],d=0;d<g-1;d++)u.push(this.children[d]),u.push(c);u.push(this.children[d]),this.children=u}return this},a.prototype.replaceRight=function(c,u){var d=this.children[this.children.length-1];return d[o]?d.replaceRight(c,u):typeof d=="string"?this.children[this.children.length-1]=d.replace(c,u):this.children.push("".replace(c,u)),this},a.prototype.setSourceContent=function(c,u){this.sourceContents[e.toSetString(c)]=u},a.prototype.walkSourceContents=function(c){for(var u=0,d=this.children.length;u<d;u++)this.children[u][o]&&this.children[u].walkSourceContents(c);for(var g=Object.keys(this.sourceContents),u=0,d=g.length;u<d;u++)c(e.fromSetString(g[u]),this.sourceContents[g[u]])},a.prototype.toString=function(){var c="";return this.walk(function(u){c+=u}),c},a.prototype.toStringWithSourceMap=function(c){var u={code:"",line:1,column:0},d=new i(c),g=!1,m=null,y=null,b=null,A=null;return this.walk(function(S,E){u.code+=S,E.source!==null&&E.line!==null&&E.column!==null?((m!==E.source||y!==E.line||b!==E.column||A!==E.name)&&d.addMapping({source:E.source,original:{line:E.line,column:E.column},generated:{line:u.line,column:u.column},name:E.name}),m=E.source,y=E.line,b=E.column,A=E.name,g=!0):g&&(d.addMapping({generated:{line:u.line,column:u.column}}),m=null,g=!1);for(var x=0,P=S.length;x<P;x++)S.charCodeAt(x)===s?(u.line++,u.column=0,x+1===P?(m=null,g=!1):g&&d.addMapping({source:E.source,original:{line:E.line,column:E.column},generated:{line:u.line,column:u.column},name:E.name})):u.column++}),this.walkSourceContents(function(S,E){d.setSourceContent(S,E)}),{code:u.code,map:d}},sourceNode.SourceNode=a,sourceNode}var hasRequiredSourceMap;function requireSourceMap(){return hasRequiredSourceMap||(hasRequiredSourceMap=1,sourceMap.SourceMapGenerator=requireSourceMapGenerator().SourceMapGenerator,sourceMap.SourceMapConsumer=requireSourceMapConsumer().SourceMapConsumer,sourceMap.SourceNode=requireSourceNode().SourceNode),sourceMap}(function(i,e){e.__esModule=!0;var r=utils,s=void 0;try{var o=requireSourceMap();s=o.SourceNode}catch(c){}s||(s=function(c,u,d,g){this.src="",g&&this.add(g)},s.prototype={add:function(u){r.isArray(u)&&(u=u.join("")),this.src+=u},prepend:function(u){r.isArray(u)&&(u=u.join("")),this.src=u+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function a(c,u,d){if(r.isArray(c)){for(var g=[],m=0,y=c.length;m<y;m++)g.push(u.wrap(c[m],d));return g}else if(typeof c=="boolean"||typeof c=="number")return c+"";return c}function l(c){this.srcFile=c,this.source=[]}l.prototype={isEmpty:function(){return!this.source.length},prepend:function(u,d){this.source.unshift(this.wrap(u,d))},push:function(u,d){this.source.push(this.wrap(u,d))},merge:function(){var u=this.empty();return this.each(function(d){u.add([" ",d,`
  97. `])}),u},each:function(u){for(var d=0,g=this.source.length;d<g;d++)u(this.source[d])},empty:function(){var u=this.currentLocation||{start:{}};return new s(u.start.line,u.start.column,this.srcFile)},wrap:function(u){var d=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return u instanceof s?u:(u=a(u,this,d),new s(d.start.line,d.start.column,this.srcFile,u))},functionCall:function(u,d,g){return g=this.generateList(g),this.wrap([u,d?"."+d+"(":"(",g,")"])},quotedString:function(u){return'"'+(u+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(u){var d=this,g=[];Object.keys(u).forEach(function(y){var b=a(u[y],d);b!=="undefined"&&g.push([d.quotedString(y),":",b])});var m=this.generateList(g);return m.prepend("{"),m.add("}"),m},generateList:function(u){for(var d=this.empty(),g=0,m=u.length;g<m;g++)g&&d.add(","),d.add(a(u[g],this));return d},generateArray:function(u){var d=this.generateList(u);return d.prepend("["),d.add("]"),d}},e.default=l,i.exports=e.default})(codeGen,codeGenExports);(function(i,e){e.__esModule=!0;function r(y){return y&&y.__esModule?y:{default:y}}var s=base$1,o=exceptionExports,a=r(o),l=utils,c=codeGenExports,u=r(c);function d(y){this.value=y}function g(){}g.prototype={nameLookup:function(b,A){return this.internalNameLookup(b,A)},depthedLookup:function(b){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(b),")"]},compilerInfo:function(){var b=s.COMPILER_REVISION,A=s.REVISION_CHANGES[b];return[b,A]},appendToBuffer:function(b,A,S){return l.isArray(b)||(b=[b]),b=this.source.wrap(b,A),this.environment.isSimple?["return ",b,";"]:S?["buffer += ",b,";"]:(b.appendToBuffer=!0,b)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(b,A){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",b,",",JSON.stringify(A),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(b,A,S,E){this.environment=b,this.options=A,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!E,this.name=this.environment.name,this.isChild=!!S,this.context=S||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(b,A),this.useDepths=this.useDepths||b.useDepths||b.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||b.useBlockParams;var x=b.opcodes,P=void 0,C=void 0,T=void 0,k=void 0;for(T=0,k=x.length;T<k;T++)P=x[T],this.source.currentLocation=P.loc,C=C||P.loc,this[P.opcode].apply(this,P.args);if(this.source.currentLocation=C,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new a.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
  98. `]),this.decorators.push("return fn;"),E?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend(`function(fn, props, container, depth0, data, blockParams, depths) {
  99. `),this.decorators.push(`}
  100. `),this.decorators=this.decorators.merge()));var I=this.createFunctionContext(E);if(this.isChild)return I;var M={compiler:this.compilerInfo(),main:I};this.decorators&&(M.main_d=this.decorators,M.useDecorators=!0);var R=this.context,B=R.programs,_=R.decorators;for(T=0,k=B.length;T<k;T++)B[T]&&(M[T]=B[T],_[T]&&(M[T+"_d"]=_[T],M.useDecorators=!0));return this.environment.usePartial&&(M.usePartial=!0),this.options.data&&(M.useData=!0),this.useDepths&&(M.useDepths=!0),this.useBlockParams&&(M.useBlockParams=!0),this.options.compat&&(M.compat=!0),E?M.compilerOptions=this.options:(M.compiler=JSON.stringify(M.compiler),this.source.currentLocation={start:{line:1,column:0}},M=this.objectLiteral(M),A.srcName?(M=M.toStringWithSourceMap({file:A.destName}),M.map=M.map&&M.map.toString()):M=M.toString()),M},preamble:function(){this.lastContext=0,this.source=new u.default(this.options.srcName),this.decorators=new u.default(this.options.srcName)},createFunctionContext:function(b){var A=this,S="",E=this.stackVars.concat(this.registers.list);E.length>0&&(S+=", "+E.join(", "));var x=0;Object.keys(this.aliases).forEach(function(T){var k=A.aliases[T];k.children&&k.referenceCount>1&&(S+=", alias"+ ++x+"="+T,k.children[0]="alias"+x)}),this.lookupPropertyFunctionIsUsed&&(S+=", "+this.lookupPropertyFunctionVarDeclaration());var P=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&P.push("blockParams"),this.useDepths&&P.push("depths");var C=this.mergeSource(S);return b?(P.push(C),Function.apply(this,P)):this.source.wrap(["function(",P.join(","),`) {
  101. `,C,"}"])},mergeSource:function(b){var A=this.environment.isSimple,S=!this.forceBuffer,E=void 0,x=void 0,P=void 0,C=void 0;return this.source.each(function(T){T.appendToBuffer?(P?T.prepend(" + "):P=T,C=T):(P&&(x?P.prepend("buffer += "):E=!0,C.add(";"),P=C=void 0),x=!0,A||(S=!1))}),S?P?(P.prepend("return "),C.add(";")):x||this.source.push('return "";'):(b+=", buffer = "+(E?"":this.initializeBuffer()),P?(P.prepend("return buffer + "),C.add(";")):this.source.push("return buffer;")),b&&this.source.prepend("var "+b.substring(2)+(E?"":`;
  102. `)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return`
  103. lookupProperty = container.lookupProperty || function(parent, propertyName) {
  104. if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
  105. return parent[propertyName];
  106. }
  107. return undefined
  108. }
  109. `.trim()},blockValue:function(b){var A=this.aliasable("container.hooks.blockHelperMissing"),S=[this.contextName(0)];this.setupHelperArgs(b,0,S);var E=this.popStack();S.splice(1,0,E),this.push(this.source.functionCall(A,"call",S))},ambiguousBlockValue:function(){var b=this.aliasable("container.hooks.blockHelperMissing"),A=[this.contextName(0)];this.setupHelperArgs("",0,A,!0),this.flushInline();var S=this.topStack();A.splice(1,0,S),this.pushSource(["if (!",this.lastHelper,") { ",S," = ",this.source.functionCall(b,"call",A),"}"])},appendContent:function(b){this.pendingContent?b=this.pendingContent+b:this.pendingLocation=this.source.currentLocation,this.pendingContent=b},append:function(){if(this.isInline())this.replaceStack(function(A){return[" != null ? ",A,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var b=this.popStack();this.pushSource(["if (",b," != null) { ",this.appendToBuffer(b,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(b){this.lastContext=b},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(b,A,S,E){var x=0;!E&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(b[x++])):this.pushContext(),this.resolvePath("context",b,x,A,S)},lookupBlockParam:function(b,A){this.useBlockParams=!0,this.push(["blockParams[",b[0],"][",b[1],"]"]),this.resolvePath("context",A,1)},lookupData:function(b,A,S){b?this.pushStackLiteral("container.data(data, "+b+")"):this.pushStackLiteral("data"),this.resolvePath("data",A,0,!0,S)},resolvePath:function(b,A,S,E,x){var P=this;if(this.options.strict||this.options.assumeObjects){this.push(m(this.options.strict&&x,this,A,S,b));return}for(var C=A.length;S<C;S++)this.replaceStack(function(T){var k=P.nameLookup(T,A[S],b);return E?[" && ",k]:[" != null ? ",k," : ",T]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(b,A){this.pushContext(),this.pushString(A),A!=="SubExpression"&&(typeof b=="string"?this.pushString(b):this.pushStackLiteral(b))},emptyHash:function(b){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(b?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var b=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(b.ids)),this.stringParams&&(this.push(this.objectLiteral(b.contexts)),this.push(this.objectLiteral(b.types))),this.push(this.objectLiteral(b.values))},pushString:function(b){this.pushStackLiteral(this.quotedString(b))},pushLiteral:function(b){this.pushStackLiteral(b)},pushProgram:function(b){b!=null?this.pushStackLiteral(this.programExpression(b)):this.pushStackLiteral(null)},registerDecorator:function(b,A){var S=this.nameLookup("decorators",A,"decorator"),E=this.setupHelperArgs(A,b);this.decorators.push(["fn = ",this.decorators.functionCall(S,"",["fn","props","container",E])," || fn;"])},invokeHelper:function(b,A,S){var E=this.popStack(),x=this.setupHelper(b,A),P=[];S&&P.push(x.name),P.push(E),this.options.strict||P.push(this.aliasable("container.hooks.helperMissing"));var C=["(",this.itemsSeparatedBy(P,"||"),")"],T=this.source.functionCall(C,"call",x.callParams);this.push(T)},itemsSeparatedBy:function(b,A){var S=[];S.push(b[0]);for(var E=1;E<b.length;E++)S.push(A,b[E]);return S},invokeKnownHelper:function(b,A){var S=this.setupHelper(b,A);this.push(this.source.functionCall(S.name,"call",S.callParams))},invokeAmbiguous:function(b,A){this.useRegister("helper");var S=this.popStack();this.emptyHash();var E=this.setupHelper(0,b,A),x=this.lastHelper=this.nameLookup("helpers",b,"helper"),P=["(","(helper = ",x," || ",S,")"];this.options.strict||(P[0]="(helper = ",P.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",P,E.paramsInit?["),(",E.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",E.callParams)," : helper))"])},invokePartial:function(b,A,S){var E=[],x=this.setupParams(A,1,E);b&&(A=this.popStack(),delete x.name),S&&(x.indent=JSON.stringify(S)),x.helpers="helpers",x.partials="partials",x.decorators="container.decorators",b?E.unshift(A):E.unshift(this.nameLookup("partials",A,"partial")),this.options.compat&&(x.depths="depths"),x=this.objectLiteral(x),E.push(x),this.push(this.source.functionCall("container.invokePartial","",E))},assignToHash:function(b){var A=this.popStack(),S=void 0,E=void 0,x=void 0;this.trackIds&&(x=this.popStack()),this.stringParams&&(E=this.popStack(),S=this.popStack());var P=this.hash;S&&(P.contexts[b]=S),E&&(P.types[b]=E),x&&(P.ids[b]=x),P.values[b]=A},pushId:function(b,A,S){b==="BlockParam"?this.pushStackLiteral("blockParams["+A[0]+"].path["+A[1]+"]"+(S?" + "+JSON.stringify("."+S):"")):b==="PathExpression"?this.pushString(A):b==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:g,compileChildren:function(b,A){for(var S=b.children,E=void 0,x=void 0,P=0,C=S.length;P<C;P++){E=S[P],x=new this.compiler;var T=this.matchExistingProgram(E);if(T==null){this.context.programs.push("");var k=this.context.programs.length;E.index=k,E.name="program"+k,this.context.programs[k]=x.compile(E,A,this.context,!this.precompile),this.context.decorators[k]=x.decorators,this.context.environments[k]=E,this.useDepths=this.useDepths||x.useDepths,this.useBlockParams=this.useBlockParams||x.useBlockParams,E.useDepths=this.useDepths,E.useBlockParams=this.useBlockParams}else E.index=T.index,E.name="program"+T.index,this.useDepths=this.useDepths||T.useDepths,this.useBlockParams=this.useBlockParams||T.useBlockParams}},matchExistingProgram:function(b){for(var A=0,S=this.context.environments.length;A<S;A++){var E=this.context.environments[A];if(E&&E.equals(b))return E}},programExpression:function(b){var A=this.environment.children[b],S=[A.index,"data",A.blockParams];return(this.useBlockParams||this.useDepths)&&S.push("blockParams"),this.useDepths&&S.push("depths"),"container.program("+S.join(", ")+")"},useRegister:function(b){this.registers[b]||(this.registers[b]=!0,this.registers.list.push(b))},push:function(b){return b instanceof d||(b=this.source.wrap(b)),this.inlineStack.push(b),b},pushStackLiteral:function(b){this.push(new d(b))},pushSource:function(b){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),b&&this.source.push(b)},replaceStack:function(b){var A=["("],S=void 0,E=void 0,x=void 0;if(!this.isInline())throw new a.default("replaceStack on non-inline");var P=this.popStack(!0);if(P instanceof d)S=[P.value],A=["(",S],x=!0;else{E=!0;var C=this.incrStack();A=["((",this.push(C)," = ",P,")"],S=this.topStack()}var T=b.call(this,S);x||this.popStack(),E&&this.stackSlot--,this.push(A.concat(T,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var b=this.inlineStack;this.inlineStack=[];for(var A=0,S=b.length;A<S;A++){var E=b[A];if(E instanceof d)this.compileStack.push(E);else{var x=this.incrStack();this.pushSource([x," = ",E,";"]),this.compileStack.push(x)}}},isInline:function(){return this.inlineStack.length},popStack:function(b){var A=this.isInline(),S=(A?this.inlineStack:this.compileStack).pop();if(!b&&S instanceof d)return S.value;if(!A){if(!this.stackSlot)throw new a.default("Invalid stack pop");this.stackSlot--}return S},topStack:function(){var b=this.isInline()?this.inlineStack:this.compileStack,A=b[b.length-1];return A instanceof d?A.value:A},contextName:function(b){return this.useDepths&&b?"depths["+b+"]":"depth"+b},quotedString:function(b){return this.source.quotedString(b)},objectLiteral:function(b){return this.source.objectLiteral(b)},aliasable:function(b){var A=this.aliases[b];return A?(A.referenceCount++,A):(A=this.aliases[b]=this.source.wrap(b),A.aliasable=!0,A.referenceCount=1,A)},setupHelper:function(b,A,S){var E=[],x=this.setupHelperArgs(A,b,E,S),P=this.nameLookup("helpers",A,"helper"),C=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:E,paramsInit:x,name:P,callParams:[C].concat(E)}},setupParams:function(b,A,S){var E={},x=[],P=[],C=[],T=!S,k=void 0;T&&(S=[]),E.name=this.quotedString(b),E.hash=this.popStack(),this.trackIds&&(E.hashIds=this.popStack()),this.stringParams&&(E.hashTypes=this.popStack(),E.hashContexts=this.popStack());var I=this.popStack(),M=this.popStack();(M||I)&&(E.fn=M||"container.noop",E.inverse=I||"container.noop");for(var R=A;R--;)k=this.popStack(),S[R]=k,this.trackIds&&(C[R]=this.popStack()),this.stringParams&&(P[R]=this.popStack(),x[R]=this.popStack());return T&&(E.args=this.source.generateArray(S)),this.trackIds&&(E.ids=this.source.generateArray(C)),this.stringParams&&(E.types=this.source.generateArray(P),E.contexts=this.source.generateArray(x)),this.options.data&&(E.data="data"),this.useBlockParams&&(E.blockParams="blockParams"),E},setupHelperArgs:function(b,A,S,E){var x=this.setupParams(b,A,S);return x.loc=JSON.stringify(this.source.currentLocation),x=this.objectLiteral(x),E?(this.useRegister("options"),S.push("options"),["options=",x]):S?(S.push(x),""):x}},function(){for(var y="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),b=g.RESERVED_WORDS={},A=0,S=y.length;A<S;A++)b[y[A]]=!0}(),g.isValidJavaScriptVariableName=function(y){return!g.RESERVED_WORDS[y]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(y)};function m(y,b,A,S,E){var x=b.popStack(),P=A.length;for(y&&P--;S<P;S++)x=b.nameLookup(x,A[S],E);return y?[b.aliasable("container.strict"),"(",x,", ",b.quotedString(A[S]),", ",JSON.stringify(b.source.currentLocation)," )"]:x}e.default=g,i.exports=e.default})(javascriptCompiler,javascriptCompilerExports);(function(i,e){e.__esModule=!0;function r(P){return P&&P.__esModule?P:{default:P}}var s=handlebars_runtimeExports,o=r(s),a=astExports,l=r(a),c=base,u=compiler,d=javascriptCompilerExports,g=r(d),m=visitorExports,y=r(m),b=noConflictExports,A=r(b),S=o.default.create;function E(){var P=S();return P.compile=function(C,T){return u.compile(C,T,P)},P.precompile=function(C,T){return u.precompile(C,T,P)},P.AST=l.default,P.Compiler=u.Compiler,P.JavaScriptCompiler=g.default,P.Parser=c.parser,P.parse=c.parse,P.parseWithoutProcessing=c.parseWithoutProcessing,P}var x=E();x.create=E,A.default(x),x.Visitor=y.default,x.default=x,e.default=x,i.exports=e.default})(handlebars,handlebarsExports);var libExports$2={},lib$2={get exports(){return libExports$2},set exports(i){libExports$2=i}},libExports$1={},lib$1={get exports(){return libExports$1},set exports(i){libExports$1=i}};function b64ToUint6(i){return i>64&&i<91?i-65:i>96&&i<123?i-71:i>47&&i<58?i+4:i===43?62:i===47?63:0}function decode(i,e){for(var r=i.replace(/[^A-Za-z0-9\+\/]/g,""),s=r.length,o=e?Math.ceil((s*3+1>>2)/e)*e:s*3+1>>2,a=new Uint8Array(o),l,c,u=0,d=0,g=0;g<s;g++)if(c=g&3,u|=b64ToUint6(r.charCodeAt(g))<<18-6*c,c===3||s-g===1){for(l=0;l<3&&d<o;l++,d++)a[d]=u>>>(16>>>l&24)&255;u=0}return a}var base64={decode},fetch$1=function(i,e){return new Promise(function(r,s){var o=new XMLHttpRequest;e&&(o.responseType=e),o.open("GET",i),o.onload=function(){o.status===200?r(o.response):s(Error(o.statusText))},o.onerror=function(){s(Error("Network Error"))},o.send()})};(function(i){var e=base64,r=fetch$1;function s(M){return function(R){return typeof R=="string"&&M.test(R)}}function o(M,R){return typeof M=="string"?M+R:typeof M=="function"?M(R):R}function a(M,R,B,_){var V=l(R)?c:u(R)?d:g(R)?m:y(R)?b:A(R)?S:E(R)?x:P(R)?C:T(R)?k:null,D=B||{};return V?V(M,R,D):_?Promise.resolve(_):Promise.reject("Source not valid ("+R+")")}a.fetch=r;function l(M){return M instanceof ArrayBuffer}function c(M,R,B){return new Promise(function(_,V){M.decodeAudioData(R,function(D){_(D)},function(){V("Can't decode audio data ("+R.slice(0,30)+"...)")})})}var u=s(/\.(mp3|wav|ogg)(\?.*)?$/i);function d(M,R,B){var _=o(B.from,R);return a(M,a.fetch(_,"arraybuffer"),B)}function g(M){return M&&typeof M.then=="function"}function m(M,R,B){return R.then(function(_){return a(M,_,B)})}var y=Array.isArray;function b(M,R,B){return Promise.all(R.map(function(_){return a(M,_,B,_)}))}function A(M){return M&&typeof M=="object"}function S(M,R,B){var _={},V=Object.keys(R).map(function(D){if(B.only&&B.only.indexOf(D)===-1)return null;var F=R[D];return a(M,F,B,F).then(function(N){_[D]=N})});return Promise.all(V).then(function(){return _})}var E=s(/\.json(\?.*)?$/i);function x(M,R,B){var _=o(B.from,R);return a(M,a.fetch(_,"text").then(JSON.parse),B)}var P=s(/^data:audio/);function C(M,R,B){var _=R.indexOf(",");return a(M,e.decode(R.slice(_+1)).buffer,B)}var T=s(/\.js(\?.*)?$/i);function k(M,R,B){var _=o(B.from,R);return a(M,a.fetch(_,"text").then(I),B)}function I(M){var R=M.indexOf("MIDI.Soundfont.");if(R<0)throw Error("Invalid MIDI.js Soundfont format");R=M.indexOf("=",R)+2;var B=M.lastIndexOf(",");return JSON.parse(M.slice(R,B)+"}")}i.exports&&(i.exports=a),typeof window<"u"&&(window.loadAudio=a)})(lib$1);var libExports={},lib={get exports(){return libExports},set exports(i){libExports=i}},adsr=ADSR$1;function ADSR$1(i){var e=i.createGain(),r=e._voltage=getVoltage(i),s=scale(r),o=scale(r),a=scale(r);return e._startAmount=scale(o),e._endAmount=scale(a),e._multiplier=scale(s),e._multiplier.connect(e),e._startAmount.connect(e),e._endAmount.connect(e),e.value=s.gain,e.startValue=o.gain,e.endValue=a.gain,e.startValue.value=0,e.endValue.value=0,Object.defineProperties(e,props),e}var props={attack:{value:0,writable:!0},decay:{value:0,writable:!0},sustain:{value:1,writable:!0},release:{value:0,writable:!0},getReleaseDuration:{value:function(){return this.release}},start:{value:function(i){var e=this._multiplier.gain,r=this._startAmount.gain,s=this._endAmount.gain;this._voltage.start(i),this._decayFrom=this._decayFrom=i+this.attack,this._startedAt=i;var o=this.sustain;e.cancelScheduledValues(i),r.cancelScheduledValues(i),s.cancelScheduledValues(i),s.setValueAtTime(0,i),this.attack?(e.setValueAtTime(0,i),e.linearRampToValueAtTime(1,i+this.attack),r.setValueAtTime(1,i),r.linearRampToValueAtTime(0,i+this.attack)):(e.setValueAtTime(1,i),r.setValueAtTime(0,i)),this.decay&&e.setTargetAtTime(o,this._decayFrom,getTimeConstant(this.decay))}},stop:{value:function(i,e){e&&(i=i-this.release);var r=i+this.release;if(this.release){var s=this._multiplier.gain,o=this._startAmount.gain,a=this._endAmount.gain;s.cancelScheduledValues(i),o.cancelScheduledValues(i),a.cancelScheduledValues(i);var l=getTimeConstant(this.release);if(this.attack&&i<this._decayFrom){var c=getValue(0,1,this._startedAt,this._decayFrom,i);s.linearRampToValueAtTime(c,i),o.linearRampToValueAtTime(1-c,i),o.setTargetAtTime(0,i,l)}a.setTargetAtTime(1,i,l),s.setTargetAtTime(0,i,l)}return this._voltage.stop(r),r}},onended:{get:function(){return this._voltage.onended},set:function(i){this._voltage.onended=i}}},flat=new Float32Array([1,1]);function getVoltage(i){var e=i.createBufferSource(),r=i.createBuffer(1,2,i.sampleRate);return r.getChannelData(0).set(flat),e.buffer=r,e.loop=!0,e}function scale(i){var e=i.context.createGain();return i.connect(e),e}function getTimeConstant(i){return Math.log(i+1)/Math.log(100)}function getValue(i,e,r,s,o){var a=e-i,l=s-r,c=o-r,u=c/l,d=i+u*a;return d<=i&&(d=i),d>=e&&(d=e),d}var ADSR=adsr,EMPTY={},DEFAULTS={gain:1,attack:.01,decay:.1,sustain:.9,release:.3,loop:!1,cents:0,loopStart:0,loopEnd:0};function SamplePlayer(i,e,r){var s=!1,o=0,a={},l=i.createGain();l.gain.value=1;var c=Object.assign({},DEFAULTS,r),u={context:i,out:l,opts:c};return e instanceof AudioBuffer?u.buffer=e:u.buffers=e,u.start=function(m,y,b){if(u.buffer&&m!==null)return u.start(null,m,y);var A=m?u.buffers[m]:u.buffer;if(A){if(!s){console.warn("SamplePlayer not connected to any node.");return}}else{console.warn("Buffer "+m+" not found.");return}var S=b||EMPTY;y=Math.max(i.currentTime,y||0),u.emit("start",y,m,S);var E=g(m,A,S);return E.id=d(m,E),E.env.start(y),E.source.start(y),u.emit("started",y,E.id,E),S.duration&&E.stop(y+S.duration),E},u.play=function(m,y,b){return u.start(m,y,b)},u.stop=function(m,y){var b;return y=y||Object.keys(a),y.map(function(A){return b=a[A],b?(b.stop(m),b.id):null})},u.connect=function(m){return s=!0,l.connect(m),u},u.emit=function(m,y,b,A){u.onevent&&u.onevent(m,y,b,A);var S=u["on"+m];S&&S.forEach(E=>{E(y,b,A)})},u;function d(m,y){return y.id=o++,a[y.id]=y,y.startTime=i.currentTime,y.source.onended=function(){var b=i.currentTime;y.source.disconnect(),y.env.disconnect(),y.disconnect(),u.emit("ended",b,y.id,y)},y.id}function g(m,y,b){var A=i.createGain();return A.gain.value=0,A.connect(l),A.env=envelope(i,b,c),A.env.connect(A.gain),A.source=i.createBufferSource(),A.source.buffer=y,A.source.connect(A),A.source.loop=b.loop||c.loop,A.source.playbackRate.value=centsToRate(b.cents||c.cents),A.source.loopStart=b.loopStart||c.loopStart,A.source.loopEnd=b.loopEnd||c.loopEnd,A.stop=function(S){var E=S||i.currentTime;u.emit("stop",E,m);var x=A.env.stop(E);A.source.stop(x)},A}}function isNum$1(i){return typeof i=="number"}var PARAMS=["attack","decay","sustain","release"];function envelope(i,e,r){var s=ADSR(i),o=e.adsr||r.adsr;return PARAMS.forEach(function(a,l){o?s[a]=o[l]:s[a]=e[a]||r[a]}),s.value.value=isNum$1(e.gain)?e.gain:isNum$1(r.gain)?r.gain:1,s}function centsToRate(i){return i?Math.pow(2,i/1200):1}var player=SamplePlayer,events=function(i){return i.on=function(e,r){if(arguments.length===1&&typeof e=="function")return i.on("event",e);var s="on"+e;return i[s]?i[s].push(r):i[s]=[r],i},i},REGEX$1=/^([a-gA-G])(#{1,}|b{1,}|x{1,}|)(-?\d*)\s*(.*)\s*$/;function regex$1(){return REGEX$1}var SEMITONES$1=[0,2,4,5,7,9,11];function parse$1(i,e,r){if(typeof i!="string")return null;var s=REGEX$1.exec(i);if(!s||!e&&s[4])return null;var o={letter:s[1].toUpperCase(),acc:s[2].replace(/x/g,"##")};return o.pc=o.letter+o.acc,o.step=(o.letter.charCodeAt(0)+3)%7,o.alt=o.acc[0]==="b"?-o.acc.length:o.acc.length,o.chroma=SEMITONES$1[o.step]+o.alt,s[3]&&(o.oct=+s[3],o.midi=o.chroma+12*(o.oct+1),o.freq=midiToFreq$1(o.midi,r)),e&&(o.tonicOf=s[4]),o}function midiToFreq$1(i,e){return Math.pow(2,(i-69)/12)*(e||440)}var parser={parse:parse$1,regex:regex$1,midiToFreq:midiToFreq$1},FNS=["letter","acc","pc","step","alt","chroma","oct","midi","freq"];FNS.forEach(function(i){parser[i]=function(e){var r=parse$1(e);return r&&typeof r[i]<"u"?r[i]:null}});var noteParser$1=parser,note$2=noteParser$1,isMidi=function(i){return i!==null&&i!==[]&&i>=0&&i<129},toMidi=function(i){return isMidi(i)?+i:note$2.midi(i)},notes$1=function(i){if(i.buffers){var e=i.opts.map,r=typeof e=="function"?e:toMidi,s=function(a){return a?r(a)||a:null};i.buffers=mapBuffers(i.buffers,s);var o=i.start;i.start=function(a,l,c){var u=s(a),d=u%1;return d&&(u=Math.floor(u),c=Object.assign(c||{},{cents:Math.floor(d*100)})),o(u,l,c)}}return i};function mapBuffers(i,e){return Object.keys(i).reduce(function(r,s){return r[e(s)]=i[s],r},{})}var isArr=Array.isArray,isObj=function(i){return i&&typeof i=="object"},OPTS={},scheduler=function(i){return i.schedule=function(e,r){var s=i.context.currentTime,o=e<s?s:e;i.emit("schedule",o,r);var a,l,c,u;return r.map(function(d){if(d)isArr(d)?(a=d[0],l=d[1]):(a=d.time,l=d);else return null;return isObj(l)?(c=l.name||l.key||l.note||l.midi||null,u=l):(c=l,u=OPTS),i.start(c,o+(a||0),u)})},i},index_minExports={},index_min={get exports(){return index_minExports},set exports(i){index_minExports=i}};(function(i,e){(function(r){i.exports=r()})(function(){return function r(s,o,a){function l(d,g){if(!o[d]){if(!s[d]){var m=typeof commonjsRequire=="function"&&commonjsRequire;if(!g&&m)return m(d,!0);if(c)return c(d,!0);var y=new Error("Cannot find module '"+d+"'");throw y.code="MODULE_NOT_FOUND",y}var b=o[d]={exports:{}};s[d][0].call(b.exports,function(A){var S=s[d][1][A];return l(S||A)},b,b.exports,r,s,o,a)}return o[d].exports}for(var c=typeof commonjsRequire=="function"&&commonjsRequire,u=0;u<a.length;u++)l(a[u]);return l}({1:[function(r,s,o){Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(a){function l(c){if(this._event=c,this._data=c.data,this.receivedTime=c.receivedTime,this._data&&this._data.length<2){console.warn("Illegal MIDI message of length",this._data.length);return}switch(this._messageCode=c.data[0]&240,this.channel=c.data[0]&15,this._messageCode){case 128:this.messageType="noteoff",this.key=c.data[1]&127,this.velocity=c.data[2]&127;break;case 144:this.messageType="noteon",this.key=c.data[1]&127,this.velocity=c.data[2]&127;break;case 160:this.messageType="keypressure",this.key=c.data[1]&127,this.pressure=c.data[2]&127;break;case 176:this.messageType="controlchange",this.controllerNumber=c.data[1]&127,this.controllerValue=c.data[2]&127,this.controllerNumber===120&&this.controllerValue===0?this.channelModeMessage="allsoundoff":this.controllerNumber===121?this.channelModeMessage="resetallcontrollers":this.controllerNumber===122?this.controllerValue===0?this.channelModeMessage="localcontroloff":this.channelModeMessage="localcontrolon":this.controllerNumber===123&&this.controllerValue===0?this.channelModeMessage="allnotesoff":this.controllerNumber===124&&this.controllerValue===0?this.channelModeMessage="omnimodeoff":this.controllerNumber===125&&this.controllerValue===0?this.channelModeMessage="omnimodeon":this.controllerNumber===126?this.channelModeMessage="monomodeon":this.controllerNumber===127&&(this.channelModeMessage="polymodeon");break;case 192:this.messageType="programchange",this.program=c.data[1];break;case 208:this.messageType="channelpressure",this.pressure=c.data[1]&127;break;case 224:this.messageType="pitchbendchange";var u=c.data[2]&127,d=c.data[1]&127;this.pitchBend=(u<<8)+d;break}}return new l(a)},s.exports=o.default},{}]},{},[1])(1)})})(index_min);var midimessage=index_minExports,midi$1=function(i){return i.listenToMidi=function(e,r){var s={},o=r||{},a=o.gain||function(l){return l/127};return e.onmidimessage=function(l){var c=l.messageType?l:midimessage(l);if(c.messageType==="noteon"&&c.velocity===0&&(c.messageType="noteoff"),!(o.channel&&c.channel!==o.channel))switch(c.messageType){case"noteon":s[c.key]=i.play(c.key,0,{gain:a(c.velocity)});break;case"noteoff":s[c.key]&&(s[c.key].stop(),delete s[c.key]);break}},i},i};(function(i){var e=player,r=events,s=notes$1,o=scheduler,a=midi$1;function l(c,u,d){return a(o(s(r(e(c,u,d)))))}i.exports&&(i.exports=l),typeof window<"u"&&(window.SamplePlayer=l)})(lib);function fillStr(i,e){return Array(e+1).join(i)}function isNum(i){return typeof i=="number"}function isStr(i){return typeof i=="string"}function isDef(i){return typeof i<"u"}function midiToFreq(i,e){return Math.pow(2,(i-69)/12)*(e||440)}var REGEX=/^([a-gA-G])(#{1,}|b{1,}|x{1,}|)(-?\d*)\s*(.*)\s*$/;function regex(){return REGEX}var SEMITONES=[0,2,4,5,7,9,11];function parse(i,e,r){if(typeof i!="string")return null;var s=REGEX.exec(i);if(!s||!e&&s[4])return null;var o={letter:s[1].toUpperCase(),acc:s[2].replace(/x/g,"##")};o.pc=o.letter+o.acc,o.step=(o.letter.charCodeAt(0)+3)%7,o.alt=o.acc[0]==="b"?-o.acc.length:o.acc.length;var a=SEMITONES[o.step]+o.alt;return o.chroma=a<0?12+a:a%12,s[3]&&(o.oct=+s[3],o.midi=a+12*(o.oct+1),o.freq=midiToFreq(o.midi,r)),e&&(o.tonicOf=s[4]),o}var LETTERS="CDEFGAB";function accStr(i){return isNum(i)?i<0?fillStr("b",-i):fillStr("#",i):""}function octStr(i){return isNum(i)?""+i:""}function build(i,e,r){return i===null||typeof i>"u"?null:i.step?build(i.step,i.alt,i.oct):i<0||i>6?null:LETTERS.charAt(i)+accStr(e)+octStr(r)}function midi(i){if((isNum(i)||isStr(i))&&i>=0&&i<128)return+i;var e=parse(i);return e&&isDef(e.midi)?e.midi:null}function freq(i,e){var r=midi(i);return r===null?null:midiToFreq(r,e)}function letter(i){return(parse(i)||{}).letter}function acc(i){return(parse(i)||{}).acc}function pc(i){return(parse(i)||{}).pc}function step(i){return(parse(i)||{}).step}function alt(i){return(parse(i)||{}).alt}function chroma(i){return(parse(i)||{}).chroma}function oct(i){return(parse(i)||{}).oct}const noteParser=Object.freeze(Object.defineProperty({__proto__:null,acc,alt,build,chroma,freq,letter,midi,oct,parse,pc,regex,step},Symbol.toStringTag,{value:"Module"})),require$$0=getAugmentedNamespace(noteParser);var legacy,hasRequiredLegacy;function requireLegacy(){if(hasRequiredLegacy)return legacy;hasRequiredLegacy=1;var i=require$$0;function e(o,a){if(console.warn("new Soundfont() is deprected"),console.log("Please use Soundfont.instrument() instead of new Soundfont().instrument()"),!(this instanceof e))return new e(o);this.nameToUrl=a||e.nameToUrl,this.ctx=o,this.instruments={},this.promises=[]}e.prototype.onready=function(o){console.warn("deprecated API"),console.log("Please use Promise.all(Soundfont.instrument(), Soundfont.instrument()).then() instead of new Soundfont().onready()"),Promise.all(this.promises).then(o)},e.prototype.instrument=function(o,a){console.warn("new Soundfont().instrument() is deprecated."),console.log("Please use Soundfont.instrument() instead.");var l=this.ctx;if(o=o||"default",o in this.instruments)return this.instruments[o];var c={name:o,play:s(l,a)};if(this.instruments[o]=c,o!=="default"){var u=e.instrument(l,o,a).then(function(d){return c.play=d.play,c});this.promises.push(u),c.onready=function(d){console.warn("onready is deprecated. Use Soundfont.instrument().then()"),u.then(d)}}else c.onready=function(d){console.warn("onready is deprecated. Use Soundfont.instrument().then()"),d()};return c};function r(o,a,l){return console.warn("Soundfont.loadBuffers is deprecate."),console.log("Use Soundfont.instrument(..) and get buffers properties from the result."),e.instrument(o,a,l).then(function(c){return c.buffers})}e.loadBuffers=r;function s(o,a){return a=a||{},function(l,c,u,d){console.warn("The oscillator player is deprecated."),console.log("Starting with version 0.9.0 you will have to wait until the soundfont is loaded to play sounds.");var g=l>0&&l<129?+l:i.midi(l),m=g?i.midiToFreq(g,440):null;if(m){u=u||.2,d=d||{};var y=d.destination||a.destination||o.destination,b=d.vcoType||a.vcoType||"sine",A=d.gain||a.gain||.4,S=o.createOscillator();S.type=b,S.frequency.value=m;var E=o.createGain();return E.gain.value=A,S.connect(E),E.connect(y),S.start(c),u>0&&S.stop(c+u),S}}}return e.noteToMidi=i.midi,legacy=e,legacy}(function(i){var e=libExports$1,r=libExports;function s(c,u,d){if(arguments.length===1)return function(A,S){return s(c,A,S)};var g=d||{},m=g.isSoundfontURL||o,y=g.nameToUrl||a,b=m(u)?u:y(u,g.soundfont,g.format);return e(c,b,{only:g.only||g.notes}).then(function(A){var S=r(c,A,g).connect(g.destination?g.destination:c.destination);return S.url=b,S.name=u,S})}function o(c){return/\.js(\?.*)?$/i.test(c)}function a(c,u,d){return d=d==="ogg"?d:"mp3",u=u==="FluidR3_GM"?u:"MusyngKite","https://gleitz.github.io/midi-js-soundfonts/"+u+"/"+c+"-"+d+".js"}var l=requireLegacy();l.instrument=s,l.nameToUrl=a,i.exports&&(i.exports=l),typeof window<"u"&&(window.Soundfont=l)})(lib$2);NoteEnum.C,NoteEnum.D,NoteEnum.E,NoteEnum.F,NoteEnum.G,NoteEnum.A,NoteEnum.B;const selectionContainer="_selectionContainer_h81c5_1",position="_position_h81c5_8",note$1="_note_h81c5_11",selectBox="_selectBox_h81c5_14",selectHandle="_selectHandle_h81c5_20",selectHandleRight="_selectHandleRight_h81c5_34",playIng="_playIng_h81c5_39",disable="_disable_h81c5_43",line="_line_h81c5_46",eyeLine="_eyeLine_h81c5_58",lineStaff="_lineStaff_h81c5_61",lineJianPu="_lineJianPu_h81c5_64",scoreItem="_scoreItem_h81c5_70",dotWrap="_dotWrap_h81c5_107",noteFollow="_noteFollow_h81c5_122",followTipUp="_followTipUp_h81c5_131",followTipDown="_followTipDown_h81c5_132",linePC="_linePC_h81c5_228",noteDot="_noteDot_h81c5_232",staveBg="_staveBg_h81c5_240",styles$h={selectionContainer,position,note:note$1,selectBox,selectHandle,selectHandleRight,playIng,disable,line,eyeLine,lineStaff,lineJianPu,scoreItem,dotWrap,noteFollow,followTipUp,followTipDown,linePC,noteDot,staveBg},noteMove="_noteMove_6dz5a_1",activeModel="_activeModel_6dz5a_14",toolBox="_toolBox_6dz5a_17",moveDisabled="_moveDisabled_6dz5a_33",hideTool="_hideTool_6dz5a_36",rightHideIcon$1="_rightHideIcon_6dz5a_39",styles$g={noteMove,activeModel,toolBox,moveDisabled,hideTool,rightHideIcon:rightHideIcon$1},tooltip="",TooltipSfc="",buttonGroup="",ButtonGroupSfc="",rightHideIcon="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADoAAAB4CAYAAACjK+FPAAAAAXNSR0IArs4c6QAAA9hJREFUeF7tnctrE1EUxr+J7wfqRsdCA2okIhMfNCXZVKyKWOzSZVbdCS5KcetON6J/RKEQBKFLwVWpUgvddNFVNkWbGrptSCsVm8otmTDpTDptb+49cx8Xumrn3PM735m5Z5r2HAf86zyAqwAuAjgF4HTr6xi/6Z5Z+Occ0dQZANdbgOeOaEPmZYcGPQHgJoAbAFIyPeXc61CgaQAeAAar2joQKEvv2wAyqtEF/I0FPQ4gD+CKwpDM9X1BmZJFAJcVh4wFZfcje+josLoqyh4893UgbDFEgp4E8AQAuz91WZGgOqWsL1QI9CyAxwCOWjElNQNCoHcAXEuqtxx+hUCftgpyDpuJvLQD9BKAB4l0k9+pDtBbALL8NhNpoQOUVUGql3rdotwB+hDAhUTqwe9UB+gzAKxY0HG1QdlL9KiOhHtLQPYyPWJB1Y9AO3WtouqLuUtgFdVEyDaGVdQqqmgEbOoqKlxXt62iVlFFI2BTV1Hh7MPIpq5NXUUjYFNXUeHsU9emLmnqzszMvCgUCqOO4zgLCwtfhoeHP3M6lDxFl5aWXuZyuecBsJ3Jycn3Y2NjPzhgkwUaAbnLtry8/D2TyXzQArQbJIObm5srDw0NfVIedD/IRqPx23XdV5ubm02lQWMga4ODgxOVSuUPByT9b+olQdKCSoSkA5UMSQNKACkflAhSLighpDxQYkg5oCsrK2/S6XQh6hxsNBq9OifjjlmxtW61Wn3T399PDSle0e3t7elUKhX6S+6NjY1aPp/vRcUTp6T/fbGKNpvNacdxQqD1er3qed7E6urq34N6yvlzYkFrtdrbvr6+e1FO1uv1X57nvZYEKxaUAa6trb1zXfcuMax4UAZYqVTGs9ks+8+L0JKkrBzQBMDKAyWGlQtKCCsflAiWBpQAlg5UMiwtqERYetA42PX19Z+u645vbW3tcJSByQCNg52dnZ3i/PwlOaD7wWr1kYSfllHlYrlc/lgqlb5pkbpBiPn5+dLAwMAI+9hwcXHxa7FYnOKAFP/izelcLy9P1j3aS7I9tiyowOCSmLaKkoRd4KZWUYHBJTFtFSUJu8BNraICg0ti2ipKEnaBm1pFBQaXxLRVlCTsAje1igoMLolpqyhJ2AVuahUVGFwS021FjWncxMJsRCsuBmpMczVj2uUZ0wDRmJaW7D41okkpA821JgqQHHYCN22fo/4erJHwI8WmChwkPiFQdpERraEZqDHNvhmsEe3b/ZzXKYUj71Ef1JgRCwzYiKEZQWW1H4MSPKO0H2wThDViVFEQWPvhU1HlVnCcGBsl5o8US9Q4sf9BGvvA8pV1NwAAAABJRU5ErkJggg==";let extStyleConfigJson={};window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;const showToolBox=ref(!0),moveData=reactive({open:!1,zoom:1,partIndex:"0",hasExtJson:!1,isWeb:!1,modelList:[],activeIndex:-1,sw:0,tool:{isAddAndSub:!1},noteCoords:[]}),initNoteCoord=()=>{const i=Array.from(document.querySelectorAll(".node-dot"));moveData.noteCoords=i.map(e=>{var s;const r=((s=e==null?void 0:e.getBoundingClientRect)==null?void 0:s.call(e))||{x:0,y:0};return{x:r.x,y:r.y}})},computedDistance=(i,e)=>{let r=-1,s=0,o,a,l;return moveData.noteCoords.forEach((c,u)=>{o=Math.abs(c.x-i),a=Math.abs(c.y-e),l=Math.sqrt(o*o+a*a),l=Number(l.toFixed(0)),l!==0&&(r===-1||l<r)&&(r=l,s=u)}),s};function initSvgId(){const i=document.querySelector("#osmdSvgPage1");if(!i)return;const e=Array.from(i.querySelectorAll(".vf-stavetempo")),r=Array.from(i.querySelectorAll(".vf-text")),s=[],o=Array.from(i.querySelectorAll(".vf-Repetition")),a=Array.from(i.querySelectorAll(".vf-lineGroup"));let l=1;[...e].forEach(m=>{setEleId(m,"temp"+l),l++});let c=1;[...r].forEach(m=>{setEleId(m,"text"+c),c++});let u=1;[...s].forEach(m=>{setEleId(m,"section"+u),u++});let d=1;[...o].forEach(m=>{setEleId(m,"repet"+d),d++});let g=1;[...a].forEach(m=>{setEleId(m,"line"+g),g++})}function setEleId(i,e){if(!i||!e)return;i.getAttribute("id")||i.setAttribute("id",e),createModelBox(i)}function createModelBox(i){var c;const e=((c=document.getElementById("musicAndSelection"))==null?void 0:c.getBoundingClientRect())||{x:0,y:0},r=e.x||0,s=e.y||0,o=i.getBoundingClientRect(),a={left:o.x-r+"px",top:o.y-s+"px",width:o.width+"px",height:o.height+"px"},l=i.getAttribute("class");moveData.modelList.push({id:i.getAttribute("id"),bbox:a,type:l,isMove:!1,left:o.left,top:o.top,width:o.width,height:o.height,x:0,y:0,zoom:state$1.zoom,isDelete:!1,d2:getLineGroupPathDx(i),dx:0})}function getBox(i){var a;if(!i)return{};const e=((a=document.getElementById("musicAndSelection"))==null?void 0:a.getBoundingClientRect())||{x:0,y:0},r=e.x||0,s=e.y||0,o=i.getBoundingClientRect();return{left:o.x-r,top:o.y-s,width:o.width,height:o.height}}const filterMoveData=async()=>{const i=state$1.examSongId;if(i){const e=window.fontSize,r=moveData.modelList.filter(o=>o.isMove).map(o=>{var m,y,b,A;const a=o.left+o.x,l=o.top+o.y,c=computedDistance(a,l),u=a-((m=moveData.noteCoords[c])==null?void 0:m.x),d=l-((y=moveData.noteCoords[c])==null?void 0:y.y);let g={id:o.id,isMove:o.isMove,isDelete:o.isDelete,x:o.x,y:o.y,xRem:Math.abs(o.x/e),yRem:Math.abs(o.y/e),zoom:o.zoom,w:moveData.sw,type:o.type,noteIdx:c,noteRelativeX:u,noteRelativeY:d};if(o.type==="vf-lineGroup"&&(g.dx=o.dx),o.id.includes("text")){const S=((A=(b=document.querySelector("#"+o.id))==null?void 0:b.querySelector("text"))==null?void 0:A.innerHTML)||"";g.textContent=S}return g});extStyleConfigJson[moveData.partIndex]=r,console.log("🚀 ~ extStyleConfigJson",extStyleConfigJson);const s=await request.post("/musicSheet/img",{requestType:"json",data:{id:i,extStyleConfigJson:JSON.stringify(extStyleConfigJson)}});s&&s.code==200&&showToast("保存成功"),clearActiveModel()}},dragData={open:!1,startX:0,startY:0,x:0,y:0,repeatEdit:!1},undoData=reactive({undoList:[],redoList:[],activeItem:null});function onDown(i){const e=i.target,r=moveData.modelList.findIndex(s=>s.id===e.dataset.id);if(r>-1){const s=moveData.modelList[r];moveData.activeIndex=r,dragData.startX=i.clientX,dragData.startY=i.clientY,dragData.x=s.x,dragData.y=s.y,dragData.repeatEdit=s.noteIdx>=0,document.onmousemove=onMove,document.onmouseup=onUp,dragData.open=!0,s.type==="vf-lineGroup"?moveData.tool.isAddAndSub=!0:moveData.tool.isAddAndSub=!1,undoData.activeItem={...s};return}moveData.activeIndex=-1}function onMove(i){if(dragData.open){const e=i.clientX-dragData.startX+dragData.x,r=i.clientY-dragData.startY+dragData.y;setModelPostion(moveData.modelList[moveData.activeIndex],e,r,dragData.repeatEdit)}}function onUp(i){document.onmousemove=null,document.onmouseup=null,dragData.open=!1;const e=i.clientX-dragData.startX+dragData.x,r=i.clientY-dragData.startY+dragData.y;(e||r)&&(moveData.modelList[moveData.activeIndex].isMove=!0,moveData.modelList[moveData.activeIndex].x=e,moveData.modelList[moveData.activeIndex].y=r,undoData.activeItem&&undoData.undoList.push({...undoData.activeItem})),undoData.activeItem=null}const renderSvgItem=i=>{if(setModelPostion(i,i.x,i.y),i.isDelete){const e=document.querySelector("#"+i.id);e&&(e.style.display="none")}else{const e=document.querySelector("#"+i.id);e&&(e.style.display="")}};async function setModelPostion(i,e,r,s){var o;if(i){const a=document.querySelector("#"+i.id),l=document.querySelector(`[data-id=${i.id}]`);if(e===0&&r===0)a&&a.removeAttribute("transform"),l&&(l.style.transform="");else{let c=e,u=r;if(i.noteIdx>=0&&!s){moveData.noteCoords.length||await initNoteCoord();const d=moveData.noteCoords[i.noteIdx].x+i.noteRelativeX,g=moveData.noteCoords[i.noteIdx].y+i.noteRelativeY,m=((o=document.getElementById(i.id))==null?void 0:o.getBoundingClientRect())||{x:0,y:0};c=d-m.x,u=g-m.y,a&&a.setAttribute("transform",`translate(${c/moveData.zoom}, ${u/moveData.zoom})`),l&&(l.style.transform=`translate(${c}px, ${u}px)`)}else a&&a.setAttribute("transform",`translate(${c/moveData.zoom}, ${u/moveData.zoom})`),l&&(l.style.transform=`translate(${c}px, ${u}px)`)}}}const handleDeleteMoveNote=()=>{const i=moveData.modelList[moveData.activeIndex];if(i){moveData.modelList[moveData.activeIndex].isMove=!0,undoData.undoList.push({...moveData.modelList[moveData.activeIndex]}),moveData.modelList[moveData.activeIndex].isDelete=!i.isDelete;const e=document.querySelector("#"+i.id);e&&(e.style.display=moveData.modelList[moveData.activeIndex].isDelete?"none":"")}else showToast("选中需要删除的元素")},resetMoveNote=()=>{for(let i=0;i<moveData.modelList.length;i++)moveData.modelList[i].x=0,moveData.modelList[i].y=0,moveData.modelList[i].isMove=!1,moveData.modelList[i].isDelete=!1,moveData.modelList[i].dx=0,renderSvgItem(moveData.modelList[i]),moveData.modelList[i].type==="vf-lineGroup"&&renderLineGroup(moveData.modelList[i]);clearActiveModel()};function clearActiveModel(){var i;for(let e=0;e<moveData.modelList.length;e++){const r=document.querySelector(`[data-id=${moveData.modelList[e].id}]`);(i=r==null?void 0:r.classList)!=null&&i.contains("activeModel")&&r.classList.remove("activeModel")}moveData.activeIndex=-1,moveData.tool.isAddAndSub=!1}const handleAddAndSub=i=>{if(!["add","sub"].includes(i))return;const e=moveData.modelList[moveData.activeIndex];if(!e||e.type!=="vf-lineGroup")return;e.isMove=!0;const r=i==="add"?10:-10;undoData.undoList.push({...moveData.modelList[moveData.activeIndex]}),moveData.modelList[moveData.activeIndex].dx=e.dx+r,renderLineGroup(moveData.modelList[moveData.activeIndex])};function getLineGroupPathDx(i){var r,s,o,a;if(!i)return 0;const e=i.querySelectorAll("path");if(e!=null&&e.length)for(let l=0;l<e.length;l++){let u=e[l].getAttribute("d");if(u){let d=((s=(r=u.split("M"))==null?void 0:r[1])==null?void 0:s.split(" "))||[],g=((a=(o=u.split("L"))==null?void 0:o[1])==null?void 0:a.split(" "))||[];if(d=d[0]&&!isNaN(Number(d[0]))?Number(d[0]):0,g=g[0]&&!isNaN(Number(g[0]))?Number(g[0]):0,d&&g)return d<g?g:d}}return 0}function renderLineGroup(i){var s,o,a,l;const e=document.querySelector("#"+i.id);if(!e)return;const r=e.querySelectorAll("path");if(r!=null&&r.length){for(let d=0;d<r.length;d++){const g=r[d];let m=g.getAttribute("d");if(m){let y=((o=(s=m.split("M"))==null?void 0:s[1])==null?void 0:o.split(" "))||[],b=((l=(a=m.split("L"))==null?void 0:a[1])==null?void 0:l.split(" "))||[];y=y[0]&&!isNaN(Number(y[0]))?Number(y[0]):0,b=b[0]&&!isNaN(Number(b[0]))?Number(b[0]):0,y&&b&&(y<b?m=m.replace(b,i.d2+i.dx+""):m=m.replace(y,i.d2+i.dx+""),g.setAttribute("d",m))}}const{width:c}=getBox(e),u=document.querySelector(`[data-id=${i.id}]`);u&&(u.style.width=c+"px")}}const handleUndo=()=>{const i=undoData.undoList.pop();if(i){const e=moveData.modelList.findIndex(r=>r.id===i.id);e>-1&&(moveData.modelList[e]=i,renderSvgItem(moveData.modelList[e]),i.type==="vf-lineGroup"&&renderLineGroup(i))}},renderForMoveData=()=>{if(state$1.extStyleConfigJson)try{extStyleConfigJson=JSON.parse(state$1.extStyleConfigJson)}catch(e){extStyleConfigJson={}}if(!extStyleConfigJson||!(extStyleConfigJson!=null&&extStyleConfigJson[moveData.partIndex])){initSvgId();return}else initSvgId();const i=extStyleConfigJson==null?void 0:extStyleConfigJson[moveData.partIndex];i&&Array.isArray(i)&&nextTick(()=>{console.log("🚀 ~ list",i),i.forEach(e=>{var s,o,a,l,c,u,d;let r=moveData.modelList.findIndex(g=>g.id===e.id);if(e.type==="vf-text"&&e.textContent){let g=((a=(o=document.querySelector("#"+((s=moveData.modelList[r])==null?void 0:s.id)))==null?void 0:o.querySelector("text"))==null?void 0:a.innerHTML)||"",m=r,y=!1,b=r,A=r;if(g!==e.textContent)for(;!y;){let S=moveData.modelList[b]&&((c=(l=document.querySelector("#"+moveData.modelList[b].id))==null?void 0:l.querySelector("text"))==null?void 0:c.innerHTML)||"",E=moveData.modelList[A]&&((d=(u=document.querySelector("#"+moveData.modelList[A].id))==null?void 0:u.querySelector("text"))==null?void 0:d.innerHTML)||"";S===e.textContent||E===e.textContent?(y=!0,m=S===e.textContent?b:A):(!S&&!E&&(y=!0,m=-1),b=b-1,A=A+1)}r=m,e.id=`text${m+1}`}r>-1&&(moveData.modelList[r]={...moveData.modelList[r],...e},renderSvgItem(moveData.modelList[r]),e.type==="vf-lineGroup"&&renderLineGroup(moveData.modelList[r]))})})},MoveMusicScore=defineComponent({name:"move-music-score",setup(){moveData.zoom=state$1.zoom;const e=getQuery().isMove==="1";return console.log("🚀 ~ isOpen:",e),onMounted(()=>{nextTick(()=>initNoteCoord());const r=document.getElementById("toolBox");r&&document.body.appendChild(r)}),()=>createVNode("div",{class:[moveData.open?"":styles$g.moveDisabled]},[createVNode("div",{id:"toolBox"},[createVNode("div",{class:[styles$g.toolBox,!showToolBox.value&&styles$g.hideTool]},[createVNode(Switch,{modelValue:moveData.open,"onUpdate:modelValue":r=>moveData.open=r},null),moveData.open&&createVNode(Fragment,null,[moveData.tool.isAddAndSub&&createVNode(ButtonGroup,{size:"small",elevation:!1},{default:()=>[createVNode(Button,{onClick:()=>handleAddAndSub("add")},{default:()=>[createTextVNode("加")]}),createVNode(Button,{onClick:()=>handleAddAndSub("sub")},{default:()=>[createTextVNode("减")]})]}),createVNode(Button,{size:"small",onClick:handleUndo,disabled:!undoData.undoList.length},{default:()=>[createVNode(Icon,{name:"arrow-down",style:{transform:"rotate(90deg)"}},null)]}),createVNode(Button,{size:"small",onClick:handleDeleteMoveNote,disabled:!(moveData.activeIndex>-1)},{default:()=>{var r;return[(r=moveData.modelList[moveData.activeIndex])!=null&&r.isDelete?"显示元素":"删除元素"]}}),createVNode(Button,{size:"small",onClick:resetMoveNote},{default:()=>[createTextVNode("重置数据")]}),createVNode(Button,{size:"small",type:"primary",onClick:filterMoveData},{default:()=>[createTextVNode("保存数据")]}),createVNode(Button,{size:"small",type:"primary",onClick:()=>showToolBox.value=!1},{default:()=>[createTextVNode("收起")]})])]),!showToolBox.value&&createVNode("img",{class:[styles$g.rightHideIcon,showToolBox.value?"":styles$g.rightIconShow],src:rightHideIcon,onClick:()=>showToolBox.value=!0},null)]),moveData.modelList.map((r,s)=>createVNode("div",{class:[styles$g.noteMove,moveData.activeIndex===s&&styles$g.activeModel],style:r.bbox,"data-id":r.id,onMousedown:onDown},null))])}}),IntonationDown="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAC+lBMVEUAAAD/hgD/kAD/mwn/hAH/tEP/egD/mAH/sDr/u1b/hC3/ohn/ng3/t07/qCf/fSH/nAn/uE3/tUr/s0L/cQH/hwD/egD/rzr/qCX/nQr/bAT/tEL/rTP/jgD/bQD/qy//oBT/mwn/agD/sDz/qCX/gQD/dAD/uE7/aQD/rjT/mgP/iwD/bgD/oRr/mgT/hwD/cQD/bAD/////fwD/hgD/gwD/jAD/iQD/dwL/kQH/rxX/0Ir/egD/0ZL/rBL/jwD/sBj/lAD/dAD/qWb/qg3/qAr/mAH/shr/bgH/27b/tkv/uSf/syL/ohv/mgb/lQP/lAL/agL/cQD//fz/2LL9r2z/qFf/nUb/vS3/tyL/tB7/3bv/0aX/wWX/ulT/o1H/u0//tEP/sTz/nTb/lDb/rS//iyr/nx7/nhn+iQb+gAT/ypv/05r+wJL+zoL/zXr/t3n/xnX/q2b/v2D/xV7/qF7+wFL/nVD/pUz/ukr/o0b/sz//mD/+mTv/ljn/jTj/oDb/wDH/uyr/qC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mFMqVTAAAAAElFTkSuQmCC",selectData=reactive({notes:[],staves:[],measureHeight:0}),calcNoteData=()=>{var c,u,d,g,m,y,b,A,S,E,x,P,C;const i=((c=document.getElementById("musicAndSelection"))==null?void 0:c.getBoundingClientRect())||{x:0,y:0},e=i.x||0,r=i.y||0,s=state$1.times,o=[],a=[];let l=0;for(let T=0;T<s.length;T++){const k=s[T],I={...k,index:k.i,bbox:null,staveBox:null};if(!o.includes(k.noteId)){let M={};if((d=(u=k.stave)==null?void 0:u.attrs)!=null&&d.id){const R=document.querySelector(`#${k.stave.attrs.id}`);M=((y=(m=(g=R==null?void 0:R.parentElement)==null?void 0:g.parentElement)==null?void 0:m.getBoundingClientRect)==null?void 0:y.call(m))||{x:0,width:0}}if(k.svgElement){const R=document.querySelector(`#vf-${(A=(b=k.svgElement)==null?void 0:b.attrs)==null?void 0:A.id}`);if(R){const B=((S=R.getBoundingClientRect)==null?void 0:S.call(R))||{x:0,width:0};if(state$1.musicRenderType!==EnumMusicRenderType.staff){I.bbox={left:B.x-e-B.width/4+"px",top:B.y-r-B.height+"px",width:B.width*1.5+"px",height:B.height*3+"px"};const _=R.querySelector(".vf-numbered-note-head"),V=(E=_==null?void 0:_.getBoundingClientRect)==null?void 0:E.call(_);V&&(k.bbox={left:V.x-e-V.width/4,width:V.width*1.5})}else I.bbox={left:B.x-e-B.width/4+"px",top:M.y-r+"px",width:B.width*1.5+"px",height:M.height+"px"}}selectData.notes.find(B=>B.id===I.id)||selectData.notes.push(I),o.push(k.noteId)}}if(!a.includes(k.MeasureNumberXML)){if(k.stave){if((P=(x=k.stave)==null?void 0:x.attrs)!=null&&P.id){const M=document.querySelector(`#${k.stave.attrs.id}`),R=[Array.from((M==null?void 0:M.querySelectorAll(".vf-clef"))||[]),Array.from((M==null?void 0:M.querySelectorAll(".vf-keysignature"))||[]),Array.from((M==null?void 0:M.getElementsByTagName("text"))||[])].flat();try{R.length&&R.forEach(V=>{var D;(D=V==null?void 0:V.style)==null||D.setProperty("display","none")})}catch(V){}const B=((C=M==null?void 0:M.getBoundingClientRect)==null?void 0:C.call(M))||{x:0,width:0,y:0,height:0};T===0&&(l=B.height);try{R.length&&R.forEach(V=>{var D;(D=V==null?void 0:V.style)==null||D.removeProperty("display")})}catch(V){}selectData.measureHeight=B.height;let _=B.height-l;_=_>0?_:0,I.staveBox={left:B.x-e+"px",top:B.y-r+_+"px",width:B.width+"px",height:B.height-_+"px"},selectData.staves.push(I)}a.push(k.MeasureNumberXML)}else if(k.multipleRestMeasures){const M=selectData.staves.find(R=>R.MeasureNumberXML===k.MeasureNumberXML-1);M!=null&&M.staveBox&&(I.staveBox={left:M.staveBox.left,top:M.staveBox.top,width:M.staveBox.width},selectData.staves.push(I),a.push(k.MeasureNumberXML))}}}console.log("🚀 ~ selectData.notes:",selectData.notes,selectData.staves)},Selection=defineComponent({name:"selection",setup(){const i=useRoute$1(),e={...getQuery(),...i.query},r=computed(()=>state$1.sectionStatus||state$1.modeType==="evaluating"),s=computed(()=>state$1.sectionStatus?state$1.section.map((o,a)=>{if(a===0){const l=selectData.staves.find(c=>c.MeasureNumberXML===o.MeasureNumberXML);return l&&{left:l.staveBox.left,top:l.staveBox.top,height:selectData.measureHeight+"px"}}else{const l=state$1.userChooseEndIndex>o.MeasureNumberXML?state$1.userChooseEndIndex:o.MeasureNumberXML,c=selectData.staves.find(u=>u.MeasureNumberXML===l);return c&&{left:parseFloat(c.staveBox.left)+parseFloat(c.staveBox.width)+"px",top:c.staveBox.top,height:selectData.measureHeight+"px"}}}):[]);return onMounted(()=>{selectData.notes=[],selectData.staves=[],calcNoteData();try{moveData.partIndex=state$1.partIndex+"",nextTick(()=>renderForMoveData())}catch(o){}}),()=>createVNode("div",{id:"selectionBox",class:[styles$h.selectionContainer],onClick:o=>o.stopPropagation()},[selectData.staves.map(o=>{var c;const a=o.id&&evaluatingData.evaluatings[o.measureListIndex],l=!state$1.isReport&&metronomeData.cursorMode===2&&o.MeasureNumberXML===((c=metronomeData.activeMetro)==null?void 0:c.measureNumberXML)&&state$1.times[state$1.activeNoteIndex].MeasureNumberXML===o.MeasureNumberXML;return createVNode(Fragment,null,[o.staveBox&&createVNode("div",{class:[styles$h.position,a?`scoreItemLeve${a.leve}`:"",o.multipleRestMeasures<=1?styles$h.staveBg:"",state$1.platform===IPlatform.PC&&state$1.zoom>.8?styles$h.linePC:""],style:o.staveBox,onClick:()=>handleSelection(o)},[l&&createVNode("div",{style:{height:selectData.measureHeight+"px",position:"relative"}},[createVNode("div",{class:[styles$h.line,state$1.setting.eyeProtection?styles$h.eyeLine:"",state$1.musicRenderType==EnumMusicRenderType.staff?styles$h.lineStaff:styles$h.lineJianPu],style:{left:metronomeData.activeMetro.left}},null)]),!state$1.isReport&&!!o.multipleRestMeasures&&state$1.activeMeasureIndex==o.MeasureNumberXML&&createVNode("div",{class:styles$h.dotWrap},[o.multipleRestMeasures]),createVNode(Transition,{name:"centerTop",onAfterEnter:()=>{a.show=!1}},{default:()=>{var u,d;return[(a==null?void 0:a.show)&&createVNode("div",{class:styles$h.scoreItem,style:{color:((u=leveByScoreMeasureIcons[a.leve])==null?void 0:u.color)||""}},[createVNode("img",{src:(d=leveByScoreMeasureIcons[a.leve])==null?void 0:d.icon},null),createVNode("span",null,[a.score])])]}})])])}),selectData.notes.map(o=>createVNode("div",{class:[styles$h.position,r.value&&styles$h.disable,styles$h.note,`noteIndex_${o.index}`],style:o.bbox,onClick:()=>skipNotePlay(o.index)},[createVNode("div",{class:styles$h.noteFollow,"data-vf":"vf"+o.id},[createVNode("div",{class:[styles$h.followTipUp,"tip-up"]},[createVNode("img",{src:IntonationUp},null),createVNode("span",null,[createTextVNode("音准"),createVNode("i",null,[createTextVNode("高了")])])]),createVNode("div",{class:[styles$h.followTipDown,"tip-down"]},[createVNode("img",{src:IntonationDown},null),createVNode("span",null,[createTextVNode("音准"),createVNode("i",null,[createTextVNode("低了")])])])]),createVNode("div",{class:[styles$h.noteDot,"node-dot"]},null)])),s.value.map((o,a)=>o&&createVNode("div",{class:styles$h.selectBox,style:o},[createVNode("div",{class:[styles$h.selectHandle,a>0&&styles$h.selectHandleRight,state$1.playState==="play"&&styles$h.playIng],onClick:()=>{state$1.section.length===2&&a===0?(state$1.section=[],showToast({message:"请选择开始小节",duration:0,position:"top",className:"selectionToast"})):(state$1.section.splice(a,1),state$1.section=[...state$1.section],showToast({message:state$1.section.length?"请选择结束小节":"请选择开始小节",duration:0,position:"top",className:"selectionToast"}))}},null)])),e.isMove=="1"&&createVNode(MoveMusicScore,null,null)])}}),styles$f={},speedInfo={"rall.":1.333333333,"poco rit.":1.333333333,"rit.":1.333333333,"molto rit.":1.333333333,"molto rall":1.333333333,molto:1.333333333,lentando:1.333333333,allargando:1.333333333,morendo:1.333333333,"accel.":.8,calando:2,"poco accel.":.8,"gradually slowing":1.333333333,slowing:1.333333333,slow:1.333333333,slowly:1.333333333,faster:1.333333333},getNextNote=(i,e)=>{var c;let r=0;const s=i.closest(e);let o=s;const a=s==null?void 0:s.closest("measure");let l=null;for(;!l&&r<((a==null?void 0:a.childNodes.length)||50);)r++,((c=o==null?void 0:o.nextElementSibling)==null?void 0:c.tagName)==="note"&&(l=o==null?void 0:o.nextElementSibling),o=o==null?void 0:o.nextElementSibling;return l},getGradualLengthByXml=i=>{var d,g,m,y;const e=new DOMParser().parseFromString(i,"text/xml"),r=Array.from(e.querySelectorAll("measure")),s=Array.from(e.querySelectorAll("note")),o=Array.from(e.querySelectorAll("words")),a=Array.from(e.querySelectorAll("metronome")),l=[];for(const b of[...o,...a]){const A=getNextNote(b,"direction");if(A){const S=A==null?void 0:A.closest("measure"),E=Array.from(S.querySelectorAll("note")),x=Array.from(S.childNodes).filter(T=>T.nodeName==="note").findIndex(T=>T===A);let P=0,C=0;for(let T=0;T<E.length;T++){const I=+(((d=E[T].querySelector("duration"))==null?void 0:d.textContent)||"0");P+=I,T<x&&(C=P)}l.push({ele:b,index:s.indexOf(A),noteInMeasureIndex:x,textContent:b.textContent,measureIndex:r.indexOf(S),type:b.tagName,allDuration:P,leftDuration:C})}}l.push({ele:s[s.length-1],index:s.length,noteInMeasureIndex:0,textContent:"",type:"metronome",allDuration:1,leftDuration:1,measureIndex:r.length});const c=[];l.sort((b,A)=>b.index-A.index);const u=Object.keys(speedInfo).map(b=>b.toLocaleLowerCase());for(const b of l){let A=!1,S=0;const E=(g=b.textContent)==null?void 0:g.toLocaleLowerCase().trim();b===l[l.length-1]&&((m=c[c.length-1])==null?void 0:m.length)===1&&(A=!0);const x=u.find(P=>{const C=P.split(" ");return E&&C.includes(E)});if(b.type==="metronome"||b.type==="words"&&(E.startsWith("a tempo")||x)||A){const P=c.findIndex(C=>C.length===1);P>-1&&b.index>((y=c[P])==null?void 0:y[0].start)&&(S=-1,c[P][1]={start:b.index,measureIndex:b.measureIndex,closedMeasureIndex:b.measureIndex,noteInMeasureIndex:b.noteInMeasureIndex,allDuration:b.allDuration,leftDuration:b.leftDuration,type:E})}b.type==="words"&&x&&c.push([{start:b.index,measureIndex:b.measureIndex,closedMeasureIndex:b.measureIndex+S,noteInMeasureIndex:b.noteInMeasureIndex,allDuration:b.allDuration,leftDuration:b.leftDuration,type:E}])}return c};getQuery();const container$1=ref(),resetGivenFormate=()=>{var r,s;const e={12200:[{parts:["0","1"],tieId:["1483"]},{parts:["2"],tieId:["1463"]},{parts:["10"],tieId:["1246"]},{parts:["11"],tieId:["2455"]},{parts:["13"],tieId:["1488","1688"]},{parts:["14","15"],tieId:["1272"]},{parts:["16"],tieId:["1264","1368"],staveSection:[{id:"section-0",y:-10}]}],12420:[{parts:["0"],tieId:["1298","1405","1998","2598","3229","2731","2617"]}],7729:[{parts:["3"],tieId:["1498","1660"]}],7439:[{parts:["23"],vfmodifiers:[{id:"modifiers-130",y:-18,isLast:!0}]}],12711:[{parts:["0"],voltas:-12},{parts:["4"],voltas:-8}],3581:[{parts:["0"],voltas:-8}],6244:[{parts:["15"],stavenote:[{id:"vf-auto1608",y:-15}]}],7473:[{parts:["0"],voltas:-8}]}[state$1.cbsExamSongId];if(e){const o=state$1.partIndex+"",a=e.find(l=>l.parts.includes(o));if(!a)return;if(a.tieId&&a.tieId.length)for(let l=0;l<a.tieId.length;l++){const c=document.querySelector(`#vf-auto${a.tieId[l]}-tie`),u=(s=(r=c==null?void 0:c.parentNode)==null?void 0:r.parentNode)==null?void 0:s.querySelectorAll(".vf-curve");if(u&&u.length){for(let d=0;d<u.length;d++)if(collisionDetection(c,u[d]).isCollision){u[d].style.transform="translateY(-8px)";break}}}if(a.staveSection&&a.staveSection.length){document.querySelectorAll(".vf-StaveSection").forEach((c,u)=>{c.classList.add(`section-${u}`)});for(let c=0;c<a.staveSection.length;c++){const u=document.querySelector("."+a.staveSection[c].id);u&&(u.style.transform=`translateY(${a.staveSection[c].y}px)`)}}if(a.vfmodifiers&&a.vfmodifiers.length){document.querySelectorAll(".vf-modifiers").forEach((c,u)=>{c.classList.add(`modifiers-${u}`)});for(let c=0;c<a.vfmodifiers.length;c++){const u=a.vfmodifiers[c],d=document.querySelector("."+u.id);if(d&&u.isLast){const g=Array.from(d.childNodes).at(-1);g&&(g.style.transform=`translateY(${u.y}px)`)}}}if(a.voltas&&document.querySelectorAll(".vf-Volta").forEach((c,u)=>{c.style.transform=`translateY(${a.voltas}px)`}),a.stavenote&&a.stavenote.length)for(let l=0;l<a.stavenote.length;l++){const c=a.stavenote[l],u=document.querySelector("#"+c.id);u&&(u.style.transform=`translateY(${c.y}px)`)}}},moveGracePosition=i=>{var r,s,o,a,l,c,u,d,g,m,y,b,A;if(["1788850864767643649","1788502467554750466","1789839575249596417","1788501975122489346","1796006876341813249"].includes(state$1.cbsExamSongId)||i){const S=(r=Array.from(document.getElementsByClassName("vf-curve")))==null?void 0:r.last();if(S&&(S.style.display="none"),state$1.musicRenderType!=="staff"){const E=document.getElementById("auto2670"),x=document.getElementById("auto2710"),P=document.getElementById("auto3099"),C=document.getElementById("auto3339"),T=state$1.cbsExamSongId=="1789839575249596417"&&((o=(s=document.getElementById("vf-auto1554"))==null?void 0:s.getElementsByClassName("vf-modifier"))==null?void 0:o[0]),k=state$1.cbsExamSongId=="1789839575249596417"&&document.getElementById("vf-auto1554-lines"),I=state$1.cbsExamSongId=="1788501975122489346"&&((l=(a=document.getElementById("vf-auto2116"))==null?void 0:a.getElementsByClassName("vf-modifier"))==null?void 0:l[0]),M=state$1.cbsExamSongId=="1788501975122489346"&&document.getElementById("vf-auto2116-lines"),R=state$1.cbsExamSongId=="1788502467554750466"&&((u=(c=document.getElementById("vf-auto2122"))==null?void 0:c.getElementsByClassName("vf-modifier"))==null?void 0:u[0]),B=state$1.cbsExamSongId=="1788502467554750466"&&document.getElementById("vf-auto2122-lines");if(E&&(E.style.display="none"),x&&(x.style.display="none"),P&&(P.style.display="none"),C&&(C.style.display="none"),T&&(T.style.transform="translateX(-0.65rem)"),I&&(I.style.transform="translateX(-0.65rem)"),R&&(R.style.transform="translateX(-0.65rem)"),k&&(k.style.transform="translateX(-0.65rem)"),M&&(M.style.transform="translateX(-0.65rem)"),B&&(B.style.transform="translateX(-0.65rem)"),k||M||B){const _=k?k.querySelector("path"):M?M.querySelector("path"):B?B.querySelector("path"):null;let V=_==null?void 0:_.getAttribute("d");if(V){const D=(m=(g=(d=V.split("L"))==null?void 0:d.last())==null?void 0:g.split(" "))==null?void 0:m[0];let F=((b=(y=V.split("M"))==null?void 0:y[1])==null?void 0:b.split(" ")[0])||0;F=F?Number(F):0;let N=((A=V.split("L"))==null?void 0:A.last().split(" ")[0])||0;N=N?Number(N):0;const K=N-F,G=F-K;V=V.replace(`L${D}`,`L${G}`),_.setAttribute("d",V)}}}}},resetFormate=()=>{var s,o,a;if(container$1.value=document.getElementById("scrollContainer"),!container$1.value)return;moveGracePosition();const i=Array.from(container$1.value.querySelectorAll(".staffline")),e=4,r=28;for(let l=0,c=i.length;l<c;l++){const u=i[l],d=u.getBBox(),g=d.y+d.height/2,m=Array.from(u.querySelectorAll(".vf-measure")),y=Array.from(u.querySelectorAll(".vf-curve")),b=Array.from(u.querySelectorAll(".vf-measure > .vf-voices")),A=Array.from(u.querySelectorAll(".vf-measure > .vf-beams")),S=Array.from(u.querySelectorAll(".vf-ties")),E=Array.from(u.querySelectorAll(".vf-line")),x=Array.from(u.querySelectorAll(".vf-measure > .vf-stave text"));Array.from(u.querySelectorAll(".vf-measure > .vf-stave rect[fill=none]"));const P=Array.from(u.querySelectorAll(".vf-measure .vf-staveSection")),C=Array.from(u.querySelectorAll(".vf-measure > .vf-stave path")),T=Array.from(u.querySelectorAll(".vf-measure .vf-stopDot")),k=Array.from(u.querySelectorAll(".vf-measure > .vf-stave")),I=((s=C[0])==null?void 0:s.getBBox().y)||0,M=["To Coda","D.S. al Coda","Coda"];x.filter(G=>M.includes(G.textContent||"")).forEach(G=>{A.forEach(q=>{var $;const O=collisionDetection(G,q),U=G==null?void 0:G.previousSibling;if(O.isCollision){const Y=Number(G.getAttribute("y"))-(O.b1-O.t2)-e+"";G.setAttribute("y",Y),U&&U.getAttribute("stroke-width")==="0.3"&&U.getAttribute("stroke")==="none"&&((($=U.getAttribute("d"))==null?void 0:$.length)||0)>3e3&&(U.style.transform=`translateY(${-(O.b1-O.t2+e)}px)`)}}),b.forEach(q=>{var $;const O=collisionDetection(G,q),U=G==null?void 0:G.previousSibling;if(O.isCollision){const Y=Number(G.getAttribute("y"))-(O.b1-O.t2)-e+"";G.setAttribute("y",Y),U&&U.getAttribute("stroke-width")==="0.3"&&U.getAttribute("stroke")==="none"&&((($=U.getAttribute("d"))==null?void 0:$.length)||0)>3e3&&(U.style.transform=`translateY(${-(O.b1-O.t2+e)}px)`)}})}),P.forEach(G=>{let q=0;[...y,...S,...b].forEach(O=>{const U=collisionDetection(G,O);U.isCollision&&(q=Math.min(q,U.t2-U.b1-e))}),G.style.transform=`translateY(${q}px)`});let R=Array.from(u.querySelectorAll(".vf-text > text")).filter(G=>G.getBBox().y<g);for(let G=0;G<R.length;G++){const q=R[G];for(let O=0;O<R.length;O++){if(q.parentNode===R[O].parentNode)continue;if(collisionDetection(q,R[O]).isCollision&&q.textContent===R[O].textContent){(o=R[O].parentNode)==null||o.removeChild(R[O]);continue}}}R=Array.from(u.querySelectorAll(".vf-text > text")).filter(G=>G.getBBox().y<g);let B=0,_=[];R.forEach(G=>{const q=G.getBBox();q.y<g&&(B=Math.max(B,q.y+q.height),_.push(G))}),B!==0&&_.length>1&&_.forEach(G=>{G.setAttribute("y",B+"")}),R.forEach(G=>{[...y,...m,...E].forEach(q=>{let O=collisionDetection(G,q);if(O.isCollision&&O.b1<O.b2&&O.t1<O.b2-(O.b2-O.t2)/2){const U=Number(G.getAttribute("y"))-(O.b1-O.t2)-e+"";G.setAttribute("y",U)}})}),R.forEach(G=>{R.forEach(q=>{if(G.parentNode!==q.parentNode&&!["marcato","legato"].includes(G.textContent))if(["marcato","legato"].includes(q.textContent)){if(collisionDetection(G,q,30,30).isCollision){const U=G.getBBox();q.setAttribute("x",U.x+U.width+5+""),q.setAttribute("y",U.y+U.height-5+"")}}else{const O=collisionDetection(G,q);if(O.isCollision){const U=Number(G.getAttribute("y")),$=O.b2-O.t2<24?24:O.b2-O.t2;q.setAttribute("y",U-$-.5+"")}}})});const V=["C","G","D","A","E","B","F#","C#","G#","F","Bb","Eb","Ab","Db","Gb","Cb","Fb","D#","A#","E#"],D=["Bb","Eb","Ab","Db","Gb","Cb","Fb"],F=["F#","C#","G#","D#","A#","E#","B#"];R.forEach(G=>{const q=G.textContent;if(V.includes(q)){const O=Number(G.getAttribute("y")),U=I?I-r:O;G.setAttribute("y",U)}D.includes(q)&&(G.textContent=q.replace("b","♭")),F.includes(q)&&(G.textContent=q.replace("#","♯"))}),T.forEach(G=>{state$1.musicRenderType==="fixedTone"?G.setAttribute("transform","translate(3,-12)"):G.setAttribute("transform","translate(3,-7)")});const N=Array.from(u.querySelectorAll(".vf-text > text")).filter(G=>G.getBBox().y>g),K=Array.from(u.querySelectorAll(".vf-line")).filter(G=>G.getBBox().y>g);for(let G=0;G<N.length;G++){const q=N[G];for(let O=0;O<N.length;O++){if(q.parentNode===N[O].parentNode)continue;if(collisionDetection(q,N[O]).isCollision&&q.textContent===N[O].textContent){(a=N[O].parentNode)==null||a.removeChild(N[O]);continue}}}N.forEach(G=>{[...m].forEach(q=>{let O=collisionDetection(G,q);O.isCollision&&G.setAttribute("y",O.b2+Math.abs(O.t1-Number(G.getAttribute("y")))+"")})}),K.forEach(G=>{var O;const q=[];if((O=G.nextElementSibling)!=null&&O.classList.contains("vf-line")&&N.forEach(U=>{let $=collisionDetection(G,U,20,20);$.isCollision&&q.push({text:U,result:$})}),q.length===1){const U=q[0].result,$=q[0].text;U.x2+U.w2<U.x1||U.x2>U.x1+U.w1?Math.abs(U.y2-U.y1)>10&&$.setAttribute("y",U.y1+U.h2/2+""):Math.abs(U.x2-U.x1)<Math.abs(U.x2+U.w2-U.x1-U.w1)?($.setAttribute("x",U.x1-U.w2-5+""),Math.abs(U.y2-U.y1)>10&&$.setAttribute("y",U.y1+U.h2/2+"")):($.setAttribute("x",U.x1+U.w1+5+""),Math.abs(U.y2-U.y1)>10&&$.setAttribute("y",U.y1+U.h2/2+""))}else if(q.length===2){const U=q[0].result,$=q[0].text,Y=q[1].result,Q=q[1].text;$.setAttribute("x",U.x1-U.w2-5+""),Math.abs(U.y2-U.y1)>10&&$.setAttribute("y",U.y1+U.h2/2+""),Q.setAttribute("x",Y.x1+Y.w1+5+""),Math.abs(Y.y2-Y.y1)>10&&Q.setAttribute("y",Y.y1+Y.h2/2+"")}}),N.forEach(G=>{N.forEach(q=>{if(G.parentNode!==q.parentNode&&!["marcato","legato","cresc.","Cantabile"].includes(G.textContent))if(["marcato","legato","cresc.","Cantabile"].includes(q.textContent)){if(collisionDetection(G,q,30,30).isCollision){const U=G.getBBox();q.setAttribute("x",U.x+U.width+5+""),q.setAttribute("y",U.y+U.height-5+"")}}else{const O=collisionDetection(G,q);O.isCollision&&q.setAttribute("y",O.y1+O.h1+O.h2+"")}})});for(let G=0;G<y.length;G++){let q=G+1;const O=y[G];let U=y[q],$=!1;for(;q<=y.length-1&&!$;)collisionDetection(O,U).isCollision?($=!0,U.style.transform="translateY(-12px)"):(q=q+1,U=y[q])}k.forEach(G=>{const q=[Array.from((G==null?void 0:G.querySelectorAll(".vf-StaveSection"))||[]),Array.from((G==null?void 0:G.querySelectorAll(".vf-Volta"))||[]),Array.from((G==null?void 0:G.querySelectorAll(".vf-clef"))||[]),Array.from((G==null?void 0:G.querySelectorAll(".vf-keysignature"))||[]),Array.from((G==null?void 0:G.getElementsByTagName("text"))||[])].flat();try{q.length&&q.forEach(Q=>{var xe;G==null||G.removeChild(Q),(xe=Q==null?void 0:Q.style)==null||xe.setProperty("display","none")})}catch(Q){}const O=(G==null?void 0:G.getBBox())||{},U=`<rect class="vf-custom-bg" x="${O.x}" y="${O.y}" width="${O.width}" height="${O.height}" fill="#609FCF" />`,$=`<rect class="vf-custom-bot" x="${O.x}" y="${O.y+O.height}" width="${O.width}" height="12" fill="#2B70A5" />`,Y=`<g>${U}${$}</g>`;try{q.length&&q.forEach(Q=>{var xe;G==null||G.appendChild(Q),(xe=Q==null?void 0:Q.style)==null||xe.removeProperty("display")})}catch(Q){}G.innerHTML=Y+G.innerHTML}),state$1.vfmeasures=state$1.vfmeasures.concat(m)}},collisionDetection=(i,e,r=0,s=0)=>{const o=i.getBBox(),a=e.getBBox();let l=o.y-s,c=o.x-r,u=o.x+o.width+r,d=o.y+o.height+s,g=a.y,m=a.x,y=a.x+a.width,b=a.y+a.height;return d<g||c>y||l>b||u<m?{isCollision:!1,t1:l,l1:c,r1:u,b1:d,t2:g,l2:m,r2:y,b2:b,x1:o.x,y1:o.y,x2:a.x,y2:a.y,h1:o.height,h2:a.height,w1:o.width,w2:a.width}:{isCollision:!0,t1:l,l1:c,r1:u,b1:d,t2:g,l2:m,r2:y,b2:b,x1:o.x,y1:o.y,x2:a.x,y2:a.y,h1:o.height,h2:a.height,w1:o.width,w2:a.width}},setGlobalMusicSheet=()=>{const i=state$1.partIndex+"",r=[{id:"12644",part_index:"25",direction:1}].find(({id:C,part_index:T})=>C==state$1.cbsExamSongId&&T==i);setGlobalData("tieDirection",r?r.direction:void 0);const o=[{id:"3509",part_index:"16",direction:1}].find(({id:C,part_index:T})=>C==state$1.cbsExamSongId&&T==i);o&&setGlobalData("graceCustom",{direction:o.direction});const l=[{id:"3030",part_index:"17",line:4},{id:"12704",part_index:"23",line:3}].find(({id:C,part_index:T})=>C==state$1.cbsExamSongId&&T==i);l&&setGlobalData("customBassDrum",l.line);const u=[{id:"11654",part_index:"16",stemNotes:[{id:124,direction:0},{id:125,direction:0},{id:126,direction:0},{id:127,direction:0},{id:128,direction:0}]},{id:"3581",part_index:"4",stemNotes:[{id:380,direction:1}]},{id:"3470",part_index:"0",stemNotes:[{id:36,direction:1},{id:37,direction:1}]},{id:"3470",part_index:"11",stemNotes:[{id:33,direction:1},{id:56,direction:1}]},{id:"12644",part_index:"22",stemNotes:[{id:22,direction:1},{id:26,direction:1},{id:135,direction:1},{id:163,direction:1},{id:199,direction:1},{id:204,direction:1},{id:206,direction:1},{id:208,direction:1},{id:210,direction:1},{id:213,direction:1}]},{id:"12303",part_index:"18",stemNotes:[{id:1,direction:1},{id:4,direction:1},{id:6,direction:1},{id:9,direction:1},{id:12,direction:1},{id:14,direction:1}]},{id:"12669",part_index:"24",stemNotes:[{id:65,direction:1},{id:296,direction:1},{id:298,direction:1},{id:300,direction:1},{id:338,direction:1}]},{id:"12420",part_index:"21",stemNotes:[{id:614,direction:0},{id:617,direction:0},{id:619,direction:0},{id:621,direction:0}]},{id:"12711",part_index:"22",stemNotes:[]},{id:"12973",part_index:"21",stemNotes:[{id:619,direction:1},{id:622,direction:1},{id:745,direction:1}]}].find(({id:C,part_index:T})=>C==state$1.cbsExamSongId&&T==i);u&&setGlobalData("stemDirectionNote",u.stemNotes);const g=[{id:"12711",part_index:"4",vfcurve:[{MeasureNumberXML:25,index:1,bezierEndControlPt:{y:-2}},{MeasureNumberXML:33,index:1,bezierEndControlPt:{y:-2}}]},{id:"12059",part_index:"0",vfcurve:[{MeasureNumberXML:15,bezierEndControlPt:{y:2.8},bezierEndPt:{y:1.1}},{MeasureNumberXML:16,bezierEndControlPt:{y:-1}},{MeasureNumberXML:19,index:1,bezierEndControlPt:{y:2}},{MeasureNumberXML:20,bezierEndControlPt:{y:-1}},{MeasureNumberXML:42,index:1,bezierEndControlPt:{y:-1.5},bezierStartControlPt:{y:-1.5}},{MeasureNumberXML:46,index:3,bezierEndControlPt:{y:-1.5},bezierStartControlPt:{y:-1.5}}]},{id:"12668",part_index:"11",vfcurve:[{MeasureNumberXML:8,index:2,bezierEndControlPt:{y:-3},bezierStartControlPt:{y:-3},bezierEndPt:{y:-1}}]},{id:"11976",part_index:"0",vfcurve:[{MeasureNumberXML:14,index:4,bezierEndControlPt:{y:-3}},{MeasureNumberXML:14,index:1,bezierEndPt:{y:1.5},bezierEndControlPt:{y:1}}]}].find(({id:C,part_index:T})=>C==state$1.cbsExamSongId&&T==i);g&&setGlobalData("vfcurveItem",g.vfcurve),[{id:"12644",part_index:"25"}].find(({id:C,part_index:T})=>C==state$1.cbsExamSongId&&T==i)&&setGlobalData("customArtPosition",!0),[{id:"12645",part_index:"5"}].find(({id:C,part_index:T})=>C==state$1.cbsExamSongId&&T==i)&&setGlobalData("customTenutoItem",!0),([{id:"12711",part_index:"22"},{id:"12711",part_index:"25"}].find(({id:C,part_index:T})=>C==state$1.cbsExamSongId&&T==i)||state$1.isEvxml)&&setGlobalData("customAccentItem",!0),[{id:"12711",part_index:"25"},{id:"7755",part_index:"10"},{id:"6226",part_index:"16"}].find(({id:C,part_index:T})=>C==state$1.cbsExamSongId&&T==i)&&setGlobalData("customLefthandpizzicatoItem",!0)},setCustomGradual=()=>{if(state$1.gradualTimes){const i=state$1.cbsExamSongId+"",e=state$1.partIndex+"";["12280"].includes(i)&&["24"].includes(e)&&(state$1.gradualTimes[8]="00:26:10",state$1.gradualTimes[66]="01:53:35",state$1.gradualTimes[90]="02:41:40")}},setCustomNoteRealValue=()=>{const i=state$1.cbsExamSongId+"",e=state$1.partIndex+"";["2670"].includes(i)&&(customData.customNoteRealValue={0:.03125}),["12673"].includes(i)&&["22"].includes(e)&&(customData.customNoteRealValue={208:.125}),["12667","12673"].includes(i)&&(customData.customNoteCurrentTime=!0)},musicRenderTypeKey="musicRenderType";let osmd=null;const musicData=reactive({showSelection:!1,isRenderLoading:!0,score:"",containerWidth:0,isRefreshLoading:!1}),resetRenderMusicScore=i=>{const e=queryString.parse(location.search),r=queryString.stringify({...e,_t:Date.now(),musicRenderType:i,isSingleLine:state$1.isSingleLine});location.search="?"+r},downloadXmlStr=ref(""),MusicScore=defineComponent({name:"music-score",emits:["rendered"],props:{showSelection:{type:Boolean,default:!0},renderTypeKey:{type:String,default:""},musicColor:{type:String,default:""},showPartNames:{type:Boolean,default:!1}},setup(i,{emit:e,slots:r,expose:s}){const o=()=>{const g=sessionStorage.getItem(i.renderTypeKey||musicRenderTypeKey);g in EnumMusicRenderType&&(state$1.musicRenderType=g)},a=async()=>{const g=downloadXmlStr.value||await fetch(state$1.xmlUrl).then(y=>y.text());downloadXmlStr.value="";const m=formatXML(g);musicData.score=state$1.isCombineRender?m:onlyVisible(m,state$1.partIndex),state$1.gradualTimes&&(state$1.gradual=getGradualLengthByXml(m))},l=async()=>{const g=document.getElementById("musicAndSelection");!g||!musicData.score||(setGlobalMusicSheet(),osmd=new OpenSheetMusicDisplay(g,{drawTitle:!1,drawSubtitle:!1,autoResize:!1,followCursor:!1,drawPartNames:i.showPartNames,drawLyricist:!1,drawComposer:!1,defaultColorMusic:i.musicColor,renderSingleHorizontalStaffline:!!state$1.isSingleLine,autoGenerateMultipleRestMeasuresFromRestMeasures:!state$1.isSingleLine,colorStemsLikeNoteheads:!0}),state$1.isSimplePage?(osmd.EngravingRules.PageTopMargin=0,osmd.EngravingRules.PageTopMarginNarrow=0,osmd.EngravingRules.PageLeftMargin=0,osmd.EngravingRules.PageRightMargin=0,osmd.EngravingRules.BreathMarkDistance=.1,osmd.EngravingRules.PageBottomMargin=0):(osmd.EngravingRules.PageTopMargin=2,osmd.EngravingRules.PageTopMarginNarrow=3,osmd.EngravingRules.PageLeftMargin=2,osmd.EngravingRules.PageRightMargin=2,osmd.EngravingRules.BreathMarkDistance=.1,osmd.EngravingRules.PageBottomMargin=state$1.isSingleLine?2:18),osmd.EngravingRules.DYMusicScoreType=state$1.musicRenderType===EnumMusicRenderType.staff?"staff":"jianpu",state$1.musicRenderType===EnumMusicRenderType.fixedTone&&(window.sett={keySignature:!0}),osmd.EngravingRules.DYMusicScoreId=state$1.examSongId||"",osmd.EngravingRules.DYCustomRepeatCount=state$1.maxLyricNum||0,await osmd.load(musicData.score),osmd.zoom=state$1.isSimplePage?.6:state$1.zoom,osmd.render(),console.log("🚀 ~ osmd:",osmd),e("rendered",osmd),resetFormate(),resetGivenFormate(),musicData.showSelection=!0)},c=()=>{var g;musicData.containerWidth=((g=document.getElementById("musicAndSelection"))==null?void 0:g.offsetWidth)||625};onMounted(async()=>{c(),o(),await a(),await l(),musicData.isRenderLoading=!1});const u=computed(()=>{var y;let g=!1;const m=((y=state$1.times[state$1.activeNoteIndex])==null?void 0:y.measureListIndex)||-1;for(const[b,A]of state$1.gradual)if(b&&A&&(g=b.measureIndex<=m&&m<A.measureIndex,g))break;return g});return s({refreshMusicScore:async()=>{console.log("刷新谱面123");const g=document.getElementById("musicAndSelection"),m=document.getElementById("osmdCanvasPage1"),y=document.getElementById("selectionBox");g&&m&&(g==null||g.removeChild(m),g==null||g.removeChild(y)),state$1.vfmeasures=[],musicData.showSelection=!1,state$1.osmd.clear(),musicData.isRenderLoading=!0,musicData.isRefreshLoading=!0,state$1.audioDone=!1,c(),o(),await a(),await l(),musicData.isRenderLoading=!1,musicData.isRefreshLoading=!1,state$1.audioDone=!0,musicData.showSelection=!0}}),()=>{var g;return createVNode("div",{id:"musicAndSelection",style:{"--music-zoom":state$1.musicZoom},class:[u.value&&styles$f.inGradualRange,state$1.musicRenderType==EnumMusicRenderType.staff?"staff":"jianpuTone",state$1.isSingleLine&&"singleLineMusicBox"]},[(g=r.default)==null?void 0:g.call(r),i.showSelection&&musicData.showSelection&&!state$1.isPreView&&!state$1.isEvaluatReport&&!state$1.isSimplePage&&createVNode(Selection,null,null)])}}}),earphoneBox="_earphoneBox_1k5ae_1",earphoneBg="_earphoneBg_1k5ae_6",earphoneBtn$1="_earphoneBtn_1k5ae_13",styles$e={earphoneBox,earphoneBg,earphoneBtn:earphoneBtn$1},noEarphone=""+new URL("../png/no_erji-b52e4bd3.png",import.meta.url).href,youxianEarphone=""+new URL("../png/youxian_erji-d82c6f6a.png",import.meta.url).href,lanyaEarphone=""+new URL("../png/lanya_erji-0f98a78b.png",import.meta.url).href,earphoneBtn=""+new URL("../png/confirm-44317bcb.png",import.meta.url).href,Earphone=defineComponent({name:"earphone",emits:["close"],props:{earphoneType:{type:String,default:""}},setup(i,{emit:e}){return()=>createVNode("div",{class:styles$e.earphoneBox},[createVNode("img",{class:styles$e.earphoneBg,src:i.earphoneType==="有线耳机"?youxianEarphone:i.earphoneType==="蓝牙耳机"?lanyaEarphone:noEarphone},null),createVNode("img",{class:styles$e.earphoneBtn,src:earphoneBtn,onClick:()=>e("close")},null)])}}),startBtn$1="_startBtn_egarl_4",endBtn$1="_endBtn_egarl_19",operatingBtn$1="_operatingBtn_egarl_33",iconBtn$1="_iconBtn_egarl_42",dialogueBox="_dialogueBox_egarl_50",dialogue="_dialogue_egarl_50",dialoguebg="_dialoguebg_egarl_67",dialogueing="_dialogueing_egarl_82",dialogueIcon="_dialogueIcon_egarl_96",inRadioIcon="_inRadioIcon_egarl_100",preJson$1="_preJson_egarl_105",styles$d={startBtn:startBtn$1,endBtn:endBtn$1,operatingBtn:operatingBtn$1,iconBtn:iconBtn$1,dialogueBox,dialogue,dialoguebg,dialogueing,dialogueIcon,inRadioIcon,preJson:preJson$1},evaluatResult="_evaluatResult_jbmeb_1",closeBtn="_closeBtn_jbmeb_9",headerButton="_headerButton_jbmeb_25",headBtn="_headBtn_jbmeb_35",fraction$2="_fraction_jbmeb_52",fractionPercussion="_fractionPercussion_jbmeb_62",bg="_bg_jbmeb_65",top$1="_top_jbmeb_74",badge="_badge_jbmeb_80",text="_text_jbmeb_86",badgeText="_badgeText_jbmeb_101",level="_level_jbmeb_104",num="_num_jbmeb_120",rightBadge="_rightBadge_jbmeb_125",tips$1="_tips_jbmeb_133",ctrls="_ctrls_jbmeb_140",ctrlsBtn="_ctrlsBtn_jbmeb_146",detail$2="_detail_jbmeb_169",progressitem="_progressitem_jbmeb_179",percussion="_percussion_jbmeb_212",scoreDes="_scoreDes_jbmeb_222",scoreNum="_scoreNum_jbmeb_226",disablued="_disablued_jbmeb_230",styles$c={evaluatResult,closeBtn,headerButton,headBtn,fraction:fraction$2,fractionPercussion,bg,top:top$1,badge,text,badgeText,level,num,rightBadge,tips:tips$1,ctrls,ctrlsBtn,detail:detail$2,progressitem,percussion,scoreDes,scoreNum,disablued},bg1Img=""+new URL("../png/bg1-592ffdaa.png",import.meta.url).href,bg2Img=""+new URL("../png/bg2-824cbb79.png",import.meta.url).href,ckzpImg=""+new URL("../png/ckzp-1968b9e5.png",import.meta.url).href,bczpImg=""+new URL("../png/bczp-71f45219.png",import.meta.url).href,bczpJzImg=""+new URL("../png/bczpJz-906d5ca2.png",import.meta.url).href,zlycImg=""+new URL("../png/zlyc-7efcb840.png",import.meta.url).href,iconBadge=""+new URL("../png/icon-badge-43df9247.png",import.meta.url).href,icon_expression0=""+new URL("../png/icon_expression0-b8991383.png",import.meta.url).href,icon_expression1=""+new URL("../png/icon_expression1-f13be586.png",import.meta.url).href,icon_expression2=""+new URL("../png/icon_expression2-874c6bf2.png",import.meta.url).href,icon_expression3=""+new URL("../png/icon_expression3-ed1128a2.png",import.meta.url).href,icon_expression4=""+new URL("../png/icon_expression4-2efddc6f.png",import.meta.url).href,yzImg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAe1BMVEUAA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M4EN95Zdicg6EHBLKlq5bBy2X5yzolMcnj7SHugNFTXFWpFCzOX6xM/e+bSC7WGvRRvw2cgnUgOUWr5C6kglxVcZtc7MDqY0cmNjnZ09q/QLzI0MPNllJEKAAAAAElFTkSuQmCC",wzxImg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAeFBMVEUAAAAcrfEbrPEcrPEcrfEdrvMarPMcrPIbrPEUr/wcrfIbrvEbrvIcrPEXr/wApPcbrPIcrPIbrPIcrfIcrPEbrPIcrPEcrfIcrfIbrvQbrfEcqvEcrPIcrPEcrfEcrfEYsPcepf8crPIcrPEcrvIdq/EbrfEcrPFQhzQkAAAAJ3RSTlMAxkPh3CwodfwM4kEm9w8F6bRpVTUu9KKZSj0YrZeRgiAI0cmHfXDgQdxoAAAA1klEQVQ4y83SyZbCIBRF0YskVYlVkM609tV4//8PxYArEmOcOHAPmHBYb8DDi6yyQI4EWTfcF4oTohZOkrIpP0bKhmlyHUCJCZIrWAsKIAk95rHg4jao6anvgjzw5OPg3vNgw/BhcFibIw7xMPjkz79p5gJSneYDI/eCfdSr2iGQXrBjLypsIH5Tcu2NiHtHN+IL0OXRC5whMN4t2CulqmIm2NHI50ZorWMYeruslFuFyaVteNHBcWu/Lb+tGKIPDrjVRryS9qMEfF0WLK0NUNTZn8brnAGRVhzgJkqXBQAAAABJRU5ErkJggg==",closeImg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYBAMAAAASWSDLAAAAIVBMVEUAAAD////////////////////////////////////////PIev5AAAAC3RSTlMAs22uE5szFlEqgLv7pMEAAACBSURBVBjTY8ADnBogNIsGkFAUgnBcBScwMDQKKoAlAoULGBiYBIUgEmYgShEoBZJIALJBUlAJqBREAipVCpKASRmCJGBSCAkGdkPBBUAKZjnELqjlC8HOgFoOdQbEcpBdMAmwXTAJiDNgEjApRajlimDPQS1nAnmOE4jBYDpq2AAAbpwTvo1r5AEAAAAASUVORK5CYII=",EvaluatResult=defineComponent({name:"evaluatResult",emits:["close"],setup(i,{emit:e}){const r=getQuery(),s=reactive({saveLoading:!0,showPopover:!0}),o={BEGINNER:"入门级",ADVANCED:"进阶级",PERFORMER:"大师级"},a=async()=>{console.log("结束",evaluatingData.resultData),evaluatingData.resultData.scoreData.musicType=state$1.musicRenderType;const c={deviceType:browser().android?"ANDROID":"IOS",intonation:evaluatingData.resultData.intonation,cadence:evaluatingData.resultData.cadence,integrity:evaluatingData.resultData.integrity,scoreData:JSON.stringify(evaluatingData.resultData.scoreData),behaviorId:getBehaviorId(),sourceTime:getAudioDuration(),partIndex:state$1.partIndex,speed:state$1.speed,practiceSource:r.workRecord?"LESSON_TRAINING":"EVALUATION",score:evaluatingData.resultData.score,clientType:storeData.user.clientType,musicSheetId:state$1.examSongId,feature:"EVALUATION",playTime:evaluatingData.resultData.playTime/1e3,heardLevel:state$1.setting.evaluationDifficulty,recordFilePath:evaluatingData.resultData.url};s.saveLoading=!0;const u=await api_musicPracticeRecordSave(c);(u==null?void 0:u.code)===200&&(evaluatingData.resultData.recordId=u.data),s.saveLoading=!1},l=()=>{e("close","update")};return onMounted(()=>{evaluatingData.isErrorState||a()}),watch(()=>evaluatingData.resulstMode,c=>{c&&setTimeout(()=>{evaluatingData.isErrorState||a()},0)}),()=>createVNode(Fragment,null,[!evaluatingData.hideResultModal&&createVNode("div",{class:styles$c.evaluatResult},[createVNode("div",{class:styles$c.closeBtn,onClick:()=>e("close")},[createVNode("img",{src:iconBack},null)]),createVNode("div",{class:[styles$c.fraction,state$1.isPercussion&&styles$c.fractionPercussion]},[createVNode("img",{class:styles$c.bg,src:state$1.isPercussion?bg2Img:bg1Img},null),createVNode("div",{class:styles$c.top},[evaluatingData.resultData.score>79&&createVNode("img",{class:styles$c.badge,src:iconBadge},null),createVNode("div",{class:[styles$c.text,evaluatingData.resultData.score>79&&styles$c.badgeText]},[createVNode("div",{class:styles$c.num},[evaluatingData.resultData.score]),createVNode("div",{class:styles$c.score},[createTextVNode("分")]),createVNode("div",{class:styles$c.level},[createVNode("div",null,[o[evaluatingData.resultData.heardLevel]]),createVNode("span",null,[createTextVNode("|")]),createVNode("div",null,[createTextVNode("速度"),evaluatingData.resultData.speed])])]),createVNode("img",{style:{display:evaluatingData.resultData.leve===0?"":"none"},class:styles$c.rightBadge,src:icon_expression0},null),createVNode("img",{style:{display:evaluatingData.resultData.leve===1?"":"none"},class:styles$c.rightBadge,src:icon_expression1},null),createVNode("img",{style:{display:evaluatingData.resultData.leve===2?"":"none"},class:styles$c.rightBadge,src:icon_expression2},null),createVNode("img",{style:{display:evaluatingData.resultData.leve===3?"":"none"},class:styles$c.rightBadge,src:icon_expression3},null),createVNode("img",{style:{display:evaluatingData.resultData.leve===4?"":"none"},class:styles$c.rightBadge,src:icon_expression4},null)]),!state$1.isPercussion&&createVNode("div",{class:styles$c.detail},[createVNode("div",{class:styles$c.progressitem},[createVNode("div",null,[createVNode("img",{src:yzImg},null),createVNode("span",null,[createTextVNode("音准")])]),createVNode("div",null,[evaluatingData.resultData.intonation,createTextVNode("分")])]),createVNode("div",{class:styles$c.progressitem},[createVNode("div",null,[createVNode("img",{src:jzImg},null),createVNode("span",null,[createTextVNode("节奏")])]),createVNode("div",null,[evaluatingData.resultData.cadence,createTextVNode("分")])]),createVNode("div",{class:styles$c.progressitem},[createVNode("div",null,[createVNode("img",{src:wzxImg},null),createVNode("span",null,[createTextVNode("完成度")])]),createVNode("div",null,[evaluatingData.resultData.integrity,createTextVNode("分")])])]),createVNode("div",{class:styles$c.tips},[evaluatingData.resultData.clxtip]),createVNode("div",{class:styles$c.ctrls},[createVNode("img",{src:zlycImg,class:styles$c.ctrlsBtn,onClick:()=>e("close","tryagain")},null),!state$1.isHideEvaluatReportSaveBtn&&evaluatingData.resultData.recordId?createVNode("img",{src:bczpImg,class:styles$c.ctrlsBtn,onClick:debounce(l,300)},null):createVNode(Popover,{class:"savePopoverClose",placement:"top",show:s.showPopover,"onUpdate:show":c=>s.showPopover=c,theme:"dark"},{default:()=>[createVNode("div",{class:"popoverClose"},[createVNode("div",null,[createTextVNode("该曲目暂不支持保存作品噢~")]),createVNode("img",{src:closeImg,onClick:()=>{s.showPopover=!1}},null)])],reference:()=>createVNode("img",{src:bczpJzImg,class:styles$c.ctrlsBtn},null)}),createVNode("img",{src:ckzpImg,class:[styles$c.ctrlsBtn,s.saveLoading?styles$c.disablued:""],onClick:()=>e("close","look")},null)])])])])}}),fraction$1="_fraction_1ybuf_1",title$5="_title_1ybuf_10",tip$1="_tip_1ybuf_21",btns$2="_btns_1ybuf_26",btn$3="_btn_1ybuf_26",styles$b={fraction:fraction$1,title:title$5,tip:tip$1,btns:btns$2,btn:btn$3},icon_title=""+new URL("../svg/icon_title-e17b577f.svg",import.meta.url).href,icon_cancel$1=""+new URL("../svg/icon_cancel-06949ce5.svg",import.meta.url).href,icon_confirm$1=""+new URL("../svg/icon_confirm-fa958ade.svg",import.meta.url).href,EvaluatAudio=defineComponent({name:"evaluat-audio",emits:["close"],setup(i,{emit:e}){return()=>createVNode("div",{class:styles$b.fraction},[createVNode("div",{class:styles$b.title},[createVNode("img",{src:icon_title},null)]),createVNode("div",{class:styles$b.tip},[createTextVNode("评测"),state$1.setting.camera&&state$1.setting.saveToAlbum?"音视频":"音频",createTextVNode("是否上传到云端?")]),createVNode("div",{class:styles$b.btns},[createVNode("img",{src:icon_cancel$1,class:styles$b.btn,onClick:()=>e("close")},null),createVNode("img",{src:icon_confirm$1,class:styles$b.btn,onClick:()=>e("close",!0)},null)])])}}),iframe="_iframe_1j216_1",btns$1="_btns_1j216_6",sbtn="_sbtn_1j216_14",disabled$1="_disabled_1j216_24",styles$a={iframe,btns:btns$1,sbtn,disabled:disabled$1},EvaluatShare=defineComponent({name:"evaluat-share",emits:["close"],setup(i,{emit:e}){const r=ref(""),s=ref(""),o=ref(!0),a=()=>{var d,g,m,y,b,A,S;const u={name:((d=storeData.user)==null?void 0:d.username)||"",subjectName:(((g=storeData.user)==null?void 0:g.subjectNames)||"").split(",")[0]||"",avatar:encodeURIComponent(((m=storeData.user)==null?void 0:m.avatar)||""),score:((y=evaluatingData.resultData)==null?void 0:y.score)||0,examSongName:state$1.examSongName||""};state$1.isPercussion||(u.intonation=(b=evaluatingData.resultData)==null?void 0:b.intonation,u.cadence=(A=evaluatingData.resultData)==null?void 0:A.cadence,u.integrity=(S=evaluatingData.resultData)==null?void 0:S.integrity),r.value=`${location.origin}/share-colexiu-evaluating/index.html?${queryString.stringify(u)}`},l=u=>{const d=u.target;d&&(d.contentWindow.setPng=g=>{s.value=g,o.value=!1})},c=async()=>{var d,g,m;const u=await api_shareAchievements({title:"分享我的乐器练习进度,一起见证我的成长!",desc:"晒一下我的评测分数,快来“小酷AI”上和我PK一下吧!",image:s.value,video:"",type:"image",button:["copy"],url:a()});!((d=u==null?void 0:u.content)!=null&&d.status)&&((g=u==null?void 0:u.content)!=null&&g.message)&&Snackbar$1((m=u==null?void 0:u.content)==null?void 0:m.message),e("close")};return onMounted(()=>{a()}),()=>createVNode("div",null,[createVNode("div",{class:styles$a.btns},[createVNode("div",{class:styles$a.sbtn,onClick:()=>e("close")},[createTextVNode("取消")]),createVNode("div",{class:[styles$a.sbtn,o.value&&styles$a.disabled],onClick:c},[createTextVNode("继续")])]),createVNode("iframe",{class:styles$a.iframe,src:r.value,onLoad:l},null)])}});let actualBeatLength=0,calculateInfo={};const EvaluatModel=defineComponent({name:"evaluat-model",setup(){const i=getQuery(),e=reactive({tips:!0,evaluatUpdateAudio:!1,isSaveVideo:state$1.setting.camera&&state$1.setting.saveToAlbum,shareMode:!1}),r=()=>{i.workRecord?(evaluatingData.soundEffectMode=!1,api_back()):(evaluatingData.soundEffectMode=!1,handleRessetState(),headTopData.modeType="init")},s=browser(),o=async A=>{var S,E;if(A!=="start"){const x=await getEarphone();(S=x==null?void 0:x.content)!=null&&S.checkIsWired,console.log("耳机状态111",x),evaluatingData.earphoneMode=!0,evaluatingData.earPhoneType=((E=x==null?void 0:x.content)==null?void 0:E.type)||"",evaluatingData.earPhoneType==="有线耳机"&&setTimeout(()=>{evaluatingData.earphoneMode=!1},3e3)}console.log("检测结束,生成数据",evaluatingData.websocketState,evaluatingData.startBegin,evaluatingData.checkEnd),l()},a=()=>{var _,V;let A=0,S=!1,E=!1,x=!1;const P=[];let C=state$1.times,T=0,k=0,I=[];if(actualBeatLength=Math.round(state$1.times[0].fixtime*1e3/1),state$1.isSelectMeasureMode&&state$1.section.length){const D=state$1.times.findIndex(N=>N.noteId==state$1.section[0].noteId);let F=state$1.times.findIndex(N=>N.noteId==state$1.section[1].noteId);if(F=F<state$1.section[1].i?state$1.section[1].i:F,D>1){const N=D-1-state$1.times[D-1].si;k=state$1.times[N]?state$1.times[N].time*1e3:0}actualBeatLength=D==0&&state$1.isOpenMetronome?actualBeatLength:0,C=state$1.times.filter((N,K)=>K>=D&&K<=F),I=state$1.times.filter((N,K)=>K<D),T=D,A=C[0].sourceRelativeTime||C[0].relativeTime}actualBeatLength=I.length?actualBeatLength+I[I.length-1].relaMeasureLength*1e3:actualBeatLength;let M=T>1?k:0,R=-1,B=-1;for(let D=0;D<C.length;D++){const F=C[D],N=getNoteByMeasuresSlursStart(F),K=1,G=F.difftime,q=G+(F.sourceRelativeTime||F.relativeTime)-A,O=G+(F.sourceRelaEndtime||F.relaEndtime)-A,$=N.noteElement.voiceEntry.isStaccato()?.5:1;(N.formatLyricsEntries.contains("Play")||N.formatLyricsEntries.contains("Play..."))&&(S=!1),N.formatLyricsEntries.contains("Listen")&&(S=!0),N.formatLyricsEntries.contains("纯律结束")&&(E=!1),N.formatLyricsEntries.contains("纯律")&&(E=!0);const Y=C[D+1];x&&(N.stave||!F.noteElement.isRestFlag||Y&&!Y.noteElement.isRestFlag)&&(x=!1),N.noteElement.isRestFlag&&N.stave&&Y&&Y.noteElement.isRestFlag&&(x=!0),N.measureOpenIndex!=B&&(R++,B=N.measureOpenIndex);const Q={timeStamp:q*1e3/K,duration:(O*1e3/K-q*1e3/K)*$,frequency:F.frequency,nextFrequency:F.nextFrequency,prevFrequency:F.prevFrequency,measureIndex:R,measureRenderIndex:F.measureListIndex,dontEvaluating:S||E||F.skipMode,musicalNotesIndex:D,denominator:(_=N.noteElement)==null?void 0:_.Length.denominator,isOrnament:!!((V=N==null?void 0:N.voiceEntry)!=null&&V.ornamentContainer)};P.push(Q)}return{datas:P,firstNoteTime:M}},l=async()=>{const A=localStorage.getItem("behaviorId")||localStorage.getItem("BEHAVIORID")||void 0;let S=state$1.speed/state$1.originSpeed;S=parseFloat(S.toFixed(2)),console.log("速度比例",S,"速度",state$1.speed),calculateInfo=a();const E={musicXmlInfos:calculateInfo.datas,subjectId:state$1.musicalCode,detailId:state$1.detailId,examSongId:state$1.examSongId,xmlUrl:state$1.xmlUrl,partIndex:state$1.partIndex,behaviorId:A,platform:s.ios?"IOS":s.android?"ANDROID":"WEB",clientId:storeData.platformType==="STUDENT"?"student":storeData.platformType==="TEACHER"?"teacher":"education",hertz:state$1.setting.frequency,reactionTimeMs:state$1.setting.reactionTimeMs?Number(state$1.setting.reactionTimeMs):0,speed:state$1.speed,heardLevel:state$1.setting.evaluationDifficulty,beatLength:actualBeatLength,evaluationCriteria:state$1.evaluationStandard,speedRate:S};await connectWebsocket(E)},c=A=>{var S,E,x,P;if(A==="update"){if(state$1.isAppPlay){e.evaluatUpdateAudio=!0,resetPlaybackToStart();return}else if((S=evaluatingData.resultData)!=null&&S.recordIdStr||(E=evaluatingData.resultData)!=null&&E.recordId){let C=state$1.speed/state$1.originSpeed;C=parseFloat(C.toFixed(2)),api_openAdjustRecording({recordId:((x=evaluatingData.resultData)==null?void 0:x.recordIdStr)||((P=evaluatingData.resultData)==null?void 0:P.recordId),title:state$1.examSongName||"曲谱演奏",coverImg:state$1.coverImg,speedRate:C,musicRenderType:state$1.musicRenderType,musicSheetId:state$1.examSongId});return}}else if(A==="share"){e.shareMode=!0;return}else if(A==="look"){handleViewReport("recordId","instrument");return}else A==="practise"?handleStartEvaluat():A==="tryagain"?g():A==="selfCancel"&&(evaluatingData.oneselfCancleEvaluating=!0,handleCancelEvaluat(),g());resetPlaybackToStart(),evaluatingData.resulstMode=!1},u=async(A=!1)=>{if(!A){e.evaluatUpdateAudio=!1;return}if(state$1.setting.camera&&state$1.setting.saveToAlbum){e.evaluatUpdateAudio=!1,api_videoUpdate(S=>{var E,x,P,C,T;S&&(((E=S==null?void 0:S.content)==null?void 0:E.type)==="success"?d({id:(x=evaluatingData.resultData)==null?void 0:x.recordId,videoFilePath:(P=S==null?void 0:S.content)==null?void 0:P.filePath}):((C=S==null?void 0:S.content)==null?void 0:C.type)==="error"&&showToast({message:((T=S.content)==null?void 0:T.message)||"上传失败"}))});return}e.evaluatUpdateAudio=!1,showToast("上传成功")},d=async A=>{await api_musicPracticeRecordVideoUpload(A),showToast("上传成功")},g=async()=>{evaluatingData.isErrorState&&!state$1.setting.soundEffect&&(showLoadingToast({message:"处理中",duration:1e3,overlay:!0,overlayClass:styles$d.scoreMode}),await new Promise(S=>{setTimeout(()=>{closeToast(),evaluatingData.isErrorState=!1,S()},1e3)}));const A=await startCheckDelay();A!=null&&A.checked&&(l(),handleStartBegin(calculateInfo.firstNoteTime),evaluatingData.isErrorState&&(evaluatingData.isErrorState=!1,evaluatingData.resulstMode=!1))},m=async A=>{console.log("监听取消延迟检测",A),A!=null&&A.content&&r()},y=async A=>{console.log("监听延迟检测成功",A),A!=null&&A.content&&(evaluatingData.checkEnd=!0,o())},b=()=>{c("tryagain")};return onMounted(async()=>{state$1.setting.soundEffect?await api_startDelayCheck({}):(evaluatingData.checkEnd=!0,o()),evaluatingData.isDisabledPlayMusic=!0,api_cancelDelayCheck(m),api_finishDelayCheck(y),api_retryEvaluating(b)}),()=>createVNode("div",null,[createVNode("div",{class:styles$d.operatingBtn},[evaluatingData.websocketState&&!evaluatingData.startBegin&&evaluatingData.checkEnd&&createVNode("img",{class:styles$d.iconBtn,src:headImg("icon_play.png"),onClick:()=>{g()}},null),evaluatingData.websocketState&&evaluatingData.startBegin&&createVNode(Fragment,null,[createVNode("img",{class:styles$d.iconBtn,src:headImg("icon_reset.png"),onClick:()=>c("selfCancel")},null),createVNode("img",{class:styles$d.iconBtn,src:headImg("submit.png"),onClick:()=>handleEndBegin()},null)])]),createVNode(Countdown,null,null),createVNode(Popup,{teleport:"body",closeOnClickOverlay:!1,class:["popup-custom","van-scale"],transition:"van-scale",show:evaluatingData.earphoneMode,"onUpdate:show":A=>evaluatingData.earphoneMode=A},{default:()=>[createVNode(Earphone,{earphoneType:evaluatingData.earPhoneType,onClose:()=>{evaluatingData.earphoneMode=!1,o("start")}},null)]}),evaluatingData.hideResultModal?createVNode(EvaluatResult,{onClose:c},null):createVNode(Popup,{teleport:"body",closeOnClickOverlay:!1,class:["popup-custom","van-scale"],transition:"van-scale",show:evaluatingData.resulstMode,"onUpdate:show":A=>evaluatingData.resulstMode=A},{default:()=>[createVNode(EvaluatResult,{onClose:c},null)]}),createVNode(Popup,{teleport:"body",closeOnClickOverlay:!1,class:["popup-custom","van-scale"],transition:"van-scale",show:e.evaluatUpdateAudio,"onUpdate:show":A=>e.evaluatUpdateAudio=A},{default:()=>[createVNode(EvaluatAudio,{onClose:u},null)]}),createVNode(Popup,{teleport:"body",class:["popup-custom","van-scale"],transition:"van-scale",show:e.shareMode,"onUpdate:show":A=>e.shareMode=A},{default:()=>[createVNode(EvaluatShare,{onClose:()=>e.shareMode=!1},null)]})])}}),skeleton="_skeleton_q4x4d_1",detail$1="_detail_q4x4d_12",practise="_practise_q4x4d_20",follow="_follow_q4x4d_24",evaluating="_evaluating_q4x4d_28",headHeight="_headHeight_q4x4d_32",headHide="_headHide_q4x4d_40",container="_container_q4x4d_43",pcContainer="_pcContainer_q4x4d_52",fingeringCon="_fingeringCon_q4x4d_55",xiaomi="_xiaomi_q4x4d_80",PC="_PC_q4x4d_84",preViewDetail="_preViewDetail_q4x4d_109",preJson="_preJson_q4x4d_126",headerDown="_headerDown_q4x4d_1",styles$9={skeleton,detail:detail$1,practise,follow,evaluating,headHeight,headHide,container,pcContainer,fingeringCon,xiaomi,PC,preViewDetail,preJson,headerDown},fingeringContainer$1="_fingeringContainer_xflo8_1",vertical="_vertical_xflo8_10",imgs$1="_imgs_xflo8_15",rightContent="_rightContent_xflo8_32",yidiao="_yidiao_xflo8_76",tizhi$1="_tizhi_xflo8_83",canDisplay$1="_canDisplay_xflo8_99",activeopacity="_activeopacity_xflo8_1",leftrotates="_leftrotates_xflo8_1",rightrotates="_rightrotates_xflo8_1",styles$8={fingeringContainer:fingeringContainer$1,vertical,imgs:imgs$1,rightContent,yidiao,tizhi:tizhi$1,canDisplay:canDisplay$1,activeopacity,leftrotates,rightrotates},Fingering=defineComponent({name:"fingering",emits:["open"],setup(i,{emit:e}){const r=reactive({relationshipIndex:0,subject:null,delay:0}),s=async()=>{r.subject=await getFingeringConfig(state$1.fingeringInfo.name),console.log("🚀 ~ fingerData.subject:",r.subject)};onBeforeMount(()=>{s()});const o=computed(()=>{var l;return((l=state$1.times[state$1.activeNoteIndex])==null?void 0:l.realKey)||-1}),a=()=>{const l=Date.now();if(l-r.delay<300){e("open");return}r.delay=l};return()=>{var d,g,m,y,b,A;const l=((g=(d=r.subject)==null?void 0:d.relationship)==null?void 0:g[o.value])||[],c=Array.isArray(l[1])?l[r.relationshipIndex]:l,u=Array.isArray(l[1]);return createVNode(Fragment,null,[state$1.fingeringInfo.direction==="transverse"?createVNode("div",{onClick:()=>a(),class:[styles$8.fingeringContainer]},[createVNode("div",{class:styles$8.imgs},[createVNode("img",{src:(y=(m=r.subject)==null?void 0:m.json)==null?void 0:y.full},null),c.map((S,E)=>{var P,C;const x=typeof S=="string"?S.replace("active-",""):String(S);return createVNode("img",{"data-index":x,src:(C=(P=r.subject)==null?void 0:P.json)==null?void 0:C[x]},null)})]),state$1.fingeringInfo.hasTizhi&&createVNode("div",{class:[styles$8.tizhi,u&&styles$8.canDisplay],onClick:()=>r.relationshipIndex=r.relationshipIndex===0?1:0},[createTextVNode("替指")])]):createVNode("div",{onClick:()=>a(),class:[styles$8.fingeringContainer,styles$8.vertical,state$1.fingeringInfo.name]},[createVNode("div",{class:styles$8.imgs},[createVNode("img",{src:(A=(b=r.subject)==null?void 0:b.json)==null?void 0:A.full},null),c.map((S,E)=>{var P,C;const x=typeof S=="string"?S.replace("active-",""):String(S);return createVNode("img",{"data-index":x,src:(C=(P=r.subject)==null?void 0:P.json)==null?void 0:C[x]},null)})]),state$1.fingeringInfo.hasTizhi&&createVNode("div",{style:{display:state$1.fingeringInfo.disabledFinger?"none":""},class:styles$8.rightContent},[createVNode("div",{class:[styles$8.tizhi,u&&styles$8.canDisplay],onClick:()=>r.relationshipIndex=r.relationshipIndex===0?1:0},[createTextVNode("替指")])])])])}}}),startBtn="_startBtn_668ya_1",endBtn="_endBtn_668ya_17",bottom="_bottom_668ya_31",top="_top_668ya_34",pcEndBtn="_pcEndBtn_668ya_38",noteState="_noteState_668ya_45",dot$1="_dot_668ya_59",operatingBtn="_operatingBtn_668ya_65",iconBtn="_iconBtn_668ya_74",styles$7={startBtn,endBtn,bottom,top,pcEndBtn,noteState,dot:dot$1,operatingBtn,iconBtn},fraction="_fraction_10jqz_1",content$1="_content_10jqz_5",title$4="_title_10jqz_15",erji="_erji_10jqz_21",tip="_tip_10jqz_27",btns="_btns_10jqz_31",btn$2="_btn_10jqz_31",styles$6={fraction,content:content$1,title:title$4,erji,tip,btns,btn:btn$2},title$3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhAAAAEyCAMAAACcUhkbAAADAFBMVEUAAAC67fio5fGS3eeo5/aR4upv1eB11uBq09932OJ11+C77vv49Oxja5LY9/84vtGP4fWL3/OU4/cvpL9+1+Y/wNRz1ult0+dn0eRhz+KG3fF71uSB2Od52OyC2+941OMzqMJByOo1xOk7xup92u0uwucoweYiv+VEwtZGyuxMy+3+mbpSze390uH+nr5azN/9lbf9kLMdveT+osE6rMU6utBYz+6F3On+zt8+r8f9jLB00uH/kZH+psT+rcn+1uX+qcb+yt1d0O/41B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7ocoThkJQdhA4FqQ734IMyOGzp7NCnHpyT7FJikZ1ASZ0YL4oBA0IpmuslsHhKJJlYzeiNVOPEKHnVagAL6QuPdDGFPXoYOM6KIR1IFLGWTu/RAgeu564KxnxKTcenCuBW+5XOoTJrpQUC4OQojHH6cRCTURaeigESGaes0WgtNSIQkh2KchuOUaTuCIp4eI2A8RnhDRBYMBwZJhtBDh+yHMiAhb/P7FNeLSgMSDnLj98pZWYlJeq5rRieqhhHjQL4RQ6CTAbSgYmBRVJaMeQgSJTAhz0GlPCBDX5zLm3A9RcDX7IVK5FQMn4eIWAyKvptKcu/7l218G5JXoAKSHPKKMgBNjfWDaHXj064TwG5HEFplur2DgW4gQg4YQLBrEFhBRjeWV/8iQkrDPZdjgrbnC/RAFqRzMMSdjwjoxBSJnKkkflZhoPatBFYEkl1SXOTiohfAXjZQTO8VexVAf6JSEaBqsXHFLgMrKSrnIlxi44l8Gv3uhcBIXoQ2Xf8yPRz4Fr2faghQXbbnjjkLNrl277lDc+Vjs3Lls2R0u6lssW7ZlSXoe8jc9v2mbu7E1fQAAAABJRU5ErkJggg==",icons$2={title:title$3},icon_cancel=""+new URL("../svg/icon_cancel-8b29bdbf.svg",import.meta.url).href,icon_confirm=""+new URL("../svg/icon_confirm-a51898cd.svg",import.meta.url).href,Microphone=defineComponent({name:"earphone",emits:["close"],setup(i,{emit:e}){return()=>createVNode("div",{class:styles$6.fraction},[createVNode("img",{class:styles$6.erji,src:icons$2.title},null),createVNode("div",{class:styles$6.content},[createVNode("div",{class:styles$6.title},[createTextVNode("开启权限")]),createVNode("div",{class:styles$6.tip},[createTextVNode("请开启麦克风访问权限")]),createVNode("div",{class:styles$6.btns},[createVNode("img",{src:icon_cancel,class:styles$6.btn,onClick:()=>e("close")},null),createVNode("img",{src:icon_confirm,class:styles$6.btn,onClick:()=>e("close")},null)])])])}}),FollowModel=defineComponent({name:"follow-model",setup(){return()=>createVNode(Fragment,null,[createVNode("div",{class:styles$7.operatingBtn},[!followData.start&&createVNode("img",{class:styles$7.iconBtn,src:headImg("icon_play.png"),onClick:()=>{handleFollowStart()}},null),followData.start&&createVNode(Fragment,null,[createVNode("img",{class:styles$7.iconBtn,src:headImg("icon_reset.png"),onClick:()=>handleFollowEnd()},null),createVNode("img",{class:styles$7.iconBtn,src:headImg("submit.png"),onClick:()=>handleFollowEnd()},null)])]),createVNode(Popup,{teleport:"body",closeOnClickOverlay:!1,class:["popup-custom","van-scale"],transition:"van-scale",show:followData.earphone,"onUpdate:show":i=>followData.earphone=i},{default:()=>[createVNode(Microphone,{onClose:()=>{followData.earphone=!1}},null)]})])}}),recordData=reactive({starTime:0}),handleRecord=()=>{if(state$1.modeType!=="practise")return;let i=Date.now()-recordData.starTime;recordData.starTime=Date.now(),i<0&&(i=0);const e=i/1e3,r={clientType:storeData.user.clientType,musicSheetId:state$1.examSongId,sysMusicScoreId:state$1.examSongId,feature:"PRACTICE",practiceSource:"PRACTICE",playTime:e,deviceType:browser().android?"ANDROID":"IOS",behaviorId:getBehaviorId()};api_musicPracticeRecordSave(r)},RecordingTime=defineComponent({name:"recordingTime",setup(){return watch(()=>state$1.playState,()=>{state$1.playState==="play"?recordData.starTime=Date.now():handleRecord()}),()=>createVNode("div",null,null)}}),fingerBox="_fingerBox_nq52r_7",hiddens="_hiddens_nq52r_16",fingerRight="_fingerRight_nq52r_19",fingerContent="_fingerContent_nq52r_23",backBtn$1="_backBtn_nq52r_26",tips="_tips_nq52r_29",tipHidden="_tipHidden_nq52r_46",tipContentbox="_tipContentbox_nq52r_49",tipContent="_tipContent_nq52r_49",fingerBottom="_fingerBottom_nq52r_57",tipsOverlay="_tipsOverlay_nq52r_93",bgIn="_bgIn_nq52r_1",tipsPcBg="_tipsPcBg_nq52r_102",popoverContainer="_popoverContainer_nq52r_115",selected="_selected_nq52r_150",head="_head_nq52r_154",left="_left_nq52r_182",baseBtn="_baseBtn_nq52r_186",wrapFinger="_wrapFinger_nq52r_219",userTab="_userTab_nq52r_225",userTabBox="_userTabBox_nq52r_230",notes="_notes_nq52r_233",lastNoteContent="_lastNoteContent_nq52r_237",noteBox="_noteBox_nq52r_240",noteContent="_noteContent_nq52r_243",changeMusBtn="_changeMusBtn_nq52r_246",optionBtns="_optionBtns_nq52r_263",btnBox="_btnBox_nq52r_302",btnCon="_btnCon_nq52r_309",btnGr="_btnGr_nq52r_315",boxFinger="_boxFinger_nq52r_340",pcBoxFinger="_pcBoxFinger_nq52r_345",tipTitle="_tipTitle_nq52r_360",tipTitleName="_tipTitleName_nq52r_372",tipImg="_tipImg_nq52r_402",tipClose="_tipClose_nq52r_414",iconBook="_iconBook_nq52r_423",tipItem="_tipItem_nq52r_474",iconWrap="_iconWrap_nq52r_482",tipItemIcon="_tipItemIcon_nq52r_488",btnGrToggleBtn="_btnGrToggleBtn_nq52r_499",nameBox="_nameBox_nq52r_510",name="_name_nq52r_510",noteKey="_noteKey_nq52r_516",dot="_dot_nq52r_521",botDot="_botDot_nq52r_526",arrowImg="_arrowImg_nq52r_533",paddingLeft="_paddingLeft_nq52r_547",noteContentWrap="_noteContentWrap_nq52r_559",noteBtn="_noteBtn_nq52r_601",disabled="_disabled_nq52r_612",tipsT="_tipsT_nq52r_618",playTips="_playTips_nq52r_623",playTips2="_playTips2_nq52r_628",playTips5="_playTips5_nq52r_633",playError="_playError_nq52r_638",playSuccess="_playSuccess_nq52r_643",note="_note_nq52r_233",showAnswer="_showAnswer_nq52r_667",errorAnswer="_errorAnswer_nq52r_676",keyActive="_keyActive_nq52r_693",noteName="_noteName_nq52r_705",dotFixed="_dotFixed_nq52r_708",mark="_mark_nq52r_712",oBtn="_oBtn_nq52r_723",gamut="_gamut_nq52r_733",play="_play_nq52r_623",success="_success_nq52r_739",fingeringContainer="_fingeringContainer_nq52r_747",loading="_loading_nq52r_756",loadingWrap="_loadingWrap_nq52r_768",loadingIcon="_loadingIcon_nq52r_775",loadingTip="_loadingTip_nq52r_782",imgs="_imgs_nq52r_808",tizhi="_tizhi_nq52r_823",canDisplay="_canDisplay_nq52r_842",fixedRightBtns="_fixedRightBtns_nq52r_850",active$1="_active_nq52r_881",rightBtn="_rightBtn_nq52r_886",resetBtn$1="_resetBtn_nq52r_918",toggleBtn="_toggleBtn_nq52r_921",toggleBtnhulusi="_toggleBtnhulusi_nq52r_947",topDot="_topDot_nq52r_968",bottomDot="_bottomDot_nq52r_971",toggleBtnhulusi2="_toggleBtnhulusi2_nq52r_977",oterhD="_oterhD_nq52r_981",tones="_tones_nq52r_996",toneTitle="_toneTitle_nq52r_1007",tipWrap="_tipWrap_nq52r_1078",toneAction="_toneAction_nq52r_1090",toneContent="_toneContent_nq52r_1105",hulusiNoteKey="_hulusiNoteKey_nq52r_1142",hulusiBtn="_hulusiBtn_nq52r_1175",changeSubjectPopup="_changeSubjectPopup_nq52r_1217",linkSourceClass="_linkSourceClass_nq52r_1225",changeInstrumentBtn="_changeInstrumentBtn_nq52r_1229",noteContentOther="_noteContentOther_nq52r_1232",dragTopBox="_dragTopBox_nq52r_1240",styles$5={fingerBox,hiddens,fingerRight,fingerContent,backBtn:backBtn$1,tips,tipHidden,tipContentbox,tipContent,fingerBottom,tipsOverlay,bgIn,tipsPcBg,popoverContainer,selected,head,left,baseBtn,wrapFinger,userTab,userTabBox,notes,lastNoteContent,noteBox,noteContent,changeMusBtn,optionBtns,btnBox,btnCon,btnGr,boxFinger,pcBoxFinger,tipTitle,tipTitleName,tipImg,tipClose,iconBook,tipItem,iconWrap,tipItemIcon,btnGrToggleBtn,nameBox,name,noteKey,dot,botDot,arrowImg,paddingLeft,noteContentWrap,noteBtn,disabled,tipsT,playTips,playTips2,playTips5,playError,playSuccess,note,showAnswer,errorAnswer,keyActive,noteName,dotFixed,mark,oBtn,gamut,play,success,fingeringContainer,loading,loadingWrap,loadingIcon,loadingTip,imgs,tizhi,canDisplay,fixedRightBtns,active:active$1,rightBtn,resetBtn:resetBtn$1,toggleBtn,toggleBtnhulusi,topDot,bottomDot,toggleBtnhulusi2,oterhD,tones,toneTitle,tipWrap,toneAction,toneContent,hulusiNoteKey,hulusiBtn,changeSubjectPopup,linkSourceClass,changeInstrumentBtn,noteContentOther,dragTopBox},icon_2_0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAclBMVEUAAABhYWFgYGBgYGBdXV1hYWFiYmJlZWVfX19hYWFhYWFgYGBgYGBhYWFiYmJhYWFhYWFhYWFhYWFiYmJiYmJhYWFhYWFhYWFhYWFiYmJdXV1fX19hYWFhYWFhYWFhYWFgYGBhYWFhYWFiYmJkZGRhYWEM8dLpAAAAJXRSTlMA+0xCD0cGCjXy23Ej4TDW0KGXaj7Jvqh9Ux4WsYxd5+a6XzkcyXAqHgAAASJJREFUOMvF1NmSgyAURVGvCs6aRDMPPe7//8VGjSaI3b51zotwXEVhUei9JKHyfV+F4zwqmzicmkIAKe79cScmbGv9jBRdpGkn+ZYhafOE/FaIpJEZx0nnke5xtJBkQdOa0ztQHOJTmVWtii0U9MMLsI/63V+BVLsoBj7GfgPcXGTq5OwN0SnsXFTB2nvkAKIdJJA9oUCQ3EFAXd9GFBtUzq30BtcBHYHvCSrrCui3NX7HZOPnhD7q3p9MsZ4gdTer4dxXQDBB+tKjz74tW7N3jyXeCyS6O5Rd69Ozg0zydep3g6w1Ve7NILvbRJ6LbHUYl3GQm2WU60Wkt7KKltCXmBdLKBDwrYswk8xGyGx4IMUfUeM1/90UofXDmI0y5p/zAwe0KaLjuaFoAAAAAElFTkSuQmCC",icon_2_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAAv1JREFUWEftlz1oFFEQx//z4qnxTjGVIoiFYsRGwQ9QsLMULMIVKQ72LSF6YCwEsRE5sLAxNmLhIbt7HgdCClsRtAoYIZYWMSjEjyKFYrxsDnL7dsw7dkPuWHcvxuQOuS33zZv57X/evpkhdNlDXcaD7gcaGxvbUa1Wzwkh+qPUU0p9KJVKH5OUzefzA7VabVAIMfA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GBgYGBhYWFiYmJhYWFhYWFhYWFgYGBgYGBhYWG6XaCZAAAAK3RSTlMAu2bmz5B8BfgLWfvsTvTw4tqzpoNrIBYP1cOKc0cyKSQc0smtoJpfQD445kfH0QAAAS5JREFUOMvNktmSgkAMRYPsqyIi48KmAyL9//83dKjuMA1ilU+eF5Y+RS5J4DNy7+ed8jQYC672mnJMGHLKXyruIWKCfbXseDt+GqTdnV+dy0K04syPfJMfPXR+r28UJWvGIqUo7PBH4wmEbWGYOJz8wi/jJEfpYKWt8uPdDd8WMBJimhoUbI2/b2Bkw6jYrKBG0jQ2RVelEzUAZBMC/Z+ky1by9L1op6lIosCtqxM5GFWiqD6NWJFoUbA7WHUuiftgcNoMYE0Ca4gF8F4yvkOKqiXJ1UgKcQbuTMJJJWJxsIX6gyRaeqeXn73g2O49SVmL09FKIKr9uNL1KNnX7dIeQo4bFVktYzsvFkuvYqcBm9JksERm+lI5F/CKUuMCLwhrhPEQ7ODCOraX1vAJf/KtPR1+o/+bAAAAAElFTkSuQmCC",icon_back="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAMAAAAPzWOAAAAApVBMVEX///8AAAD///////////////////////////////////////////////////////////////////////////////////////9LS0tNTU1SUlJsbGywsLC+vr709PRXV1eEhIR3d3fW1tbq6ur8/PxkZGSRkZGhoaHKysrw8PD4+PhhYWHf399eXl5cXFydnZ2np6fj4+NlZWWJiYnFxcXMzMxJSUlbLGwqAAAANnRSTlPLAMekkkMdBcC/vLSyiYB6bWlmWkowKBz+/fzz39vO+uvw1dDL9ujj2M/N99L4+OTh0vXp2dcue6ClAAACC0lEQVRYw7WY61ajMBRGvxJJSqEgFVp7kVrbai/OqDPK+z+aKGDVlZOTNrr/stZeBM416JDILO2LqOd5vUj000x2SAiJ8uMQ3whjXx0hGSYBtATJ0FKSn8HAWW4hka2C1khGogYeWLyBMklGAlaIES3xu7Ck61OSCxzBhV5yjqM410hoB28Bfxb+RK3Exwn4XyWjLk6gO/osUQInId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ym7hl0PfcNnjmwR9zMRXtxXRRLWW6YyLCJ59nqqzMYzDJdvgBSCsj6f6FjixPSmD5XWQVHDB9JW+mr/xPB9D1SwlZfMn/D89aiD0wKx/hAAAAAElFTkSuQmCC",icon_action_cancel="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASgAAABeCAMAAACn1XlDAAACdlBMVEUAAADJvqvDvK3Etqyako3Ds626uLbCuKvMw7bDta3Iv7iQi4nCtq3DtayWkZDBtq3Dtq3DuK/Etq3Dtq2km5bFs63Kv67Ct6yelpHCtqzCtazCt62jnpyRi4iWj4uuqaaclZCUjoqspZu3rKSnpKGak47Ctauhnp2gnJeclI+mn5aimZSon5iupJySjYmmnpeyq5+onZfDt62Vj4ujnpWon5ibl5OmoJuinZaim5SlnpW1qqGvpJ/EuK2ZlJCropv//Pj/+e//+O3/+vH6+vr//fv++vP++/X/+/b//fr/+/T/+vP//Pf++fGkkpL9/Prz8/O/vb20sbGZlZX++O7++fD++O2oop7l39r9+/nr5uL29PH++e///vzr5uP5+fn29fH/+/jm39r39/fl3dn19fXw6+emlJT7+fW8rauol5f49fLz7Oarqani2dX39vbXzcn19PS+vLz8+vf18e3y8fH89+/p49/RxsLo4d3S0dGYlJPm5eXX1ta/sK6clpSUj46SjYz89/L59O728Onj4+Pg2NPIvLr38uydmZjs6+vu6eTMxsKppqX9+fPg39/b2trU09PCwMDNwr+5t7fy7erq5ODZ2NjHxcXPw8DOwb6yo6KmoJyllJTy6uLGxMTNwL2xr6+vq6q2p6WloqL9+vXq6em7urnBtLLv7+/t7e3Lycnd3Nzi2tbf1tLOyMO/ubWin5+fnJurmZn59/T18+/t5uPPzc2yramwoJ+tnJv79Ovk29bY0MzIwr23sa24qafb1dHd08/UzMfTycXDvbi2tLS7tbH27+XGuLbb0c3ZzsrEtrSrmprIx8ft5t7o4NnFw8Oy4vD/AAAAQHRSTlMAByJs11EGEwsfCfs4Zf5JMxwZRKQqDz7CWFNN/vXq/svwnXr64lv+8tC6tJiS9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CiRL7BKGclZVmSELiKEopZN/k5bOQz5Bl+U22oLwAnQiBwaMg1JPBIjGcIVmQSxQpinrhM2BKoshJBEsyeCyCnfwl4Ug0EWBSpMASBBH0FTAhViBTTCARi4RPngUM5Iol0jiOB3wFTCidiEUjYezkecH8ycl/np+fAYQvGjK7j4sAAAAASUVORK5CYII=",icon_arrow="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAKCAYAAAC5Sw6hAAAAAXNSR0IArs4c6QAAASNJREFUKFNjZGBgYNi8ennbf4b/5QwMDEwgPgng338Ghk7/0KgqRpCmTauX9jEwMBaSYACSUsZ+v9DIIrBBZ2bOZH0uzLfl////bqQYxsjIuEvy7Scfk/T032CDQGD/qlU8Xxj/HPjPwGBMjGGMDAxnef6zODiGhX0BqYcbBOKsW7dIjOUv61EGhv8q+A1jvPOH+bd1UFDcK5g6FINAgutXrFBmZvp3lIGRQRyrYf8ZXv79x2QdGBFxF1kewyBw4K9dYcTw7+8BBgZGXlTD/n9mYGJ28AuOOIduCVaDQIo2rlrmysjIsIWBgYENqunX//8MPv5hUbuxuRSnQeD0tXZ51P9//xeDA5OJMdY3OHIZrrDDaxDYsDXLfEG0b0jUZnwRAAD4flULBwtsIQAAAABJRU5ErkJggg==",icon_listen="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAACPxJREFUeF7dXH2MHVUVP2fee/NmRbqtMTWKJvpHJSKNRCM2saYRYhSiGIoUSSB27mu3rVawUUCIEoNRjB8pmmrb7c6dJiUx8qlGBf6gf1FtVSDRxQRNoFpXEjGyrf3Y3ffeHHPwbvL6Ovfj3fnY4vw79+Oc35xz7vm6g7BEz+bNm9+dZdk1WZZdBgCXIOJKALgAANoA8G8AmAWAl4noeUT8daPROLxv377n6iYX69xwYmLivb1e73oAWE9E7xx1b0T8JwAcaDQaaV1g1QIQS0uv1/sOAFw1Kii68Yh4CBHvSJLkUFlr5q1TKUBbt25d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dbvdl0ZRhBdPVGWfmZIinWHBWpzceSJLYGmAhMlX+RXoOD5BKb1sVqRId7wIIYfCMMTWY+0zFUDCcfyNSopUZeQq9I9J0ovks6YCKEeKzjcajT2rq6t4u7Cyx1DfG2vLmTrUUC1gkiJVQ9R2IoV9TBsbG6gnS1vbqSUIGdYVGbGyWqvVXlvVJTnf978MAJ9WfJTzzWbzRUXaha0AtLKysmNjY+NPmj8TUBYaXUtShqax0AIACl9BtwKQ8Iu03fNVlIg0kTta2LjRaOwqqhutASScsUdUd1bz4h3b0tRut9+cpunPlEq3gGmfOhbTMWRqmdnOrKOmFQalZ73ZbO4uontGPFqToNGCmmbKbXMec/qaJvbwrQNkEm/XzqPo1f4jAOA1hi0hkNzFX/RYWwdIOI+qxstSIl6UEbGv9qKeriMlb30nAOU4j4fm5uZKX4XSMZQkyYvjOMa/11EFz6VdDScA5TiPeR/N9u9Y/X1lXke9blNnAOWkQ2yDYFpvqjSwM4CETlBe/94mdKzoPKcAVS1Fpv7noh/JKUBIhKEZtCiNZcflXlQpsvD/AVlOIJS4vYAWAAAAAElFTkSuQmCC",icons$1={icon_2_0,icon_2_1,icon_change_instrument,icon_mode,icon_toggle,icon_back,icon_btn_blue,icon_btn_ylow,icon_btn_red,icon_btn_orange,icon_btn_orange2,icon_btn_green,icon_action_cancel,icon_action_confirm,icon_arrow,icon_listen,icon_click},FIGNER_INSTRUMENT_DATA={"pan-flute":{list:[{key:5,name:"G",octave:4,step:-1,realKey:55,realName:"G4"},{key:6,name:"A",octave:4,step:-1,realKey:57,realName:"A4"},{key:7,name:"B",octave:4,step:-1,realKey:59,realName:"B4"},{key:1,name:"C",octave:5,step:0,realKey:60,realName:"C5"},{key:2,name:"D",octave:5,step:0,realKey:62,realName:"D5"},{key:3,name:"E",octave:5,step:0,realKey:64,realName:"E5"},{key:4,name:"F",octave:5,step:0,realKey:65,realName:"F5"},{key:5,name:"G",octave:5,step:0,realKey:67,realName:"G5"},{key:6,name:"A",octave:5,step:0,realKey:69,realName:"A5"},{key:7,name:"B",octave:5,step:0,realKey:71,realName:"B5"},{key:1,name:"C",octave:6,step:1,realKey:72,realName:"C6"},{key:2,name:"D",octave:6,step:1,realKey:74,realName:"D6"},{key:3,name:"E",octave:6,step:1,realKey:76,realName:"E6"},{key:4,name:"F",octave:6,step:1,realKey:77,realName:"F6"},{key:5,name:"G",octave:6,step:1,realKey:79,realName:"G6"},{key:6,name:"A",octave:6,step:1,realKey:81,realName:"A6"},{key:7,name:"B",octave:6,step:1,realKey:83,realName:"B6"},{key:1,name:"C",octave:7,step:2,realKey:84,realName:"C7"},{key:2,name:"D",octave:7,step:2,realKey:86,realName:"D7"},{key:3,name:"E",octave:7,step:2,realKey:88,realName:"E7"},{key:4,name:"F",octave:7,step:2,realKey:89,realName:"F7"}],tips:[{key:0,name:"呼吸",octave:0,step:0,realKey:0,realName:"使用腹式呼吸法。吸气时,最大限度地向外扩张腹部,胸部保持不动。呼气时,最大限度地向内收缩腹部,胸部保持不动。"},{key:0,name:"吐音",octave:0,step:0,realKey:0,realName:"首先要形成一个正确的口风:微笑——嘴闭紧——嘴角向两边抻——下颌微微往前伸,不要露出牙齿。舌尖伸出—双唇压紧—迅速收回—同时吹气。反复练习这个动作,而且每吹一个音都要用吐音,只有掌握了正确的吐音方法以后,才可以进行演奏。建议对着镜子练习。"},{key:0,name:"移动",octave:0,step:0,realKey:0,realName:"排箫一管一音,移动的准确性就成为重中之重,移动时,保持排箫的水平和垂直以及下唇和吹口的位置关系,而且每次移动都要对正管子。建议练习找管位时先从二度——三度——四度——五度——多度,总之每一次练习都应该是重复正确和纠正错误,开始时注意力很难兼顾三项,慢慢才能配合默契,形成一种下意识动作,直至“手到—嘴到—气到”。"}]},"hulusi-flute":{tips:[{key:0,name:"单吐",octave:0,step:0,realKey:0,realName:"利用舌尖部顶住上腭前半部(即“吐”字发音前状态)截断气流,然后迅速地将舌放开,气息随之吹出。通过一顶一放的连续动作,使气流断续地进入吹口,便可以获得断续分奏的单吐效果,完成单吐的过程。单吐一般在音符上方用“T”标示。根据音乐表现的需要,单吐又可以分为断吐和连吐两种。"},{key:0,name:"双吐",octave:0,step:0,realKey:0,realName:"双吐是用来完成连续快速分奏的技巧。首先用舌尖部顶住前上腭,然后将其放开,发出“吐”字。简言之,在“吐”字发出后,立即加发一个“苦”字,将“吐苦”二字连接起来便是双吐。双吐的符号是“TK”。"},{key:0,name:"三吐",octave:0,step:0,realKey:0,realName:"三吐实际上是单吐和双吐在某种节奏型上的综合运用,符号为“TTK”或者“TKT”,即“吐吐苦”或者“吐苦吐”"}],tones:[{key:5,name:"G",octave:4,step:-1,realKey:0,realName:""},{key:1,name:"C",octave:5,step:0,realKey:0,realName:"C5"},{key:2,name:"D",octave:5,step:0,realKey:0,realName:"D5"},{key:3,name:"E",octave:5,step:0,realKey:0,realName:"E5"},{key:4,name:"F",octave:5,step:0,realKey:0,realName:"F5"},{key:6,name:"A",octave:4,step:-1,realKey:0,realName:"A4"},{key:7,name:"B",octave:4,step:-1,realKey:0,mark:"fall",realName:"B4"}],list:[{key:3,name:"E",octave:4,step:-1,realKey:64,realName:"E4"},{key:4,name:"F",octave:4,step:-1,realKey:65,realName:"F4"},{key:4,name:"F",octave:4,step:-1,mark:"rise",realKey:66,realName:"Gb4"},{key:5,name:"G",octave:4,step:-1,realKey:67,realName:"G4"},{key:6,name:"A",octave:4,step:-1,mark:"fall",realKey:68,realName:"Ab4"},{key:6,name:"A",octave:4,step:-1,realKey:69,realName:"A4"},{key:7,name:"B",octave:4,step:-1,mark:"fall",realKey:70,realName:"Bb4"},{key:7,name:"B",octave:4,step:-1,realKey:71,realName:"B4"},{key:1,name:"C",octave:5,step:0,realKey:72,realName:"C5"},{key:1,name:"C",octave:5,step:0,mark:"rise",realKey:73,realName:"Db5"},{key:2,name:"D",octave:5,step:0,realKey:74,realName:"D5"},{key:3,name:"E",octave:5,step:0,mark:"fall",realKey:75,realName:"Eb5"},{key:3,name:"E",octave:5,step:0,realKey:76,realName:"E5"},{key:4,name:"F",octave:5,step:0,realKey:77,realName:"F5"},{key:4,name:"F",octave:5,step:0,mark:"rise",realKey:78,realName:"Gb5"},{key:5,name:"G",octave:5,step:0,realKey:79,realName:"G5"},{key:6,name:"A",octave:5,step:0,mark:"fall",realKey:80,realName:"Ab5"},{key:6,name:"A",octave:5,step:0,realKey:81,realName:"A5"}],listC5:[{key:6,octave:4,step:-1,name:"E",realKey:64,realName:"E4"},{key:7,name:"F",octave:4,step:-1,mark:"fall",realKey:65,realName:"F4"},{key:7,name:"F",octave:4,step:-1,realKey:66,realName:"Gb4"},{key:1,name:"G",octave:4,step:0,realKey:67,realName:"G4"},{key:1,name:"A",octave:4,step:0,mark:"rise",realKey:68,realName:"Ab4"},{key:2,name:"A",octave:4,step:0,realKey:69,realName:"A4"},{key:3,name:"B",octave:4,step:0,mark:"fall",realKey:70,realName:"Bb4"},{key:3,name:"B",octave:4,step:0,realKey:71,realName:"B4"},{key:4,name:"C",octave:5,step:0,realKey:72,realName:"C5"},{key:4,name:"C",octave:5,step:0,mark:"rise",realKey:73,realName:"Db5"},{key:5,name:"D",octave:5,step:0,realKey:74,realName:"D5"},{key:6,name:"E",octave:5,step:0,mark:"fall",realKey:75,realName:"Eb5"},{key:6,name:"E",octave:5,step:0,realKey:76,realName:"E5"},{key:7,name:"F",octave:5,step:0,realKey:77,realName:"F5"},{key:7,name:"F",octave:5,step:0,mark:"fall",realKey:78,realName:"Gb5"},{key:1,name:"G",octave:5,step:1,realKey:79,realName:"G5"},{key:1,name:"A",octave:5,step:1,mark:"rise",realKey:80,realName:"Ab5"},{key:2,name:"A",octave:5,step:1,realKey:81,realName:"A5"}],listD5:[{key:7,octave:4,step:-1,name:"E",realKey:64,realName:"E4"},{key:1,name:"F",octave:4,step:0,realKey:65,realName:"F4"},{key:1,name:"F",octave:4,step:0,mark:"rise",realKey:66,realName:"Gb4"},{key:2,name:"G",octave:4,step:0,realKey:67,realName:"G4"},{key:3,name:"A",octave:4,step:0,mark:"fall",realKey:68,realName:"Ab4"},{key:3,name:"A",octave:4,step:0,realKey:69,realName:"A4"},{key:4,name:"B",octave:4,step:0,realKey:70,realName:"Bb4"},{key:4,name:"B",octave:4,step:0,mark:"rise",realKey:71,realName:"B4"},{key:5,name:"C",octave:5,step:0,realKey:72,realName:"C5"},{key:6,name:"C",octave:5,step:0,mark:"fall",realKey:73,realName:"Db5"},{key:6,name:"D",octave:5,step:0,realKey:74,realName:"D5"},{key:7,name:"E",octave:5,step:0,mark:"fall",realKey:75,realName:"Eb5"},{key:7,name:"E",octave:5,step:0,realKey:76,realName:"E5"},{key:1,name:"F",octave:5,step:1,realKey:77,realName:"F5"},{key:1,name:"F",octave:5,step:1,mark:"rise",realKey:78,realName:"Gb5"},{key:2,name:"G",octave:5,step:1,realKey:79,realName:"G5"},{key:3,name:"A",octave:5,step:1,mark:"fall",realKey:80,realName:"Ab5"},{key:3,name:"A",octave:5,step:1,realKey:81,realName:"A5"}],listE5:[{key:1,octave:4,step:0,mark:"rise",name:"E",realKey:64,realName:"E4"},{key:2,name:"F",octave:4,step:0,realKey:65,realName:"F4"},{key:3,name:"F",octave:4,step:0,mark:"fall",realKey:66,realName:"Gb4"},{key:3,name:"G",octave:4,step:0,realKey:67,realName:"G4"},{key:4,name:"A",octave:4,step:0,realKey:68,realName:"Ab4"},{key:4,name:"A",octave:4,step:0,mark:"rise",realKey:69,realName:"A4"},{key:5,name:"B",octave:4,step:0,realKey:70,realName:"Bb4"},{key:6,name:"B",octave:4,step:0,mark:"fall",realKey:71,realName:"B4"},{key:6,name:"C",octave:5,step:0,realKey:72,realName:"C5"},{key:7,name:"C",octave:5,step:0,mark:"fall",realKey:73,realName:"Db5"},{key:7,name:"D",octave:5,step:0,realKey:74,realName:"D5"},{key:1,name:"E",octave:5,step:1,realKey:75,realName:"Eb5"},{key:1,name:"E",octave:5,step:1,mark:"rise",realKey:76,realName:"E5"},{key:2,name:"F",octave:5,step:1,realKey:77,realName:"F5"},{key:3,name:"F",octave:5,step:1,mark:"fall",realKey:78,realName:"Gb5"},{key:3,name:"G",octave:5,step:1,realKey:79,realName:"G5"},{key:4,name:"A",octave:5,step:1,realKey:80,realName:"Ab5"},{key:4,name:"A",octave:5,step:1,mark:"rise",realKey:81,realName:"A5"}],listF5:[{key:2,octave:4,step:0,name:"E",realKey:64,realName:"E4"},{key:2,name:"F",octave:4,step:0,mark:"rise",realKey:65,realName:"F4"},{key:3,name:"F",octave:4,step:0,realKey:66,realName:"Gb4"},{key:4,name:"G",octave:4,step:0,realKey:67,realName:"G4"},{key:4,name:"A",octave:4,step:0,mark:"rise",realKey:68,realName:"Ab4"},{key:5,name:"A",octave:4,step:0,realKey:69,realName:"A4"},{key:6,name:"B",octave:4,step:0,mark:"fall",realKey:70,realName:"Bb4"},{key:6,name:"B",octave:4,step:0,realKey:71,realName:"B4"},{key:7,name:"C",octave:5,step:0,mark:"fall",realKey:72,realName:"C5"},{key:7,name:"C",octave:5,step:0,realKey:73,realName:"Db5"},{key:1,name:"D",octave:5,step:1,realKey:74,realName:"D5"},{key:1,name:"E",octave:5,step:1,mark:"rise",realKey:75,realName:"Eb5"},{key:2,name:"E",octave:5,step:1,realKey:76,realName:"E5"},{key:3,name:"F",octave:5,step:1,mark:"fall",realKey:77,realName:"F5"},{key:3,name:"F",octave:5,step:1,realKey:78,realName:"Gb5"},{key:4,name:"G",octave:5,step:1,realKey:79,realName:"G5"},{key:4,name:"A",octave:5,step:1,mark:"rise",realKey:80,realName:"Ab5"},{key:5,name:"A",octave:5,step:1,realKey:81,realName:"A5"}],listA4:[{key:4,octave:4,step:-1,mark:"rise",name:"E",realKey:64,realName:"E4"},{key:5,name:"F",octave:4,step:-1,realKey:65,realName:"F4"},{key:6,name:"F",octave:4,step:-1,mark:"fall",realKey:66,realName:"Gb4"},{key:6,name:"G",octave:4,step:-1,realKey:67,realName:"G4"},{key:7,name:"A",octave:4,step:-1,mark:"fall",realKey:68,realName:"Ab4"},{key:7,name:"A",octave:4,step:-1,realKey:69,realName:"A4"},{key:1,name:"B",octave:4,step:0,realKey:70,realName:"Bb4"},{key:1,name:"B",octave:4,step:0,mark:"rise",realKey:71,realName:"B4"},{key:2,name:"C",octave:5,step:0,realKey:72,realName:"C5"},{key:3,name:"C",octave:5,step:0,mark:"fall",realKey:73,realName:"Db5"},{key:3,name:"D",octave:5,step:0,realKey:74,realName:"D5"},{key:4,name:"E",octave:5,step:0,realKey:75,realName:"Eb5"},{key:4,name:"E",octave:5,step:0,mark:"rise",realKey:76,realName:"E5"},{key:5,name:"F",octave:5,step:0,realKey:77,realName:"F5"},{key:6,name:"F",octave:5,step:0,mark:"fall",realKey:78,realName:"Gb5"},{key:6,name:"G",octave:5,step:0,realKey:79,realName:"G5"},{key:7,name:"A",octave:5,step:0,mark:"fall",realKey:80,realName:"Ab5"},{key:7,name:"A",octave:5,step:0,realKey:81,realName:"A5"}],listB4:[{key:5,octave:4,step:-1,name:"E",realKey:64,realName:"E4"},{key:5,name:"F",octave:4,step:-1,mark:"rise",realKey:65,realName:"F4"},{key:6,name:"F",octave:4,step:-1,realKey:66,realName:"Gb4"},{key:7,name:"G",octave:4,step:-1,mark:"fall",realKey:67,realName:"G4"},{key:7,name:"A",octave:4,step:-1,realKey:68,realName:"Ab4"},{key:1,name:"A",octave:4,step:0,realKey:69,realName:"A4"},{key:1,name:"B",octave:4,step:0,mark:"rise",realKey:70,realName:"Bb4"},{key:2,name:"B",octave:4,step:0,realKey:71,realName:"B4"},{key:3,name:"C",octave:5,step:0,mark:"fall",realKey:72,realName:"C5"},{key:3,name:"C",octave:5,step:0,realKey:73,realName:"Db5"},{key:4,name:"D",octave:5,step:0,realKey:74,realName:"D5"},{key:4,name:"E",octave:5,step:0,mark:"rise",realKey:75,realName:"Eb5"},{key:5,name:"E",octave:5,step:0,realKey:76,realName:"E5"},{key:6,name:"F",octave:5,step:0,mark:"fall",realKey:77,realName:"F5"},{key:6,name:"F",octave:5,step:0,realKey:78,realName:"Gb5"},{key:7,name:"G",octave:5,step:0,mark:"fall",realKey:79,realName:"G5"},{key:7,name:"A",octave:5,step:0,realKey:80,realName:"Ab5"},{key:1,name:"A",octave:5,step:1,realKey:81,realName:"A5"}]},piccolo:{tips:[{key:0,name:"拿竖笛的方法",octave:0,step:0,realKey:0,realName:"把竖笛拿起来,然后放在嘴边,把它轻轻地放在你的唇间,并用你的手指拿稳。记住要把你的左手放在上边,有一个孔的背面应该正对着你,不要咬吹口或是让它碰到牙。"},{key:0,name:"吹竖笛的力度",octave:0,step:0,realKey:0,realName:"向竖笛吹气,轻一点吹想象你在吹泡泡一样,控制气流的稳定并轻柔地吹奏,尝试用膈肌呼吸并确保你吹得均匀,这可以使声音稳定持续。"},{key:0,name:"学习呼吸方法",octave:0,step:0,realKey:0,realName:"吹竖笛时,气息的控制是很关键的,气息分为缓吹法和急吹法,吸气要从鼻子和嘴角吸气,吸到胸部和腰部,小腹微微向里收,以使演奏有气息支持。"},{key:0,name:"勤练习指法",octave:0,step:0,realKey:0,realName:"指法图是用来表示竖笛上的单音的,后背的孔叫0孔,从上到下依次为一孔、二孔、三孔、四孔、五孔、六孔、七孔,要吹奏简单的练习曲,必须要牢记单音的指法。"},{key:0,name:"学习一些演奏技法",octave:0,step:0,realKey:0,realName:"单吐是用舌尖顶住上牙的牙根,用气息轻轻地把舌尖冲开,待声音发出后舌尖有弹性地返回到原来的位置,这时舌尖就像一个通气阀门,如果我们让它发出声音就像发“嘟”音的感觉。在有连线的地方只有第一个音采用单吐的技法,后面的音不再做吐音,只接前面“嘟”音的尾音发出“呜”音,整个连线里面的音就像“嘟呜”的。"}],tones:[{key:1,name:"C",octave:5,step:0,realKey:0,realName:""},{key:4,name:"F",octave:4,step:-1,realKey:0,realName:"F4"},{key:2,name:"D",octave:4,step:-1,realKey:0,realName:"D4"},{key:5,name:"G",octave:4,step:-1,realKey:0,realName:"G4"}],list:[{key:1,name:"C",octave:5,step:0,realKey:60,realName:"C5"},{key:2,name:"D",octave:5,step:0,realKey:61,mark:"fall",realName:"Db5"},{key:2,name:"D",octave:5,step:0,realKey:62,realName:"D5"},{key:3,name:"E",octave:5,step:0,realKey:63,mark:"fall",realName:"Eb5"},{key:3,name:"E",octave:5,step:0,realKey:64,realName:"E5"},{key:4,name:"F",octave:5,step:0,realKey:65,realName:"F5"},{key:5,name:"G",octave:5,step:0,realKey:66,mark:"fall",realName:"Gb5"},{key:5,name:"G",octave:5,step:0,realKey:67,realName:"G5"},{key:6,name:"A",octave:5,step:0,realKey:68,mark:"fall",realName:"Ab5"},{key:6,name:"A",octave:5,step:0,realKey:69,realName:"A5"},{key:7,name:"B",octave:5,step:0,realKey:70,mark:"fall",realName:"Bb5"},{key:7,name:"B",octave:5,step:0,realKey:71,realName:"B5"},{key:1,name:"C",octave:6,step:1,realKey:72,realName:"C6"},{key:2,name:"D",octave:6,step:1,realKey:73,mark:"fall",realName:"Db6"},{key:2,name:"D",octave:6,step:1,realKey:74,realName:"D6"},{key:3,name:"E",octave:6,step:1,realKey:75,mark:"fall",realName:"Eb6"},{key:3,name:"E",octave:6,step:1,realKey:76,realName:"E6"},{key:4,name:"F",octave:6,step:1,realKey:77,realName:"F6"},{key:5,name:"G",octave:6,step:1,realKey:78,mark:"fall",realName:"Gb6"},{key:5,name:"G",octave:6,step:1,realKey:79,realName:"G6"},{key:6,name:"A",octave:6,step:1,realKey:80,mark:"fall",realName:"Ab6"},{key:6,name:"A",octave:6,step:1,realKey:81,realName:"A6"},{key:7,name:"B",octave:6,step:1,realKey:82,mark:"fall",realName:"Bb6"},{key:7,name:"B",octave:6,step:1,realKey:83,realName:"B6"},{key:1,name:"C",octave:7,step:2,realKey:84,realName:"C7"},{key:2,name:"D",octave:7,step:2,realKey:85,mark:"fall",realName:"Db7"},{key:2,name:"D",octave:7,step:2,realKey:86,realName:"D7"}],listF4:[{key:5,step:-1,name:"C",octave:5,realKey:60,realName:"C5"},{key:5,step:-1,mark:"rise",name:"D",octave:5,realKey:61,realName:"Db5"},{key:6,step:-1,name:"D",octave:5,realKey:62,realName:"D5"},{key:6,step:-1,mark:"rise",name:"E",octave:5,realKey:63,realName:"Eb5"},{key:7,step:-1,name:"E",octave:5,realKey:64,realName:"E5"},{key:1,step:0,name:"F",octave:5,realKey:65,realName:"F5"},{key:1,step:0,mark:"rise",name:"G",octave:5,realKey:66,realName:"Gb5"},{key:2,step:0,name:"G",octave:5,realKey:67,realName:"G5"},{key:2,step:0,mark:"rise",name:"A",octave:5,realKey:68,realName:"Ab5"},{key:3,step:0,name:"A",octave:5,realKey:69,realName:"A5"},{key:4,step:0,name:"B",octave:5,realKey:70,realName:"Bb5"},{key:4,step:0,mark:"rise",name:"B",octave:5,realKey:71,realName:"B5"},{key:5,step:0,name:"C",octave:6,realKey:72,realName:"C6"},{key:5,step:0,mark:"rise",name:"D",octave:6,realKey:73,realName:"Db6"},{key:6,step:0,name:"D",octave:6,realKey:74,realName:"D6"},{key:6,step:0,mark:"rise",name:"E",octave:6,realKey:75,realName:"Eb6"},{key:7,step:0,name:"E",octave:6,realKey:76,realName:"E6"},{key:1,step:1,name:"F",octave:6,realKey:77,realName:"F6"},{key:1,step:1,mark:"rise",name:"G",octave:6,realKey:78,realName:"Gb6"},{key:2,step:1,name:"G",octave:6,realKey:79,realName:"G6"},{key:2,step:1,mark:"rise",name:"A",octave:6,realKey:80,realName:"Ab6"},{key:3,step:1,name:"A",octave:6,realKey:81,realName:"A6"},{key:4,step:1,name:"B",octave:6,realKey:82,realName:"Bb6"},{key:4,step:1,mark:"rise",name:"B",octave:6,realKey:83,realName:"B6"},{key:5,step:1,name:"C",octave:7,realKey:84,realName:"C7"},{key:5,step:1,name:"D",mark:"rise",octave:7,realKey:85,realName:"Db7"},{key:6,step:1,name:"D",octave:7,realKey:86,realName:"D7"}],listD4:[{key:6,step:-1,mark:"rise",name:"C",octave:5,realKey:60,realName:"C5"},{key:7,step:-1,name:"D",octave:5,realKey:61,realName:"Db5"},{key:1,step:0,name:"D",octave:5,realKey:62,realName:"D5"},{key:1,step:0,mark:"rise",name:"E",octave:5,realKey:63,realName:"Eb5"},{key:2,step:0,name:"E",octave:5,realKey:64,realName:"E5"},{key:2,step:0,mark:"rise",name:"F",octave:5,realKey:65,realName:"F5"},{key:3,step:0,name:"G",octave:5,realKey:66,realName:"Gb5"},{key:4,step:0,name:"G",octave:5,realKey:67,realName:"G5"},{key:4,step:0,mark:"rise",name:"A",octave:5,realKey:68,realName:"Ab5"},{key:5,step:0,name:"A",octave:5,realKey:69,realName:"A5"},{key:5,step:0,mark:"rise",name:"B",octave:5,realKey:70,realName:"Bb5"},{key:6,step:0,name:"B",octave:5,realKey:71,realName:"B5"},{key:6,step:0,mark:"rise",name:"C",octave:6,realKey:72,realName:"C6"},{key:7,step:0,name:"D",octave:6,realKey:73,realName:"Db6"},{key:1,step:1,name:"D",octave:6,realKey:74,realName:"D6"},{key:1,step:1,mark:"rise",name:"E",octave:6,realKey:75,realName:"Eb6"},{key:2,step:1,name:"E",octave:6,realKey:76,realName:"E6"},{key:2,step:1,mark:"rise",name:"F",octave:6,realKey:77,realName:"F6"},{key:3,step:1,name:"G",octave:6,realKey:78,realName:"Gb6"},{key:4,step:1,name:"G",octave:6,realKey:79,realName:"G6"},{key:4,step:1,mark:"rise",name:"A",octave:6,realKey:80,realName:"Ab6"},{key:5,step:1,name:"A",octave:6,realKey:81,realName:"A6"},{key:5,step:1,mark:"rise",name:"B",octave:6,realKey:82,realName:"Bb6"},{key:6,step:1,name:"B",octave:6,realKey:83,realName:"B6"},{key:6,step:1,mark:"rise",name:"C",octave:7,realKey:84,realName:"C7"},{key:7,step:1,name:"D",octave:7,realKey:85,realName:"Db7"},{key:1,step:2,name:"D",octave:7,realKey:86,realName:"D7"}],listG4:[{key:4,step:-1,name:"C",octave:5,realKey:60,realName:"C5"},{key:4,step:-1,mark:"rise",name:"D",octave:5,realKey:61,realName:"Db5"},{key:5,step:-1,name:"D",octave:5,realKey:62,realName:"D5"},{key:5,step:-1,mark:"rise",name:"E",octave:5,realKey:63,realName:"Eb5"},{key:6,step:-1,name:"E",octave:5,realKey:64,realName:"E5"},{key:6,step:-1,mark:"rise",name:"F",octave:5,realKey:65,realName:"F5"},{key:7,step:-1,name:"G",octave:5,realKey:66,realName:"Gb5"},{key:1,step:0,name:"G",octave:5,realKey:67,realName:"G5"},{key:1,step:0,mark:"rise",name:"A",octave:5,realKey:68,realName:"Ab5"},{key:2,step:0,name:"A",octave:5,realKey:69,realName:"A5"},{key:2,step:0,mark:"rise",name:"B",octave:5,realKey:70,realName:"Bb5"},{key:3,step:0,name:"B",octave:5,realKey:71,realName:"B5"},{key:4,step:0,name:"C",octave:6,realKey:72,realName:"C6"},{key:4,step:0,mark:"rise",name:"D",octave:6,realKey:73,realName:"Db6"},{key:5,step:0,name:"D",octave:6,realKey:74,realName:"D6"},{key:5,step:0,mark:"rise",name:"E",octave:6,realKey:75,realName:"Eb6"},{key:6,step:0,name:"E",octave:6,realKey:76,realName:"E6"},{key:6,step:0,mark:"rise",name:"F",octave:6,realKey:77,realName:"F6"},{key:7,step:0,name:"G",octave:6,realKey:78,realName:"Gb6"},{key:1,step:1,name:"G",octave:6,realKey:79,realName:"G6"},{key:1,step:1,mark:"rise",name:"A",octave:6,realKey:80,realName:"Ab6"},{key:2,step:1,name:"A",octave:6,realKey:81,realName:"A6"},{key:2,step:1,mark:"rise",name:"B",octave:6,realKey:82,realName:"Bb6"},{key:3,step:1,name:"B",octave:6,realKey:83,realName:"B6"},{key:4,step:1,name:"C",octave:7,realKey:84,realName:"C7"},{key:4,step:1,name:"D",mark:"rise",octave:7,realKey:85,realName:"Db7"},{key:5,step:1,name:"D",octave:7,realKey:86,realName:"D7"}]},ocarina:{tips:[{key:0,name:"嘴型",octave:0,step:0,realKey:0,realName:`以嘴唇轻轻含住吹口,不可含太深,以免盖住出气孔。
  110. 吹气方式宜以丹田之力(腹腔)稳定送出,一可避免太多口水,二可产生振音效果,让笛韵更为悦耳。`},{key:0,name:"长音",octave:0,step:0,realKey:0,realName:`长音的吹奏,要求音量平稳,不可忽大忽小,音与音之间,要流畅的连接,不可断断续续。
  111. 短音与重音需运用“踢舌”的技巧,将舌尖抵住上腭牙齿与牙龈的相接处,于吹气时瞬间将舌头缩回,这样的声音干净有力,听起来有活泼欢乐的感觉。`},{key:0,name:"滑音",octave:0,step:0,realKey:0,realName:"开合气孔的方式,一般是直接提高手指,音阶瞬间转换,另一种方式是将手指向陶笛外侧慢慢滑开,如此可以产生优美的滑音。"},{key:0,name:"圆滑音",octave:0,step:0,realKey:0,realName:"在两个以上不同高的音符之间加上“”记号,此记号成为圆滑线,它的吹法是用一口气连接的吹完整串音符,中间气不间断,注意第一个音仍要踢舌!"},{key:0,name:"气震音",octave:0,step:0,realKey:0,realName:"气震音是指在吹奏中用气流的变化来让发出的音发生波动,产生颤抖的感觉,所以又称气颤音,靠腹部控制,又叫腹震音。"},{key:0,name:"呼吸方法",octave:0,step:0,realKey:0,realName:"使用胸腹式呼吸法是一种比较科学的呼吸方法,大致分为两个步骤,吸气速度要快,胸腹要做到联合动作,让胸腹快速吸到更多的气,也可以用口协助吸气。"}],tones:[{key:1,name:"C",octave:5,step:0,realKey:0,realName:""},{key:1,name:"C",octave:5,step:0,mark:"rise",realKey:0,realName:"Db5"},{key:2,name:"D",octave:5,step:0,realKey:0,realName:"D5"},{key:2,name:"D",octave:5,step:0,mark:"rise",realKey:0,realName:"Eb5"},{key:3,name:"E",octave:5,step:0,realKey:0,realName:"E5"},{key:4,name:"F",octave:5,step:0,realKey:0,realName:"F5"},{key:4,name:"F",octave:5,step:0,mark:"rise",realKey:0,realName:"Gb5"},{key:5,name:"G",octave:5,step:0,realKey:0,realName:"G5"},{key:5,name:"G",octave:5,step:0,mark:"rise",realKey:0,realName:"Ab5"},{key:6,name:"A",octave:5,step:0,realKey:0,realName:"A5"},{key:6,name:"A",octave:5,step:0,mark:"rise",realKey:0,realName:"Bb5"},{key:7,name:"B",octave:5,step:0,realKey:0,realName:"B5"}],list:[{key:6,name:"A",octave:4,step:-1,realKey:57,realName:"A4"},{key:7,name:"B",octave:4,step:-1,realKey:58,mark:"fall",realName:"Bb4"},{key:7,name:"B",octave:4,step:-1,realKey:59,realName:"B4"},{key:1,name:"C",octave:5,step:0,realKey:60,realName:"C5"},{key:2,name:"D",octave:5,step:0,realKey:61,mark:"fall",realName:"Db5"},{key:2,name:"D",octave:5,step:0,realKey:62,realName:"D5"},{key:3,name:"E",octave:5,step:0,realKey:63,mark:"fall",realName:"Eb5"},{key:3,name:"E",octave:5,step:0,realKey:64,realName:"E5"},{key:4,name:"F",octave:5,step:0,realKey:65,realName:"F5"},{key:5,name:"G",octave:5,step:0,realKey:66,mark:"fall",realName:"Gb5"},{key:5,name:"G",octave:5,step:0,realKey:67,realName:"G5"},{key:6,name:"A",octave:5,step:0,realKey:68,mark:"fall",realName:"Ab5"},{key:6,name:"A",octave:5,step:0,realKey:69,realName:"A5"},{key:7,name:"B",octave:5,step:0,realKey:70,mark:"fall",realName:"Bb5"},{key:7,name:"B",octave:5,step:0,realKey:71,realName:"B5"},{key:1,name:"C",octave:6,step:1,realKey:72,realName:"C6"},{key:2,name:"D",octave:6,step:1,realKey:73,mark:"fall",realName:"Db6"},{key:2,name:"D",octave:6,step:1,realKey:74,realName:"D6"},{key:3,name:"E",octave:6,step:1,realKey:75,mark:"fall",realName:"Eb6"},{key:3,name:"E",octave:6,step:1,realKey:76,realName:"E6"},{key:4,name:"F",octave:6,step:1,realKey:77,realName:"F6"}],listDb5:[{key:5,step:-1,mark:"rise",name:"A",octave:4,realKey:57,realName:"A4"},{key:6,step:-1,name:"B",octave:4,realKey:58,realName:"Bb4"},{key:6,step:-1,mark:"rise",name:"B",octave:4,realKey:59,realName:"B4"},{key:7,step:-1,name:"C",octave:5,realKey:60,realName:"C5"},{key:1,step:0,name:"D",octave:5,realKey:61,realName:"Db5"},{key:1,step:0,mark:"rise",name:"D",octave:5,realKey:62,realName:"D5"},{key:2,step:0,name:"E",octave:5,realKey:63,realName:"Eb5"},{key:2,step:0,mark:"rise",name:"E",octave:5,realKey:64,realName:"E5"},{key:3,step:0,name:"F",octave:5,realKey:65,realName:"F5"},{key:4,step:0,name:"G",octave:5,realKey:66,realName:"Gb5"},{key:4,step:0,mark:"rise",name:"G",octave:5,realKey:67,realName:"G5"},{key:5,step:0,name:"A",octave:5,realKey:68,realName:"Ab5"},{key:5,step:0,mark:"rise",name:"A",octave:5,realKey:69,realName:"A5"},{key:6,step:0,name:"B",octave:5,realKey:70,realName:"Bb5"},{key:6,step:0,mark:"rise",name:"B",octave:5,realKey:71,realName:"B5"},{key:7,step:0,name:"C",octave:6,realKey:72,realName:"C6"},{key:1,step:1,name:"D",octave:6,realKey:73,realName:"Db6"},{key:1,step:1,mark:"rise",name:"D",octave:6,realKey:74,realName:"D6"},{key:2,step:1,name:"E",octave:6,realKey:75,realName:"Eb6"},{key:2,step:1,mark:"rise",name:"E",octave:6,realKey:76,realName:"E6"},{key:3,step:1,name:"F",octave:6,realKey:77,realName:"F6"}],listD5:[{key:5,step:-1,name:"A",octave:4,realKey:57,realName:"A4"},{key:5,step:-1,mark:"rise",name:"B",octave:4,realKey:58,realName:"Bb4"},{key:6,step:-1,name:"B",octave:4,realKey:59,realName:"B4"},{key:6,step:-1,mark:"rise",name:"C",octave:5,realKey:60,realName:"C5"},{key:7,step:-1,name:"D",octave:5,realKey:61,realName:"Db5"},{key:1,step:0,name:"D",octave:5,realKey:62,realName:"D5"},{key:1,step:0,mark:"rise",name:"E",octave:5,realKey:63,realName:"Eb5"},{key:2,step:0,name:"E",octave:5,realKey:64,realName:"E5"},{key:2,step:0,mark:"rise",name:"F",octave:5,realKey:65,realName:"F5"},{key:3,step:0,name:"G",octave:5,realKey:66,realName:"Gb5"},{key:4,step:0,name:"G",octave:5,realKey:67,realName:"G5"},{key:4,step:0,mark:"rise",name:"A",octave:5,realKey:68,realName:"Ab5"},{key:5,step:0,name:"A",octave:5,realKey:69,realName:"A5"},{key:5,step:0,mark:"rise",name:"B",octave:5,realKey:70,realName:"Bb5"},{key:6,step:0,name:"B",octave:5,realKey:71,realName:"B5"},{key:6,step:0,mark:"rise",name:"C",octave:6,realKey:72,realName:"C6"},{key:7,step:0,name:"D",octave:6,realKey:73,realName:"Db6"},{key:1,step:1,name:"D",octave:6,realKey:74,realName:"D6"},{key:1,step:1,mark:"rise",name:"E",octave:6,realKey:75,realName:"Eb6"},{key:2,step:1,name:"E",octave:6,realKey:76,realName:"E6"},{key:2,step:1,mark:"rise",name:"F",octave:6,realKey:77,realName:"F6"}],listEb5:[{key:4,step:-1,mark:"rise",name:"A",octave:4,realKey:57,realName:"A4"},{key:5,step:-1,name:"B",octave:4,realKey:58,realName:"Bb4"},{key:5,step:-1,mark:"rise",name:"B",octave:4,realKey:59,realName:"B4"},{key:6,step:-1,name:"C",octave:5,realKey:60,realName:"C5"},{key:6,step:-1,mark:"rise",name:"D",octave:5,realKey:61,realName:"Db5"},{key:7,step:-1,name:"D",octave:5,realKey:62,realName:"D5"},{key:1,step:0,name:"E",octave:5,realKey:63,realName:"Eb5"},{key:1,step:0,mark:"rise",name:"E",octave:5,realKey:64,realName:"E5"},{key:2,step:0,name:"F",octave:5,realKey:65,realName:"F5"},{key:2,step:0,mark:"rise",name:"G",octave:5,realKey:66,realName:"Gb5"},{key:3,step:0,name:"G",octave:5,realKey:67,realName:"G5"},{key:4,step:0,name:"A",octave:5,realKey:68,realName:"Ab5"},{key:4,step:0,mark:"rise",name:"A",octave:5,realKey:69,realName:"A5"},{key:5,step:0,name:"B",octave:5,realKey:70,realName:"Bb5"},{key:5,step:0,mark:"rise",name:"B",octave:5,realKey:71,realName:"B5"},{key:6,step:0,name:"C",octave:6,realKey:72,realName:"C6"},{key:6,step:0,mark:"rise",name:"D",octave:6,realKey:73,realName:"Db6"},{key:7,step:0,name:"D",octave:6,realKey:74,realName:"D6"},{key:1,step:1,name:"E",octave:6,realKey:75,realName:"Eb6"},{key:1,step:1,mark:"rise",name:"E",octave:6,realKey:76,realName:"E6"},{key:2,step:1,name:"F",octave:6,realKey:77,realName:"F6"}],listE5:[{key:4,step:-1,name:"A",octave:4,realKey:57,realName:"A4"},{key:4,step:-1,mark:"rise",name:"B",octave:4,realKey:58,realName:"Bb4"},{key:5,step:-1,name:"B",octave:4,realKey:59,realName:"B4"},{key:5,step:-1,mark:"rise",name:"C",octave:5,realKey:60,realName:"C5"},{key:6,step:-1,name:"D",octave:5,realKey:61,realName:"Db5"},{key:6,step:-1,mark:"rise",name:"D",octave:5,realKey:62,realName:"D5"},{key:7,step:-1,name:"E",octave:5,realKey:63,realName:"Eb5"},{key:1,step:0,name:"E",octave:5,realKey:64,realName:"E5"},{key:1,step:0,mark:"rise",name:"F",octave:5,realKey:65,realName:"F5"},{key:2,step:0,name:"G",octave:5,realKey:66,realName:"Gb5"},{key:2,step:0,mark:"rise",name:"G",octave:5,realKey:67,realName:"G5"},{key:3,step:0,name:"A",octave:5,realKey:68,realName:"Ab5"},{key:4,step:0,name:"A",octave:5,realKey:69,realName:"A5"},{key:4,step:0,mark:"rise",name:"B",octave:5,realKey:70,realName:"Bb5"},{key:5,step:0,name:"B",octave:5,realKey:71,realName:"B5"},{key:5,step:0,mark:"rise",name:"C",octave:6,realKey:72,realName:"C6"},{key:6,step:0,name:"D",octave:6,realKey:73,realName:"Db6"},{key:6,step:0,mark:"rise",name:"D",octave:6,realKey:74,realName:"D6"},{key:7,step:0,name:"E",octave:6,realKey:75,realName:"Eb6"},{key:1,step:1,name:"E",octave:6,realKey:76,realName:"E6"},{key:1,step:1,mark:"rise",name:"F",octave:6,realKey:77,realName:"F6"}],listF5:[{key:3,step:-1,name:"A",octave:4,realKey:57,realName:"A4"},{key:4,step:-1,name:"B",octave:4,realKey:58,realName:"Bb4"},{key:4,step:-1,mark:"rise",name:"B",octave:4,realKey:59,realName:"B4"},{key:5,step:-1,name:"C",octave:5,realKey:60,realName:"C5"},{key:5,step:-1,mark:"rise",name:"D",octave:5,realKey:61,realName:"Db5"},{key:6,step:-1,name:"D",octave:5,realKey:62,realName:"D5"},{key:6,step:-1,mark:"rise",name:"E",octave:5,realKey:63,realName:"Eb5"},{key:7,step:-1,name:"E",octave:5,realKey:64,realName:"E5"},{key:1,step:0,name:"F",octave:5,realKey:65,realName:"F5"},{key:1,step:0,mark:"rise",name:"G",octave:5,realKey:66,realName:"Gb5"},{key:2,step:0,name:"G",octave:5,realKey:67,realName:"G5"},{key:2,step:0,mark:"rise",name:"A",octave:5,realKey:68,realName:"Ab5"},{key:3,step:0,name:"A",octave:5,realKey:69,realName:"A5"},{key:4,step:0,name:"B",octave:5,realKey:70,realName:"Bb5"},{key:4,step:0,mark:"rise",name:"B",octave:5,realKey:71,realName:"B5"},{key:5,step:0,name:"C",octave:6,realKey:72,realName:"C6"},{key:5,step:0,mark:"rise",name:"D",octave:6,realKey:73,realName:"Db6"},{key:6,step:0,name:"D",octave:6,realKey:74,realName:"D6"},{key:6,step:0,mark:"rise",name:"E",octave:6,realKey:75,realName:"Eb6"},{key:7,step:0,name:"E",octave:6,realKey:76,realName:"E6"},{key:1,step:1,name:"F",octave:6,realKey:77,realName:"F6"}],listGb5:[{key:2,step:-1,mark:"rise",name:"A",octave:4,realKey:57,realName:"A4"},{key:3,step:-1,name:"B",octave:4,realKey:58,realName:"Bb4"},{key:4,step:-1,name:"B",octave:4,realKey:59,realName:"B4"},{key:4,step:-1,mark:"rise",name:"C",octave:5,realKey:60,realName:"C5"},{key:5,step:-1,name:"D",octave:5,realKey:61,realName:"Db5"},{key:5,step:-1,mark:"rise",name:"D",octave:5,realKey:62,realName:"D5"},{key:6,step:-1,name:"E",octave:5,realKey:63,realName:"Eb5"},{key:6,step:-1,mark:"rise",name:"E",octave:5,realKey:64,realName:"E5"},{key:7,step:-1,name:"F",octave:5,realKey:65,realName:"F5"},{key:1,step:0,name:"G",octave:5,realKey:66,realName:"Gb5"},{key:1,step:0,mark:"rise",name:"G",octave:5,realKey:67,realName:"G5"},{key:2,step:0,name:"A",octave:5,realKey:68,realName:"Ab5"},{key:2,step:0,mark:"rise",name:"A",octave:5,realKey:69,realName:"A5"},{key:3,step:0,name:"B",octave:5,realKey:70,realName:"Bb5"},{key:4,step:0,name:"B",octave:5,realKey:71,realName:"B5"},{key:4,step:0,mark:"rise",name:"C",octave:6,realKey:72,realName:"C6"},{key:5,step:0,name:"D",octave:6,realKey:73,realName:"Db6"},{key:5,step:0,mark:"rise",name:"D",octave:6,realKey:74,realName:"D6"},{key:6,step:0,name:"E",octave:6,realKey:75,realName:"Eb6"},{key:6,step:0,mark:"rise",name:"E",octave:6,realKey:76,realName:"E6"},{key:7,step:0,name:"F",octave:6,realKey:77,realName:"F6"}],listG5:[{key:2,step:-1,name:"A",octave:4,realKey:57,realName:"A4"},{key:2,step:-1,mark:"rise",name:"B",octave:4,realKey:58,realName:"Bb4"},{key:3,step:-1,name:"B",octave:4,realKey:59,realName:"B4"},{key:4,step:-1,name:"C",octave:5,realKey:60,realName:"C5"},{key:4,step:-1,mark:"rise",name:"D",octave:5,realKey:61,realName:"Db5"},{key:5,step:-1,name:"D",octave:5,realKey:62,realName:"D5"},{key:5,step:-1,mark:"rise",name:"E",octave:5,realKey:63,realName:"Eb5"},{key:6,step:-1,name:"E",octave:5,realKey:64,realName:"E5"},{key:6,step:-1,mark:"rise",name:"F",octave:5,realKey:65,realName:"F5"},{key:7,step:-1,name:"G",octave:5,realKey:66,realName:"Gb5"},{key:1,step:0,name:"G",octave:5,realKey:67,realName:"G5"},{key:1,step:0,mark:"rise",name:"A",octave:5,realKey:68,realName:"Ab5"},{key:2,step:0,name:"A",octave:5,realKey:69,realName:"A5"},{key:2,step:0,mark:"rise",name:"B",octave:5,realKey:70,realName:"Bb5"},{key:3,step:0,name:"B",octave:5,realKey:71,realName:"B5"},{key:4,step:0,name:"C",octave:6,realKey:72,realName:"C6"},{key:4,step:0,mark:"rise",name:"D",octave:6,realKey:73,realName:"Db6"},{key:5,step:0,name:"D",octave:6,realKey:74,realName:"D6"},{key:5,step:0,mark:"rise",name:"E",octave:6,realKey:75,realName:"Eb6"},{key:6,step:0,name:"E",octave:6,realKey:76,realName:"E6"},{key:6,step:0,mark:"rise",name:"F",octave:6,realKey:77,realName:"F6"}],listAb5:[{key:1,step:-1,mark:"rise",name:"A",octave:4,realKey:57,realName:"A4"},{key:2,step:-1,name:"B",octave:4,realKey:58,realName:"Bb4"},{key:2,step:-1,mark:"rise",name:"B",octave:4,realKey:59,realName:"B4"},{key:3,step:-1,name:"C",octave:5,realKey:60,realName:"C5"},{key:4,step:-1,name:"D",octave:5,realKey:61,realName:"Db5"},{key:4,step:-1,mark:"rise",name:"D",octave:5,realKey:62,realName:"D5"},{key:5,step:-1,name:"E",octave:5,realKey:63,realName:"Eb5"},{key:5,step:-1,mark:"rise",name:"E",octave:5,realKey:64,realName:"E5"},{key:6,step:-1,name:"F",octave:5,realKey:65,realName:"F5"},{key:6,step:-1,mark:"rise",name:"G",octave:5,realKey:66,realName:"Gb5"},{key:7,step:-1,name:"G",octave:5,realKey:67,realName:"G5"},{key:1,step:0,name:"A",octave:5,realKey:68,realName:"Ab5"},{key:1,step:0,mark:"rise",name:"A",octave:5,realKey:69,realName:"A5"},{key:2,step:0,name:"B",octave:5,realKey:70,realName:"Bb5"},{key:2,step:0,mark:"rise",name:"B",octave:5,realKey:71,realName:"B5"},{key:3,step:0,name:"C",octave:6,realKey:72,realName:"C6"},{key:4,step:0,name:"D",octave:6,realKey:73,realName:"Db6"},{key:4,step:0,mark:"rise",name:"D",octave:6,realKey:74,realName:"D6"},{key:5,step:0,name:"E",octave:6,realKey:75,realName:"Eb6"},{key:5,step:0,mark:"rise",name:"E",octave:6,realKey:76,realName:"E6"},{key:6,step:0,name:"F",octave:6,realKey:77,realName:"F6"}],listA5:[{key:1,step:0,name:"A",octave:4,realKey:57,realName:"A4"},{key:1,step:0,mark:"rise",name:"B",octave:4,realKey:58,realName:"Bb4"},{key:2,step:0,name:"B",octave:4,realKey:59,realName:"B4"},{key:2,step:0,mark:"rise",name:"C",octave:5,realKey:60,realName:"C5"},{key:3,step:0,name:"D",octave:5,realKey:61,realName:"Db5"},{key:4,step:0,name:"D",octave:5,realKey:62,realName:"D5"},{key:4,step:0,mark:"rise",name:"E",octave:5,realKey:63,realName:"Eb5"},{key:5,step:0,name:"E",octave:5,realKey:64,realName:"E5"},{key:5,step:0,mark:"rise",name:"F",octave:5,realKey:65,realName:"F5"},{key:6,step:0,name:"G",octave:5,realKey:66,realName:"Gb5"},{key:6,step:0,mark:"rise",name:"G",octave:5,realKey:67,realName:"G5"},{key:7,step:0,name:"A",octave:5,realKey:68,realName:"Ab5"},{key:1,step:1,name:"A",octave:5,realKey:69,realName:"A5"},{key:1,step:1,mark:"rise",name:"B",octave:5,realKey:70,realName:"Bb5"},{key:2,step:1,name:"B",octave:5,realKey:71,realName:"B5"},{key:2,step:1,mark:"rise",name:"C",octave:6,realKey:72,realName:"C6"},{key:3,step:1,name:"D",octave:6,realKey:73,realName:"Db6"},{key:4,step:1,name:"D",octave:6,realKey:74,realName:"D6"},{key:4,step:1,mark:"rise",name:"E",octave:6,realKey:75,realName:"Eb6"},{key:5,step:1,name:"E",octave:6,realKey:76,realName:"E6"},{key:5,step:1,mark:"rise",name:"F",octave:6,realKey:77,realName:"F6"}],listBb5:[{key:7,step:-1,name:"A",octave:4,realKey:57,realName:"A4"},{key:1,step:0,name:"B",octave:4,realKey:58,realName:"Bb4"},{key:1,step:0,mark:"rise",name:"B",octave:4,realKey:59,realName:"B4"},{key:2,step:0,name:"C",octave:5,realKey:60,realName:"C5"},{key:2,step:0,mark:"rise",name:"D",octave:5,realKey:61,realName:"Db5"},{key:3,step:0,name:"D",octave:5,realKey:62,realName:"D5"},{key:4,step:0,name:"E",octave:5,realKey:63,realName:"Eb5"},{key:4,step:0,mark:"rise",name:"E",octave:5,realKey:64,realName:"E5"},{key:5,step:0,name:"F",octave:5,realKey:65,realName:"F5"},{key:5,step:0,mark:"rise",name:"G",octave:5,realKey:66,realName:"Gb5"},{key:6,step:0,name:"G",octave:5,realKey:67,realName:"G5"},{key:6,step:0,mark:"rise",name:"A",octave:5,realKey:68,realName:"Ab5"},{key:7,step:0,name:"A",octave:5,realKey:69,realName:"A5"},{key:1,step:1,name:"B",octave:5,realKey:70,realName:"Bb5"},{key:1,step:1,mark:"rise",name:"B",octave:5,realKey:71,realName:"B5"},{key:2,step:1,name:"C",octave:6,realKey:72,realName:"C6"},{key:2,step:1,mark:"rise",name:"D",octave:6,realKey:73,realName:"Db6"},{key:3,step:1,name:"D",octave:6,realKey:74,realName:"D6"},{key:4,step:1,name:"E",octave:6,realKey:75,realName:"Eb6"},{key:4,step:1,mark:"rise",name:"E",octave:6,realKey:76,realName:"E6"},{key:5,step:1,name:"F",octave:6,realKey:77,realName:"F6"}],listB5:[{key:6,step:-1,mark:"rise",name:"A",octave:4,realKey:57,realName:"A4"},{key:7,step:-1,name:"B",octave:4,realKey:58,realName:"Bb4"},{key:1,step:0,name:"B",octave:4,realKey:59,realName:"B4"},{key:1,step:0,mark:"rise",name:"C",octave:5,realKey:60,realName:"C5"},{key:2,step:0,name:"D",octave:5,realKey:61,realName:"Db5"},{key:2,step:0,mark:"rise",name:"D",octave:5,realKey:62,realName:"D5"},{key:3,step:0,name:"E",octave:5,realKey:63,realName:"Eb5"},{key:4,step:0,name:"E",octave:5,realKey:64,realName:"E5"},{key:4,step:0,mark:"rise",name:"F",octave:5,realKey:65,realName:"F5"},{key:5,step:0,name:"G",octave:5,realKey:66,realName:"Gb5"},{key:5,step:0,mark:"rise",name:"G",octave:5,realKey:67,realName:"G5"},{key:6,step:0,name:"A",octave:5,realKey:68,realName:"Ab5"},{key:6,step:0,name:"A",octave:5,realKey:69,realName:"A5"},{key:6,step:0,mark:"rise",name:"B",octave:5,realKey:70,realName:"Bb5"},{key:7,step:0,name:"B",octave:5,realKey:71,realName:"B5"},{key:1,step:1,name:"C",octave:6,realKey:72,realName:"C6"},{key:1,step:1,mark:"rise",name:"D",octave:6,realKey:73,realName:"Db6"},{key:2,step:1,name:"D",octave:6,realKey:74,realName:"D6"},{key:2,step:1,mark:"rise",name:"E",octave:6,realKey:75,realName:"Eb6"},{key:3,step:1,name:"E",octave:6,realKey:76,realName:"E6"},{key:4,step:1,name:"F",octave:6,realKey:77,realName:"F6"}]},whistling:{tips:[{key:0,name:"嘴型",octave:0,step:0,realKey:0,realName:`以嘴唇轻轻含住吹口,不可含太深,以免盖住出气孔。
  112. 吹气方式宜以丹田之力(腹腔)稳定送出,一可避免太多口水,二可产生振音效果,让笛韵更为悦耳。`},{key:0,name:"长音",octave:0,step:0,realKey:0,realName:`长音的吹奏,要求音量平稳,不可忽大忽小,音与音之间,要流畅的连接,不可断断续续。
  113. 短音与重音需运用“踢舌”的技巧,将舌尖抵住上腭牙齿与牙龈的相接处,于吹气时瞬间将舌头缩回,这样的声音干净有力,听起来有活泼欢乐的感觉。`},{key:0,name:"滑音",octave:0,step:0,realKey:0,realName:"开合气孔的方式,一般是直接提高手指,音阶瞬间转换,另一种方式是将手指向陶笛外侧慢慢滑开,如此可以产生优美的滑音。"},{key:0,name:"圆滑音",octave:0,step:0,realKey:0,realName:"在两个以上不同高的音符之间加上“”记号,此记号成为圆滑线,它的吹法是用一口气连接的吹完整串音符,中间气不间断,注意第一个音仍要踢舌!"},{key:0,name:"气震音",octave:0,step:0,realKey:0,realName:"气震音是指在吹奏中用气流的变化来让发出的音发生波动,产生颤抖的感觉,所以又称气颤音,靠腹部控制,又叫腹震音。"},{key:0,name:"呼吸方法",octave:0,step:0,realKey:0,realName:"使用胸腹式呼吸法是一种比较科学的呼吸方法,大致分为两个步骤,吸气速度要快,胸腹要做到联合动作,让胸腹快速吸到更多的气,也可以用口协助吸气。"}],tones:[{key:1,name:"C",octave:5,step:0,realKey:0,realName:""},{key:1,name:"C",octave:5,step:0,mark:"rise",realKey:0,realName:"Db5"},{key:2,name:"D",octave:5,step:0,realKey:0,realName:"D5"},{key:2,name:"D",octave:5,step:0,mark:"rise",realKey:0,realName:"Eb5"},{key:3,name:"E",octave:5,step:0,realKey:0,realName:"E5"},{key:4,name:"F",octave:5,step:0,realKey:0,realName:"F5"},{key:4,name:"F",octave:5,step:0,mark:"rise",realKey:0,realName:"Gb5"},{key:5,name:"G",octave:5,step:0,realKey:0,realName:"G5"},{key:5,name:"G",octave:5,step:0,mark:"rise",realKey:0,realName:"Ab5"},{key:6,name:"A",octave:5,step:0,realKey:0,realName:"A5"},{key:6,name:"A",octave:5,step:0,mark:"rise",realKey:0,realName:"Bb5"},{key:7,name:"B",octave:5,step:0,realKey:0,realName:"B5"}],list:[{key:6,name:"A",octave:4,step:-1,realKey:57,realName:"A4"},{key:7,name:"B",octave:4,step:-1,realKey:58,mark:"fall",realName:"Bb4"},{key:7,name:"B",octave:4,step:-1,realKey:59,realName:"B4"},{key:1,name:"C",octave:5,step:0,realKey:60,realName:"C5"},{key:2,name:"D",octave:5,step:0,realKey:61,mark:"fall",realName:"Db5"},{key:2,name:"D",octave:5,step:0,realKey:62,realName:"D5"},{key:3,name:"E",octave:5,step:0,realKey:63,mark:"fall",realName:"Eb5"},{key:3,name:"E",octave:5,step:0,realKey:64,realName:"E5"},{key:4,name:"F",octave:5,step:0,realKey:65,realName:"F5"},{key:5,name:"G",octave:5,step:0,realKey:66,mark:"fall",realName:"Gb5"},{key:5,name:"G",octave:5,step:0,realKey:67,realName:"G5"},{key:6,name:"A",octave:5,step:0,realKey:68,mark:"fall",realName:"Ab5"},{key:6,name:"A",octave:5,step:0,realKey:69,realName:"A5"},{key:7,name:"B",octave:5,step:0,realKey:70,mark:"fall",realName:"Bb5"},{key:7,name:"B",octave:5,step:0,realKey:71,realName:"B5"},{key:1,name:"C",octave:6,step:1,realKey:72,realName:"C6"},{key:2,name:"D",octave:6,step:1,realKey:73,mark:"fall",realName:"Db6"},{key:2,name:"D",octave:6,step:1,realKey:74,realName:"D6"},{key:3,name:"E",octave:6,step:1,realKey:75,mark:"fall",realName:"Eb6"},{key:3,name:"E",octave:6,step:1,realKey:76,realName:"E6"},{key:4,name:"F",octave:6,step:1,realKey:77,realName:"F6"}],listDb5:[{key:5,step:-1,mark:"rise",name:"A",octave:4,realKey:57,realName:"A4"},{key:6,step:-1,name:"B",octave:4,realKey:58,realName:"Bb4"},{key:6,step:-1,mark:"rise",name:"B",octave:4,realKey:59,realName:"B4"},{key:7,step:-1,name:"C",octave:5,realKey:60,realName:"C5"},{key:1,step:0,name:"D",octave:5,realKey:61,realName:"Db5"},{key:1,step:0,mark:"rise",name:"D",octave:5,realKey:62,realName:"D5"},{key:2,step:0,name:"E",octave:5,realKey:63,realName:"Eb5"},{key:2,step:0,mark:"rise",name:"E",octave:5,realKey:64,realName:"E5"},{key:3,step:0,name:"F",octave:5,realKey:65,realName:"F5"},{key:4,step:0,name:"G",octave:5,realKey:66,realName:"Gb5"},{key:4,step:0,mark:"rise",name:"G",octave:5,realKey:67,realName:"G5"},{key:5,step:0,name:"A",octave:5,realKey:68,realName:"Ab5"},{key:5,step:0,mark:"rise",name:"A",octave:5,realKey:69,realName:"A5"},{key:6,step:0,name:"B",octave:5,realKey:70,realName:"Bb5"},{key:6,step:0,mark:"rise",name:"B",octave:5,realKey:71,realName:"B5"},{key:7,step:0,name:"C",octave:6,realKey:72,realName:"C6"},{key:1,step:1,name:"D",octave:6,realKey:73,realName:"Db6"},{key:1,step:1,mark:"rise",name:"D",octave:6,realKey:74,realName:"D6"},{key:2,step:1,name:"E",octave:6,realKey:75,realName:"Eb6"},{key:2,step:1,mark:"rise",name:"E",octave:6,realKey:76,realName:"E6"},{key:3,step:1,name:"F",octave:6,realKey:77,realName:"F6"}],listD5:[{key:5,step:-1,name:"A",octave:4,realKey:57,realName:"A4"},{key:5,step:-1,mark:"rise",name:"B",octave:4,realKey:58,realName:"Bb4"},{key:6,step:-1,name:"B",octave:4,realKey:59,realName:"B4"},{key:6,step:-1,mark:"rise",name:"C",octave:5,realKey:60,realName:"C5"},{key:7,step:-1,name:"D",octave:5,realKey:61,realName:"Db5"},{key:1,step:0,name:"D",octave:5,realKey:62,realName:"D5"},{key:1,step:0,mark:"rise",name:"E",octave:5,realKey:63,realName:"Eb5"},{key:2,step:0,name:"E",octave:5,realKey:64,realName:"E5"},{key:2,step:0,mark:"rise",name:"F",octave:5,realKey:65,realName:"F5"},{key:3,step:0,name:"G",octave:5,realKey:66,realName:"Gb5"},{key:4,step:0,name:"G",octave:5,realKey:67,realName:"G5"},{key:4,step:0,mark:"rise",name:"A",octave:5,realKey:68,realName:"Ab5"},{key:5,step:0,name:"A",octave:5,realKey:69,realName:"A5"},{key:5,step:0,mark:"rise",name:"B",octave:5,realKey:70,realName:"Bb5"},{key:6,step:0,name:"B",octave:5,realKey:71,realName:"B5"},{key:6,step:0,mark:"rise",name:"C",octave:6,realKey:72,realName:"C6"},{key:7,step:0,name:"D",octave:6,realKey:73,realName:"Db6"},{key:1,step:1,name:"D",octave:6,realKey:74,realName:"D6"},{key:1,step:1,mark:"rise",name:"E",octave:6,realKey:75,realName:"Eb6"},{key:2,step:1,name:"E",octave:6,realKey:76,realName:"E6"},{key:2,step:1,mark:"rise",name:"F",octave:6,realKey:77,realName:"F6"}],listEb5:[{key:4,step:-1,mark:"rise",name:"A",octave:4,realKey:57,realName:"A4"},{key:5,step:-1,name:"B",octave:4,realKey:58,realName:"Bb4"},{key:5,step:-1,mark:"rise",name:"B",octave:4,realKey:59,realName:"B4"},{key:6,step:-1,name:"C",octave:5,realKey:60,realName:"C5"},{key:6,step:-1,mark:"rise",name:"D",octave:5,realKey:61,realName:"Db5"},{key:7,step:-1,name:"D",octave:5,realKey:62,realName:"D5"},{key:1,step:0,name:"E",octave:5,realKey:63,realName:"Eb5"},{key:1,step:0,mark:"rise",name:"E",octave:5,realKey:64,realName:"E5"},{key:2,step:0,name:"F",octave:5,realKey:65,realName:"F5"},{key:2,step:0,mark:"rise",name:"G",octave:5,realKey:66,realName:"Gb5"},{key:3,step:0,name:"G",octave:5,realKey:67,realName:"G5"},{key:4,step:0,name:"A",octave:5,realKey:68,realName:"Ab5"},{key:4,step:0,mark:"rise",name:"A",octave:5,realKey:69,realName:"A5"},{key:5,step:0,name:"B",octave:5,realKey:70,realName:"Bb5"},{key:5,step:0,mark:"rise",name:"B",octave:5,realKey:71,realName:"B5"},{key:6,step:0,name:"C",octave:6,realKey:72,realName:"C6"},{key:6,step:0,mark:"rise",name:"D",octave:6,realKey:73,realName:"Db6"},{key:7,step:0,name:"D",octave:6,realKey:74,realName:"D6"},{key:1,step:1,name:"E",octave:6,realKey:75,realName:"Eb6"},{key:1,step:1,mark:"rise",name:"E",octave:6,realKey:76,realName:"E6"},{key:2,step:1,name:"F",octave:6,realKey:77,realName:"F6"}],listE5:[{key:4,step:-1,name:"A",octave:4,realKey:57,realName:"A4"},{key:4,step:-1,mark:"rise",name:"B",octave:4,realKey:58,realName:"Bb4"},{key:5,step:-1,name:"B",octave:4,realKey:59,realName:"B4"},{key:5,step:-1,mark:"rise",name:"C",octave:5,realKey:60,realName:"C5"},{key:6,step:-1,name:"D",octave:5,realKey:61,realName:"Db5"},{key:6,step:-1,mark:"rise",name:"D",octave:5,realKey:62,realName:"D5"},{key:7,step:-1,name:"E",octave:5,realKey:63,realName:"Eb5"},{key:1,step:0,name:"E",octave:5,realKey:64,realName:"E5"},{key:1,step:0,mark:"rise",name:"F",octave:5,realKey:65,realName:"F5"},{key:2,step:0,name:"G",octave:5,realKey:66,realName:"Gb5"},{key:2,step:0,mark:"rise",name:"G",octave:5,realKey:67,realName:"G5"},{key:3,step:0,name:"A",octave:5,realKey:68,realName:"Ab5"},{key:4,step:0,name:"A",octave:5,realKey:69,realName:"A5"},{key:4,step:0,mark:"rise",name:"B",octave:5,realKey:70,realName:"Bb5"},{key:5,step:0,name:"B",octave:5,realKey:71,realName:"B5"},{key:5,step:0,mark:"rise",name:"C",octave:6,realKey:72,realName:"C6"},{key:6,step:0,name:"D",octave:6,realKey:73,realName:"Db6"},{key:6,step:0,mark:"rise",name:"D",octave:6,realKey:74,realName:"D6"},{key:7,step:0,name:"E",octave:6,realKey:75,realName:"Eb6"},{key:1,step:1,name:"E",octave:6,realKey:76,realName:"E6"},{key:1,step:1,mark:"rise",name:"F",octave:6,realKey:77,realName:"F6"}],listF5:[{key:3,step:-1,name:"A",octave:4,realKey:57,realName:"A4"},{key:4,step:-1,name:"B",octave:4,realKey:58,realName:"Bb4"},{key:4,step:-1,mark:"rise",name:"B",octave:4,realKey:59,realName:"B4"},{key:5,step:-1,name:"C",octave:5,realKey:60,realName:"C5"},{key:5,step:-1,mark:"rise",name:"D",octave:5,realKey:61,realName:"Db5"},{key:6,step:-1,name:"D",octave:5,realKey:62,realName:"D5"},{key:6,step:-1,mark:"rise",name:"E",octave:5,realKey:63,realName:"Eb5"},{key:7,step:-1,name:"E",octave:5,realKey:64,realName:"E5"},{key:1,step:0,name:"F",octave:5,realKey:65,realName:"F5"},{key:1,step:0,mark:"rise",name:"G",octave:5,realKey:66,realName:"Gb5"},{key:2,step:0,name:"G",octave:5,realKey:67,realName:"G5"},{key:2,step:0,mark:"rise",name:"A",octave:5,realKey:68,realName:"Ab5"},{key:3,step:0,name:"A",octave:5,realKey:69,realName:"A5"},{key:4,step:0,name:"B",octave:5,realKey:70,realName:"Bb5"},{key:4,step:0,mark:"rise",name:"B",octave:5,realKey:71,realName:"B5"},{key:5,step:0,name:"C",octave:6,realKey:72,realName:"C6"},{key:5,step:0,mark:"rise",name:"D",octave:6,realKey:73,realName:"Db6"},{key:6,step:0,name:"D",octave:6,realKey:74,realName:"D6"},{key:6,step:0,mark:"rise",name:"E",octave:6,realKey:75,realName:"Eb6"},{key:7,step:0,name:"E",octave:6,realKey:76,realName:"E6"},{key:1,step:1,name:"F",octave:6,realKey:77,realName:"F6"}],listGb5:[{key:2,step:-1,mark:"rise",name:"A",octave:4,realKey:57,realName:"A4"},{key:3,step:-1,name:"B",octave:4,realKey:58,realName:"Bb4"},{key:4,step:-1,name:"B",octave:4,realKey:59,realName:"B4"},{key:4,step:-1,mark:"rise",name:"C",octave:5,realKey:60,realName:"C5"},{key:5,step:-1,name:"D",octave:5,realKey:61,realName:"Db5"},{key:5,step:-1,mark:"rise",name:"D",octave:5,realKey:62,realName:"D5"},{key:6,step:-1,name:"E",octave:5,realKey:63,realName:"Eb5"},{key:6,step:-1,mark:"rise",name:"E",octave:5,realKey:64,realName:"E5"},{key:7,step:-1,name:"F",octave:5,realKey:65,realName:"F5"},{key:1,step:0,name:"G",octave:5,realKey:66,realName:"Gb5"},{key:1,step:0,mark:"rise",name:"G",octave:5,realKey:67,realName:"G5"},{key:2,step:0,name:"A",octave:5,realKey:68,realName:"Ab5"},{key:2,step:0,mark:"rise",name:"A",octave:5,realKey:69,realName:"A5"},{key:3,step:0,name:"B",octave:5,realKey:70,realName:"Bb5"},{key:4,step:0,name:"B",octave:5,realKey:71,realName:"B5"},{key:4,step:0,mark:"rise",name:"C",octave:6,realKey:72,realName:"C6"},{key:5,step:0,name:"D",octave:6,realKey:73,realName:"Db6"},{key:5,step:0,mark:"rise",name:"D",octave:6,realKey:74,realName:"D6"},{key:6,step:0,name:"E",octave:6,realKey:75,realName:"Eb6"},{key:6,step:0,mark:"rise",name:"E",octave:6,realKey:76,realName:"E6"},{key:7,step:0,name:"F",octave:6,realKey:77,realName:"F6"}],listG5:[{key:2,step:-1,name:"A",octave:4,realKey:57,realName:"A4"},{key:2,step:-1,mark:"rise",name:"B",octave:4,realKey:58,realName:"Bb4"},{key:3,step:-1,name:"B",octave:4,realKey:59,realName:"B4"},{key:4,step:-1,name:"C",octave:5,realKey:60,realName:"C5"},{key:4,step:-1,mark:"rise",name:"D",octave:5,realKey:61,realName:"Db5"},{key:5,step:-1,name:"D",octave:5,realKey:62,realName:"D5"},{key:5,step:-1,mark:"rise",name:"E",octave:5,realKey:63,realName:"Eb5"},{key:6,step:-1,name:"E",octave:5,realKey:64,realName:"E5"},{key:6,step:-1,mark:"rise",name:"F",octave:5,realKey:65,realName:"F5"},{key:7,step:-1,name:"G",octave:5,realKey:66,realName:"Gb5"},{key:1,step:0,name:"G",octave:5,realKey:67,realName:"G5"},{key:1,step:0,mark:"rise",name:"A",octave:5,realKey:68,realName:"Ab5"},{key:2,step:0,name:"A",octave:5,realKey:69,realName:"A5"},{key:2,step:0,mark:"rise",name:"B",octave:5,realKey:70,realName:"Bb5"},{key:3,step:0,name:"B",octave:5,realKey:71,realName:"B5"},{key:4,step:0,name:"C",octave:6,realKey:72,realName:"C6"},{key:4,step:0,mark:"rise",name:"D",octave:6,realKey:73,realName:"Db6"},{key:5,step:0,name:"D",octave:6,realKey:74,realName:"D6"},{key:5,step:0,mark:"rise",name:"E",octave:6,realKey:75,realName:"Eb6"},{key:6,step:0,name:"E",octave:6,realKey:76,realName:"E6"},{key:6,step:0,mark:"rise",name:"F",octave:6,realKey:77,realName:"F6"}],listAb5:[{key:1,step:-1,mark:"rise",name:"A",octave:4,realKey:57,realName:"A4"},{key:2,step:-1,name:"B",octave:4,realKey:58,realName:"Bb4"},{key:2,step:-1,mark:"rise",name:"B",octave:4,realKey:59,realName:"B4"},{key:3,step:-1,name:"C",octave:5,realKey:60,realName:"C5"},{key:4,step:-1,name:"D",octave:5,realKey:61,realName:"Db5"},{key:4,step:-1,mark:"rise",name:"D",octave:5,realKey:62,realName:"D5"},{key:5,step:-1,name:"E",octave:5,realKey:63,realName:"Eb5"},{key:5,step:-1,mark:"rise",name:"E",octave:5,realKey:64,realName:"E5"},{key:6,step:-1,name:"F",octave:5,realKey:65,realName:"F5"},{key:6,step:-1,mark:"rise",name:"G",octave:5,realKey:66,realName:"Gb5"},{key:7,step:-1,name:"G",octave:5,realKey:67,realName:"G5"},{key:1,step:0,name:"A",octave:5,realKey:68,realName:"Ab5"},{key:1,step:0,mark:"rise",name:"A",octave:5,realKey:69,realName:"A5"},{key:2,step:0,name:"B",octave:5,realKey:70,realName:"Bb5"},{key:2,step:0,mark:"rise",name:"B",octave:5,realKey:71,realName:"B5"},{key:3,step:0,name:"C",octave:6,realKey:72,realName:"C6"},{key:4,step:0,name:"D",octave:6,realKey:73,realName:"Db6"},{key:4,step:0,mark:"rise",name:"D",octave:6,realKey:74,realName:"D6"},{key:5,step:0,name:"E",octave:6,realKey:75,realName:"Eb6"},{key:5,step:0,mark:"rise",name:"E",octave:6,realKey:76,realName:"E6"},{key:6,step:0,name:"F",octave:6,realKey:77,realName:"F6"}],listA5:[{key:1,step:0,name:"A",octave:4,realKey:57,realName:"A4"},{key:1,step:0,mark:"rise",name:"B",octave:4,realKey:58,realName:"Bb4"},{key:2,step:0,name:"B",octave:4,realKey:59,realName:"B4"},{key:2,step:0,mark:"rise",name:"C",octave:5,realKey:60,realName:"C5"},{key:3,step:0,name:"D",octave:5,realKey:61,realName:"Db5"},{key:4,step:0,name:"D",octave:5,realKey:62,realName:"D5"},{key:4,step:0,mark:"rise",name:"E",octave:5,realKey:63,realName:"Eb5"},{key:5,step:0,name:"E",octave:5,realKey:64,realName:"E5"},{key:5,step:0,mark:"rise",name:"F",octave:5,realKey:65,realName:"F5"},{key:6,step:0,name:"G",octave:5,realKey:66,realName:"Gb5"},{key:6,step:0,mark:"rise",name:"G",octave:5,realKey:67,realName:"G5"},{key:7,step:0,name:"A",octave:5,realKey:68,realName:"Ab5"},{key:1,step:1,name:"A",octave:5,realKey:69,realName:"A5"},{key:1,step:1,mark:"rise",name:"B",octave:5,realKey:70,realName:"Bb5"},{key:2,step:1,name:"B",octave:5,realKey:71,realName:"B5"},{key:2,step:1,mark:"rise",name:"C",octave:6,realKey:72,realName:"C6"},{key:3,step:1,name:"D",octave:6,realKey:73,realName:"Db6"},{key:4,step:1,name:"D",octave:6,realKey:74,realName:"D6"},{key:4,step:1,mark:"rise",name:"E",octave:6,realKey:75,realName:"Eb6"},{key:5,step:1,name:"E",octave:6,realKey:76,realName:"E6"},{key:5,step:1,mark:"rise",name:"F",octave:6,realKey:77,realName:"F6"}],listBb5:[{key:7,step:-1,name:"A",octave:4,realKey:57,realName:"A4"},{key:1,step:0,name:"B",octave:4,realKey:58,realName:"Bb4"},{key:1,step:0,mark:"rise",name:"B",octave:4,realKey:59,realName:"B4"},{key:2,step:0,name:"C",octave:5,realKey:60,realName:"C5"},{key:2,step:0,mark:"rise",name:"D",octave:5,realKey:61,realName:"Db5"},{key:3,step:0,name:"D",octave:5,realKey:62,realName:"D5"},{key:4,step:0,name:"E",octave:5,realKey:63,realName:"Eb5"},{key:4,step:0,mark:"rise",name:"E",octave:5,realKey:64,realName:"E5"},{key:5,step:0,name:"F",octave:5,realKey:65,realName:"F5"},{key:5,step:0,mark:"rise",name:"G",octave:5,realKey:66,realName:"Gb5"},{key:6,step:0,name:"G",octave:5,realKey:67,realName:"G5"},{key:6,step:0,mark:"rise",name:"A",octave:5,realKey:68,realName:"Ab5"},{key:7,step:0,name:"A",octave:5,realKey:69,realName:"A5"},{key:1,step:1,name:"B",octave:5,realKey:70,realName:"Bb5"},{key:1,step:1,mark:"rise",name:"B",octave:5,realKey:71,realName:"B5"},{key:2,step:1,name:"C",octave:6,realKey:72,realName:"C6"},{key:2,step:1,mark:"rise",name:"D",octave:6,realKey:73,realName:"Db6"},{key:3,step:1,name:"D",octave:6,realKey:74,realName:"D6"},{key:4,step:1,name:"E",octave:6,realKey:75,realName:"Eb6"},{key:4,step:1,mark:"rise",name:"E",octave:6,realKey:76,realName:"E6"},{key:5,step:1,name:"F",octave:6,realKey:77,realName:"F6"}],listB5:[{key:6,step:-1,mark:"rise",name:"A",octave:4,realKey:57,realName:"A4"},{key:7,step:-1,name:"B",octave:4,realKey:58,realName:"Bb4"},{key:1,step:0,name:"B",octave:4,realKey:59,realName:"B4"},{key:1,step:0,mark:"rise",name:"C",octave:5,realKey:60,realName:"C5"},{key:2,step:0,name:"D",octave:5,realKey:61,realName:"Db5"},{key:2,step:0,mark:"rise",name:"D",octave:5,realKey:62,realName:"D5"},{key:3,step:0,name:"E",octave:5,realKey:63,realName:"Eb5"},{key:4,step:0,name:"E",octave:5,realKey:64,realName:"E5"},{key:4,step:0,mark:"rise",name:"F",octave:5,realKey:65,realName:"F5"},{key:5,step:0,name:"G",octave:5,realKey:66,realName:"Gb5"},{key:5,step:0,mark:"rise",name:"G",octave:5,realKey:67,realName:"G5"},{key:6,step:0,name:"A",octave:5,realKey:68,realName:"Ab5"},{key:6,step:0,name:"A",octave:5,realKey:69,realName:"A5"},{key:6,step:0,mark:"rise",name:"B",octave:5,realKey:70,realName:"Bb5"},{key:7,step:0,name:"B",octave:5,realKey:71,realName:"B5"},{key:1,step:1,name:"C",octave:6,realKey:72,realName:"C6"},{key:1,step:1,mark:"rise",name:"D",octave:6,realKey:73,realName:"Db6"},{key:2,step:1,name:"D",octave:6,realKey:74,realName:"D6"},{key:2,step:1,mark:"rise",name:"E",octave:6,realKey:75,realName:"Eb6"},{key:3,step:1,name:"E",octave:6,realKey:76,realName:"E6"},{key:4,step:1,name:"F",octave:6,realKey:77,realName:"F6"}]},melodica:{tips:[{key:0,name:"演奏姿势",octave:0,step:0,realKey:0,realName:"口风琴的基本演奏姿势有两种,即坐奏式和立奏式两种。"},{key:0,name:"坐奏式",octave:0,step:0,realKey:0,realName:"将口风琴平放在桌上,左手持长吹管前面的吹嘴,有手在琴键上演奎。要求身体端正。"},{key:0,name:"立奏式",octave:0,step:0,realKey:0,realName:`口含短吹管,左手持琴,右手在琴键上演奏。琴身倾斜约45度。
  114. 注:无论是坐奏式还是立奏式,都要注意口含吹嘴少些。`},{key:0,name:"呼吸方法",octave:0,step:0,realKey:0,realName:"呼吸吹奏口风琴时的呼吸与唱歌和演奏其他吹管乐器时的呼吸方法基本一致,即采用口鼻并用的胸腹式呼吸法。请记住下面这一句:深吸气,要保持,均匀平稳呼出去。"},{key:0,name:"吐舌法",octave:0,step:0,realKey:0,realName:"与演奏其他管乐器一样,演奏口风琴时,吐舌法是十分重要的。其基本方法是舌尖轻触上牙床,并靠拢前肠,气流通过。"},{key:0,name:"基本指法",octave:0,step:0,realKey:0,realName:`口风琴的指法与钢琴、风琴电子琴、手风琴等键盘乐器基本上相同,其区别在于使用它作同音重复演奏时,手指不动,而是用吐舌法来完成。
  115. 演奏口风琴时,右手手指编了号:拇指为1号指,食指为2号指,中指为3号指,无名指为4号指,小指为五号指。与演奏其他键盘乐器一样,演奏口风琴时要求手指自然弯曲,以指尖触键,手腕平放,手心如提球状。`}],tones:[],list:[{key:4,name:"F",octave:4,step:-1,realKey:53,realName:"F4"},{key:5,name:"G",octave:4,step:-1,realKey:54,mark:"fall",realName:"Gb4"},{key:5,name:"G",octave:4,step:-1,realKey:55,realName:"G4"},{key:6,name:"A",octave:4,step:-1,realKey:56,mark:"fall",realName:"Ab4"},{key:6,name:"A",octave:4,step:-1,realKey:57,realName:"A4"},{key:7,name:"B",octave:4,step:-1,realKey:58,mark:"fall",realName:"Bb4"},{key:7,name:"B",octave:4,step:-1,realKey:59,realName:"B4"},{key:1,name:"C",octave:5,step:0,realKey:60,realName:"C5"},{key:2,name:"D",octave:5,step:0,realKey:61,mark:"fall",realName:"Db5"},{key:2,name:"D",octave:5,step:0,realKey:62,realName:"D5"},{key:3,name:"E",octave:5,step:0,realKey:63,mark:"fall",realName:"Eb5"},{key:3,name:"E",octave:5,step:0,realKey:64,realName:"E5"},{key:4,name:"F",octave:5,step:0,realKey:65,realName:"F5"},{key:5,name:"G",octave:5,step:0,realKey:66,mark:"fall",realName:"Gb5"},{key:5,name:"G",octave:5,step:0,realKey:67,realName:"G5"},{key:6,name:"A",octave:5,step:0,realKey:68,mark:"fall",realName:"Ab5"},{key:6,name:"A",octave:5,step:0,realKey:69,realName:"A5"},{key:7,name:"B",octave:5,step:0,realKey:70,mark:"fall",realName:"Bb5"},{key:7,name:"B",octave:5,step:0,realKey:71,realName:"B5"},{key:1,name:"C",octave:6,step:1,realKey:72,realName:"C6"},{key:2,name:"D",octave:6,step:1,realKey:73,mark:"fall",realName:"Db6"},{key:2,name:"D",octave:6,step:1,realKey:74,realName:"D6"},{key:3,name:"E",octave:6,step:1,realKey:75,mark:"fall",realName:"Eb6"},{key:3,name:"E",octave:6,step:1,realKey:76,realName:"E6"},{key:4,name:"F",octave:6,step:1,realKey:77,realName:"F6"},{key:5,name:"G",octave:6,step:1,realKey:78,mark:"fall",realName:"Gb6"},{key:5,name:"G",octave:6,step:1,realKey:79,realName:"G6"},{key:6,name:"A",octave:6,step:1,realKey:80,mark:"fall",realName:"Ab6"},{key:6,name:"A",octave:6,step:1,realKey:81,realName:"A6"},{key:7,name:"B",octave:6,step:1,realKey:82,mark:"fall",realName:"Bb6"},{key:7,name:"B",octave:6,step:1,realKey:83,realName:"B6"},{key:1,name:"C",octave:7,step:2,realKey:84,realName:"C7"}]},"baroque-recorder":{tips:[{key:0,name:"拿竖笛的方法",octave:0,step:0,realKey:0,realName:"把竖笛拿起来,然后放在嘴边,把它轻轻地放在你的唇间,并用你的手指拿稳。记住要把你的左手放在上边,有一个孔的背面应该正对着你,不要咬吹口或是让它碰到牙。"},{key:0,name:"吹竖笛的力度",octave:0,step:0,realKey:0,realName:"向竖笛吹气,轻一点吹想象你在吹泡泡一样,控制气流的稳定并轻柔地吹奏,尝试用膈肌呼吸并确保你吹得均匀,这可以使声音稳定持续。"},{key:0,name:"学习呼吸方法",octave:0,step:0,realKey:0,realName:"吹竖笛时,气息的控制是很关键的,气息分为缓吹法和急吹法,吸气要从鼻子和嘴角吸气,吸到胸部和腰部,小腹微微向里收,以使演奏有气息支持。"},{key:0,name:"勤练习指法",octave:0,step:0,realKey:0,realName:"指法图是用来表示竖笛上的单音的,后背的孔叫0孔,从上到下依次为一孔、二孔、三孔、四孔、五孔、六孔、七孔,要吹奏简单的练习曲,必须要牢记单音的指法。"},{key:0,name:"学习一些演奏技法",octave:0,step:0,realKey:0,realName:"单吐是用舌尖顶住上牙的牙根,用气息轻轻地把舌尖冲开,待声音发出后舌尖有弹性地返回到原来的位置,这时舌尖就像一个通气阀门,如果我们让它发出声音就像发“嘟”音的感觉。在有连线的地方只有第一个音采用单吐的技法,后面的音不再做吐音,只接前面“嘟”音的尾音发出“呜”音,整个连线里面的音就像“嘟呜”的。"}],list:[{key:1,name:"C",octave:5,step:0,realKey:60,realName:"C5"},{key:2,name:"D",octave:5,step:0,realKey:61,mark:"fall",realName:"Db5"},{key:2,name:"D",octave:5,step:0,realKey:62,realName:"D5"},{key:3,name:"E",octave:5,step:0,realKey:63,mark:"fall",realName:"Eb5"},{key:3,name:"E",octave:5,step:0,realKey:64,realName:"E5"},{key:4,name:"F",octave:5,step:0,realKey:65,realName:"F5"},{key:5,name:"G",octave:5,step:0,realKey:66,mark:"fall",realName:"Gb5"},{key:5,name:"G",octave:5,step:0,realKey:67,realName:"G5"},{key:6,name:"A",octave:5,step:0,realKey:68,mark:"fall",realName:"Ab5"},{key:6,name:"A",octave:5,step:0,realKey:69,realName:"A5"},{key:7,name:"B",octave:5,step:0,realKey:70,mark:"fall",realName:"Bb5"},{key:7,name:"B",octave:5,step:0,realKey:71,realName:"B5"},{key:1,name:"C",octave:6,step:1,realKey:72,realName:"C6"},{key:2,name:"D",octave:6,step:1,realKey:73,mark:"fall",realName:"Db6"},{key:2,name:"D",octave:6,step:1,realKey:74,realName:"D6"},{key:3,name:"E",octave:6,step:1,realKey:75,mark:"fall",realName:"Eb6"},{key:3,name:"E",octave:6,step:1,realKey:76,realName:"E6"},{key:4,name:"F",octave:6,step:1,realKey:77,realName:"F6"},{key:5,name:"G",octave:6,step:1,realKey:78,mark:"fall",realName:"Gb6"},{key:5,name:"G",octave:6,step:1,realKey:79,realName:"G6"},{key:6,name:"A",octave:6,step:1,realKey:80,mark:"fall",realName:"Ab6"},{key:6,name:"A",octave:6,step:1,realKey:81,realName:"A6"},{key:7,name:"B",octave:6,step:1,realKey:82,mark:"fall",realName:"Bb6"},{key:7,name:"B",octave:6,step:1,realKey:83,realName:"B6"},{key:1,name:"C",octave:7,step:2,realKey:84,realName:"C7"},{key:2,name:"D",octave:7,step:2,realKey:85,mark:"fall",realName:"Db7"},{key:2,name:"D",octave:7,step:2,realKey:86,realName:"D7"},{key:3,name:"D",octave:7,step:2,realKey:87,mark:"fall",realName:"Gb7"}]}},FIGNER_INSTRUMENT_REALKEY=[60,62,64,65,67,69,71,72];var hammerExports={},hammer={get exports(){return hammerExports},set exports(i){hammerExports=i}};/*! Hammer.JS - v2.0.7 - 2016-04-22
  116. * http://hammerjs.github.io/
  117. *
  118. * Copyright (c) 2016 Jorik Tangelder;
  119. * Licensed under the MIT license */(function(i){(function(e,r,s,o){var a=["","webkit","Moz","MS","ms","o"],l=r.createElement("div"),c="function",u=Math.round,d=Math.abs,g=Date.now;function m(le,Ae,_e){return setTimeout(C(le,_e),Ae)}function y(le,Ae,_e){return Array.isArray(le)?(b(le,_e[Ae],_e),!0):!1}function b(le,Ae,_e){var Ve;if(le)if(le.forEach)le.forEach(Ae,_e);else if(le.length!==o)for(Ve=0;Ve<le.length;)Ae.call(_e,le[Ve],Ve,le),Ve++;else for(Ve in le)le.hasOwnProperty(Ve)&&Ae.call(_e,le[Ve],Ve,le)}function A(le,Ae,_e){var Ve="DEPRECATED METHOD: "+Ae+`
  120. `+_e+` AT
  121. `;return function(){var Qe=new Error("get-stack-trace"),tt=Qe&&Qe.stack?Qe.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",xt=e.console&&(e.console.warn||e.console.log);return xt&&xt.call(e.console,Ve,tt),le.apply(this,arguments)}}var S;typeof Object.assign!="function"?S=function(Ae){if(Ae===o||Ae===null)throw new TypeError("Cannot convert undefined or null to object");for(var _e=Object(Ae),Ve=1;Ve<arguments.length;Ve++){var Qe=arguments[Ve];if(Qe!==o&&Qe!==null)for(var tt in Qe)Qe.hasOwnProperty(tt)&&(_e[tt]=Qe[tt])}return _e}:S=Object.assign;var E=A(function(Ae,_e,Ve){for(var Qe=Object.keys(_e),tt=0;tt<Qe.length;)(!Ve||Ve&&Ae[Qe[tt]]===o)&&(Ae[Qe[tt]]=_e[Qe[tt]]),tt++;return Ae},"extend","Use `assign`."),x=A(function(Ae,_e){return E(Ae,_e,!0)},"merge","Use `assign`.");function P(le,Ae,_e){var Ve=Ae.prototype,Qe;Qe=le.prototype=Object.create(Ve),Qe.constructor=le,Qe._super=Ve,_e&&S(Qe,_e)}function C(le,Ae){return function(){return le.apply(Ae,arguments)}}function T(le,Ae){return typeof le==c?le.apply(Ae&&Ae[0]||o,Ae):le}function k(le,Ae){return le===o?Ae:le}function I(le,Ae,_e){b(_(Ae),function(Ve){le.addEventListener(Ve,_e,!1)})}function M(le,Ae,_e){b(_(Ae),function(Ve){le.removeEventListener(Ve,_e,!1)})}function R(le,Ae){for(;le;){if(le==Ae)return!0;le=le.parentNode}return!1}function B(le,Ae){return le.indexOf(Ae)>-1}function _(le){return le.trim().split(/\s+/g)}function V(le,Ae,_e){if(le.indexOf&&!_e)return le.indexOf(Ae);for(var Ve=0;Ve<le.length;){if(_e&&le[Ve][_e]==Ae||!_e&&le[Ve]===Ae)return Ve;Ve++}return-1}function D(le){return Array.prototype.slice.call(le,0)}function F(le,Ae,_e){for(var Ve=[],Qe=[],tt=0;tt<le.length;){var xt=Ae?le[tt][Ae]:le[tt];V(Qe,xt)<0&&Ve.push(le[tt]),Qe[tt]=xt,tt++}return _e&&(Ae?Ve=Ve.sort(function(Ut,jt){return Ut[Ae]>jt[Ae]}):Ve=Ve.sort()),Ve}function N(le,Ae){for(var _e,Ve,Qe=Ae[0].toUpperCase()+Ae.slice(1),tt=0;tt<a.length;){if(_e=a[tt],Ve=_e?_e+Qe:Ae,Ve in le)return Ve;tt++}return o}var K=1;function G(){return K++}function q(le){var Ae=le.ownerDocument||le;return Ae.defaultView||Ae.parentWindow||e}var O=/mobile|tablet|ip(ad|hone|od)|android/i,U="ontouchstart"in e,$=N(e,"PointerEvent")!==o,Y=U&&O.test(navigator.userAgent),Q="touch",xe="pen",ue="mouse",W="kinect",J=25,ce=1,ge=2,Ee=4,Te=8,De=1,te=2,ae=4,H=8,ve=16,pe=te|ae,ee=H|ve,ne=pe|ee,me=["x","y"],Be=["clientX","clientY"];function oe(le,Ae){var _e=this;this.manager=le,this.callback=Ae,this.element=le.element,this.target=le.options.inputTarget,this.domHandler=function(Ve){T(le.options.enable,[le])&&_e.handler(Ve)},this.init()}oe.prototype={handler:function(){},init:function(){this.evEl&&I(this.element,this.evEl,this.domHandler),this.evTarget&&I(this.target,this.evTarget,this.domHandler),this.evWin&&I(q(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&M(this.element,this.evEl,this.domHandler),this.evTarget&&M(this.target,this.evTarget,this.domHandler),this.evWin&&M(q(this.element),this.evWin,this.domHandler)}};function be(le){var Ae,_e=le.options.inputClass;return _e?Ae=_e:$?Ae=Ct:Y?Ae=nt:U?Ae=bt:Ae=lt,new Ae(le,Ie)}function Ie(le,Ae,_e){var Ve=_e.pointers.length,Qe=_e.changedPointers.length,tt=Ae&ce&&Ve-Qe===0,xt=Ae&(Ee|Te)&&Ve-Qe===0;_e.isFirst=!!tt,_e.isFinal=!!xt,tt&&(le.session={}),_e.eventType=Ae,Re(le,_e),le.emit("hammer.input",_e),le.recognize(_e),le.session.prevInput=_e}function Re(le,Ae){var _e=le.session,Ve=Ae.pointers,Qe=Ve.length;_e.firstInput||(_e.firstInput=Ce(Ae)),Qe>1&&!_e.firstMultiple?_e.firstMultiple=Ce(Ae):Qe===1&&(_e.firstMultiple=!1);var tt=_e.firstInput,xt=_e.firstMultiple,Gt=xt?xt.center:tt.center,Ut=Ae.center=ye(Ve);Ae.timeStamp=g(),Ae.deltaTime=Ae.timeStamp-tt.timeStamp,Ae.angle=Ge(Gt,Ut),Ae.distance=Ye(Gt,Ut),Pe(_e,Ae),Ae.offsetDirection=Ue(Ae.deltaX,Ae.deltaY);var jt=Fe(Ae.deltaTime,Ae.deltaX,Ae.deltaY);Ae.overallVelocityX=jt.x,Ae.overallVelocityY=jt.y,Ae.overallVelocity=d(jt.x)>d(jt.y)?jt.x:jt.y,Ae.scale=xt?et(xt.pointers,Ve):1,Ae.rotation=xt?Ke(xt.pointers,Ve):0,Ae.maxPointers=_e.prevInput?Ae.pointers.length>_e.prevInput.maxPointers?Ae.pointers.length:_e.prevInput.maxPointers:Ae.pointers.length,he(_e,Ae);var Zt=le.element;R(Ae.srcEvent.target,Zt)&&(Zt=Ae.srcEvent.target),Ae.target=Zt}function Pe(le,Ae){var _e=Ae.center,Ve=le.offsetDelta||{},Qe=le.prevDelta||{},tt=le.prevInput||{};(Ae.eventType===ce||tt.eventType===Ee)&&(Qe=le.prevDelta={x:tt.deltaX||0,y:tt.deltaY||0},Ve=le.offsetDelta={x:_e.x,y:_e.y}),Ae.deltaX=Qe.x+(_e.x-Ve.x),Ae.deltaY=Qe.y+(_e.y-Ve.y)}function he(le,Ae){var _e=le.lastInterval||Ae,Ve=Ae.timeStamp-_e.timeStamp,Qe,tt,xt,Gt;if(Ae.eventType!=Te&&(Ve>J||_e.velocity===o)){var Ut=Ae.deltaX-_e.deltaX,jt=Ae.deltaY-_e.deltaY,Zt=Fe(Ve,Ut,jt);tt=Zt.x,xt=Zt.y,Qe=d(Zt.x)>d(Zt.y)?Zt.x:Zt.y,Gt=Ue(Ut,jt),le.lastInterval=Ae}else Qe=_e.velocity,tt=_e.velocityX,xt=_e.velocityY,Gt=_e.direction;Ae.velocity=Qe,Ae.velocityX=tt,Ae.velocityY=xt,Ae.direction=Gt}function Ce(le){for(var Ae=[],_e=0;_e<le.pointers.length;)Ae[_e]={clientX:u(le.pointers[_e].clientX),clientY:u(le.pointers[_e].clientY)},_e++;return{timeStamp:g(),pointers:Ae,center:ye(Ae),deltaX:le.deltaX,deltaY:le.deltaY}}function ye(le){var Ae=le.length;if(Ae===1)return{x:u(le[0].clientX),y:u(le[0].clientY)};for(var _e=0,Ve=0,Qe=0;Qe<Ae;)_e+=le[Qe].clientX,Ve+=le[Qe].clientY,Qe++;return{x:u(_e/Ae),y:u(Ve/Ae)}}function Fe(le,Ae,_e){return{x:Ae/le||0,y:_e/le||0}}function Ue(le,Ae){return le===Ae?De:d(le)>=d(Ae)?le<0?te:ae:Ae<0?H:ve}function Ye(le,Ae,_e){_e||(_e=me);var Ve=Ae[_e[0]]-le[_e[0]],Qe=Ae[_e[1]]-le[_e[1]];return Math.sqrt(Ve*Ve+Qe*Qe)}function Ge(le,Ae,_e){_e||(_e=me);var Ve=Ae[_e[0]]-le[_e[0]],Qe=Ae[_e[1]]-le[_e[1]];return Math.atan2(Qe,Ve)*180/Math.PI}function Ke(le,Ae){return Ge(Ae[1],Ae[0],Be)+Ge(le[1],le[0],Be)}function et(le,Ae){return Ye(Ae[0],Ae[1],Be)/Ye(le[0],le[1],Be)}var Ze={mousedown:ce,mousemove:ge,mouseup:Ee},st="mousedown",vt="mousemove mouseup";function lt(){this.evEl=st,this.evWin=vt,this.pressed=!1,oe.apply(this,arguments)}P(lt,oe,{handler:function(Ae){var _e=Ze[Ae.type];_e&ce&&Ae.button===0&&(this.pressed=!0),_e&ge&&Ae.which!==1&&(_e=Ee),this.pressed&&(_e&Ee&&(this.pressed=!1),this.callback(this.manager,_e,{pointers:[Ae],changedPointers:[Ae],pointerType:ue,srcEvent:Ae}))}});var dt={pointerdown:ce,pointermove:ge,pointerup:Ee,pointercancel:Te,pointerout:Te},Tt={2:Q,3:xe,4:ue,5:W},ut="pointerdown",pt="pointermove pointerup pointercancel";e.MSPointerEvent&&!e.PointerEvent&&(ut="MSPointerDown",pt="MSPointerMove MSPointerUp MSPointerCancel");function Ct(){this.evEl=ut,this.evWin=pt,oe.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}P(Ct,oe,{handler:function(Ae){var _e=this.store,Ve=!1,Qe=Ae.type.toLowerCase().replace("ms",""),tt=dt[Qe],xt=Tt[Ae.pointerType]||Ae.pointerType,Gt=xt==Q,Ut=V(_e,Ae.pointerId,"pointerId");tt&ce&&(Ae.button===0||Gt)?Ut<0&&(_e.push(Ae),Ut=_e.length-1):tt&(Ee|Te)&&(Ve=!0),!(Ut<0)&&(_e[Ut]=Ae,this.callback(this.manager,tt,{pointers:_e,changedPointers:[Ae],pointerType:xt,srcEvent:Ae}),Ve&&_e.splice(Ut,1))}});var Vt={touchstart:ce,touchmove:ge,touchend:Ee,touchcancel:Te},Xe="touchstart",ie="touchstart touchmove touchend touchcancel";function de(){this.evTarget=Xe,this.evWin=ie,this.started=!1,oe.apply(this,arguments)}P(de,oe,{handler:function(Ae){var _e=Vt[Ae.type];if(_e===ce&&(this.started=!0),!!this.started){var Ve=ke.call(this,Ae,_e);_e&(Ee|Te)&&Ve[0].length-Ve[1].length===0&&(this.started=!1),this.callback(this.manager,_e,{pointers:Ve[0],changedPointers:Ve[1],pointerType:Q,srcEvent:Ae})}}});function ke(le,Ae){var _e=D(le.touches),Ve=D(le.changedTouches);return Ae&(Ee|Te)&&(_e=F(_e.concat(Ve),"identifier",!0)),[_e,Ve]}var Oe={touchstart:ce,touchmove:ge,touchend:Ee,touchcancel:Te},We="touchstart touchmove touchend touchcancel";function nt(){this.evTarget=We,this.targetIds={},oe.apply(this,arguments)}P(nt,oe,{handler:function(Ae){var _e=Oe[Ae.type],Ve=mt.call(this,Ae,_e);Ve&&this.callback(this.manager,_e,{pointers:Ve[0],changedPointers:Ve[1],pointerType:Q,srcEvent:Ae})}});function mt(le,Ae){var _e=D(le.touches),Ve=this.targetIds;if(Ae&(ce|ge)&&_e.length===1)return Ve[_e[0].identifier]=!0,[_e,_e];var Qe,tt,xt=D(le.changedTouches),Gt=[],Ut=this.target;if(tt=_e.filter(function(jt){return R(jt.target,Ut)}),Ae===ce)for(Qe=0;Qe<tt.length;)Ve[tt[Qe].identifier]=!0,Qe++;for(Qe=0;Qe<xt.length;)Ve[xt[Qe].identifier]&&Gt.push(xt[Qe]),Ae&(Ee|Te)&&delete Ve[xt[Qe].identifier],Qe++;if(Gt.length)return[F(tt.concat(Gt),"identifier",!0),Gt]}var ht=2500,qe=25;function bt(){oe.apply(this,arguments);var le=C(this.handler,this);this.touch=new nt(this.manager,le),this.mouse=new lt(this.manager,le),this.primaryTouch=null,this.lastTouches=[]}P(bt,oe,{handler:function(Ae,_e,Ve){var Qe=Ve.pointerType==Q,tt=Ve.pointerType==ue;if(!(tt&&Ve.sourceCapabilities&&Ve.sourceCapabilities.firesTouchEvents)){if(Qe)Et.call(this,_e,Ve);else if(tt&&z.call(this,Ve))return;this.callback(Ae,_e,Ve)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function Et(le,Ae){le&ce?(this.primaryTouch=Ae.changedPointers[0].identifier,It.call(this,Ae)):le&(Ee|Te)&&It.call(this,Ae)}function It(le){var Ae=le.changedPointers[0];if(Ae.identifier===this.primaryTouch){var _e={x:Ae.clientX,y:Ae.clientY};this.lastTouches.push(_e);var Ve=this.lastTouches,Qe=function(){var tt=Ve.indexOf(_e);tt>-1&&Ve.splice(tt,1)};setTimeout(Qe,ht)}}function z(le){for(var Ae=le.srcEvent.clientX,_e=le.srcEvent.clientY,Ve=0;Ve<this.lastTouches.length;Ve++){var Qe=this.lastTouches[Ve],tt=Math.abs(Ae-Qe.x),xt=Math.abs(_e-Qe.y);if(tt<=qe&&xt<=qe)return!0}return!1}var fe=N(l.style,"touchAction"),Z=fe!==o,re="compute",we="auto",Se="manipulation",Me="none",Le="pan-x",He="pan-y",at=je();function rt(le,Ae){this.manager=le,this.set(Ae)}rt.prototype={set:function(le){le==re&&(le=this.compute()),Z&&this.manager.element.style&&at[le]&&(this.manager.element.style[fe]=le),this.actions=le.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var le=[];return b(this.manager.recognizers,function(Ae){T(Ae.options.enable,[Ae])&&(le=le.concat(Ae.getTouchAction()))}),ft(le.join(" "))},preventDefaults:function(le){var Ae=le.srcEvent,_e=le.offsetDirection;if(this.manager.session.prevented){Ae.preventDefault();return}var Ve=this.actions,Qe=B(Ve,Me)&&!at[Me],tt=B(Ve,He)&&!at[He],xt=B(Ve,Le)&&!at[Le];if(Qe){var Gt=le.pointers.length===1,Ut=le.distance<2,jt=le.deltaTime<250;if(Gt&&Ut&&jt)return}if(!(xt&&tt)&&(Qe||tt&&_e&pe||xt&&_e&ee))return this.preventSrc(Ae)},preventSrc:function(le){this.manager.session.prevented=!0,le.preventDefault()}};function ft(le){if(B(le,Me))return Me;var Ae=B(le,Le),_e=B(le,He);return Ae&&_e?Me:Ae||_e?Ae?Le:He:B(le,Se)?Se:we}function je(){if(!Z)return!1;var le={},Ae=e.CSS&&e.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(_e){le[_e]=Ae?e.CSS.supports("touch-action",_e):!0}),le}var St=1,wt=2,Dt=4,At=8,Bt=At,_t=16,ot=32;function $e(le){this.options=S({},this.defaults,le||{}),this.id=G(),this.manager=null,this.options.enable=k(this.options.enable,!0),this.state=St,this.simultaneous={},this.requireFail=[]}$e.prototype={defaults:{},set:function(le){return S(this.options,le),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(le){if(y(le,"recognizeWith",this))return this;var Ae=this.simultaneous;return le=Rt(le,this),Ae[le.id]||(Ae[le.id]=le,le.recognizeWith(this)),this},dropRecognizeWith:function(le){return y(le,"dropRecognizeWith",this)?this:(le=Rt(le,this),delete this.simultaneous[le.id],this)},requireFailure:function(le){if(y(le,"requireFailure",this))return this;var Ae=this.requireFail;return le=Rt(le,this),V(Ae,le)===-1&&(Ae.push(le),le.requireFailure(this)),this},dropRequireFailure:function(le){if(y(le,"dropRequireFailure",this))return this;le=Rt(le,this);var Ae=V(this.requireFail,le);return Ae>-1&&this.requireFail.splice(Ae,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(le){return!!this.simultaneous[le.id]},emit:function(le){var Ae=this,_e=this.state;function Ve(Qe){Ae.manager.emit(Qe,le)}_e<At&&Ve(Ae.options.event+it(_e)),Ve(Ae.options.event),le.additionalEvent&&Ve(le.additionalEvent),_e>=At&&Ve(Ae.options.event+it(_e))},tryEmit:function(le){if(this.canEmit())return this.emit(le);this.state=ot},canEmit:function(){for(var le=0;le<this.requireFail.length;){if(!(this.requireFail[le].state&(ot|St)))return!1;le++}return!0},recognize:function(le){var Ae=S({},le);if(!T(this.options.enable,[this,Ae])){this.reset(),this.state=ot;return}this.state&(Bt|_t|ot)&&(this.state=St),this.state=this.process(Ae),this.state&(wt|Dt|At|_t)&&this.tryEmit(Ae)},process:function(le){},getTouchAction:function(){},reset:function(){}};function it(le){return le&_t?"cancel":le&At?"end":le&Dt?"move":le&wt?"start":""}function gt(le){return le==ve?"down":le==H?"up":le==te?"left":le==ae?"right":""}function Rt(le,Ae){var _e=Ae.manager;return _e?_e.get(le):le}function kt(){$e.apply(this,arguments)}P(kt,$e,{defaults:{pointers:1},attrTest:function(le){var Ae=this.options.pointers;return Ae===0||le.pointers.length===Ae},process:function(le){var Ae=this.state,_e=le.eventType,Ve=Ae&(wt|Dt),Qe=this.attrTest(le);return Ve&&(_e&Te||!Qe)?Ae|_t:Ve||Qe?_e&Ee?Ae|At:Ae&wt?Ae|Dt:wt:ot}});function Nt(){kt.apply(this,arguments),this.pX=null,this.pY=null}P(Nt,kt,{defaults:{event:"pan",threshold:10,pointers:1,direction:ne},getTouchAction:function(){var le=this.options.direction,Ae=[];return le&pe&&Ae.push(He),le&ee&&Ae.push(Le),Ae},directionTest:function(le){var Ae=this.options,_e=!0,Ve=le.distance,Qe=le.direction,tt=le.deltaX,xt=le.deltaY;return Qe&Ae.direction||(Ae.direction&pe?(Qe=tt===0?De:tt<0?te:ae,_e=tt!=this.pX,Ve=Math.abs(le.deltaX)):(Qe=xt===0?De:xt<0?H:ve,_e=xt!=this.pY,Ve=Math.abs(le.deltaY))),le.direction=Qe,_e&&Ve>Ae.threshold&&Qe&Ae.direction},attrTest:function(le){return kt.prototype.attrTest.call(this,le)&&(this.state&wt||!(this.state&wt)&&this.directionTest(le))},emit:function(le){this.pX=le.deltaX,this.pY=le.deltaY;var Ae=gt(le.direction);Ae&&(le.additionalEvent=this.options.event+Ae),this._super.emit.call(this,le)}});function Ht(){kt.apply(this,arguments)}P(Ht,kt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Me]},attrTest:function(le){return this._super.attrTest.call(this,le)&&(Math.abs(le.scale-1)>this.options.threshold||this.state&wt)},emit:function(le){if(le.scale!==1){var Ae=le.scale<1?"in":"out";le.additionalEvent=this.options.event+Ae}this._super.emit.call(this,le)}});function Ft(){$e.apply(this,arguments),this._timer=null,this._input=null}P(Ft,$e,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[we]},process:function(le){var Ae=this.options,_e=le.pointers.length===Ae.pointers,Ve=le.distance<Ae.threshold,Qe=le.deltaTime>Ae.time;if(this._input=le,!Ve||!_e||le.eventType&(Ee|Te)&&!Qe)this.reset();else if(le.eventType&ce)this.reset(),this._timer=m(function(){this.state=Bt,this.tryEmit()},Ae.time,this);else if(le.eventType&Ee)return Bt;return ot},reset:function(){clearTimeout(this._timer)},emit:function(le){this.state===Bt&&(le&&le.eventType&Ee?this.manager.emit(this.options.event+"up",le):(this._input.timeStamp=g(),this.manager.emit(this.options.event,this._input)))}});function Kt(){kt.apply(this,arguments)}P(Kt,kt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Me]},attrTest:function(le){return this._super.attrTest.call(this,le)&&(Math.abs(le.rotation)>this.options.threshold||this.state&wt)}});function ni(){kt.apply(this,arguments)}P(ni,kt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:pe|ee,pointers:1},getTouchAction:function(){return Nt.prototype.getTouchAction.call(this)},attrTest:function(le){var Ae=this.options.direction,_e;return Ae&(pe|ee)?_e=le.overallVelocity:Ae&pe?_e=le.overallVelocityX:Ae&ee&&(_e=le.overallVelocityY),this._super.attrTest.call(this,le)&&Ae&le.offsetDirection&&le.distance>this.options.threshold&&le.maxPointers==this.options.pointers&&d(_e)>this.options.velocity&&le.eventType&Ee},emit:function(le){var Ae=gt(le.offsetDirection);Ae&&this.manager.emit(this.options.event+Ae,le),this.manager.emit(this.options.event,le)}});function ri(){$e.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}P(ri,$e,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Se]},process:function(le){var Ae=this.options,_e=le.pointers.length===Ae.pointers,Ve=le.distance<Ae.threshold,Qe=le.deltaTime<Ae.time;if(this.reset(),le.eventType&ce&&this.count===0)return this.failTimeout();if(Ve&&Qe&&_e){if(le.eventType!=Ee)return this.failTimeout();var tt=this.pTime?le.timeStamp-this.pTime<Ae.interval:!0,xt=!this.pCenter||Ye(this.pCenter,le.center)<Ae.posThreshold;this.pTime=le.timeStamp,this.pCenter=le.center,!xt||!tt?this.count=1:this.count+=1,this._input=le;var Gt=this.count%Ae.taps;if(Gt===0)return this.hasRequireFailures()?(this._timer=m(function(){this.state=Bt,this.tryEmit()},Ae.interval,this),wt):Bt}return ot},failTimeout:function(){return this._timer=m(function(){this.state=ot},this.options.interval,this),ot},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Bt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Yt(le,Ae){return Ae=Ae||{},Ae.recognizers=k(Ae.recognizers,Yt.defaults.preset),new Xt(le,Ae)}Yt.VERSION="2.0.7",Yt.defaults={domEvents:!1,touchAction:re,enable:!0,inputTarget:null,inputClass:null,preset:[[Kt,{enable:!1}],[Ht,{enable:!1},["rotate"]],[ni,{direction:pe}],[Nt,{direction:pe},["swipe"]],[ri],[ri,{event:"doubletap",taps:2},["tap"]],[Ft]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var hi=1,$t=2;function Xt(le,Ae){this.options=S({},Yt.defaults,Ae||{}),this.options.inputTarget=this.options.inputTarget||le,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=le,this.input=be(this),this.touchAction=new rt(this,this.options.touchAction),Jt(this,!0),b(this.options.recognizers,function(_e){var Ve=this.add(new _e[0](_e[1]));_e[2]&&Ve.recognizeWith(_e[2]),_e[3]&&Ve.requireFailure(_e[3])},this)}Xt.prototype={set:function(le){return S(this.options,le),le.touchAction&&this.touchAction.update(),le.inputTarget&&(this.input.destroy(),this.input.target=le.inputTarget,this.input.init()),this},stop:function(le){this.session.stopped=le?$t:hi},recognize:function(le){var Ae=this.session;if(!Ae.stopped){this.touchAction.preventDefaults(le);var _e,Ve=this.recognizers,Qe=Ae.curRecognizer;(!Qe||Qe&&Qe.state&Bt)&&(Qe=Ae.curRecognizer=null);for(var tt=0;tt<Ve.length;)_e=Ve[tt],Ae.stopped!==$t&&(!Qe||_e==Qe||_e.canRecognizeWith(Qe))?_e.recognize(le):_e.reset(),!Qe&&_e.state&(wt|Dt|At)&&(Qe=Ae.curRecognizer=_e),tt++}},get:function(le){if(le instanceof $e)return le;for(var Ae=this.recognizers,_e=0;_e<Ae.length;_e++)if(Ae[_e].options.event==le)return Ae[_e];return null},add:function(le){if(y(le,"add",this))return this;var Ae=this.get(le.options.event);return Ae&&this.remove(Ae),this.recognizers.push(le),le.manager=this,this.touchAction.update(),le},remove:function(le){if(y(le,"remove",this))return this;if(le=this.get(le),le){var Ae=this.recognizers,_e=V(Ae,le);_e!==-1&&(Ae.splice(_e,1),this.touchAction.update())}return this},on:function(le,Ae){if(le!==o&&Ae!==o){var _e=this.handlers;return b(_(le),function(Ve){_e[Ve]=_e[Ve]||[],_e[Ve].push(Ae)}),this}},off:function(le,Ae){if(le!==o){var _e=this.handlers;return b(_(le),function(Ve){Ae?_e[Ve]&&_e[Ve].splice(V(_e[Ve],Ae),1):delete _e[Ve]}),this}},emit:function(le,Ae){this.options.domEvents&&wi(le,Ae);var _e=this.handlers[le]&&this.handlers[le].slice();if(!(!_e||!_e.length)){Ae.type=le,Ae.preventDefault=function(){Ae.srcEvent.preventDefault()};for(var Ve=0;Ve<_e.length;)_e[Ve](Ae),Ve++}},destroy:function(){this.element&&Jt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function Jt(le,Ae){var _e=le.element;if(_e.style){var Ve;b(le.options.cssProps,function(Qe,tt){Ve=N(_e.style,tt),Ae?(le.oldCssProps[Ve]=_e.style[Ve],_e.style[Ve]=Qe):_e.style[Ve]=le.oldCssProps[Ve]||""}),Ae||(le.oldCssProps={})}}function wi(le,Ae){var _e=r.createEvent("Event");_e.initEvent(le,!0,!0),_e.gesture=Ae,Ae.target.dispatchEvent(_e)}S(Yt,{INPUT_START:ce,INPUT_MOVE:ge,INPUT_END:Ee,INPUT_CANCEL:Te,STATE_POSSIBLE:St,STATE_BEGAN:wt,STATE_CHANGED:Dt,STATE_ENDED:At,STATE_RECOGNIZED:Bt,STATE_CANCELLED:_t,STATE_FAILED:ot,DIRECTION_NONE:De,DIRECTION_LEFT:te,DIRECTION_RIGHT:ae,DIRECTION_UP:H,DIRECTION_DOWN:ve,DIRECTION_HORIZONTAL:pe,DIRECTION_VERTICAL:ee,DIRECTION_ALL:ne,Manager:Xt,Input:oe,TouchAction:rt,TouchInput:nt,MouseInput:lt,PointerEventInput:Ct,TouchMouseInput:bt,SingleTouchInput:de,Recognizer:$e,AttrRecognizer:kt,Tap:ri,Pan:Nt,Swipe:ni,Pinch:Ht,Rotate:Kt,Press:Ft,on:I,off:M,each:b,merge:x,extend:E,assign:S,inherit:P,bindFn:C,prefixed:N});var Pi=typeof e<"u"?e:typeof self<"u"?self:{};Pi.Hammer=Yt,typeof o=="function"&&o.amd?o(function(){return Yt}):i.exports?i.exports=Yt:e[s]=Yt})(window,document,"Hammer")})(hammer);const Hammer=hammerExports,detail="_detail_mqn64_1",btn$1="_btn_mqn64_14",close="_close_mqn64_24",closeIcon="_closeIcon_mqn64_30",fingerGuide="_fingerGuide_mqn64_53",content="_content_mqn64_57",box$1="_box_mqn64_61",boxItem1="_boxItem1_mqn64_67",boxItem2="_boxItem2_mqn64_75",boxItem3="_boxItem3_mqn64_83",item="_item_mqn64_91",fingeringMode="_fingeringMode_mqn64_96",itemScale="_itemScale_mqn64_96",boxTip2="_boxTip2_mqn64_102",boxTip3="_boxTip3_mqn64_103",icon="_icon_mqn64_106",title$2="_title_mqn64_132",des="_des_mqn64_141",styles$4={detail,btn:btn$1,close,closeIcon,fingerGuide,content,box:box$1,boxItem1,boxItem2,boxItem3,item,fingeringMode,itemScale,boxTip2,boxTip3,icon,title:title$2,des},DetailGuide=defineComponent({name:"DetailGuide",emits:["close"],setup(i,{emit:e}){const r=ref();return()=>createVNode("div",{ref:r,class:styles$4.detail},[createVNode("div",{class:styles$4.btn,onClick:()=>e("close",!0)},[createTextVNode("不再提醒")]),createVNode("span",{class:styles$4.closeIcon,onClick:()=>e("close")},null)])}}),guide_1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAL4AAADWCAMAAABYDciYAAADAFBMVEUAAABRzOROyuFo0+NTzdxx1udczORQzOBgzOZhz+Zfy+hZzeRWzOJfy+gqwNtezuVWzOB42eCH3uR82uFgzeaB3ORo0eEfvNtezet+2eFs095fy+d62t5GyN0zwtsXt9kbuNlEx96D3OMlv90uw908x91l0903xd0zw92L4Oqj5emN3+qM3+gxw90lvNmF3eRNy90Nq9Idu9wftdUQrdH0+/8CteD///9ey+hezuxfyeZHyesHtt9ByOpNy+w5xelXzu49x+pTze1KyuxEyesfvuQMuN42xOhb0O8yw+gvwucpwOVQzO0jv+Rj0vD/kZEswecavORf0e8GtuEWu+P6/f8mwOZFyedPy+Uzw+MjvuBp1PE9xuYpwOFKyucRuuIWut8bvN5s1PERud/y+v5n0+8eveFv1vIuwuMMuOFBx+bwxRLt+P101/Mxwt84xeZKyuM9xuE4xN5EyOJJyt4nv95TzeE5xeJx1t3wxxhCyN562d7wwgxWzeVo0+Fn1NxPzN512N4twd0cs9QYsdNt1eBh0t2yLx9j0uwjttby3VZj0uJZz90kuttu1ex52O6K3etYzupYz+Hy3lpe0OM+wdscuNsWbIJz1u7k9/2B2+uA298dttfa9Ptd0N8sutg0vdrP8PkNrdIfcJDo8/gPstgxxssRTm739fF62ekVYnwUW3iT3+ooucgafo/00jat5/UPRWjy3l626fSB2vFz1uY0zMsNOmDF7f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lpZch82Ru2zrj3/VrC2WnFhm6cKdXcSMDpc03fb60jW7VhwuWFN0sNguaQTFD2C6Y8B8lO0WS8Yc3Xhze9l9Eg0GqQMMsaNe1UnQ6IDg5PjYoBN0WxLjx+vgnyaclHOTF6TMMJvN4eGxsSHpIxeMnROjT784kcjoqKyEhIkTBwSbTg3BAQIECBAgQIAAAQJ0zL8YYYVb/Kbd+gAAAABJRU5ErkJggg==",icons={guide_1,guide_2,guide_3,guide_4,icon_cursor_1,icon_cursor_2,icon_cursor_3},FingerGuide=defineComponent({name:"DetailGuide",props:{fingeringMode:{type:String,default:""}},emits:["close"],setup(i,{emit:e}){const r=getQuery(),s=reactive({box:{},show:!0,steps:[{className:"boxItem1",classTip:"",des:`快点击下排按钮听听${state$1.fingeringInfo.code}的声音吧,按钮可以滑动哦~`,img:icons.icon_cursor_1},{className:"boxItem2",classTip:"boxTip2",des:"这里可以切换音调,查看不同音调的指法~",img:icons.icon_cursor_2},{className:"boxItem3",classTip:"boxTip3",des:"可以通过手势放大缩小乐器哦~",img:icons.icon_cursor_3}],step:0}),o=["finger-note-0","finger-note-1","finger-note-2"],a=()=>{const u=document.getElementById(o[s.step]);if(console.log(s.step,u),u){const d=u.getBoundingClientRect(),g=s.step===2?d.width:0;s.box={left:d.x-g+"px",top:d.y+"px",width:(s.step===2?0:d.width)+"px",height:(s.step===2?0:d.height)+"px"}}else l()};onMounted(()=>{a()});const l=()=>{if(s.step>=2){c();return}s.step=s.step+1,a()},c=()=>{e("close",!0)};return()=>createVNode(Popup,{zIndex:5051,teleport:"body",overlay:!1,closeOnClickOverlay:!1,class:["popup-custom",styles$4.fingerGuide],show:s.show,"onUpdate:show":u=>s.show=u},{default:()=>[createVNode("div",{class:styles$4.content,onClick:()=>l()},[createVNode("div",{class:styles$4.box,style:s.box},[s.steps.map((u,d)=>createVNode("div",{style:{display:d===s.step?"":"none"},class:styles$4[u.className]},[createVNode("img",{src:u.img},null)]))]),createVNode("div",{onClick:u=>u.stopPropagation()},[s.steps.map((u,d)=>createVNode("div",{style:{display:d===s.step?"":"none"},class:[styles$4.item,i.fingeringMode!=="scaleMode"&&styles$4.fingeringMode,["Woodwind","Tenor Recorder","BaroqueRecorder"].includes(r.code)&&styles$4.itemScale,styles$4[u.classTip]]},[createVNode("div",{class:styles$4.icon},[createVNode("img",{src:icons.guide_3},null)]),createVNode(Button$1,{class:styles$4.btn,round:!0,type:"primary",onClick:()=>l()},{default:()=>[createTextVNode("我知道了")]}),createVNode("div",{class:styles$4.title},[createVNode("img",{src:icons.guide_4},null),createVNode("div",{class:styles$4.des,style:{fontSize:d===2?"0.34667rem":""}},[u.des])])]))])])]})}}),GuideIndex=defineComponent({name:"guide-index",props:{list:{type:Array,default:""},showGuide:{type:Boolean,default:!0},fingeringMode:{type:String,default:""}},setup(i){const e=getQuery(),r="detailGuideKey",s="fingerGuideKey",o=reactive({list:i.list,detailShow:!1,fingerShow:!1}),a=()=>{if(!(i.showGuide&&!e.showGuide)){if(o.list.includes("detail")){if(localStorage.getItem(r))return;setTimeout(()=>{o.detailShow=!0},300)}if(o.list.includes("finger")){if(localStorage.getItem(s))return;o.fingerShow=!0}}};return onMounted(()=>{a()}),()=>createVNode(Fragment,null,[o.detailShow&&createVNode(DetailGuide,{onClose:l=>{l&&localStorage.setItem(r,"1"),o.detailShow=!1}},null),o.fingerShow&&createVNode(FingerGuide,{fingeringMode:i.fingeringMode,onClose:l=>{l&&localStorage.setItem(s,"1"),o.fingerShow=!1}},null)])}}),icon_loading_img="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAc4AAACsCAMAAADFc7xnAAAC7lBMVEUAAAD///////////////////////8A0sX/////////////////////////////////////////lYb/o4YA08v/////////////yUD///////////8C2dAAzML/qIUA1Mr///////8BwrX/1QD/1AD/1QD///8B1cz/1QD///////8B0MYByb7/1QD/1QD///////8BzsP///8Bxbr/////kof/////1gAA1c3/1AD/1AAByb7/////1AD/15P///8B08kBxroD4Nn/1QD/1QD/lob/////1QD/mIYBy78Axrv///8B3dT/iIcC2ND/q4X/1QAByb4B0ccC39f/qIUC187/////1QD/ooUD3NQByL3/iocC2dACzcMCzMH/1QD///8CzsP///8C29T/1QD/oob/1gD/nIYC184CzcP/////mof/1wAA0ssA0sj/l4P/0wD/////lYb/noYBzcP/////nob/iYb/////rYX/////j4b/1pP/nob/oIb/////k4b/qoX/1QACyr//kIcC29P/1QD/15UD08n/1QAD4NgD1s4E39YBzcT/1QD/nYb/1AD/1wD/1pP/o4YC39j/1pMC0cgC08oBx7z/q4b/1AAC2M//mof/iof/15P/kIf/rYb/1pT/15T/rIYC183/q4b/1QD/////o4X/qYX/1pT/////////sIX/y5D/1wD/2Zj/jIf/h4cD4dr/q4X/r4X/2JMC0MX/////15P/1QD/15H/////1AD/1pMC2tEC29P/j4YC2ND/lIb/koYByL0C184By8EC1cwBwrYC3tf/jYb/q4X/kYb/iob/iIYC3dUBxLgC08r/loa18OwBzcP/rYUByr//poUBxrr/jIYC0cgBz8X/qoX/qYX/qIX/o4X/n4X/3duw7usC4NlC2dEfz8b/r4X/nYX/m4UPz8X/l5L/mYWp7ekD4do12NA00sr/pJ7/mIb/qqX/29lZ3db/2Nb/2dgMx7z/tK80mDA7AAAAvHRSTlMAP88qHAkjDTcnBfQ9Oy0TEPosFgTXs60H56aggy8kHhgN/Pnu2ruzFO3e09HAtJN4bWRjXldJSBQK/ffi4uDLv76oqJyJf39yOzczM/z18/Pr593a2dHQy8GwoJ+fmJOKioVuamBSTEtHRD0nJBkPDQf39vLv5uLOx8G9u7qomZiKiYJ9enVuY15dUEZBPjUuIfz6+Pj19O/o6OTW1M2vpZ+WlpN5cG1oV1NSTzYoHBf68+XjzXt3VEc3M1YbIgQAAAjYSURBVHja7N1VlNNAGIbhDy1QdHF3d3d3d3d3d3d3d3d3n+CluC/W4u5udwxsAy1M25CQknL+55x29/49mZlMpi2IASToDfK/CFj66FFUiJQsBuJX1i/f/ohLAIFJeaScIH4iVsvBvSteDiLMmV6SkscC8QfrF/GU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K9pVLHyYUPUVGeuamXtjYTK00oaFBPuZWdAqqWki1y6HgIaFe6CxmOlKmi8QZ1WwOmTOF0xDT65RdAkStsDH/NKh5YGio18bMvAoGolqkbBlTFAyuUIpG60JBg4hm5l1BEP9QgylRFsQfrGPf0ez5f4jLFIkL4g9qGOyI4IYlCxYs3gui63mzOPCNNdP3cVNGgqgS3VBz5wZe87vdIDoe7o0An1i8z6EfiBrZmBLR4RsF5JxTQNQIl4YpsBZ6k3PK6FeV1GkTxUC3Kf3kmgVA1MnmtWeccPCRNXJOWtqqFr4G8yR1FvjOEloJaZdjYIpewYUKxs0WCr40sgAfaXeA/C82bQIhhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQggh5Gt793ITQQxEUdRPY7fcyJ8JYSaejob8NwgECBhDe8mz7kmh5HJ9FgUAAAAAAAAA/1a69ivn0deQtqxX9cI1bX9b0af2HOAsHfqq8kCdPWV9V4insUM/VfKtrahHLcBU1cA9wFLXyB5gaddIDbCUNVRyuwXYKfpVJaBm+qZ3fKH2etaJLcBF1DkGRC66JnBO20XVDFagHqKmxAAHTW8ohtZQ9YFeZQGF17mSrClMhjw0Udku5KYHLLKNZZ0r7LFd3Atd50p6IZorSU1/Oci0ZlLcL2N7JJiTXgDK/ZzLIfzoMwAAAABJRU5ErkJggg==",noteImg=""+new URL("../png/noteImg-72c69ed5.png",import.meta.url).href,changeSubject="_changeSubject_11ws8_1",changeSubjectContainer="_changeSubjectContainer_11ws8_4",title$1="_title_11ws8_13",subjectContainer="_subjectContainer_11ws8_30",subjectItem="_subjectItem_11ws8_36",arrow="_arrow_11ws8_51",active="_active_11ws8_63",btnGroups="_btnGroups_11ws8_73",btn="_btn_11ws8_73",resetBtn="_resetBtn_11ws8_86",confirmBtn="_confirmBtn_11ws8_90",styles$3={changeSubject,changeSubjectContainer,title:title$1,subjectContainer,subjectItem,arrow,active,btnGroups,btn,resetBtn,confirmBtn},ChangeSubject=defineComponent({name:"change-subject",props:{subjectList:{type:Array,default:()=>[]},subject:{type:String,default:""}},emits:["close","confirm"],setup(i,{emit:e}){const r=reactive({subjectValue:null,instrumentCode:null,selectList:[]});watch(()=>i.subject,()=>{s()});const s=()=>{let o={};i.subjectList.forEach(a=>{Array.isArray(a.children)&&a.children.forEach(l=>{l.value===i.subject&&(o={...l,parentId:a.id},r.instrumentCode=l.value,r.subjectValue=a.id,r.selectList=a.children||[])})}),o||i.subjectList.forEach(a=>{a.children&&a.children.length>0&&a.children.forEach(l=>{l.value===i.subject&&(r.instrumentCode=l.value,r.subjectValue=a.id,r.selectList=a.children)})})};return onMounted(()=>{console.log(i.subjectList,"subjectList",i.subject),s()}),()=>createVNode("div",{class:styles$3.changeSubject},[createVNode("div",{class:[styles$3.changeSubjectContainer,"changeSubjectContainer_pc"]},[createVNode("div",{class:styles$3.title},[createTextVNode("声部")]),createVNode("div",{class:styles$3.subjectContainer},[i.subjectList.map(o=>createVNode("div",{class:[styles$3.subjectItem,o.children.length>0&&styles$3.arrow,o.id===r.subjectValue&&styles$3.active],onClick:()=>{o.children.length<=0&&(r.instrumentCode=""),r.subjectValue=o.id,r.selectList=o.children,r.selectList.length>0&&(r.instrumentCode=r.selectList[0].value)}},[o.text]))]),r.selectList.length>0&&createVNode(Fragment,null,[createVNode("div",{class:styles$3.title},[createTextVNode("乐器")]),createVNode("div",{class:styles$3.subjectContainer},[r.selectList.map(o=>createVNode("div",{class:[styles$3.subjectItem,o.value===r.instrumentCode&&styles$3.active],onClick:()=>{r.instrumentCode=o.value}},[o.text]))])])]),createVNode("div",{class:[styles$3.btnGroups,"btnGroups_pc"]},[createVNode("div",{class:[styles$3.btn,styles$3.resetBtn],onClick:()=>{e("close"),s()}},null),createVNode("div",{class:[styles$3.btn,styles$3.confirmBtn],onClick:()=>{if(r.selectList.length>0&&!r.instrumentCode){showToast("请选择乐器");return}e("confirm",r.instrumentCode||r.subjectValue)}},null)])])}});function useDrag(i,e,r,s){const o=ref({top:-1,left:-1}),a=s+e;watch(r,()=>{r.value?(c(),window.addEventListener("resize",u),nextTick(()=>{const d=document.querySelector(`.${e}`);d&&i.map(g=>{const m=document.querySelector(`.${g}`);m&&(m.style.cursor="move",drag(m,d,o))})})):(window.removeEventListener("resize",u),setCachePos(a,o.value))});const l=computed(()=>o.value.left===-1&&o.value.top===-1?{}:{position:"fixed",left:`${o.value.left}px`,top:`${o.value.top}px`,transform:"initial",transformOrigin:"initial",margin:"initial",transition:"initial"});function c(){const d=getCachePos(a);d&&(o.value=d,nextTick(()=>{u()}))}function u(){if(o.value.left===-1&&o.value.top===-1)return;const d=document.querySelector(`.${e}`);if(!d)return;const g=d.getBoundingClientRect(),m=document.documentElement.clientWidth,y=document.documentElement.clientHeight,{top:b,left:A}=o.value,S=m-g.width,E=y-g.height;let x=A,P=b;const C=0,T=0;x=x<C?C:x>S?S:x,P=P<T?T:P>E?E:P,o.value={top:P,left:x}}return{pos:o,styleDrag:l}}function drag(i,e,r){function s(o){const a=e.getBoundingClientRect(),l=o.clientX,c=o.clientY,u=document.documentElement.clientWidth,d=document.documentElement.clientHeight,g=u-a.width,m=d-a.height,y=0,b=0;function A(E){let x=a.left+(E.clientX-l),P=a.top+(E.clientY-c);x=x<y?y:x>g?g:x,P=P<b?b:P>m?m:P,r.value={top:P,left:x}}function S(){document.removeEventListener("mousemove",A),document.removeEventListener("mouseup",S)}document.addEventListener("mousemove",A),document.addEventListener("mouseup",S)}i.addEventListener("mousedown",s)}const localStorageName="dragCachePos";function getCachePos(i){const e=localStorage.getItem(localStorageName);if(e)try{return JSON.parse(e)[i]}catch(r){return null}return null}function setCachePos(i,e){const r=localStorage.getItem(localStorageName);let s={};if(r)try{s=JSON.parse(r)}catch(o){}s[i]=e,localStorage.setItem(localStorageName,JSON.stringify(s))}const dragbomBox="_dragbomBox_19ydm_1",dragBom="_dragBom_19ydm_9",box="_box_19ydm_17",right="_right_19ydm_23",guide="_guide_19ydm_27",guideBg="_guideBg_19ydm_44",guideDone="_guideDone_19ydm_52",guideTop="_guideTop_19ydm_63",guideLeft="_guideLeft_19ydm_71",guideRight="_guideRight_19ydm_80",styles$2={dragbomBox,dragBom,box,right,guide,guideBg,guideDone,guideTop,guideLeft,guideRight},Dragbom=defineComponent({name:"dragBom",emits:["guideDone"],props:{showGuide:{type:Boolean,default:!1}},setup(i,{emit:e}){const r=reactive({guidePos:"bottom"}),s=()=>{var g,m,y;const o=document.documentElement.clientHeight||document.body.clientHeight;document.documentElement.clientWidth||document.body.clientWidth;const a=((g=document.querySelector(".bom_guide"))==null?void 0:g.clientHeight)||0,l=((m=document.querySelector(".bom_guide"))==null?void 0:m.clientWidth)||0,c=(y=document.querySelector(".bom_drag"))==null?void 0:y.getBoundingClientRect(),u=(c==null?void 0:c.top)||0,d=(c==null?void 0:c.left)||0;o-u>a?r.guidePos="bottom":r.guidePos=d>l?"left":"right"};return onMounted(()=>{setTimeout(()=>{s()},0)}),()=>createVNode(Fragment,null,[createVNode("div",{class:[styles$2.dragbomBox,"dragbomBox"]},[createVNode("div",{class:[styles$2.dragBom,"bom_drag"]},[createVNode("div",{class:styles$2.box},null),createVNode("div",{class:[styles$2.box,styles$2.right]},null)])]),i.showGuide&&createVNode("div",{class:[styles$2.guide,r.guidePos==="left"&&styles$2.guideLeft,r.guidePos==="right"&&styles$2.guideRight,"bom_guide"],onClick:()=>e("guideDone")},[createVNode("div",{class:styles$2.guideBg},null),createVNode("div",{class:styles$2.guideDone,onClick:o=>{o.stopPropagation(),e("guideDone")}},null)])])}});function useDragGuidance(){const i=ref(!1);let e={};r();async function r(){var o;try{const a=await getGuidance({guideTag:"guideInfo"});if(a.code===200)if(a.data){const l=JSON.parse((o=a.data)==null?void 0:o.guideValue)||null;l&&(e=l,i.value=!l.teacherDrag)}else i.value=!0}catch(a){console.log(a)}}function s(){try{setGuidance({guideTag:"guideInfo",guideValue:JSON.stringify(Object.assign(e,{teacherDrag:!0}))}),i.value=!1}catch(o){console.log(o)}}return{guidanceShow:i,setGuidanceShow:s}}function _isSlot(i){return typeof i=="function"||Object.prototype.toString.call(i)==="[object Object]"&&!isVNode(i)}const ViewFigner=defineComponent({name:"viewFigner",emits:["close"],props:{show:{type:Boolean,default:!0},isComponent:{type:Boolean,default:!1},subject:{type:String,default:""}},setup(i,{emit:e}){var Be;const r=getQuery(),s=browser(),o=mappingVoicePart(r.code,"INSTRUMENT"),a=i.isComponent?i.subject||"pan-flute":o||"pan-flute",l=reactive({linkSource:r.linkSource,loading:!0,subject:a,realKey:0,notes:[],tones:[],activeTone:{},popupActiveTone:{},activeToneName:"",soundFonts:{},viewIndex:0,viewTotal:1,noteAudio:null,transform:{scale:1,x:0,y:0,startScale:1,startX:0,startY:0,transition:""},tipShow:!1,tips:[],tnoteShow:!1,loadingSoundFonts:!0,loadingSoundProgress:0,changeSubjectShow:!1,huaweiPad:!!((Be=navigator==null?void 0:navigator.userAgent)!=null&&Be.includes("UAWEIVRD-W09")),paddingTop:"",paddingLeft:"",subjects:[],fingeringModeList:[{text:"指法模式",value:"fingeringMode",icon:icons$1.icon_click},{text:"听音模式",value:"listenMode",icon:icons$1.icon_listen},{text:"音阶模式",value:"scaleMode",icon:icons$1.icon_mode}],fingeringMode:r.type||"scaleMode",noteType:"all",loadingDom:!1,loadingImg:!1}),c=reactive({relationshipIndex:0,subject:null,fingeringInfo:subjectFingering(l.subject)});i.isComponent||(state$1.fingeringInfo=c.fingeringInfo);const u=async oe=>{const be=await isSpecialShapedScreen();if(be!=null&&be.content){console.log("🚀 ~ screenData:",be.content);const{isSpecialShapedScreen:Ie,notchHeight:Re}=be.content;Ie&&(oe==="top"&&(l.paddingTop="25px"),oe==="left"&&(l.paddingLeft="25px"))}},d=()=>{c.fingeringInfo.orientation===1&&u("top"),c.fingeringInfo.orientation===0&&u("left")},g=()=>{const oe=FIGNER_INSTRUMENT_DATA[l.subject];oe&&(l.tones=oe.tones||[],l.tones.length&&(l.activeTone=l.tones[0],l.popupActiveTone=l.tones[0]),l.tips=oe.tips||[],m(),setTimeout(()=>{l.loading=!1},600))},m=()=>{const oe=FIGNER_INSTRUMENT_DATA[l.subject];if(oe){const be=oe[`list${l.activeTone.realName||""}`],Ie=[];be.forEach(Re=>{Re.steps=new Array(Math.abs(Re.step)).fill(1),FIGNER_INSTRUMENT_REALKEY.includes(Re.realKey)&&Ie.push(Re)}),l.notes=l.noteType==="#c"?Ie:be}},y=async()=>{const oe=l.subject+(l.viewIndex===0?"":l.viewIndex);console.log("🚀 ~ subject:模式",oe,l.viewIndex,l.fingeringMode),c.subject=await getFingeringConfig(oe)},b=oe=>new Promise((be,Ie)=>{const Re=new howler.Howl({src:oe,loop:!0,onload:()=>{be(Re)},onloaderror:()=>{Ie(new Error("加载音频失败"))}})}),A=async()=>{const oe=/(192|localhost)/.test(location.origin)?"/":location.pathname;l.loadingSoundFonts=!0;try{l.loadingSoundProgress=0;for(let be=0;be<l.notes.length;be++){const Ie=l.notes[be];let Re=`${oe}soundfonts/${l.subject}/`;Re+=Ie.realName,Re+=".mp3",l.soundFonts[Ie.realKey]=await b(Re),l.loadingSoundProgress=Math.floor((be+1)/l.notes.length*100)}l.loadingSoundProgress=100}catch(be){showToast(be.message)}api_cloudLoading(),l.loadingSoundFonts=!1},S=oe=>{if(oe.stopPropagation(),!O.listenLock&&!O.showAnswerLoading){if(l.loadingImg=!0,l.fingeringMode==="scaleMode"){["pan-flute","ocarina","whistling"].includes(l.subject)?l.viewIndex=1:l.viewIndex=0;const be={"pan-flute":2,ocarina:2,whistling:2,piccolo:2,"hulusi-flute":2,"baroque-recorder":2};l.viewTotal=be[l.subject]||1,l.fingeringMode="listenMode"}else l.fingeringMode==="listenMode"?l.fingeringMode="fingeringMode":l.fingeringMode==="fingeringMode"&&(l.fingeringMode="scaleMode",l.viewIndex=0,l.noteType="all");l.tipShow=!1,W(!0,0),setTimeout(()=>{E(!1)},100)}},E=async(oe=!0)=>{l.loadingDom=!0,g(),l.fingeringMode==="fingeringMode"?l.subject==="pan-flute"?l.viewIndex=3:["pan-flute","ocarina","melodica","whistling"].includes(l.subject)&&(l.viewIndex=1):["pan-flute","ocarina","whistling"].includes(l.subject)&&(l.viewIndex=1);const be={"pan-flute":2,ocarina:2,whistling:2,piccolo:2,"hulusi-flute":2,"baroque-recorder":2};l.viewTotal=be[l.subject]||1,y(),d(),oe&&await A(),l.loadingDom=!1,l.loadingImg=!1},x=async()=>{try{const be=(await api_subjectList({enableFlag:!0,delFlag:0,page:1,rows:999})).data||[],Ie=[];be.forEach(Re=>{const Pe={text:Re.name,value:"",id:Re.id,children:[]};Array.isArray(Re.instruments)&&Re.instruments.forEach(he=>{Pe.children.push({text:he.name,id:he.id,value:mappingVoicePart(he.code,"INSTRUMENT")})}),Ie.push(Pe)}),console.log(l.subject,"data.subject"),l.subjects=Ie}catch(oe){console.log(oe,"e")}};onBeforeMount(async()=>{var oe;browser().isApp?state$1.platform="APP":state$1.platform=((oe=r.platform)==null?void 0:oe.toLocaleUpperCase())||"",state$1.platform===IPlatform.PC&&(document.title="听音练习"),await x(),E()});const P=(oe,be=!0)=>{if(l.noteAudio&&(l.noteAudio.stop(),l.realKey===oe.realKey)){l.realKey=0,l.noteAudio=null;return}be&&(l.realKey=oe.realKey),console.log("key:",oe.realKey,l.soundFonts),l.noteAudio=l.soundFonts[oe.realKey],l.noteAudio&&l.noteAudio.play()},C=()=>{l.noteAudio&&(l.noteAudio.stop(),l.realKey=0,l.noteAudio=null)},T=()=>{if(C(),i.isComponent){e("close");return}else if(state$1.platform===IPlatform.PC)if(console.log(1,r),r.matchMedia==1){window.parent.postMessage({api:"iframe_exit"},"*");return}else{window.close();return}if(!storeData.isApp){window.close();return}api_back()},k=()=>{l.subject==="pan-flute"&&(l.transform.scale=.9,l.transform.startScale=.9)};onMounted(()=>{I(),api_setStatusBarVisibility()});const I=()=>{const oe=document.getElementById("fingeringContainer");k();const be=new Hammer.Manager(oe);be.add(new Hammer.Pan({threshold:0,pointers:0})),be.add(new Hammer.Pinch({threshold:0})).recognizeWith([be.get("pan")]),be.on("panstart pinchstart",function(Ie){l.transform.transition=""}),be.on("panmove pinchmove",function(Ie){Ie.type==="pinchmove"&&(l.transform.scale=Ie.scale*l.transform.startScale,l.transform.x=l.transform.startX+Ie.deltaX,l.transform.y=l.transform.startY+Ie.deltaY),Ie.type==="panmove"&&(l.transform.x=l.transform.startX+Ie.deltaX,l.transform.y=l.transform.startY+Ie.deltaY)}),be.on("hammer.input",function(Ie){Ie.isFinal&&(l.transform.startScale=l.transform.scale,l.transform.startX=l.transform.x,l.transform.startY=l.transform.y)})},M=()=>{l.transform.transition="all 0.3s",nextTick(()=>{l.transform.scale=l.subject==="pan-flute"?.9:1,l.transform.x=0,l.transform.y=0,l.transform.startScale=l.subject==="pan-flute"?.9:1,l.transform.startX=0,l.transform.startY=0})},R=computed(()=>{const oe=l.transform;let be=1;return l.subject==="pan-flute"&&(be=.9),oe.scale!==be||oe.x!==0||oe.y!==0||oe.startScale!==be||oe.startX!==0||oe.startY!==0}),B=usePageVisibility();watch(()=>B.value,oe=>{oe==="hidden"&&(clearTimeout(O.timer),O.listenLock=!1,O.listenTipsStatus=!1,O.exampleAnser={},W(!0,0),C(),q())});const _=oe=>{var be,Ie,Re;((be=oe==null?void 0:oe.data)==null?void 0:be.api)==="setPlayState"&&(clearTimeout(O.timer),O.listenLock=!1,O.listenTipsStatus=!1,O.exampleAnser={},W(!0,0),C(),q(),(Re=(Ie=oe==null?void 0:oe.data)==null?void 0:Ie.data)!=null&&Re.code&&(l.subject=o,l.viewIndex=0,l.tipShow=!1,l.loadingDom=!0,c.fingeringInfo=subjectFingering(l.subject),l.activeTone={},l.popupActiveTone={},M(),setTimeout(()=>{E()},100)))},V=ref(),D=oe=>{const be=V.value.offsetWidth/2;V.value.scrollBy({left:oe==="left"?-be:be,behavior:"smooth"})},F=reactive({gamut:!1,gamutTimer:null,answer:!1,action:!1}),N=()=>{if(F.action){if(O.listenLock)return;O.resetAction=!0,W(!0,0)}F.gamut=!1,q(),l.noteType==="all"?l.noteType="#c":l.noteType="all",g(),setTimeout(()=>{O.resetAction=!1},2e3)},K=async()=>{if(O.resetAction=!1,F.gamut)F.gamut=!1,q();else{V.value.scroll({left:0,top:0,behavior:"smooth"}),F.gamut=!0;const oe=l.notes;let be=0;for(let Ie=0;Ie<oe.length;Ie++){if(!F.gamut)return!1;const Re=document.querySelectorAll(".note-class")[Ie];Re.offsetLeft>=V.value.offsetWidth+V.value.offsetWidth/2*be-Re.offsetWidth&&(D("right"),be++),await G(oe[Ie])}setTimeout(()=>{F.gamut=!1,q()},667)}},G=(oe,be)=>new Promise(Ie=>{F.gamutTimer=setTimeout(()=>{(F.gamut||be)&&P(oe),Ie(oe)},667)}),q=()=>{clearTimeout(F.gamutTimer),l.noteAudio&&(l.noteAudio.stop(),l.realKey=0,l.noteAudio=null)},O=reactive({exampleAnser:{},standardAnswer:{},showAnswerLoading:!1,listenModeStatus:!1,listenLock:!1,listenTipsStatus:!1,resetAction:!1,userAnswerStatus:0,userAnswer:{},timer:null}),U=async()=>{O.resetAction=!1,!O.listenLock&&(O.showAnswerLoading||(F.action=!0,F.answer=!0,q(),l.fingeringMode==="fingeringMode"?Y():l.fingeringMode==="listenMode"&&(O.listenModeStatus?(O.listenLock=!0,await $(O.standardAnswer,1500,!1),q(),O.listenLock=!1):Q())))},$=(oe,be=1500,Ie=!0)=>new Promise(Re=>{P(oe,Ie),O.timer=setTimeout(()=>{Re(oe)},be)}),Y=()=>{const oe=Math.floor(Math.random()*l.notes.length);O.standardAnswer=l.notes[oe],l.realKey=l.notes[oe].realKey,!O.listenModeStatus&&(O.listenModeStatus=!0,O.listenLock=!0,O.listenTipsStatus=!0,O.timer=setTimeout(()=>{O.listenTipsStatus=!1,O.listenLock=!1},2e3))},Q=async()=>{O.listenModeStatus=!0,O.listenLock=!0,O.listenTipsStatus=!0;let oe=l.notes.findIndex(be=>be.realKey===67);O.exampleAnser=l.notes[oe],l.realKey=O.exampleAnser.realKey,ue(O.exampleAnser.realKey),await $(O.exampleAnser),l.realKey=0,O.exampleAnser={},q(),O.timer=setTimeout(async()=>{oe=Math.floor(Math.random()*l.notes.length),O.standardAnswer=l.notes[oe],await $(l.notes[oe],1500,!1),q(),O.listenLock=!1,O.listenTipsStatus=!1},1e3)},xe=async()=>{O.listenLock||(O.showAnswerLoading=!0,ue(O.standardAnswer.realKey),await $(O.standardAnswer),W(!0,0))},ue=oe=>{const be=oe||l.realKey,Ie=l.notes.findIndex(Pe=>Pe.realKey===be),Re=document.querySelectorAll(".note-class")[Ie];if(Re){const Pe=Re.offsetWidth,he=V.value.offsetWidth,Ce=Math.max((Re==null?void 0:Re.offsetLeft)-Pe,0);V.value.scroll({left:Math.max(Ce-he/2,0),top:0,behavior:"smooth"})}},W=(oe=!0,be=2e3)=>{setTimeout(()=>{q(),oe?(O.standardAnswer={},O.showAnswerLoading=!1,O.userAnswerStatus=0,O.userAnswer={},O.listenModeStatus=!1,F.action=!1,F.answer=!1,F.gamut=!1,l.realKey=0):(O.userAnswerStatus=0,O.userAnswer={})},be)},J=oe=>{oe.preventDefault(),oe.deltaY>0?(l.transform.scale-=.1,l.transform.scale<=.5&&(l.transform.scale=.5)):(l.transform.scale+=.1,l.transform.scale>=2&&(l.transform.scale=2))};onMounted(()=>{window.addEventListener("message",_);const oe=document.getElementById("fingeringContainer");oe==null||oe.addEventListener("wheel",J)}),onUnmounted(()=>{window.removeEventListener("message",_);const oe=document.getElementById("fingeringContainer");oe==null||oe.removeEventListener("wheel",J),document.title="Ai学练"});const ce=computed(()=>state$1.platform===IPlatform.PC||r.modelType?{paddingTop:"1.3rem",paddingBottom:""}:l.fingeringMode==="scaleMode"?l.subject==="hulusi-flute"?{paddingTop:"1.3rem",paddingBottom:".5rem"}:l.subject==="piccolo"||l.subject==="baroque-recorder"?{paddingTop:"1.3rem",paddingBottom:".5rem"}:l.subject==="pan-flute"?{paddingTop:"1.3rem",paddingBottom:"0"}:l.subject==="ocarina"||l.subject==="whistling"?{paddingTop:"1.3rem",paddingBottom:"0"}:l.subject==="melodica"?{paddingTop:"1.8rem",paddingBottom:"0.2rem"}:{paddingTop:"",paddingBottom:""}:l.subject==="hulusi-flute"?{paddingTop:"1.3rem",paddingBottom:"0rem"}:l.subject==="piccolo"||l.subject==="baroque-recorder"?{paddingTop:"1.3rem",paddingBottom:".5rem"}:l.subject==="pan-flute"?{paddingTop:"1.3rem",paddingBottom:"0"}:l.subject==="ocarina"||l.subject==="whistling"?{paddingTop:"1.3rem",paddingBottom:"0"}:l.subject==="melodica"?{paddingTop:"1.8rem",paddingBottom:"0.2rem"}:{paddingTop:"",paddingBottom:""}),ge=computed(()=>l.fingeringMode==="fingeringMode"?F.action?"换一换":"开始练习":l.fingeringMode==="listenMode"&&F.action?"再听一遍":"开始听音"),Ee=computed(()=>{let oe="",be=icons$1.icon_mode;return l.fingeringModeList.forEach(Ie=>{Ie.value===l.fingeringMode&&(oe=Ie.text,be=Ie.icon)}),{text:oe,icon:be}}),Te=computed(()=>["hulusi-flute","piccolo","baroque-recorder"].includes(l.subject)?1:0),De=oe=>{if(l.realKey===oe.realKey&&!F.action)return{icon:icons$1.icon_btn_ylow,status:!1};if(O.exampleAnser.realKey===oe.realKey)return{icon:icons$1.icon_btn_ylow,status:!1};if(O.standardAnswer.realKey===oe.realKey){if(!F.action)return{icon:icons$1.icon_btn_ylow,status:!1};if(O.showAnswerLoading)return{icon:icons$1.icon_btn_green,status:!0};if(O.userAnswerStatus===1)return{icon:icons$1.icon_btn_green,status:!0}}else if(O.userAnswerStatus===2&&O.userAnswer.realKey===oe.realKey)return{icon:icons$1.icon_btn_red,status:!0};return{icon:icons$1.icon_btn_blue,status:!0}},te=ref("1"),ae=[{name:"音阶",value:"1"},{name:"功能",value:"2"}],{guidanceShow:H,setGuidanceShow:ve}=useDragGuidance();let pe,ee;r.platform==="pc"&&(ee="changeSubjectShowBoxClass_drag",pe=useDrag([`${ee} .dragTopBox`,`${ee} .dragbomBox`],ee,toRef(l,"changeSubjectShow"),storeData.user.id));let ne,me;return r.platform==="pc"&&(me="tnoteShowBoxClass_drag",ne=useDrag([`${me} .dragTopBox`,`${me} .dragbomBox`],me,toRef(l,"tnoteShow"),storeData.user.id)),()=>{var he,Ce,ye,Fe,Ue,Ye;let oe,be;const Ie=((Ce=(he=c.subject)==null?void 0:he.relationship)==null?void 0:Ce[l.realKey])||[],Re=Array.isArray(Ie[1])?Ie[c.relationshipIndex]:Ie,Pe=Array.isArray(Ie[1]);return createVNode("div",{class:[styles$5.fingerBox,state$1.platform!==IPlatform.PC&&!r.modelType&&c.fingeringInfo.orientation===1?styles$5.fingerBottom:styles$5.fingerRight,l.linkSource==="class"?styles$5.linkSourceClass:""],onClick:()=>{l.linkSource==="class"&&window.parent.postMessage({api:"clickViewFigner"},"*")}},[r.platform!=="pc"&&createVNode("div",{class:styles$5.head,style:{paddingTop:l.paddingTop&&!browser().ios?l.paddingTop:"",paddingLeft:l.paddingLeft&&!browser().ios?l.paddingLeft:""}},[createVNode("div",{class:styles$5.left},[createVNode("button",{class:[styles$5.backBtn],onClick:()=>T()},[createVNode("img",{src:icons$1.icon_back},null)]),createVNode("div",{class:[styles$5.baseBtn,styles$5.changeInstrumentBtn],onClick:Ge=>{Ge.stopPropagation(),!F.gamut&&(O.listenLock||(l.changeSubjectShow=!0))}},[createVNode("img",{src:icons$1.icon_change_instrument},null),createVNode("span",null,[createTextVNode("切换乐器")])]),createVNode("div",{class:styles$5.baseBtn,onClick:S},[createVNode("img",{src:Ee.value.icon},null),createVNode("span",null,[Ee.value.text])])])]),createVNode("div",{class:styles$5.fingerContent,style:{paddingTop:l.paddingTop?l.paddingTop:"",paddingLeft:l.paddingLeft?l.paddingLeft:""}},[createVNode("div",{class:styles$5.wrapFinger},[createVNode("div",{id:"fingeringContainer",class:[styles$5.boxFinger,r.platform==="pc"?styles$5.pcBoxFinger:""],style:{paddingTop:ce.value.paddingTop,paddingBottom:ce.value.paddingBottom}},[createVNode("div",{style:{transform:`translate3d(${l.transform.x}px,${l.transform.y}px,0px) scale(${l.transform.scale})`,transition:l.transform.transition},class:[styles$5.fingeringContainer]},[createVNode("div",{class:styles$5.imgs},[!l.loadingImg&&createVNode("img",{src:l.fingeringMode==="scaleMode"?(Fe=(ye=c.subject)==null?void 0:ye.json)==null?void 0:Fe.full:(Ye=(Ue=c.subject)==null?void 0:Ue.json)==null?void 0:Ye.full1},null),Re.map((Ge,Ke)=>{var Ze,st;const et=typeof Ge=="string"?Ge.replace("active-",""):String(Ge);return createVNode("img",{"data-index":et,src:(st=(Ze=c.subject)==null?void 0:Ze.json)==null?void 0:st[et]},null)}),createVNode("div",{style:{left:l.viewIndex==2?"0":"64%"},class:[styles$5.tizhi,Pe&&styles$5.canDisplay],onClick:()=>c.relationshipIndex=c.relationshipIndex===0?1:0},[createTextVNode("替指")]),createVNode("div",{id:"finger-note-2",style:{left:"50%",transform:"translateX(-50%)"},class:styles$5.tizhi,onClick:()=>c.relationshipIndex=c.relationshipIndex===0?1:0},null)])])]),r.platform==="pc"?createVNode("div",{class:styles$5.userTab},[createVNode(Tabs,{active:te.value,"onUpdate:active":Ge=>te.value=Ge,class:styles$5.userTabBox},_isSlot(oe=ae.map(Ge=>createVNode(Tab,{title:Ge.name,name:Ge.value},{default:()=>[Ge.value==="1"?createVNode(Fragment,null,[createVNode("div",{class:styles$5.notes,style:{paddingLeft:l.paddingLeft?l.paddingLeft:""}},[O.listenTipsStatus&&createVNode("div",{class:[styles$5.tipsT,l.fingeringMode==="fingeringMode"?styles$5.playTips2:styles$5.playTips]},null),O.userAnswerStatus===1&&createVNode("div",{class:[styles$5.tipsT,styles$5.playSuccess]},null),O.userAnswerStatus===2&&createVNode("div",{class:[styles$5.tipsT,styles$5.playError]},null),O.resetAction&&createVNode("div",{class:[styles$5.tipsT,styles$5.playTips5]},null),createVNode("div",{class:[styles$5.backBtn,styles$5.changeMusBtn],onClick:()=>T()},[createVNode("span",null,[createTextVNode("返回")])]),createVNode("div",{class:styles$5.changeMusBtn,onClick:S},[createVNode("span",null,[Ee.value.text])]),createVNode("div",{class:[styles$5.noteContent,l.fingeringMode!=="scaleMode"&&Te.value===0&&styles$5.noteContentOther,s.ios?"":styles$5.noteContentWrap,l.huaweiPad&&styles$5.huaweiPad],onClick:Ke=>{Ke.stopPropagation()}},[(l.noteType!=="#c"&&(Te.value===0||Te.value===1&&state$1.platform===IPlatform.PC)||Te.value===1&&state$1.platform===IPlatform.APP)&&createVNode(Button$1,{class:styles$5.noteBtn,onClick:Ke=>{Ke.stopPropagation(),D("left")}},{default:()=>[createVNode(Icon$1,{name:"arrow-left"},null)]}),l.fingeringMode!=="scaleMode"&&createVNode("div",{draggable:!1,class:styles$5.note,onClick:N},[createVNode("img",{draggable:!1,src:l.noteType==="all"?icons$1.icon_btn_orange:icons$1.icon_btn_orange2},null)]),!!l.tones.length&&l.fingeringMode==="scaleMode"&&createVNode(Fragment,null,[c.fingeringInfo.name=="hulusi-flute"?createVNode("div",{id:"finger-note-1",class:[styles$5.note,styles$5.btnGrToggleBtn],onClick:()=>l.tnoteShow=!0},[createVNode("img",{draggable:!1,src:noteImg},null),createVNode("div",{class:styles$5.nameBox},[createVNode("div",{class:styles$5.name},[createTextVNode("全按作")]),createVNode("div",{class:[styles$5.noteKey,styles$5.noteKeyBtn]},[l.activeTone.step>0?createVNode("span",{class:styles$5.dot},null):null,createVNode("div",{class:styles$5.noteName},[createVNode("sup",null,[l.activeTone.mark&&(l.activeTone.mark==="rise"?"#":"b")]),l.activeTone.key]),l.activeTone.step<0?createVNode("span",{class:[styles$5.dot,styles$5.botDot]},null):null])])]):createVNode("div",{id:"finger-note-1",class:[styles$5.note,styles$5.btnGrToggleBtn],onClick:()=>l.tnoteShow=!0},[createVNode("img",{draggable:!1,src:noteImg},null),createVNode("div",null,[createVNode("div",{class:styles$5.name},[createVNode("div",null,[createVNode("sup",null,[l.activeTone.mark&&(l.activeTone.mark==="rise"?"#":"b")]),l.activeTone.name]),createTextVNode("调")])])])]),createVNode("div",{class:styles$5.lastNoteContent},[createVNode("div",{ref:V,class:styles$5.noteBox},[l.notes.map((Ke,et)=>{const Ze=new Array(Math.abs(Ke.step)).fill(1);return createVNode("div",{id:et==0?"finger-note-0":"",draggable:!1,class:[styles$5.note,"note-class"],key:Ke.realKey,onClick:async()=>{if(!F.gamut&&!O.listenLock&&!O.showAnswerLoading)if(F.action){O.userAnswer=Ke;const st=Ke.realKey===O.standardAnswer.realKey?1:2;O.userAnswerStatus=st,O.listenLock=!0,l.realKey=Ke.realKey,await $(Ke,1e3),W(st===1,0),l.realKey=0,l.fingeringMode==="fingeringMode"&&st===2&&setTimeout(()=>{l.realKey=O.standardAnswer.realKey},10),O.listenLock=!1}else P(Ke)}},[createVNode("img",{draggable:!1,src:De(Ke).icon},null),F.action&&(O.showAnswerLoading&&O.standardAnswer.realKey===Ke.realKey||O.userAnswerStatus===1&&O.userAnswer.realKey===Ke.realKey)?createVNode("span",{class:styles$5.showAnswer},null):"",F.action&&O.userAnswerStatus===2&&O.userAnswer.realKey===Ke.realKey?createVNode("span",{class:[styles$5.showAnswer,styles$5.errorAnswer]},null):"",createVNode("div",{class:[styles$5.noteKey,(l.realKey===Ke.realKey&&!F.action||F.action&&O.exampleAnser.realKey===Ke.realKey||F.action&&(O.showAnswerLoading&&O.standardAnswer.realKey===Ke.realKey||O.userAnswerStatus===1&&O.userAnswer.realKey===Ke.realKey)||F.action&&O.userAnswerStatus===2&&O.userAnswer.realKey===Ke.realKey)&&styles$5.keyActive]},[Ke.step>0?Ze.map(st=>createVNode("span",{class:styles$5.dot},null)):null,createVNode("div",{class:styles$5.noteName},[createVNode("sup",null,[Ke.mark&&(Ke.mark==="rise"?"#":"b")]),Ke.key]),Ke.step<0?Ze.map(st=>createVNode("span",{class:styles$5.dot},null)):null])])})])]),(l.noteType!=="#c"&&(Te.value===0||Te.value===1&&state$1.platform===IPlatform.PC)||Te.value===1&&state$1.platform===IPlatform.APP)&&createVNode(Button$1,{class:styles$5.noteBtn,onClick:Ke=>{Ke.stopPropagation(),D("right")}},{default:()=>[createVNode(Icon$1,{name:"arrow"},null)]})])]),l.fingeringMode!=="scaleMode"&&createVNode("div",{class:styles$5.optionBtns,onClick:Ke=>{Ke.stopPropagation()}},[createVNode(Button$1,{class:[styles$5.oBtn,styles$5.gamut,F.action&&styles$5.disabled],round:!0,onClick:K},{default:()=>[F.gamut?"暂停":"播放音阶"]}),createVNode(Button$1,{class:[styles$5.oBtn,styles$5.play,F.gamut&&styles$5.disabled],round:!0,onClick:U},{default:()=>[ge.value]}),createVNode(Button$1,{class:[styles$5.oBtn,styles$5.success,!F.answer&&styles$5.disabled],round:!0,onClick:xe},{default:()=>[createTextVNode("显示答案")]})])]):createVNode(Fragment,null,[createVNode("div",{class:styles$5.btnBox},[createVNode("div",{class:styles$5.btnCon},[createVNode("div",{class:[styles$5.btnGr],onClick:Ke=>{Ke.stopPropagation(),!F.gamut&&(O.listenLock||(l.changeSubjectShow=!0))}},[createVNode("img",{src:icons$1.icon_change_instrument},null),createVNode("span",null,[createTextVNode("切换乐器")])]),l.subject!=="melodica"&&l.fingeringMode==="scaleMode"&&createVNode("div",{class:styles$5.btnGr,onClick:()=>{l.viewIndex++,l.viewIndex>l.viewTotal&&(["pan-flute","ocarina","whistling"].includes(l.subject)?l.viewIndex=1:l.viewIndex=0),y()}},[createVNode("img",{src:icons$1.icon_toggle},null),createVNode("span",null,[createTextVNode("视图")])]),createVNode("div",{class:styles$5.btnGr,onClick:()=>{M(),l.tipShow=!l.tipShow}},[createVNode("img",{src:icons$1.icon_2_1},null),createVNode("span",null,[createTextVNode("说明")])]),R.value&&createVNode("div",{class:[styles$5.btnGr],onClick:()=>M()},[createVNode("img",{src:icons$1.icon_2_0},null),createVNode("span",null,[createTextVNode("还原")])])])])])]})))?oe:{default:()=>[oe]})]):createVNode(Fragment,null,[createVNode("div",{class:styles$5.notes,style:{paddingLeft:l.paddingLeft?l.paddingLeft:""}},[O.listenTipsStatus&&createVNode("div",{class:[styles$5.tipsT,l.fingeringMode==="fingeringMode"?styles$5.playTips2:styles$5.playTips]},null),O.userAnswerStatus===1&&createVNode("div",{class:[styles$5.tipsT,styles$5.playSuccess]},null),O.userAnswerStatus===2&&createVNode("div",{class:[styles$5.tipsT,styles$5.playError]},null),O.resetAction&&createVNode("div",{class:[styles$5.tipsT,styles$5.playTips5]},null),(l.noteType!=="#c"&&(Te.value===0||Te.value===1&&state$1.platform===IPlatform.PC)||Te.value===1&&state$1.platform===IPlatform.APP)&&createVNode(Button$1,{class:styles$5.noteBtn,onClick:Ge=>{Ge.stopPropagation(),D("left")}},{default:()=>[createVNode(Icon$1,{name:"arrow-left"},null)]}),createVNode("div",{class:[styles$5.noteContent,l.fingeringMode!=="scaleMode"&&Te.value===0&&styles$5.noteContentOther,s.ios?"":styles$5.noteContentWrap,l.huaweiPad&&styles$5.huaweiPad],onClick:Ge=>{Ge.stopPropagation()}},[l.fingeringMode!=="scaleMode"&&createVNode("div",{draggable:!1,class:styles$5.note,onClick:N},[createVNode("img",{draggable:!1,src:l.noteType==="all"?icons$1.icon_btn_orange:icons$1.icon_btn_orange2},null)]),createVNode("div",{class:styles$5.lastNoteContent},[createVNode("div",{ref:V,class:styles$5.noteBox},[l.notes.map((Ge,Ke)=>{const et=new Array(Math.abs(Ge.step)).fill(1);return createVNode("div",{id:Ke==0?"finger-note-0":"",draggable:!1,class:[styles$5.note,"note-class"],key:Ge.realKey,onClick:async()=>{if(!F.gamut&&!O.listenLock&&!O.showAnswerLoading)if(F.action){O.userAnswer=Ge;const Ze=Ge.realKey===O.standardAnswer.realKey?1:2;O.userAnswerStatus=Ze,O.listenLock=!0,l.realKey=Ge.realKey,await $(Ge,1e3),W(Ze===1,0),l.realKey=0,l.fingeringMode==="fingeringMode"&&Ze===2&&setTimeout(()=>{l.realKey=O.standardAnswer.realKey},10),O.listenLock=!1}else P(Ge)}},[createVNode("img",{draggable:!1,src:De(Ge).icon},null),F.action&&(O.showAnswerLoading&&O.standardAnswer.realKey===Ge.realKey||O.userAnswerStatus===1&&O.userAnswer.realKey===Ge.realKey)?createVNode("span",{class:styles$5.showAnswer},null):"",F.action&&O.userAnswerStatus===2&&O.userAnswer.realKey===Ge.realKey?createVNode("span",{class:[styles$5.showAnswer,styles$5.errorAnswer]},null):"",createVNode("div",{class:[styles$5.noteKey,(l.realKey===Ge.realKey&&!F.action||F.action&&O.exampleAnser.realKey===Ge.realKey||F.action&&(O.showAnswerLoading&&O.standardAnswer.realKey===Ge.realKey||O.userAnswerStatus===1&&O.userAnswer.realKey===Ge.realKey)||F.action&&O.userAnswerStatus===2&&O.userAnswer.realKey===Ge.realKey)&&styles$5.keyActive]},[Ge.step>0?et.map(Ze=>createVNode("span",{class:styles$5.dot},null)):null,createVNode("div",{class:styles$5.noteName},[createVNode("sup",null,[Ge.mark&&(Ge.mark==="rise"?"#":"b")]),Ge.key]),Ge.step<0?et.map(Ze=>createVNode("span",{class:styles$5.dot},null)):null])])})])])]),(l.noteType!=="#c"&&(Te.value===0||Te.value===1&&state$1.platform===IPlatform.PC)||Te.value===1&&state$1.platform===IPlatform.APP)&&createVNode(Button$1,{class:styles$5.noteBtn,onClick:Ge=>{Ge.stopPropagation(),D("right")}},{default:()=>[createVNode(Icon$1,{name:"arrow"},null)]})]),l.fingeringMode!=="scaleMode"&&createVNode("div",{class:styles$5.optionBtns,onClick:Ge=>{Ge.stopPropagation()}},[createVNode(Button$1,{class:[styles$5.oBtn,styles$5.gamut,F.action&&styles$5.disabled],round:!0,onClick:K},{default:()=>[F.gamut?"暂停":"播放音阶"]}),createVNode(Button$1,{class:[styles$5.oBtn,styles$5.play,F.gamut&&styles$5.disabled],round:!0,onClick:U},{default:()=>[ge.value]}),createVNode(Button$1,{class:[styles$5.oBtn,styles$5.success,!F.answer&&styles$5.disabled],round:!0,onClick:xe},{default:()=>[createTextVNode("显示答案")]})])])]),r.platform!=="pc"&&createVNode("div",{class:styles$5.fixedRightBtns,style:{paddingTop:l.paddingTop?l.paddingTop:"",paddingLeft:l.paddingLeft?l.paddingLeft:""},onClick:Ge=>{Ge.stopPropagation()}},[createVNode("div",{class:styles$5.rightBtn},[l.subject!=="melodica"&&l.fingeringMode==="scaleMode"&&createVNode("div",{class:styles$5.baseBtn,onClick:()=>{l.viewIndex++,l.viewIndex>l.viewTotal&&(["pan-flute","ocarina","whistling"].includes(l.subject)?l.viewIndex=1:l.viewIndex=0),y()}},[createVNode("img",{src:icons$1.icon_toggle},null),createVNode("span",null,[createTextVNode("视图")])]),createVNode("div",{class:styles$5.baseBtn,onClick:()=>{M(),l.tipShow=!l.tipShow}},[createVNode("img",{src:icons$1.icon_2_1},null),createVNode("span",null,[createTextVNode("说明")])]),!!l.tones.length&&l.fingeringMode==="scaleMode"&&createVNode(Fragment,null,[c.fingeringInfo.name=="hulusi-flute"?createVNode("div",{id:"finger-note-1",class:[styles$5.baseBtn,styles$5.toggleBtnhulusi,styles$5.active],onClick:()=>l.tnoteShow=!0},[createVNode("div",null,[createTextVNode("全按作"),createVNode("div",{class:[styles$5.noteKey,styles$5.noteKeyBtn]},[l.activeTone.step>0?createVNode("span",{class:[styles$5.topDot,styles$5.dot]},null):null,createVNode("div",{class:styles$5.noteName},[createVNode("sup",null,[l.activeTone.mark&&(l.activeTone.mark==="rise"?"#":"b")]),l.activeTone.key]),l.activeTone.step<0?createVNode("span",{class:[styles$5.bottomDot,styles$5.dot]},null):null])]),createVNode("img",{src:icons$1.icon_arrow},null)]):createVNode("div",{id:"finger-note-1",class:[styles$5.baseBtn,styles$5.toggleBtnhulusi2,styles$5.active],onClick:()=>l.tnoteShow=!0},[createVNode("div",{class:styles$5.oterhD},[createVNode("div",null,[createVNode("div",{style:{marginTop:"-4px"}},[createVNode("sup",null,[l.activeTone.mark&&(l.activeTone.mark==="rise"?"#":"b")]),l.activeTone.name]),createTextVNode("调")]),createVNode("img",{src:icons$1.icon_arrow},null)])])])]),createVNode("div",{class:[styles$5.baseBtn,!R.value&&styles$5.resetBtn],style:{marginTop:"8px"},onClick:()=>M()},[createVNode("img",{src:icons$1.icon_2_0},null),createVNode("span",null,[createTextVNode("还原")])])]),r.platform==="pc"&&l.tipShow&&createVNode("div",{class:[styles$5.tipsOverlay,l.tipShow?styles$5.tipsOverlayBg:""],onClick:()=>{l.tipShow=!1}},null),createVNode("div",{class:[styles$5.tips,l.loadingDom?styles$5.hiddens:"",l.tipShow?"":styles$5.tipHidden,r.platform==="pc"&&l.tipShow?styles$5.tipsPcBg:""]},[createVNode("div",{class:styles$5.tipTitle},[createVNode("div",{class:styles$5.tipTitleName},[c.fingeringInfo.code,createTextVNode("使用说明")]),createVNode(Button$1,{class:styles$5.tipClose,onClick:Ge=>{Ge.stopPropagation(),l.tipShow=!1}},{default:()=>[createVNode(Icon$1,{name:"cross",size:19,color:"#fff"},null)]})]),createVNode("div",{class:styles$5.iconBook},null),createVNode("div",{class:styles$5.tipContentbox},[createVNode("div",{class:styles$5.tipContent},[l.tips.map((Ge,Ke)=>createVNode("div",{class:styles$5.tipItem},[createVNode("div",{class:styles$5.iconWrap},[createVNode("div",{class:styles$5.tipItemIcon},[Ke+1])]),createVNode("div",null,[Ge.name,createTextVNode(": "),Ge.realName])]))])])]),l.loadingSoundFonts&&createVNode("div",{class:styles$5.loading},[createVNode("div",{class:styles$5.loadingWrap},[createVNode("img",{class:styles$5.loadingIcon,src:icon_loading_img},null),createVNode(Progress,{percentage:l.loadingSoundProgress},null),createVNode("div",{class:styles$5.loadingTip},[createTextVNode("加载中,请稍后…")])])])]),createVNode(Popup,{class:["tonePopup",me],style:r.platform==="pc"?ne.styleDrag.value:{},show:l.tnoteShow,"onUpdate:show":Ge=>l.tnoteShow=Ge,position:state$1.platform===IPlatform.PC?"center":!r.modelType&&c.fingeringInfo.orientation===1?"bottom":"right"},{default:()=>[createVNode("div",{class:styles$5.tones},[createVNode("div",{class:[styles$5.toneTitle,"toneTitle_pc"]},[createVNode("div",{class:styles$5.tipTitleName},[createTextVNode("移调")]),createVNode(Button$1,{class:styles$5.tipClose,onClick:Ge=>{Ge.stopPropagation(),l.tnoteShow=!1}},{default:()=>[createVNode(Icon$1,{name:"cross",size:19,color:"#fff"},null)]})]),createVNode("div",{class:[styles$5.tipContentbox,"tipContentbox_pc"]},[createVNode("div",{class:[styles$5.tipContent,"tipContent_pc"]},[createVNode("div",{class:[styles$5.tipWrap,"tipWrap_pc"]},[createVNode(Space,{size:0,class:styles$5.toneContent},_isSlot(be=l.tones.map(Ge=>(new Array(Math.abs(Ge.step)).fill(1),createVNode(Button$1,{class:[c.fingeringInfo.name=="hulusi-flute"&&styles$5.hulusiBtn],round:!0,plain:!0,type:l.popupActiveTone.realName===Ge.realName?"primary":"default",onClick:Ke=>{Ke.stopPropagation(),l.popupActiveTone=Ge,m()}},{default:()=>[c.fingeringInfo.name=="hulusi-flute"?createVNode("div",{style:{display:"flex",alignItems:"center"}},[createTextVNode("全按作"),createVNode("div",{class:[styles$5.noteKey,styles$5.hulusiNoteKey]},[Ge.step>0?createVNode("span",{class:styles$5.dot},null):null,createVNode("div",{class:styles$5.noteName,style:{fontSize:"0.25rem"}},[createVNode("sup",null,[Ge.mark&&(Ge.mark==="rise"?"#":"b")]),Ge.key]),Ge.step<0?createVNode("span",{class:styles$5.dot},null):null])]):createVNode("div",{class:styles$5.noteName},[createVNode("sup",null,[Ge.mark&&(Ge.mark==="rise"?"#":"b")]),Ge.name])]}))))?be:{default:()=>[be]})]),createVNode("div",{class:[styles$5.toneAction,"toneAction_pc"]},[createVNode("img",{onClick:Ge=>{Ge.stopPropagation(),l.tnoteShow=!1},src:icons$1.icon_action_cancel},null),createVNode("img",{onClick:Ge=>{Ge.stopPropagation(),l.activeTone=l.popupActiveTone,m(),l.tnoteShow=!1},src:icons$1.icon_action_confirm},null)])])])]),r.platform==="pc"&&createVNode(Fragment,null,[createVNode("div",{class:[styles$5.dragTopBox,"dragTopBox"]},null),createVNode(Dragbom,{showGuide:H.value,onGuideDone:ve},null)])]}),createVNode(Popup,{style:r.platform==="pc"?pe.styleDrag.value:{},show:l.changeSubjectShow,"onUpdate:show":Ge=>l.changeSubjectShow=Ge,class:[styles$5.changeSubjectPopup,ee],onClick:Ge=>{Ge.stopPropagation()}},{default:()=>[createVNode(ChangeSubject,{subjectList:l.subjects,subject:l.subject,onClose:()=>l.changeSubjectShow=!1,onConfirm:Ge=>{if(l.subject===Ge){l.changeSubjectShow=!1;return}const Ke=JSON.parse(JSON.stringify(l.subject));l.subject=Ge,l.viewIndex=0,l.tipShow=!1,l.loadingDom=!0,c.fingeringInfo=subjectFingering(l.subject),l.activeTone={},M(),W(!0,0),l.changeSubjectShow=!1,setTimeout(()=>{const et=(["hulusi-flute","piccolo","baroque-recorder"].includes(Ke),0);Te.value!==et&&(l.paddingTop="",l.paddingLeft=""),E()},100)}},null),r.platform==="pc"&&createVNode(Fragment,null,[createVNode("div",{class:[styles$5.dragTopBox,"dragTopBox"]},null),createVNode(Dragbom,{showGuide:H.value,onGuideDone:ve},null)])]}),i.show&&!l.loading&&!l.loadingSoundFonts&&createVNode(GuideIndex,{fingeringMode:l.fingeringMode,showGuide:!1,list:["finger"]},null)])}}}),index=Object.freeze(Object.defineProperty({__proto__:null,default:ViewFigner},Symbol.toStringTag,{value:"Module"})),authorName="_authorName_1m8k1_1",title="_title_1m8k1_4",authorCon="_authorCon_1m8k1_19",author="_author_1m8k1_1",styles$1={authorName,title,authorCon,author},AuthorName=defineComponent({name:"authorName",setup(){const i=computed(()=>state$1.musicLyricist?state$1.musicComposer+" / "+state$1.musicLyricist:state$1.musicComposer);return()=>createVNode(Fragment,null,[!smoothAnimationState.isShow.value&&createVNode("div",{class:["authorName",styles$1.authorName]},[createVNode("div",{class:styles$1.title},[createVNode(NoticeBar,{text:state$1.examSongName,background:"none"},null)]),createVNode("div",{class:styles$1.authorCon},[createVNode("div",{class:styles$1.author},[state$1.isSingleLine?createVNode(Fragment,null,[state$1.musicLyricist&&createVNode(NoticeBar,{text:state$1.musicLyricist,background:"none"},null),state$1.musicComposer&&createVNode(NoticeBar,{text:state$1.musicComposer,background:"none"},null)]):createVNode(Fragment,null,[i.value&&createVNode(NoticeBar,{text:i.value,background:"none"},null)])])])])])}}),emptyMusic="_emptyMusic_pi1dj_1",emptyMusicBox="_emptyMusicBox_pi1dj_13",img="_img_pi1dj_18",tit="_tit_pi1dj_22",backBtn="_backBtn_pi1dj_29",styles={emptyMusic,emptyMusicBox,img,tit,backBtn},empty=""+new URL("../png/empty-9b9d0b72.png",import.meta.url).href,isEmptyMusicShow=ref(!1),EmptyMusic=defineComponent({name:"emptyMusic",setup(){const i=getQuery(),e=browser(),r=()=>{if(HANDLE_WORK_ADD(),!storeData.isApp){window.close();return}if((e.iPhone||e.ios)&&i.workRecord){setTimeout(()=>{api_back()},550);return}api_back()};return()=>createVNode(Fragment,null,[isEmptyMusicShow.value&&createVNode("div",{class:styles.emptyMusic},[createVNode("div",{class:styles.emptyMusicBox},[createVNode("img",{class:styles.img,src:empty},null),createVNode("div",{class:styles.tit},[createTextVNode("曲目已失效")]),createVNode("div",{class:styles.backBtn,onClick:r},[createTextVNode("返回")])])])])}}),setNoteHalfTone=i=>{var r;const e=["hulusi-flute"];if(!((r=state$1.fingeringInfo)!=null&&r.name)||!e.includes(state$1.fingeringInfo.name))return i;for(let s=0;s<i.length;s++){const o=i[s];o.realKey!==0&&(o.realKey=o.realKey+12)}return i},musicScoreRef=ref(),Home=defineComponent({name:"music-list",setup(){const i=getQuery(),e=reactive({isLoading:!0,skeletonLoading:!0,paddingLeft:"",headerHide:!1,fingerPreView:!1,fingerPreViewAnimation:!1,orientation:0,fingerPreViewGuide:!1}),r=async()=>{const m=await isSpecialShapedScreen();if(m!=null&&m.content){const{isSpecialShapedScreen:y,notchHeight:b}=m.content;y&&(e.paddingLeft="25px")}};onBeforeMount(async()=>{var y;console.time("渲染加载耗时"),api_keepScreenLongLight(),r(),api_setStatusBarVisibility();const m=store_legacy.get("musicscoresetting");if(m&&(state$1.setting=m,state$1.setting.beatVolume=50,state$1.setting.camera)){const b=await api_openCamera();(y=b==null?void 0:b.content)!=null&&y.reson&&(state$1.setting.camera=!1,store_legacy.set("musicscoresetting",state$1.setting))}}),onMounted(async()=>{window.appName="colexiu";const m=i.id||"43554";state$1.isPreView=i.isPreView,state$1.isPreView&&(state$1.zoom=.65),state$1.isSingleLine=i.isSingleLine==="true";try{await getMusicDetail(m)}catch(y){console.error(y),isEmptyMusicShow.value=!0;return}e.isLoading=!1,state$1.isShowFingering||(state$1.setting.displayFingering=!1)});const s=m=>{var A,S,E,x,P;api_cloudLoading(),console.timeEnd("渲染加载耗时"),e.skeletonLoading=!1,state$1.osmd=m,state$1.originSpeed===0&&(state$1.originSpeed=state$1.speed=m.bpm||m.Sheet.userStartTempoInBPM||100);const y=(store_legacy.get("speeds")||{})[state$1.examSongId]||state$1.speed||m.bpm||m.Sheet.userStartTempoInBPM;y&&handleSetSpeed(y),setCustomGradual(),setCustomNoteRealValue(),state$1.times=formateTimes(m),state$1.times=setNoteHalfTone(state$1.times),console.log("🚀 ~ state.times:",state$1.times,state$1.subjectId,state$1),state$1.isSingleLine&&(addNoteBBox(state$1.times),initSmoothAnimation());const b=((A=state$1.times[state$1.times.length-1||0])==null?void 0:A.endtime)||0;state$1.isAppPlay&&initMidi(b,state$1.midiUrl),state$1.measureTime=((S=state$1.times[0])==null?void 0:S.measureLength)||0;try{metronomeData.metro=new Metronome,metronomeData.metro.init(state$1.times)}catch(C){}if(i.isbeatTimes){const{isOpenMetronome:C,isSingOpenMetronome:T}=state$1,{xmlMp3BeatFixTime:k}=state$1.times[0],I=[],M=metronomeData.metroMeasure.map(B=>{const _=[],V=B.map(D=>{let F=D.time;return T&&!C?F+=k:!T&&C&&(F-=k),_.push(F),D.time});return I.push(_),V});state$1.fixtime=0,state$1.times.map(B=>{B.time=B.xmlNoteTime,B.endtime=B.xmlNoteEndTime,B.fixtime=0}),metronomeData.metro.calculation(state$1.times);const R=metronomeData.metroMeasure.map(B=>B.map(V=>V.time));throw console.log("webApi_beatTimes",{beatTime:M,singBeatTime:I,mingBeatTime:R}),window.parent.postMessage({api:"webApi_beatTimes",data:JSON.stringify({beatTime:M,singBeatTime:I,mingBeatTime:R})},"*"),new Error("webApi_beatTimes 完成")}state$1.music||(state$1.accompany?state$1.playSource="background":(state$1.fanSong?(state$1.playType="sing",state$1.playSource="music"):state$1.banSong?(state$1.playType="sing",state$1.playSource="background"):state$1.mingSong&&(state$1.playType="sing",state$1.playSource="mingSong"),handlerModeChange("play","music"))),handleInitTick(((P=(x=(E=m==null?void 0:m.Sheet)==null?void 0:E.SheetPlaybackSetting)==null?void 0:x.Rhythm)==null?void 0:P.Numerator)||4),state$1.playBtnDirection=i.imagePos==="right"?"right":"left",state$1.isAttendClass=i.imagePos==="left"||i.imagePos==="right",state$1.musicScoreBtnDirection=state$1.playBtnDirection,state$1.musicRendered=!0,evaluatCreateMusicPlayer(),resetPlaybackToStart()},o=computed(()=>{var m,y,b;return state$1.setting.displayFingering&&((m=state$1.fingeringInfo)!=null&&m.name)?state$1.fingeringInfo.direction==="transverse"?{container:{paddingBottom:e.headerHide?state$1.fingeringInfo.height:(y=state$1.fingeringInfo.scaleData)==null?void 0:y.offset},fingerBox:state$1.modeType==="follow"||state$1.modeType==="evaluating"?{height:state$1.fingeringInfo.height,position:"absolute",bottom:0,width:"100%"}:e.headerHide?{height:state$1.fingeringInfo.height}:{height:state$1.fingeringInfo.height,transform:`scale(${(b=state$1.fingeringInfo.scaleData)==null?void 0:b.scale})`}}:(console.log("指法",state$1.playBtnDirection,state$1.platform),state$1.platform===IPlatform.PC?{container:{paddingRight:state$1.playBtnDirection==="right"?"initial":state$1.fingeringInfo.width,paddingLeft:state$1.playBtnDirection==="right"?state$1.fingeringInfo.width:"initial"},fingerBox:{position:"absolute",width:state$1.fingeringInfo.width,height:"100%",right:state$1.playBtnDirection==="right"?"initial":0,left:state$1.playBtnDirection==="right"?0:"initial",top:0}}:{container:{paddingRight:state$1.fingeringInfo.width},fingerBox:{position:"absolute",width:state$1.fingeringInfo.width,height:"100%",right:0,top:0}}):{container:{},fingerBox:{}}});watch(()=>state$1.setting.displayFingering,()=>{state$1.fingeringInfo.direction==="vertical"&&(state$1.musicScoreBtnDirection=state$1.playBtnDirection)}),watch(()=>state$1.setting.soundEffect,()=>{store_legacy.set("musicscoresetting",state$1.setting)});const a=m=>{window.parent.postMessage({api:"headerTogge",playState:m},"*")};watch(()=>state$1.playState,()=>{e.headerHide=state$1.playState==="play",a(state$1.playState)}),watch(()=>e.fingerPreView,()=>{console.log(2342),window.parent.postMessage({api:"api_fingerPreView",state:e.fingerPreView},"*")});const l=usePageVisibility();watch(()=>l.value,m=>{m==="hidden"&&state$1.playState==="play"&&togglePlay("paused")});const c=browser(),u=()=>{if(i.modelType||(e.orientation=state$1.fingeringInfo.orientation||0,api_setRequestedOrientation(e.orientation)),state$1.playState==="play"){togglePlay("paused"),setTimeout(()=>{e.fingerPreView=!0},500);return}e.fingerPreView=!0},d=()=>{!i.modelType&&e.orientation==1&&api_setRequestedOrientation(0),e.fingerPreView=!1,e.fingerPreViewGuide=!1},g=computed(()=>{const m=state$1.modeType;if(m==="practise")return styles$9.practise;if(m==="evaluating")return styles$9.evaluating;if(m==="follow")return styles$9.follow});return()=>{var m;return createVNode("div",{class:[styles$9.detail,g.value,state$1.setting.eyeProtection&&"eyeProtection",state$1.platform===IPlatform.PC&&state$1.zoom>.8&&styles$9.PC,state$1.isPreView&&styles$9.preViewDetail],style:{paddingLeft:e.paddingLeft,background:state$1.setting.camera?`rgba(${state$1.setting.eyeProtection?"253,244,229":"255,255,255"} ,${state$1.setting.cameraOpacity/100}) !important`:""}},[createVNode(Transition,{name:"van-fade"},{default:()=>[e.skeletonLoading&&createVNode("div",{class:styles$9.skeleton},[createVNode(Skeleton,{row:8},null)])]}),createVNode(EmptyMusic,null,null),!state$1.isPreView&&createVNode("div",{class:[styles$9.headHeight,e.headerHide&&styles$9.headHide]},[state$1.musicRendered&&createVNode(HeaderTop,null,null)]),createVNode("div",{id:"scrollContainer",style:{...o.value.container},class:[styles$9.container,!state$1.setting.displayCursor&&"hideCursor",c.xiaomi&&styles$9.xiaomi,state$1.platform===IPlatform.PC&&styles$9.pcContainer],onClick:y=>{y.stopPropagation(),state$1.playState==="play"&&(e.headerHide=!e.headerHide)}},[!e.isLoading&&createVNode(MusicScore,{ref:musicScoreRef,musicColor:"#FFFFFF",showPartNames:state$1.isCombineRender,onRendered:s},{default:()=>[createVNode(AuthorName,null,null),!e.isLoading&&!e.skeletonLoading&&createVNode(Tick,null,null)]}),state$1.setting.displayFingering&&((m=state$1.fingeringInfo)==null?void 0:m.name)&&!state$1.isPreView&&state$1.isShowFingering&&createVNode("div",{style:{...o.value.fingerBox},class:styles$9.fingeringCon},[createVNode(Fingering,{style:{background:state$1.setting.camera?`rgba(${state$1.setting.eyeProtection?"253,244,229":"255,255,255"} ,${state$1.setting.cameraOpacity/100})`:""},onOpen:()=>u()},null)])]),!e.isLoading&&!e.skeletonLoading&&createVNode(AudioList,null,null),state$1.modeType==="evaluating"&&createVNode(Fragment,null,[createVNode(Evaluating,null,null),evaluatingData.rendered&&createVNode(EvaluatModel,null,null)]),state$1.modeType==="follow"&&createVNode(Fragment,null,[createVNode(FollowPractice,null,null),createVNode(FollowModel,null,null)]),!i.lessonTrainingId&&!i.questionId&&state$1.isConcert&&createVNode(ToggleMusicSheet,null,null),state$1.musicRendered&&!state$1.isPreView&&createVNode(Fragment,null,[storeData.isApp&&createVNode(RecordingTime,null,null),i.workRecord&&createVNode(WorkIndex,null,null),isMusicList.value&&createVNode(TheMusicList,null,null)]),createVNode(Popup,{zIndex:5050,teleport:"body",show:e.fingerPreView,"onUpdate:show":y=>e.fingerPreView=y,position:"bottom",onClosed:()=>{e.fingerPreViewAnimation=!1},onOpen:()=>{e.fingerPreViewAnimation=!0},onOpened:()=>{e.fingerPreViewGuide=!0}},{default:()=>[e.fingerPreViewAnimation&&createVNode(ViewFigner,{show:e.fingerPreViewGuide,subject:state$1.fingeringInfo.name,isComponent:!0,onClose:d},null)]})])}}}),query=getQuery();var EnumMusicRenderType=(i=>(i.staff="staff",i.firstTone="firstTone",i.fixedTone="fixedTone",i))(EnumMusicRenderType||{});const musicscoresettingKey="musicscoresetting";var IPlatform=(i=>(i.APP="APP",i.PC="PC",i))(IPlatform||{});const classids=[1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,30,31,35,36,38,108,150,151,152,153,154,155,156,157,158,178,179,180,181,182],musicalInstrumentCodeInfo=[{name:"长笛",code:"Flute",id:1},{name:"短笛",code:"Piccolo",id:2},{name:"单簧管",code:"Clarinet",id:3},{name:"低音单簧管",code:"Bass Clarinet",id:4},{name:"中音萨克斯",code:"Alto Saxophone",id:5},{name:"次中音萨克斯",code:"Tenor Saxophone",id:6},{name:"高音萨克斯",code:"Soprano Saxophone",id:7},{name:"上低音萨克斯",code:"Baritone Saxophone",id:8},{name:"双簧管",code:"Oboe",id:9},{name:"大管",code:"Bassoon",id:10},{name:"小号",code:"Trumpet",id:11},{name:"圆号",code:"Horn",id:12},{name:"长号",code:"Trombone",id:13},{name:"上低音号",code:"Baritone",id:14},{name:"次中音号",code:"Euphonium",id:15},{name:"大号",code:"Tuba",id:16},{name:"钢琴",code:"Piano",id:17},{name:"电钢琴",code:"Electronical Piano",id:18},{name:"钢片琴",code:"Glockenspiel",id:19},{name:"小提琴",code:"Violin",id:20},{name:"中提琴",code:"Viola",id:21},{name:"大提琴",code:"Violoncello",id:22},{name:"低音提琴",code:"Contrabass",id:23},{name:"架子鼓",code:"Drum Set",id:24},{name:"小鼓",code:"Snare Drum",id:25},{name:"马林巴",code:"Marimba",id:26},{name:"颤音琴",code:"Vibraphone",id:27},{name:"钟琴",code:"Chimes",id:28},{name:"木琴",code:"Xylophone",id:29},{name:"管钟",code:"Tubular Bells",id:30},{name:"定音鼓",code:"Timpani",id:31},{name:"键盘",code:"Mallets",id:32},{name:"排箫",code:"Panpipes",id:33},{name:"陶笛",code:"Ocarina",id:34},{name:"葫芦丝",code:"Woodwind",id:35},{name:"口风琴",code:"Nai",id:36},{name:"德式竖笛",code:"Tenor Recorder",id:37},{name:"英式竖笛",code:"Baroque Recorder",id:38},{name:"高音陶笛",code:"Whistling",id:39}],state=reactive({platform:"",appName:"",musicRenderType:"staff",musicRendered:!1,detailId:"",xmlUrl:"",subjectId:0,trackId:0,categoriesId:0,categoriesName:"",enableEvaluation:!0,enableNotation:!1,examSongId:"",cbsExamSongId:"",examSongName:"",coverImg:"",extConfigJson:{},extStyleConfigJson:{},isOpenMetronome:!1,isSingOpenMetronome:!1,isShowFingering:!1,music:"",accompany:"",fanSong:"",banSong:"",mingSong:"",beatSong:{music:"",accompany:"",fanSong:"",banSong:"",mingSong:""},midiUrl:"",parentCategoriesId:0,musicSheetCategoriesId:0,bizMusicCategoryId:0,playMode:"MP3",speed:0,originSpeed:0,playIngSpeed:0,track:"",partIndex:0,needTick:!1,needSingTick:!1,osmd:null,isSpecialBookCategory:!1,playState:"paused",playEnd:!1,playType:"play",playSource:"music",playProgress:0,activeNoteIndex:0,activeMeasureIndex:0,sectionStatus:!1,section:[],sectionBoundingBoxs:[],isOpenPrepare:!1,sectionFirst:null,times:[],modeType:"practise",setting:{soundEffect:!0,eyeProtection:!1,camera:!1,cameraOpacity:70,repeatAutoPlay:!0,displayFingering:!0,displayCursor:!0,frequency:0,evaluationDifficulty:"BEGINNER",saveToAlbum:!0,enableAccompaniment:!0,reactionTimeMs:0,beatVolume:50},baseFrequency:440,fixtime:0,evXmlBeginTime:0,secondEvXmlBeginTime:0,evXmlBeginArr:[],fingeringInfo:{},scrollContainer:"musicAndSelection",isPercussion:!1,evaluationStandard:"",repeatedBeats:0,partListNames:[],gradual:[],gradualVersion:GradualVersion.BASE,gradualTimes:null,multitrack:0,zoom:.8,musicZoom:1,isSelectMeasureMode:!1,isReport:!1,isHideEvaluatReportSaveBtn:!1,isConcert:!1,userChooseEndIndex:0,repeatInfo:[],canSelectTracks:[],subjectCodeId:0,musicalCodeId:0,musicalCode:"",isCombineRender:!1,measureTime:0,beatStartTime:0,isPreView:!1,isEvaluatReport:!1,midiPlayIniting:!1,songs:{},isAppPlay:!1,audiosInstance:null,durationNum:0,midiSectionStart:0,audioDone:!1,isSingleLine:!1,isEvxml:!1,noTimes:[],playBtnDirection:"left",musicScoreBtnDirection:"right",isAttendClass:!1,guideInfo:null,noteCoords:[],specialPosInit:!1,paymentType:null,defaultModeType:1,maxLyricNum:0,vfmeasures:[],musicComposer:"",musicLyricist:"",loadingText:"音频资源加载中,请稍后…",isSimplePage:!1});browser();const customData=reactive({customNoteRealValue:[],customNoteCurrentTime:!1}),setStep=()=>{if(state.playState!=="play"){console.log("暂停播放");return}let i=Date.now();requestAnimationFrame(()=>{Date.now()-i<16.7?(handlePlaying(),setStep()):setTimeout(()=>{handlePlaying(),setStep()},16.7)})},onPlay=()=>{console.log("开始播放","音频总时长:",getAudioDuration()),state.playEnd=!1,setStep()},autoResetPlay=()=>{state.modeType==="practise"&&(skipNotePlay(0,!0),state.setting.repeatAutoPlay&&(scrollViewNote(),setTimeout(()=>{togglePlay("play")},1e3)))},onEnded=()=>{if(console.log("音频播放结束"),state.playEnd){console.log("音频播放结束,无需再次执行");return}state.playEnd=!0,state.playState="paused",audioListStart(state.playState),handleEndEvaluat(!0),autoResetPlay()},handlePlaying=()=>{var s;const i=getAudioCurrentTime(),e=getAudioDuration();state.playProgress=i/e*100;let r=getNote(i);if(r&&state.modeType==="practise"&&state.playState==="play"&&r.measureSpeed&&r.measureSpeed!==state.playIngSpeed){const o=state.speed/state.originSpeed;state.playIngSpeed=Math.ceil(o*r.measureSpeed)||state.speed}else state.modeType==="practise"&&state.playState==="play"&&r&&!r.measureSpeed&&(state.playIngSpeed=state.speed);if(state.playIngSpeed=state.playIngSpeed||state.speed,r){if(state.sectionStatus&&state.section.length===2){const o=state.sectionFirst?state.sectionFirst:state.section[0],a=state.section[1];if(state.repeatInfo.length){const l=verifyCanRepeat(state.section[0].MeasureNumberXML,state.section[1].MeasureNumberXML),c=l.repeatIdx==-1?0:l.repeatIdx;if(state.modeType==="practise"&&!l.canRepeat&&state.section[1].MeasureNumberXML>state.repeatInfo[c].end){const u=state.times[r.i-1];if(u&&u.MeasureNumberXML>r.MeasureNumberXML){const d=state.times.find(g=>g.MeasureNumberXML===u.MeasureNumberXML+1);if(d){setAudioCurrentTime(d.time,d.i),gotoNext(d);return}}}}if(i-a.endtime>=0){if(console.log("选段播放结束",state.setting.repeatAutoPlay),state.modeType==="evaluating"&&state.isSelectMeasureMode){onEnded();return}if(state.modeType==="practise"&&state.sectionStatus){onEnded(),resetPlaybackToStart();return}r=o,setAudioCurrentTime(o.time,o.i)}}gotoNext(r)}(s=metronomeData.metro)==null||s.sound(i),state.isSingleLine&&moveSmoothAnimationByPlayTime()},skipNotePlay=async(i,e=!1)=>{var o;const r=state.times[i];let s=r.time;e&&(s=0),r&&(setAudioCurrentTime(s,i),gotoNext(r,!0),(o=metronomeData.metro)==null||o.sound(s),state.isAppPlay&&(await api_cloudSetCurrentTime({currentTime:s*1e3,songID:state.examSongId}),audioData$1.progress=s,state.midiSectionStart=s),followData.start&&skipNotePractice())},togglePlay=async(i,e)=>{if(!state.isAppPlay&&!state.audioDone){e!=="courseware"&&showToast("音频资源加载中,请稍后");return}if((i||(state.playState==="paused"?"play":"paused"))==="play"&&state.modeType==="practise"&&state.playMode!=="MIDI"&&(console.log("设置音源"),changeSongSourceByBate(metronomeData.disable)),state.isAppPlay){if(i==="paused"){await api_cloudSuspend({songID:state.examSongId}),state.playState="paused";return}skipNotePlay(state.activeNoteIndex,!1),await api_cloudChangeSpeed({speed:state.modeType==="evaluating"?state.originSpeed:state.speed,originalSpeed:state.originSpeed,songID:state.examSongId});const r=await api_cloudGetMediaStatus(),s=(r==null?void 0:r.content.status)==="suspend"?"play":"paused";state.playState=s}else state.playState=i||(state.playState==="paused"?"play":"paused");if(state.playState==="play"&&state.sectionStatus&&state.section.length==2&&state.playProgress===0&&resetPlaybackToStart(),state.playState==="paused"&&closeTick(),state.playState==="play"&&getAudioCurrentTime()===0&&(state.playType==="play"&&state.needTick||state.playType==="sing"&&state.needSingTick))if(state.playType==="play"&&!state.isOpenMetronome||state.playType==="sing"&&!state.isSingOpenMetronome){if(!await handleStartTick())return state.playState="paused",!1}else handleStartTick();return state.playState=="play"&&state.sectionStatus&&state.section.length<2&&clearSelection(),audioListStart(state.playState),!0},handleStopPlay=()=>{state.playState="paused",audioListStart(state.playState)},resetPlaybackToStart=()=>{var i;if(state.sectionStatus&&state.section.length===2){state.section=formateSelectMearure(state.section);return}else metronomeData.activeMetro=((i=metronomeData.metroMeasure[0])==null?void 0:i[0])||{};skipNotePlay(0,!0)},gotoCustomNote=i=>{try{state.osmd.cursor.reset()}catch(e){}for(let e=0;e<i;e++)state.osmd.cursor.next()},setCursorPosition=(i,e,r)=>{var s,o,a;if(state.musicRenderType==="firstTone"||state.musicRenderType==="fixedTone"){if(state.sectionStatus&&state.playState==="paused"&&state.sectionFirst&&(i.multipleRestMeasures||i.MeasureNumberXML!==((s=state.sectionFirst)==null?void 0:s.MeasureNumberXML)))return;if(["1788850864767643649","1788502467554750466","1788501975122489346"].includes(state.cbsExamSongId)&&i.multipleRestMeasures===0){const c=(a=(o=e==null?void 0:e.cursorElement)==null?void 0:o.style)!=null&&a.left?parseFloat(e.cursorElement.style.left):0;let u=0;state.cbsExamSongId=="1788502467554750466"?(state.musicRenderType==="firstTone"&&(u=i.i==0||i.i==60?21:i.i==1||i.i==7||i.i==23||i.i==38||i.i==44||i.i==52||i.i==58?-6:i.i>=2||i.i<=6||i.i>=8||i.i<=22||i.i>=24||i.i<=37||i.i>=39||i.i<=43||i.i>=45||i.i<=51||i.i>=53||i.i<=57||i.i==59?6:0),state.musicRenderType==="fixedTone"&&(u=i.i==0?31:i.i==8||i.i==14||i.i==30||i.i==45||i.i==51||i.i==59||i.i==65?-10:i.i==67?31:0)):state.cbsExamSongId=="1788501975122489346"&&(state.musicRenderType==="firstTone"&&(u=i.i==0?21:i.i==1||i.i==7||i.i==23||i.i==38||i.i==44||i.i==52||i.i==58?-6:i.i==9||i.i==10||i.i==12||i.i==13?3:i.i==14||i.i==30||i.i==45||i.i==51||i.i==59?6:i.i==45?-8:i.i>=15||i.i<=29||i.i>=31||i.i<=36||i.i>=38||i.i<=44||i.i>=46||i.i<=50||i.i>=52||i.i<=58||i.i>=60||i.i<=64||i.i==66?4:0),state.musicRenderType==="fixedTone"&&(u=i.i==0?31:i.i==8||i.i==14||i.i==30||i.i==45||i.i==51||i.i==59||i.i==65?-10:i.i==67?31:0)),(r==="refresh"||r==="init"&&!state.specialPosInit)&&(e.cursorElement.style.left=c+u+"px",state.specialPosInit=!0)}else nextTick(()=>{var g,m,y,b;let c=i.bbox;if(!c){const S=(((g=document.getElementById("musicAndSelection"))==null?void 0:g.getBoundingClientRect())||{x:0,y:0}).x||0,E=document.querySelector(`#vf-${(y=(m=i.svgElement)==null?void 0:m.attrs)==null?void 0:y.id}`);if(E){const x=E.querySelector(".vf-numbered-note-head"),P=(b=x==null?void 0:x.getBoundingClientRect)==null?void 0:b.call(x);P&&(i.bbox={left:P.x-S-P.width/4,width:P.width*1.5},c=i.bbox)}}if(!c)return;const u=state.platform==="PC"?29:18,d=(c.width-u)/3;e.cursorElement.style.left=c.left+"px",e.cursorElement.style.transform=`translateX(${d}px)`})}},gotoNext=(i,e)=>{const r=i.i;if(state.activeNoteIndex===i.i){try{setCursorPosition(i,state.osmd.cursor,"init")}catch(a){console.log(a)}fillWordColor(),state.isSingleLine&&state.playState==="paused"&&moveSvgDom(e);return}const s=state.osmd;let o=state.activeNoteIndex;if(state.activeNoteIndex=r,state.activeMeasureIndex=i.MeasureNumberXML,o&&r-o===1)s.cursor.next();else if(o&&r-o>0)for(;r-o>0;)o++,s.cursor.next();else gotoCustomNote(r);try{setCursorPosition(i,state.osmd.cursor,"refresh")}catch(a){console.log(a)}fillWordColor(),state.isSingleLine&&moveSvgDom(e),scrollViewNote()},getNote=i=>{const e=state.times,r=state.times.length;if(i>e[r-1].endtime+2&&!state.isAppPlay&&!state.isSimplePage){onEnded();return}let s=null;for(let o=state.activeNoteIndex;o<r;o++){let a=e[o];const l=e[o-1];if(i>=a.time)(!l||a.time!=l.time)&&(s=a);else break}return s},handleResetPlay=()=>{state.isAppPlay&&(audioData$1.progress=0),resetPlaybackToStart(),togglePlay("play")},handleSetSpeed=i=>{setStorageSpeed(state.examSongId,i),state.speed=i},clearSelection=()=>{state.sectionStatus=!1,state.section=[],closeToast()},handleChangeSection=()=>{if(state.sectionStatus){togglePlay("paused"),clearSelection(),skipNotePlay(0,!0),state.sectionFirst=null;return}state.sectionStatus=!0,state.sectionStatus&&togglePlay("paused"),showToast({message:"请选择开始小节",duration:0,position:"top",className:"selectionToast"})},formateSelectMearure=i=>{var c,u;if(!i.length)return[];const e=i.sort((d,g)=>d.time-g.time),r=(c=e[0])==null?void 0:c.measureOpenIndex,s=(u=e.last())==null?void 0:u.measureOpenIndex,o=state.times.filter(d=>r===d.measureOpenIndex)||[],a=state.times.filter(d=>s===d.measureOpenIndex)||[];if(!o.length||!a.length)return clearSelection(),[];e[0]=o[0],e[1]=a.last();let l=e[0].i;if(state.isOpenPrepare){const d=e[0].MeasureNumberXML;state.sectionFirst=state.times.find(g=>d-g.MeasureNumberXML===1),l=state.sectionFirst?state.sectionFirst.i:l}return skipNotePlay(l,l===0),e},handleSelection=i=>{!state.sectionStatus||state.section.length>1||(state.section.length!==2&&i&&(state.section.push(i),state.section.length===2&&(setSection(state.section[0].MeasureNumberXML,state.section[1].MeasureNumberXML),closeToast())),state.section.length===1&&showToast({message:"请选择结束小节",duration:0,position:"top",className:"selectionToast"}))},setSection=(i,e,r)=>{var S,E,x,P;const s=state.times.filter(C=>C.noteElement.sourceMeasure.MeasureNumberXML==i),o=state.times.filter(C=>C.noteElement.sourceMeasure.MeasureNumberXML==e);state.userChooseEndIndex=e;const a=o[o.length-1].noteId;let l=o.filter(C=>C.noteId===a);const c=verifyCanRepeat(i,e);console.log("能否重播",c);const u=c.canRepeat;let d=!1;l.length===1&&(d=(x=(E=(S=l[0])==null?void 0:S.stave)==null?void 0:E.modifiers)==null?void 0:x.some(C=>C.getAttribute("type")==="Volta"));let g=e;const m=((P=state.repeatInfo[c.repeatIdx])==null?void 0:P.end)||0;for(;u&&l.length===1&&l[0].MeasureNumberXML<=m&&!d;){g=g-1;const C=state.times.filter(k=>k.noteElement.sourceMeasure.MeasureNumberXML==g),T=C[C.length-1].noteId;l=C.filter(k=>k.noteId===T)}const y=u&&c.repeatIdx==state.repeatInfo.length-1?l.length-1:0,b=s[0],A=l[y];b&&A&&(state.isSelectMeasureMode=!0,hanldeDirectSelection([b,A]),r&&handleSetSpeed(r))},hanldeDirectSelection=i=>{!Array.isArray(i)||i.length!==2||(state.sectionStatus=!0,setTimeout(()=>{state.section=formateSelectMearure(i),console.log("选段小节",state.section)},0))};let offsetTop=0;const scrollViewNote=()=>{const i=document.getElementById("cursorImg-0"),e=document.getElementById(state.scrollContainer);!i||!e||offsetTop===i.offsetTop||(offsetTop=i.offsetTop,offsetTop>50?e.scrollTo({top:(offsetTop-50)*state.musicZoom,behavior:"smooth"}):e.scrollTo({top:0,behavior:"smooth"}))},isRhythmicExercises=()=>state.examSongName.indexOf("节奏练习")>-1,handleRessetState=()=>{clearSelection(),skipNotePlay(0,!0),state.isAppPlay&&(audioData$1.progress=0),state.modeType==="evaluating"?handleStartEvaluat():state.modeType==="practise"?togglePlay("paused"):state.modeType==="follow"&&toggleFollow(!1)},state$1=state,evaluatCreateMusicPlayer=()=>api_createMusicPlayer({musicSrc:state.accompany||state.music,tuneSrc:"https://oss.dayaedu.com/cloud-coach/1686725501654check_music1_(1).mp3"}),getMusicDetail=async(i,e)=>{const r=await getMusicSheetDetail(i,e);(r==null?void 0:r.code)===200&&await getMusicInfo(r)},getMusicInfo=async i=>{const e=await fetch(i.data.xmlFileUrl).then(l=>l.text());downloadXmlStr.value=e;const r=xmlToTracks(e);let s=query["part-index"]?parseInt(query["part-index"]):0;const o=state.isSimplePage?{}:initMusicSource(i.data,r[s]);s=r.findIndex(l=>l===(o==null?void 0:o.track));const a={...i.data,track:o==null?void 0:o.track};console.log("🚀 ~ musicInfo:",a),setState(a,s)};function xmlToTracks(i){const e=new DOMParser().parseFromString(i,"text/xml");return Array.from(e.getElementsByTagName("part-name")).reduce((s,o)=>{var l;const a=(l=o==null?void 0:o.textContent)==null?void 0:l.trim();return a!=="COMMON"&&a&&s.push(a),s},[])}function initMusicSource(i,e){const{instrumentId:r}=storeData.user;let{musicSheetType:s,isAllSubject:o,musicSheetSoundList:a,musicSheetAccompanimentList:l}=i;a||(a=[]),l||(l=[]);let c,u,d,g;if(s==="SINGLE"?(c=a.find(m=>o||!r?m.audioPlayType==="PLAY":m.audioPlayType==="PLAY"&&m.musicalInstrumentId==r),c||(c=a.find(m=>m.audioPlayType==="PLAY")),d=a.find(m=>m.audioPlayType==="SING"),g=l.find(m=>m.audioPlayType==="SING")):c=e?a.find(m=>m.track===e):a[0],u=l.find(m=>m.audioPlayType==="PLAY"),!(c!=null&&c.audioFileUrl)&&!(u!=null&&u.audioFileUrl)&&!(d!=null&&d.audioFileUrl)&&!(g!=null&&g.audioFileUrl)&&!(d!=null&&d.solmizationFileUrl))throw new Error("该曲目无任何音源");return Object.assign(state,{music:c==null?void 0:c.audioFileUrl,accompany:u==null?void 0:u.audioFileUrl,fanSong:d==null?void 0:d.audioFileUrl,banSong:g==null?void 0:g.audioFileUrl,mingSong:d==null?void 0:d.solmizationFileUrl}),Object.assign(state.beatSong,{music:c==null?void 0:c.audioBeatMixUrl,accompany:u==null?void 0:u.audioBeatMixUrl,fanSong:d==null?void 0:d.audioBeatMixUrl,banSong:g==null?void 0:g.audioBeatMixUrl,mingSong:d==null?void 0:d.solmizationBeatUrl}),c}const setState=(i,e)=>{var g,m,y,b,A,S,E,x,P,C,T,k,I,M;state.appName="COLEXIU",state.detailId=i.bizId,state.xmlUrl=i.xmlFileUrl,state.paymentType=i.paymentType,state.partIndex=e>=0?e:0,state.trackId=i.track,state.subjectId=i.subjectIds?(g=i.subjectIds.split(","))==null?void 0:g[0]:0;const r=i.subjectCodes?(m=i.subjectCodes.split(","))==null?void 0:m[0]:"";let s=i.musicalInstrumentIdCodes?(y=i.musicalInstrumentIdCodes.split(","))==null?void 0:y[0]:"";const o=musicalInstrumentCodeInfo.find(R=>R.code.toLocaleLowerCase()===r.toLocaleLowerCase()),a=musicalInstrumentCodeInfo.find(R=>R.code.toLocaleLowerCase()===s.toLocaleLowerCase());if(state.subjectCodeId=o?o.id:0,state.musicalCodeId=a?a.id:0,state.categoriesId=i.musicCategoryId,state.categoriesName=i.musicTagNames,state.examSongId=i.bizId+"",state.cbsExamSongId=i.id+"",state.examSongName=i.name,state.coverImg=(b=i.musicCover)!=null?b:"",state.isCombineRender=i.musicSheetType==="SINGLE"&&((A=i.musicSheetSoundList)==null?void 0:A.length)>1,setCustom(state.isCombineRender?(S=i.musicSheetSoundList)==null?void 0:S.length:0),i.extConfigJson)try{state.extConfigJson=JSON.parse(i.extConfigJson)}catch(R){console.error("解析扩展字段错误:",R)}state.gradualTimes=state.extConfigJson.gradualTimes,state.repeatedBeats=state.extConfigJson.repeatedBeats||0,state.isEvxml=state.extConfigJson.isEvxml==1,state.needTick=!!i.isPlayBeat,state.needSingTick=!!i.isPlaySingBeat,state.isOpenMetronome=!!(i.isPlayBeat&&!i.isUseSystemBeat),state.isSingOpenMetronome=!!(i.isPlaySingBeat&&!i.isUseSingSystemBeat),state.isShowFingering=!!i.isShowFingering,state.isAppPlay=i.playMode==="MIDI",state.midiUrl=i.midiFileUrl,state.parentCategoriesId=i.musicTag,state.musicSheetCategoriesId=i.musicCategoryId,state.bizMusicCategoryId=i.bizMusicCategoryId,state.playMode=i.playMode==="MP3"?"MP3":"MIDI",state.originSpeed=state.speed=parseFloat(i.playSpeed)||0;const l=i.code||i.track;state.track=l?l.replace(/ /g,"").toLocaleLowerCase():"",state.isAppPlay?state.enableEvaluation=!!state.midiUrl:state.enableEvaluation=!!state.accompany,state.isConcert=i.musicSheetType==="CONCERT",state.canSelectTracks=i.multiTracksSelection==="null"||i.multiTracksSelection===""||i.multiTracksSelection===null?[]:(E=i.multiTracksSelection)==null?void 0:E.split(","),state.isOpenPrepare=!0,state.extStyleConfigJson=i.extStyleConfigJson||{},state.isPercussion=i.evaluationStandard==="AMPLITUDE"||i.evaluationStandard==="DECIBELS",state.evaluationStandard=((x=i.evaluationStandard)==null?void 0:x.toLocaleLowerCase())||"",state.isSpecialBookCategory=!classids.includes(Number(i.musicCategoryId));const c=state.isConcert?matchVoicePart(state.trackId,"CONCERT"):matchVoicePart(state.musicalCodeId,"SINGLE");state.fingeringInfo=subjectFingering(c),console.log("🚀 ~ state.fingeringInfo:",c,state.fingeringInfo,state.trackId,state.track),state.musicalCodeId=((P=state.fingeringInfo)==null?void 0:P.id)||0,state.musicalCode=((C=musicalInstrumentCodeInfo.find(R=>R.id===state.musicalCodeId))==null?void 0:C.code)||state.trackId,window.DYSubjectId=state.musicalCodeId,window.customSectionAmount=!0,window.DYProjectName="musicScore",!state.fingeringInfo.name&&state.setting.displayFingering&&(state.setting.displayFingering=!1),state.platform=((T=query.platform)==null?void 0:T.toLocaleUpperCase())||"",state.platform==="PC"&&(state.zoom=query.zoom||1.5,state.enableEvaluation=!1);let u=null;state.isConcert?(s=(k=musicalInstrumentCodeInfo.find(R=>R.id===state.musicalCodeId))==null?void 0:k.code,u=(I=i.musicalInstruments)==null?void 0:I.find(R=>R.code===s)):u=(M=i.musicalInstruments)==null?void 0:M.find(R=>R.code===s);let d="";u!=null&&u.defaultScore&&(d=(u==null?void 0:u.defaultScore)==="STAVE"?"staff":(u==null?void 0:u.defaultScore)==="JIAN"?"fixedTone":(u==null?void 0:u.defaultScore)==="FIRST"?"firstTone":""),state.musicRenderType=query.musicRenderType||d||"firstTone",["1788501975122489346","1788502467554750466","1789839575249596417"].includes(state.cbsExamSongId)&&state.musicRenderType==="fixedTone"&&(state.musicRenderType="firstTone"),state.enableNotation=u?i.isConvertibleScore&&u.transferFlag:i.isConvertibleScore,console.log("state对象",state),state.baseFrequency=i.evaluationFrequency?i.evaluationFrequency.split(",")[0]:440,state.baseFrequency=Number(state.baseFrequency),Math.abs(state.setting.frequency-state.baseFrequency)>10?state.setting.frequency=state.baseFrequency>=0?state.baseFrequency:440:state.setting.frequency=state.setting.frequency||state.baseFrequency},setCustom=i=>{(i||state.extConfigJson.multitrack)&&(state.multitrack=i||0,setGlobalData("multitrack",i||state.extConfigJson.multitrack))},followBeatPaly=()=>{let i=null;if(!followData.start){clearTimeout(i),i=null;return}const e=state.measureTime*1e3/metronomeData.totalNumerator;requestAnimationFrame(()=>{var s;Date.now()-state.beatStartTime<e||((s=metronomeData.metro)==null||s.simulatePlayAudio(),state.beatStartTime=Date.now()),followBeatPaly()})},addNoteBBox=i=>{var o,a,l,c,u,d,g,m,y,b,A,S,E,x,P,C,T;const r=(((o=document.getElementById("musicAndSelection"))==null?void 0:o.getBoundingClientRect())||{x:0,y:0}).x||0;let s=null;for(let k=0;k<i.length;k++){const I=i[k],{svgElement:M,multipleRestMeasures:R,totalMultipleRestMeasures:B,stave:_}=I;let V=null;if(M!=null&&M.attrs.id){V=(l=document.getElementById(`vf-${(a=M==null?void 0:M.attrs)==null?void 0:a.id}`))==null?void 0:l.getBBox();const D=((d=(u=document.getElementById(`vf-${(c=M==null?void 0:M.attrs)==null?void 0:c.id}`))==null?void 0:u.getBoundingClientRect)==null?void 0:d.call(u))||{x:0,width:0};V={left:D.x-r-D.width/4,x:(V==null?void 0:V.x)*state.zoom,y:(V==null?void 0:V.y)*state.zoom,width:(V==null?void 0:V.width)*state.zoom,height:(V==null?void 0:V.height)*state.zoom}}else{let D=(y=(m=document.getElementById(`${(g=_==null?void 0:_.attrs)==null?void 0:g.id}`))==null?void 0:m.nextSibling)==null?void 0:y.getBBox();const F=(b=document.getElementById("musicAndSelection"))==null?void 0:b.getBoundingClientRect();!D&&R<=B&&(D=s);let N=k+1;for(;!((A=i[N])!=null&&A.id)&&N<i.length;)N+=1;let K=(D==null?void 0:D.width)*state.zoom;(S=i[N])!=null&&S.id&&(K=((T=(C=document.getElementById(`${(P=(x=(E=i[N])==null?void 0:E.stave)==null?void 0:x.attrs)==null?void 0:P.id}`))==null?void 0:C.getBBox())==null?void 0:T.x)*state.zoom-(D==null?void 0:D.x)*state.zoom);const G=K/B||0;V=D?{bottom:D.bottom,height:30,left:D.x*state.zoom+G*(R-1),right:D.y,top:D.top,width:1,x:D.x*state.zoom+G*(R-1),y:D.y,svgBodyLeft:F==null?void 0:F.x}:null,s=D}I.bbox=V}},fillWordColor=()=>{state.times.forEach((s,o)=>{var c,u,d,g,m,y;const a=document.getElementById(`vf-${(d=(u=(c=state.times[o])==null?void 0:c.svgElement)==null?void 0:u.attrs)==null?void 0:d.id}`),l=document.getElementById(`vf-${(y=(m=(g=state.times[o])==null?void 0:g.svgElement)==null?void 0:m.attrs)==null?void 0:y.id}-stem`);(s.i===state.activeNoteIndex||s.id===state.times[state.activeNoteIndex].id)&&s.svgElement?(a==null||a.classList.add("noteActive"),l==null||l.classList.add("noteActive")):(a==null||a.classList.remove("noteActive"),l==null||l.classList.remove("noteActive"))});const i=state.times[state.activeNoteIndex];Array.from(document.querySelectorAll(".vf-lyric")).forEach(s=>{s==null||s.classList.remove("lyricActive")}),Array.from(document.querySelectorAll(`.lyric${i==null?void 0:i.noteId}`)).forEach((s,o)=>{o===i.repeatIdx&&(s==null||s.classList.add("lyricActive"))})},moveSvgDom=i=>{var e,r,s,o;if(i){const a=((e=state.times[state.activeNoteIndex].bbox)==null?void 0:e.x)-((r=state.times[0].bbox)==null?void 0:r.x)+((s=state.times[state.activeNoteIndex].bbox)==null?void 0:s.width)/2-((o=state.times[0].bbox)==null?void 0:o.width)/2;smoothAnimationState.translateXNum=0,moveSmoothAnimation(0,state.activeNoteIndex),smoothAnimationState.osdmScrollDom.scrollTo({left:a,behavior:"smooth"})}};watch(()=>state.playState,()=>{if(state.isSingleLine&&!state.playEnd&&state.playState==="paused"){moveTranslateXNum(0);const i=smoothAnimationState.osdmScrollDom.scrollLeft;smoothAnimationState.osdmScrollDom.scrollLeft=i+smoothAnimationState.translateXNum,smoothAnimationState.translateXNum=0}});function getNeedReduceMultipleRestNum(i){let e=0;for(let r=0;r<state.times.length;r++){const s=state.times[r];if(s.MeasureNumberXML>i)break;s.multipleRestMeasures&&s.multipleRestMeasures>1&&(e+=1)}return e}watch(()=>state.activeMeasureIndex,()=>{const i=getNeedReduceMultipleRestNum(state.activeMeasureIndex),e=state.activeMeasureIndex-i-1;console.log("选中的小节",e,"需要减去的小节",i,"当前的小节",state.activeMeasureIndex),state.vfmeasures.forEach((r,s)=>{var o,a,l,c,u,d,g,m;if(s===e)(o=r.querySelector(".vf-custom-bg"))==null||o.setAttribute("fill","#132D4C"),(a=r.querySelector(".vf-custom-bot"))==null||a.setAttribute("fill","#040D1E");else if(state.section.length===2){let y=state.section[0].MeasureNumberXML,b=state.section[1].MeasureNumberXML;y>b&&(y=state.section[1].MeasureNumberXML,b=state.section[0].MeasureNumberXML);const A=y-getNeedReduceMultipleRestNum(y)-1,S=b-getNeedReduceMultipleRestNum(b)-1;if(s>=A&&s<=S&&((l=r.querySelector(".vf-custom-bg"))==null||l.setAttribute("fill","#609FCF"),(c=r.querySelector(".vf-custom-bot"))==null||c.setAttribute("fill","#2B70A5")),state.sectionFirst){const E=state.sectionFirst.MeasureNumberXML-getNeedReduceMultipleRestNum(state.sectionFirst.MeasureNumberXML)-1,x=state.vfmeasures[E];(u=x==null?void 0:x.querySelector(".vf-custom-bg"))==null||u.setAttribute("fill","#71B8BD"),(d=x==null?void 0:x.querySelector(".vf-custom-bot"))==null||d.setAttribute("fill","#448F9C")}}else(g=r.querySelector(".vf-custom-bg"))==null||g.setAttribute("fill","#609FCF"),(m=r.querySelector(".vf-custom-bot"))==null||m.setAttribute("fill","#2B70A5")})});watch(()=>state.section,()=>{var i,e;if(state.section.length===2){let r=state.section[0].MeasureNumberXML,s=state.section[1].MeasureNumberXML;r>s&&(r=state.section[1].MeasureNumberXML,s=state.section[0].MeasureNumberXML);const o=r-getNeedReduceMultipleRestNum(r)-1,a=s-getNeedReduceMultipleRestNum(s)-1;if(state.vfmeasures.forEach((l,c)=>{var u,d,g,m;c<o&&((u=l.querySelector(".vf-custom-bg"))==null||u.setAttribute("fill","rgba(96,159,207,0.5)"),(d=l.querySelector(".vf-custom-bot"))==null||d.setAttribute("fill","rgba(43,112,165,0.5)")),c>a&&((g=l.querySelector(".vf-custom-bg"))==null||g.setAttribute("fill","rgba(96,159,207,0.5)"),(m=l.querySelector(".vf-custom-bot"))==null||m.setAttribute("fill","rgba(43,112,165,0.5)"))}),state.sectionFirst){const l=state.sectionFirst.MeasureNumberXML-getNeedReduceMultipleRestNum(state.sectionFirst.MeasureNumberXML)-1,c=state.vfmeasures[l];(i=c==null?void 0:c.querySelector(".vf-custom-bg"))==null||i.setAttribute("fill","#71B8BD"),(e=c==null?void 0:c.querySelector(".vf-custom-bot"))==null||e.setAttribute("fill","#448F9C")}}else{const r=state.activeMeasureIndex-getNeedReduceMultipleRestNum(state.activeMeasureIndex)-1;state.vfmeasures.forEach((s,o)=>{var a,l,c,u;o===r?((a=s.querySelector(".vf-custom-bg"))==null||a.setAttribute("fill","#132D4C"),(l=s.querySelector(".vf-custom-bot"))==null||l.setAttribute("fill","#040D1E")):((c=s.querySelector(".vf-custom-bg"))==null||c.setAttribute("fill","#609FCF"),(u=s.querySelector(".vf-custom-bot"))==null||u.setAttribute("fill","#2B70A5"))})}});const refreshMusicSvg=()=>{var i;state.loadingText="正在加载中,请稍等…",state.isSingleLine&&destroySmoothAnimation(),(i=musicScoreRef.value)==null||i.refreshMusicScore()};watch(()=>state.setting.displayFingering,()=>{nextTick(()=>{smoothAnimationState.osdmScrollDom&&(smoothAnimationState.osdmScrollDomWith=smoothAnimationState.osdmScrollDom.offsetWidth|0)})});const browserInfo=browser();dayjs.extend(duration);const getFixTime=i=>{const e=getDuration(state$1.osmd);let r=e.numerator||0,s=e.denominator||4;const o=e.beatUnit||"quarter";return state$1.repeatedBeats&&(r=r*2),60/i*formatBeatUnit(o)*(r/s)},retain=i=>Math.ceil(i*1e6)/1e6,formatLyricsEntries=i=>{var s,o;const e=((s=i.parentStaffEntry)==null?void 0:s.voiceEntries)||[],r=[];for(const a of e)if((o=a.lyricsEntries)!=null&&o.table){const l=Object.values(a.lyricsEntries.table);for(const c of l)r.push(c==null?void 0:c.value.text)}return r},createSpeedInfo=(i,e)=>{var r,s;if(i&&speedInfo[(r=i.startWord)==null?void 0:r.toLocaleLowerCase()]){const o=Math.max(i.endXmlNoteIndex,3),a=[],l=e,c=e/speedInfo[(s=i.startWord)==null?void 0:s.toLocaleLowerCase()];for(let u=0;u<o;u++){const d=l+(c-l)/o*(u+1);a.push(d)}return a}},tranTime=(i="")=>{let e=i;const r=i.split(":");return r.length===1?e=`00:${r[0]}:00`:r.length===2&&(e=`00:${r[0]}:${r[1]}`),`1970-01-01 00:${e}0`},getDuration=i=>{var r;if(i){const{Duration:s,TempoInBPM:o,ActiveTimeSignature:a,TempoExpressions:l}=(r=i.GraphicSheet.MeasureList[0][0])==null?void 0:r.parentSourceMeasure;if(s){let c="quarter";for(const d of l)c=d.InstantaneousTempo.beatUnit||"quarter";return{...formatDuration(a),TempoInBPM:o,beatUnit:c}}}return{...new Fraction$1,TempoInBPM:90,beatUnit:"quarter"}};function formatDuration(i,e){return i}function formatBeatUnit(i){let e=4;switch(i){case"1024th":e=1024;break;case"512th":e=512;break;case"256th":e=256;break;case"128th":e=128;break;case"64th":e=64;break;case"32nd":e=32;break;case"16th":e=16;break;case"eighth":e=8;break;case"quarter":e=4;break;case"half":e=2;break;case"whole":e=1;break;case"breve":e=.5;break;case"long":e=.25;break;case"maxima":e=.125;break}return e}function getTimeByBeatUnit(i,e,r){return r/formatBeatUnit(i)*e}const setElementNoteBefore=(i,e,r)=>{let s=0;if(e){for(let o=0;o<e.childNodes.length;o++){const a=e.childNodes[o];if(a.nodeName==="note"&&s++,a===i)break}if(s===0&&r){r.insertBefore(i,r.childNodes[0]);return}if(r&&r.childNodes.length>0){let o=0;const a=Array.from(r.childNodes).filter(c=>c.nodeName==="note"),l=a[a.length-1];if(s>=a.length&&l){r.insertBefore(i,r.childNodes[Array.from(r.childNodes).indexOf(l)]);return}for(let c=0;c<a.length;c++){const u=a[c];if(u.nodeName==="note"&&(o=o+1,o===s)){r.insertBefore(i,u);break}}}}},isRepeatWord=i=>{if(i){const e=i.toLocaleLowerCase(),r="d\\s?\\.s\\.",s="d\\.\\s?c\\.";return e==="@"||StringUtil.StringContainsSeparatedWord(e,r+" al fine",!0)||StringUtil.StringContainsSeparatedWord(e,r+" al coda",!0)||StringUtil.StringContainsSeparatedWord(e,s+" al fine",!0)||StringUtil.StringContainsSeparatedWord(e,s+" al coda",!0)||StringUtil.StringContainsSeparatedWord(e,s)||StringUtil.StringContainsSeparatedWord(e,"da\\s?capo",!0)||StringUtil.StringContainsSeparatedWord(e,r,!0)||StringUtil.StringContainsSeparatedWord(e,"dal\\s?segno",!0)||StringUtil.StringContainsSeparatedWord(e,"al\\s?coda",!0)||StringUtil.StringContainsSeparatedWord(e,"to\\s?coda",!0)||StringUtil.StringContainsSeparatedWord(e,"a (la )?coda",!0)||StringUtil.StringContainsSeparatedWord(e,"fine",!0)||StringUtil.StringContainsSeparatedWord(e,"coda",!0)||StringUtil.StringContainsSeparatedWord(e,"segno",!0)}return!1},onlyVisible=(i,e)=>{var b,A,S,E,x,P,C,T,k;if(!i)return"";const r=state$1.examSongId+"",s=new DOMParser().parseFromString(i,"text/xml"),o=((A=(b=s.getElementsByTagName("part-list"))==null?void 0:b[0])==null?void 0:A.getElementsByTagName("score-part"))||[],a=Array.from(o).map(I=>{var M,R,B;return((B=(R=(M=I.getElementsByTagName("part-name"))==null?void 0:M[0])==null?void 0:R.textContent)==null?void 0:B.trim())||""}),l=s.getElementsByTagName("part"),c=[...(S=l[0])==null?void 0:S.getElementsByTagName("measure")],u=[...(E=l[0])==null?void 0:E.getElementsByTagName("metronome")],d=[...(x=l[0])==null?void 0:x.getElementsByTagName("words")],g=[...(P=l[0])==null?void 0:P.getElementsByTagName("coda")],m=[...(C=l[0])==null?void 0:C.getElementsByTagName("rehearsal")];((k=(T=a[0])==null?void 0:T.toLocaleUpperCase)==null?void 0:k.call(T))==="COMMON"&&(e++,a.shift());const y=o[e];if(state$1.partListNames=a,y){const I=y.getAttribute("id");Array.from(l).forEach(M=>{var R,B,_,V,D;if(M&&M.getAttribute("id")!==I)(R=M.parentNode)==null||R.removeChild(M);else if(M&&M.getAttribute("id")!=="P1"){const F={};for(let N=0;N<u.length;N++){const K=u[N],G=(_=(B=K.parentElement)==null?void 0:B.parentElement)==null?void 0:_.parentElement;if(G){const q=c.indexOf(G);F[q]=K}}Object.values(F).forEach(N=>{var U;const K=(U=N.parentElement)==null?void 0:U.parentElement,G=K==null?void 0:K.parentElement,q=[...(G==null?void 0:G.childNodes)||[]],O=K?q.indexOf(K):-1;if(G&&O>-1){const $=c.indexOf(G),Y=M.getElementsByTagName("measure")[$];setElementNoteBefore(K,G,Y)}}),d.forEach(N=>{var G;let K=N.textContent||"";if(K=["cresc."].includes(K)?"":K,(isSpecialMark(K)||isSpeedKeyword(K)||isGradientWords(K)||isRepeatWord(K)||GRADIENT_SPEED_RESET_TAG)&&K){const q=(G=N.parentElement)==null?void 0:G.parentElement,O=q==null?void 0:q.parentElement,U=[...(O==null?void 0:O.childNodes)||[]],$=q?U.indexOf(q):-1;if(q&&O&&$>-1){const Y=c.indexOf(O),Q=M.getElementsByTagName("measure")[Y];Array.from((Q==null?void 0:Q.getElementsByTagName("words"))||[]).reduce((W,J)=>{var ce;return(ce=J.textContent)!=null&&ce.includes(K)&&W++,W},0)===0&&(["12280"].includes(r)?Q==null||Q.insertBefore(q.cloneNode(!0),Q==null?void 0:Q.childNodes[$]):setElementNoteBefore(q,O,Q))}}}),g.forEach(N=>{var U;const K=(U=N.parentElement)==null?void 0:U.parentElement,G=K==null?void 0:K.parentElement,q=[...(G==null?void 0:G.childNodes)||[]],O=K?q.indexOf(K):-1;if(K&&G&&O>-1){const $=c.indexOf(G),Y=M.getElementsByTagName("measure")[$];["12280"].includes(r)?Y==null||Y.insertBefore(K.cloneNode(!0),Y==null?void 0:Y.childNodes[O]):setElementNoteBefore(K,G,Y)}}),m.forEach(N=>{var q,O;const K=(q=N.parentElement)==null?void 0:q.parentElement,G=K==null?void 0:K.parentElement;if(G){const U=c.indexOf(G);(O=M.getElementsByTagName("measure")[U])==null||O.appendChild(K.cloneNode(!0))}})}else d.forEach((F,N)=>{var G,q,O;const K=F.textContent||"";if(isSpeedKeyword(K)&&K){const U=(q=(G=F.parentElement)==null?void 0:G.parentElement)==null?void 0:q.parentElement;if(U&&U.firstElementChild&&U.firstElementChild!==F){const $=(O=F.parentElement)==null?void 0:O.parentElement,Y=U.firstElementChild;U.insertBefore($,Y)}}});if(M&&M.getAttribute("id")===I){const F=M.getElementsByTagName("barline"),N=(V=F[F.length-1])==null?void 0:V.parentElement;if(((D=N==null?void 0:N.lastElementChild)==null?void 0:D.tagName)!=="barline"){const K=(N==null?void 0:N.children)||[];for(let G of K)if(G.tagName==="barline"){N==null||N.appendChild(G);break}}}}),Array.from(o).forEach(M=>{var R;M&&M.getAttribute("id")!==I&&((R=M.parentNode)==null||R.removeChild(M))})}return new XMLSerializer().serializeToString(appoggianceFormate(s))},appoggianceFormate=i=>{var s,o,a,l;if(!i)return i;const e=i.querySelectorAll("grace");if(!e.length)return i;const r=c=>c.querySelector("grace")?r(c==null?void 0:c.nextElementSibling):c;for(let c of e){const u=(s=c.parentElement)==null?void 0:s.querySelector("notations");if(u&&u.querySelectorAll("slur").length>1){let d=r((o=c.parentElement)==null?void 0:o.nextElementSibling);if(d&&d.querySelectorAll("slur").length>0){const g=Array.from(((a=d.querySelector("notations"))==null?void 0:a.children)||[]).map(y=>y.getAttribute("number")),m=u.querySelectorAll("slur");for(let y of m)g.includes(y.getAttribute("number"))||(l=d.querySelector("notations"))==null||l.appendChild(y)}}}return i},formatXML=(i,e)=>{var u,d,g;if(!i)return"";const r=new DOMParser().parseFromString(i,"text/xml"),s=Array.from(r.getElementsByTagName("measure")),o=Array.from(r.querySelectorAll("repeat"));compatibleXmlPitchVoice(r),getComposer(r),parseXmlToRepeat(o),state$1.isEvxml&&(analyzeEvxml(r),customizationXml(r));let a=-1,l=-1,c=-1;for(const m of s){l===-1&&m.getElementsByTagName("beats").length&&(l=parseInt(m.getElementsByTagName("beats")[0].textContent||"4")),c===-1&&m.getElementsByTagName("beat-type").length&&(c=parseInt(m.getElementsByTagName("beat-type")[0].textContent||"4")),a===-1&&m.getElementsByTagName("per-minute").length&&(a=Number((u=m.getElementsByTagName("per-minute")[0])==null?void 0:u.textContent));const y=parseInt(((d=m.getElementsByTagName("divisions")[0])==null?void 0:d.textContent)||"256");m.getElementsByTagName("note").length&&state$1.isEvxml&&(Array.from(m.getElementsByTagName("note"))||[]).forEach(S=>{var E;S.getElementsByTagName("grace").length||(!S.getElementsByTagName("duration").length||S.getElementsByTagName("duration").length&&((E=S.getElementsByTagName("duration")[0])==null?void 0:E.textContent)==0)&&m.removeChild(S)});const b=new RegExp("[\\u4E00-\\u9FFF]+","g");if(m.getElementsByTagName("words").length&&state$1.isEvxml&&(Array.from(m.getElementsByTagName("words"))||[]).forEach(S=>{var E;S!=null&&S.textContent&&b.test(S==null?void 0:S.textContent)&&((E=S==null?void 0:S.parentNode)!=null&&E.parentNode)&&m.removeChild(S.parentNode.parentNode)}),m.getElementsByTagName("note").length===0){const A=(g=m.getElementsByTagName("forward")[0])==null?void 0:g.getElementsByTagName("duration")[0];A&&(A.textContent="0"),m.innerHTML=m.innerHTML+`
  122. <note>
  123. <rest measure="yes"/>
  124. <duration>${y*l}</duration>
  125. <voice>1</voice>
  126. <type>whole</type>
  127. </note>`}}return(!a||a==-1)&&(a=100),state$1.originSpeed||(state$1.originSpeed=state$1.speed=a||100),new XMLSerializer().serializeToString(r)},formateTimes=i=>{var Q,xe,ue,W,J,ce,ge,Ee,Te,De,te,ae,H,ve,pe,ee,ne,me,Be,oe,be,Ie,Re,Pe,he,Ce,ye,Fe,Ue,Ye,Ge,Ke,et,Ze,st,vt,lt,dt,Tt,ut,pt,Ct,Vt;const e=customData.customNoteRealValue,r=customData.customNoteCurrentTime;state$1.examSongId+"",state$1.partIndex+"";let s=browserInfo.huawei?.08:0;const o=[],a=[],l=[],{originSpeed:c}=state$1;let u=0;const d=(Xe,ie)=>{var We,nt,mt,ht,qe,bt;return["906"].includes(state$1.cbsExamSongId)?((We=ie.measures[0])==null?void 0:We.realKey)||Xe:["782","784"].includes(state$1.cbsExamSongId)&&[14,16,30,32].includes((nt=ie.firstVerticalMeasure)==null?void 0:nt.measureNumber)?((mt=o[o.length-1])==null?void 0:mt.realKey)||Xe:["900","901","640","641","739","740","800","801","773","774","869","872","714","715"].includes(state$1.cbsExamSongId)&&(((ht=ie.firstVerticalMeasure)==null?void 0:ht.measureNumber)===3||((qe=ie.firstVerticalMeasure)==null?void 0:qe.measureNumber)===9)&&((bt=ie.measures[0])==null?void 0:bt.realKey)||Xe};if(!i.cursor)return[];const g=i.cursor.Iterator;console.time("音符跑完时间");let m=0,y=0,b=[],A=[],S=0,E=0,x=0,P="quarter",C,T,k=0,I=0,M=0,R=0,B=0,_=0,V=0,D=0;const F=[];state$1.gradualTimes&&console.log("后台设置的渐慢小节时间",state$1.gradual,state$1.gradualTimes);let N=g.currentTimeStamp.RealValue;const K=[];let G=!1,q=0,O=0;for(;!g.EndReached;){let Xe=0,ie=0;for(let ht=0;ht<g.currentVoiceEntries.length;ht++){const qe=g.currentVoiceEntries[ht];if(qe.isGrace){Xe==ht&&Xe==0&&(Xe=g.currentVoiceEntries.length>1?1:0);continue}qe.notes[0].length.realValue<ie&&(Xe=ht),ie=qe.notes[0].length.realValue}const de=(Q=g.currentVoiceEntries)!=null&&Q[Xe]?[(xe=g.currentVoiceEntries)==null?void 0:xe[Xe]]:[];let ke=[],Oe=0;Oe=((ue=g.currentMeasure)==null?void 0:ue.verticalSourceStaffEntryContainers.length)||0,state$1.multitrack>0?ke=[...g.CurrentVoiceEntries]:ke=[...g.CurrentVoiceEntries].filter(ht=>{var qe;return ht&&((qe=ht==null?void 0:ht.ParentVoice)==null?void 0:qe.VoiceId)!=1});let We=0,nt=!1,mt=!1;if(ke.length&&!G){nt=!0;let ht=[...g.CurrentVoiceEntries].reduce((qe,bt)=>(qe.push(...bt.Notes),qe),[]);if(ht=ht.filter(qe=>!qe.IsGraceNote),ht=ht.sort((qe,bt)=>{var Et,It;return((Et=qe==null?void 0:qe.length)==null?void 0:Et.realValue)-((It=bt==null?void 0:bt.length)==null?void 0:It.realValue)}),We=((J=(W=ht==null?void 0:ht[0])==null?void 0:W.length)==null?void 0:J.realValue)||0,state$1.multitrack>0&&ke.length===2){const qe=((ge=(ce=ht[0])==null?void 0:ce.length)==null?void 0:ge.realValue)||0;q=(((Te=(Ee=ht[ht.length-1])==null?void 0:Ee.length)==null?void 0:Te.realValue)||0)-qe,G=q!==0}}(De=F[F.length-1])!=null&&De.isDouble&&!ke.length&&(mt=!0),state$1.multitrack>0&&!nt&&G&&(nt=!0,We=q,G=!1,q=0),K.push(g.currentTimeStamp.realValue-N),N=g.currentTimeStamp.realValue;for(const ht of de){let qe=ht.notes[0];if(qe.IsGraceNote&&(qe=qe.parentStaffEntry.voiceEntries.find(Et=>!Et.isGrace).notes[0]),qe.fixedKey=qe.ParentVoiceEntry.ParentVoice.Parent.SubInstruments[0].fixedKey||0,(te=qe==null?void 0:qe.voiceEntry)!=null&&te.isGrace){nt=!0;let bt=[...g.currentVoiceEntries].reduce((Et,It)=>(Et.push(...It.notes),Et),[]);bt=bt.sort((Et,It)=>{var z,fe;return((z=It==null?void 0:It.length)==null?void 0:z.realValue)-((fe=Et==null?void 0:Et.length)==null?void 0:fe.realValue)}),We=We!=0?Math.min((H=(ae=bt==null?void 0:bt[0])==null?void 0:ae.length)==null?void 0:H.realValue,We):(pe=(ve=bt==null?void 0:bt[0])==null?void 0:ve.length)==null?void 0:pe.realValue}state$1.multitrack>0&&We>qe.length.realValue&&(We=qe.length.realValue),qe.maxNoteNum=Oe,F.push({note:qe,iterator:{...g},currentTime:We,isDouble:nt,isMutileSubject:mt,measuresTempoInBPM:(ee=qe==null?void 0:qe.sourceMeasure)==null?void 0:ee.tempoInBPM})}g.moveToNextVisibleVoiceEntry(!1),g.backJumpOccurred&&(O+=1),g.repeatIdx=O}const U=F.some(Xe=>Xe.measuresTempoInBPM!==F[0].measuresTempoInBPM);console.log("变速曲子",U,F);let $=[];for(let{note:Xe,iterator:ie,currentTime:de,isDouble:ke,isMutileSubject:Oe}of F){if(Xe){if(u!=((ne=Xe==null?void 0:Xe.sourceMeasure)==null?void 0:ne.MeasureNumberXML)&&(y=0),y===0&&u!=((me=Xe==null?void 0:Xe.sourceMeasure)==null?void 0:me.MeasureNumberXML)&&(u=(Be=Xe==null?void 0:Xe.sourceMeasure)==null?void 0:Be.MeasureNumberXML,l.push(Xe.sourceMeasure)),y===0&&state$1.isSpecialBookCategory)for(const ot of(oe=Xe.sourceMeasure)==null?void 0:oe.TempoExpressions)(be=ot==null?void 0:ot.InstantaneousTempo)!=null&&be.beatUnit&&(P=ot.InstantaneousTempo.beatUnit);B==((Ie=Xe.sourceMeasure)==null?void 0:Ie.MeasureNumberXML)&&m!==0?R++:(B=(Re=Xe.sourceMeasure)==null?void 0:Re.MeasureNumberXML,R=0);let We=Xe.sourceMeasure.tempoInBPM;const{metronomeNoteIndex:nt}=ie.currentMeasure;nt!==0&&nt>y&&(We=((Pe=o[o.length-1])==null?void 0:Pe.speed)||100);let mt=[];mt=[(Ce=(he=Xe.sourceMeasure)==null?void 0:he.verticalMeasureList)==null?void 0:Ce[0]];const{realValue:ht}=ie.currentTimeStamp,{RealValue:qe,Denominator:bt}=formatDuration(ie.currentMeasure.activeTimeSignature,ie.currentMeasure.duration);let{wholeValue:Et,numerator:It,denominator:z,realValue:fe}=Xe.length;e[m]&&(fe=e[m]),ke&&de>0&&de!=fe&&(fe=de),r&&Oe&&K[m+1]>0&&fe>K[m+1]&&(fe=K[m+1]);let Z=E;state$1.isEvxml&&Z<D-s&&(Z=D-s);let re=0;We!==c&&!U?re=c||We||100:re=(state$1.isSpecialBookCategory?We:c)||1,m===0&&(state$1.isOpenMetronome&&(s+=getFixTime(re),state$1.fixtime=s),V=getFixTime(re));let we=0,Se=(state$1.isSpecialBookCategory?We:c)||1;T=ie.currentMeasure.speedInfo||T,C=((ye=i.Sheet.SoundTempos)==null?void 0:ye.get(Xe.sourceMeasure.measureListIndex))||C,(!C||C.length<2)&&(C=createSpeedInfo(T,Se));const Me=ie.currentMeasure.measureListIndex;if(state$1.gradualTimes&&Object.keys(state$1.gradualTimes).length>0){const ot=state$1.gradual.find((gt,Rt)=>{var Nt;const kt=state$1.gradual[Rt+1];return gt[0].measureIndex<=Me&&((Nt=gt[1])==null?void 0:Nt.measureIndex)>=Me&&(!kt||(kt==null?void 0:kt[0].measureIndex)!==Me)}),[$e,it]=ot||[];if($e&&it){const gt=it.measureIndex-$e.measureIndex,Rt=$e.closedMeasureIndex==Me&&y>=$e.noteInMeasureIndex,kt=it.closedMeasureIndex===Me&&y<it.noteInMeasureIndex,Nt=$e.closedMeasureIndex!==Me&&it.closedMeasureIndex!==Me;if(Rt||kt||Nt){const Ht=state$1.gradualTimes[$e.measureIndex],Ft=state$1.gradualTimes[it.measureIndex];if(Ht&&Ft){const Kt=gt-$e.leftDuration/$e.allDuration+it.leftDuration/it.allDuration,ni=dayjs(tranTime(Ft)).diff(dayjs(tranTime(Ht)),"millisecond");we=fe/qe/Kt*ni/1e3}}}}else if(state$1.appName==="GYM"&&T&&C&&(T.startXmlNoteIndex===y||k>0)){const ot=C[0]-(C[1]-C[0]),{resetXmlNoteIndex:$e,endXmlNoteIndex:it}=T,gt=it;let Rt=(C[C.length-1]-ot)/gt;if(Rt=Xe.DotsXml?Rt/1.5:Rt,k<gt){const Nt=Math.ceil(Se+Rt*k);let Ht=getTimeByBeatUnit(P,Nt,ie.currentMeasure.activeTimeSignature.Denominator);const Ft=(Et+It/z)*bt*(60/Ht);Se+=Math.ceil(Rt*(k+1)),Ht=getTimeByBeatUnit(P,Se,ie.currentMeasure.activeTimeSignature.Denominator);const Kt=(Et+It/z)*bt*(60/Ht);we=(Ft+Kt)/2}else $e>k&&(Se=(Fe=o[m-1])==null?void 0:Fe.speed);re=(state$1.isSpecialBookCategory?getTimeByBeatUnit(P,Se,ie.currentMeasure.activeTimeSignature.Denominator):c)||1;const kt=!(k<gt)&&!($e>k);k++,kt&&(k=0,T=void 0,C=void 0,A=[])}const Le=fe;let He=we||Math.min(qe,fe)*formatBeatUnit(P)*(60/re);const at=qe*bt*(60/re);["1788501975122489346","1788502467554750466"].includes(state$1.cbsExamSongId)&&(m==13&&(He=He/2),m==44&&(He=He*6),m==56&&(He=He*4)),E+=He,x+=He;let rt=He+Z;const ft=Xe.fixedKey||0,je=(Ye=(Ue=mt[0])==null?void 0:Ue.vfVoices["1"])==null?void 0:Ye.tickables[R];if(o.length&&o[o.length-1].relativeTime===Z)continue;if(m===0&&!state$1.isAppPlay){let ot=0;(((Ke=(Ge=Xe.sourceMeasure.verticalMeasureList)==null?void 0:Ge[0])==null?void 0:Ke.staffEntries)||[]).forEach(it=>{var gt,Rt,kt,Nt,Ht,Ft;(Ft=(Ht=(Nt=(kt=(Rt=(gt=it==null?void 0:it.sourceStaffEntry)==null?void 0:gt.voiceEntries)==null?void 0:Rt[0])==null?void 0:kt.notes)==null?void 0:Nt[0])==null?void 0:Ht.length)!=null&&Ft.realValue&&(ot+=it.sourceStaffEntry.voiceEntries[0].notes[0].length.realValue)}),ot<qe&&(S=at-ot*formatBeatUnit(P)*(60/re)),["2670"].includes(state$1.cbsExamSongId)||S>0&&(s+=S,state$1.fixtime=s),state$1.isEvxml&&(s=state$1.evXmlBeginTime?state$1.evXmlBeginTime:s,state$1.fixtime=s),console.log("节拍器时间",s,state$1.evXmlBeginTime)}let St=(et=mt[0])==null?void 0:et.stave;Xe.sourceMeasure.multipleRestMeasures&&(I=Xe.sourceMeasure.multipleRestMeasures,M=0),M<I?M++:(M=0,I=0);let wt=0,Dt=0;if(state$1.isEvxml&&((Ze=Xe==null?void 0:Xe.noteTimeInfo)!=null&&Ze.length)){const ot=((st=$.filter($e=>$e===(je==null?void 0:je.attrs.id)))==null?void 0:st.length)||0;wt=(vt=Xe==null?void 0:Xe.noteTimeInfo[ot])==null?void 0:vt.begin,Dt=(lt=Xe==null?void 0:Xe.noteTimeInfo[ot])==null?void 0:lt.end,wt&&(Z=wt-s)}je!=null&&je.attrs.id&&$.push(je==null?void 0:je.attrs.id);const At={isStaccato:Xe.voiceEntry.isStaccato(),isRestFlag:Xe.isRestFlag,noteId:Xe.NoteToGraphicalNoteObjectId,measureListIndex:Xe.sourceMeasure.measureListIndex,MeasureNumberXML:Xe.sourceMeasure.MeasureNumberXML,_noteLength:Le,svgElement:je,frequency:((dt=Xe==null?void 0:Xe.pitch)==null?void 0:dt.frequency)||-1,nextFrequency:((Tt=Xe==null?void 0:Xe.pitch)==null?void 0:Tt.nextFrequency)||-1,prevFrequency:((ut=Xe==null?void 0:Xe.pitch)==null?void 0:ut.prevFrequency)||-1,difftime:S,octaveOffset:(pt=mt[0])==null?void 0:pt.octaveOffset,speed:Se,beatSpeed:re,i:m,si:y,stepSpeeds:A,measureOpenIndex:l.length-1,measures:b,tempoInBPM:Xe.sourceMeasure.tempoInBPM,measureLength:at,relaMeasureLength:x,id:je==null?void 0:je.attrs.id,note:Xe.halfTone+12,fixtime:s,relativeTime:retain(Z),time:state$1.isEvxml&&wt?retain(wt):retain(Z+s),endtime:state$1.isEvxml&&Dt?retain(Dt):retain(rt+s),relaEndtime:retain(rt),realValue:ht,halfTone:Xe.halfTone,noteElement:Xe,fixedKey:ft,realKey:0,duration:0,formatLyricsEntries:formatLyricsEntries(Xe),stave:St,firstVerticalMeasure:mt[0],noteLength:1,osdmContext:i,speedbeatUnit:P,multipleRestMeasures:M,totalMultipleRestMeasures:I,measureSpeed:We,maxNoteNum:Xe.maxNoteNum,repeatIdx:ie.repeatIdx||0,xmlNoteTime:retain(_),xmlNoteEndTime:retain(_+He),xmlMp3BeatFixTime:V,notBeatFixtime:state$1.isOpenMetronome?s-V:s,notBeatTime:state$1.isEvxml&&wt?retain(wt):retain(Z+(state$1.isOpenMetronome?s-V:s)),notBeatEndTime:state$1.isEvxml&&Dt?retain(Dt):retain(rt+(state$1.isOpenMetronome?s-V:s))};if(_+=He,state$1.isEvxml&&At.repeatIdx&&At.i>0&&At.MeasureNumberXML===1&&At.noteId===0){const ot=state$1.evXmlBeginArr[At.repeatIdx]||0;At.time=At.time+ot,At.endtime=At.endtime+ot,E=E+ot,Z=Z+ot}At.realKey=d(Xe.halfTone-ft*12,At),At.duration=At.endtime-At.time;let Bt=((Vt=(Ct=mt[0])==null?void 0:Ct.vfVoices["1"])==null?void 0:Vt.tickables)||[];[121].includes(state$1.subjectId)&&(Bt=Xe.sourceMeasure.verticalSourceStaffEntryContainers),Bt=Bt.filter(ot=>{var $e;return(($e=ot.attrs)==null?void 0:$e.type)!=="GhostNote"});const _t=state$1.isCombineRender&&Xe.maxNoteNum?Xe.maxNoteNum:Bt.length;At.noteLength=_t||1,o.push(At),a.push(At.id),b.push(At),y<_t-1?y++:(y=0,x=0,b=[]),D=At.endtime}m++}const Y=o.sort((Xe,ie)=>Xe.relativeTime-ie.relativeTime).map((Xe,ie)=>Object.assign(Xe,{i:ie}));console.timeEnd("音符跑完时间");try{i.cursor.reset()}catch(Xe){}return state$1.activeMeasureIndex=Y[0].MeasureNumberXML,Y},getNoteByMeasuresSlursStart=i=>{let e=i,r;if(i.noteElement.tie&&i.noteElement.tie.StartNote&&(r=i.noteElement.tie.StartNote),e&&r&&r!==e.noteElement){const s=[];for(const o of state$1.times)r===o.noteElement&&s.push(o);if(s.length)return s.find(o=>o.i===i.i-1)||s[0]}return e},getComposer=i=>{var r,s;const e=Array.from(i.querySelectorAll("creator"));for(const o of e)o&&o.getAttribute("type")==="composer"&&!state$1.musicComposer&&(state$1.musicComposer=((r=o.textContent)==null?void 0:r.trim())||""),o&&o.getAttribute("type")==="lyricist"&&!state$1.musicLyricist&&(state$1.musicLyricist=((s=o.textContent)==null?void 0:s.trim())||"")},parseXmlToRepeat=i=>{if(!i.length)return;let e=[],r=0,s=0;for(let o=0;o<i.length;o++){const a=i[o],l=a.getAttribute("direction");let c=a.parentNode;for(;c&&c.tagName!=="measure";)c=c.parentNode;let u=c.getAttribute("number");u=u?Number(u):0,l==="forward"?r=u:l==="backward"&&(s=u,e.push({start:r,end:s}))}state$1.repeatInfo=e},verifyCanRepeat=(i,e)=>{let r=-1;if(state$1.repeatInfo.length){for(let s=state$1.repeatInfo.length-1;s>=0;s--){const{start:o,end:a}=state$1.repeatInfo[s];if(i<=o&&e>=a)return r=s,{repeatIdx:r,canRepeat:!0}}return{repeatIdx:r,canRepeat:!1}}else return{repeatIdx:r,canRepeat:!1}},customizationXml=i=>{var c,u;const e=Array.from(i.querySelectorAll("credit")),r=Array.from(i.querySelectorAll("creator")),s=Array.from(i.querySelectorAll("grace")),o=Array.from(i.getElementsByTagName("measure")),a=Array.from(i.getElementsByTagName("note"));let l=0;if(a&&a.length)for(const d of a)l<d.getElementsByTagName("lyric").length&&(l=d.getElementsByTagName("lyric").length);if(state$1.maxLyricNum=l,window.DYCustomRepeatCount=state$1.maxLyricNum,console.log("歌词次数",l),e&&e.length){for(const d of e)if(((u=(c=d.getElementsByTagName("credit-type"))==null?void 0:c[0])==null?void 0:u.textContent)==="lyricist"){const g=d.getElementsByTagName("credit-words");g==null||g[0].setAttribute("justify","right")}}if(r&&r.length)for(const d of r)d.getAttribute("type");if(s&&s.length)for(const d of s)d==null||d.setAttribute("slash","yes");for(const d of o){const g=d.getElementsByTagName("note").length,m=d.getElementsByTagName("segno").length,b=Array.from(d.getElementsByTagName("sound")).some(A=>A.getAttribute("segno")==="segno");!g&&m&&b&&d.parentNode.removeChild(d)}if(l>1&&!(i.querySelectorAll("repeat").length>0)){const g=o.last();if(g.getElementsByTagName("barline").length){const m=g.getElementsByTagName("barline")[0];m.innerHTML=m.innerHTML+'<repeat direction="backward" />'}else g.innerHTML=g.innerHTML+`
  128. <barline location="right">
  129. <bar-style>light-heavy</bar-style>
  130. <repeat direction="backward" />
  131. </barline>`}},analyzeEvxml=(i,e)=>{var u,d,g,m,y,b,A,S,E,x,P,C,T,k,I,M,R,B,_;const r=(g=(d=(u=i.getElementsByTagName("timegap")[0])==null?void 0:u.getElementsByTagName("values")[0])==null?void 0:d.getElementsByTagName("item")[0])==null?void 0:g.getAttribute("num"),s=(b=(y=(m=i.getElementsByTagName("timegap")[0])==null?void 0:m.getElementsByTagName("values")[0])==null?void 0:y.getElementsByTagName("item")[0])==null?void 0:b.getAttribute("den"),o=(E=(S=(A=i.getElementsByTagName("timegap")[0])==null?void 0:A.getElementsByTagName("values")[0])==null?void 0:S.getElementsByTagName("item")[1])==null?void 0:E.getAttribute("num"),a=(C=(P=(x=i.getElementsByTagName("timegap")[0])==null?void 0:x.getElementsByTagName("values")[0])==null?void 0:P.getElementsByTagName("item")[1])==null?void 0:C.getAttribute("den"),l=(T=i.getElementsByTagName("timegap"))!=null&&T.length?Array.from((R=(M=(I=(k=i.getElementsByTagName("timegap"))==null?void 0:k[0])==null?void 0:I.getElementsByTagName("values"))==null?void 0:M[0])==null?void 0:R.getElementsByTagName("item")):[],c=i.getElementsByTagName("measure")[0];if(c){const V=(_=(B=c.getElementsByTagName("times")[0])==null?void 0:B.getElementsByTagName("time")[0])==null?void 0:_.getAttribute("begin");state$1.evXmlBeginTime=V?V/1e3:r?60/state$1.originSpeed*r*4/s:0,state$1.secondEvXmlBeginTime=V?0:o?60/state$1.originSpeed*o*4/a:0;const D=i.getElementsByTagName("timegap").length>0,F=i.getElementsByTagName("times").length>0;if(l&&l.length&&!V)for(const N of l){const K=N==null?void 0:N.getAttribute("num"),G=N==null?void 0:N.getAttribute("den"),q=K?60/state$1.originSpeed*K*4/G:0;state$1.evXmlBeginArr.push(q)}console.log("🚀 ~ evxml解析","有timegap:",D,"有times:",F,"timegap集合",state$1.evXmlBeginArr,"第一个timegap",state$1.evXmlBeginTime)}},compatibleXmlPitchVoice=i=>{var s,o,a;if(Array.from(i.getElementsByTagName("part-name")).filter(l=>{var c;return((c=l==null?void 0:l.textContent)==null?void 0:c.trim().toLocaleUpperCase())!=="COMMON"}).length==1){const c=((a=(o=(s=(Array.from(i.getElementsByTagName("instrument-name"))||[])[0])==null?void 0:s.textContent)==null?void 0:o.trim())==null?void 0:a.toLocaleLowerCase())||"";let u=!1;switch(state$1.musicalCodeId){case 37:case 38:u=!!(!c||c.includes("solo")||c.includes("tenor recorder"));break;case 33:u=!!(!c||c.includes("solo")||c.includes("panpipes"));break;case 34:u=!!(!c||c.includes("solo")||c.includes("ocarina"));break;case 35:u=!!(!c||c.includes("solo")||c.includes("woodwind"));break;case 39:u=!!(!c||c.includes("solo")||c.includes("whistling"));break;default:u=!!(!c||c.includes("solo"));break}window.xmlNeedAdjustVoice=u}},Notfind=defineComponent({name:"notfund",render(){return createVNode(Empty,{image:"error",description:this.$route.path+" 路径不存在"},{default:()=>[createVNode(Button$1,{type:"primary",onClick:()=>this.$router.replace("/")},{default:()=>[createTextVNode("返回首页")]})]})}});export{api_closeCamera as $,handleEndBegin as A,Swipe as B,SwipeItem as C,Popup as D,handleEndSoundCheck as E,Fragment as F,handleViewReport as G,handleStartEvaluat as H,Icon$1 as I,api_videoUpdate as J,api_proxyServiceMessage as K,connectWebsocket as L,getNoteByMeasuresSlursStart as M,NoticeBar as N,useClickAway as O,Popover as P,Button$1 as Q,RouterView as R,Snackbar$1 as S,TheError as T,Slider as U,handleSetSpeed as V,Tabs as W,Tab as X,Cell as Y,Switch$1 as Z,api_openCamera as _,setBehaviorId as a,promisefiyPostMessage as a$,store_legacy as a0,toRefs as a1,getInstrumentName as a2,Picker as a3,List$1 as a4,isVNode as a5,api_cloudDestroy as a6,postMessage$1 as a7,useRoute$1 as a8,showLoadingToast as a9,mappingVoicePart as aA,isRhythmicExercises as aB,subjectFingering as aC,formateTimes as aD,Metronome as aE,getStorageSpeed as aF,nextTick as aG,api_cloudLoading as aH,addMeasureScore as aI,createRouter as aJ,createWebHashHistory as aK,Notfind as aL,setStoreData as aM,createApp as aN,Vue3Lottie as aO,api_savePicture as aP,musicRenderTypeKey as aQ,resetRenderMusicScore as aR,getAudioCurrentTime as aS,handleRessetState as aT,toggleFollow as aU,handleFollowStart as aV,handleFollowEnd as aW,api_setEventTracking as aX,Tick as aY,FollowPractice as aZ,handleInitTick as a_,request$1$1 as aa,closeToast as ab,getBehaviorId as ac,getCampId as ad,onUnmounted as ae,handleChangeSection as af,togglePlay as ag,Circle as ah,metronomeData as ai,handleResetPlay as aj,Badge as ak,api_back as al,useRouter as am,Field as an,getSecondRPM as ao,customData as ap,setGlobalData as aq,api_setStatusBarVisibility as ar,onBeforeUnmount as as,Skeleton as at,Transition as au,MusicScore as av,AudioList as aw,Evaluating as ax,Fingering as ay,isSpecialShapedScreen as az,setCampId as b,api_setCache as b0,getToken as b1,followData as b2,api_suspendPlay as b3,hanldeDirectSelection as b4,showDialog as b5,api_openWebView as b6,musicscoresettingKey as b7,createNamespace$1 as b8,useChildren$1 as b9,commonjsGlobal as bA,EnumMusicRenderType as bB,moveGracePosition as bC,IPlatform as bD,api_musicPracticeRecordDetail as bE,getMusicDetail as bF,setCustomGradual as bG,setCustomNoteRealValue as bH,addNoteBBox as bI,initSmoothAnimation as bJ,simple_musicPage as bK,getNote as bL,gotoNext as bM,moveSmoothAnimationByPlayTime as bN,index as bO,useCustomFieldValue as ba,numericProp as bb,unknownProp as bc,withInstall as bd,makeStringProp as be,extend$2 as bf,makeRequiredProp as bg,truthProp as bh,addUnit as bi,useParent$1 as bj,pick$1 as bk,mergeProps as bl,defineListenerProp as bm,useZIndex as bn,useTeleport as bo,useLock as bp,useRouteListener as bq,Teleport as br,call as bs,withDirectives as bt,createNamespace as bu,vShow as bv,api_getToken as bw,studentQueryUserInfo as bx,Home as by,__vitePreload as bz,onMounted as c,defineComponent as d,computed as e,storeData as f,getQuery as g,createVNode as h,setUserInfo as i,getRandomKey as j,createTextVNode as k,ref as l,state$1 as m,reactive as n,onBeforeMount as o,evaluatingData as p,showToast as q,request as r,setToken as s,Progress as t,queryString as u,api_shareAchievements as v,watch as w,browser as x,handlePerformDetection as y,handleStartBegin as z};