diff --git a/assets/index-C73BETHf.js b/assets/index-B7Yak-tY.js similarity index 98% rename from assets/index-C73BETHf.js rename to assets/index-B7Yak-tY.js index 7a487e1a1..9d7b711c2 100644 --- a/assets/index-C73BETHf.js +++ b/assets/index-B7Yak-tY.js @@ -1,4 +1,4 @@ -var vq=Object.defineProperty;var hR=e=>{throw TypeError(e)};var yq=(e,t,n)=>t in e?vq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ju=(e,t,n)=>yq(e,typeof t!="symbol"?t+"":t,n),mR=(e,t,n)=>t.has(e)||hR("Cannot "+n);var Xn=(e,t,n)=>(mR(e,t,"read from private field"),n?n.call(e):t.get(e)),Fm=(e,t,n)=>t.has(e)?hR("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Xi=(e,t,n,r)=>(mR(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);function bq(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var kA=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};function ts(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ao(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var TA={exports:{}},Zy={},RA={exports:{}},Ot={};/** +var vq=Object.defineProperty;var hR=e=>{throw TypeError(e)};var yq=(e,t,n)=>t in e?vq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ju=(e,t,n)=>yq(e,typeof t!="symbol"?t+"":t,n),mR=(e,t,n)=>t.has(e)||hR("Cannot "+n);var Xn=(e,t,n)=>(mR(e,t,"read from private field"),n?n.call(e):t.get(e)),Fm=(e,t,n)=>t.has(e)?hR("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Xi=(e,t,n,r)=>(mR(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);function bq(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var kA=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};function ts(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ao(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var TA={exports:{}},Zy={},RA={exports:{}},Ct={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var vq=Object.defineProperty;var hR=e=>{throw TypeError(e)};var yq=(e,t,n)=>t in * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var lh=Symbol.for("react.element"),wq=Symbol.for("react.portal"),Sq=Symbol.for("react.fragment"),xq=Symbol.for("react.strict_mode"),_q=Symbol.for("react.profiler"),Oq=Symbol.for("react.provider"),Cq=Symbol.for("react.context"),Pq=Symbol.for("react.forward_ref"),Eq=Symbol.for("react.suspense"),kq=Symbol.for("react.memo"),Tq=Symbol.for("react.lazy"),gR=Symbol.iterator;function Rq(e){return e===null||typeof e!="object"?null:(e=gR&&e[gR]||e["@@iterator"],typeof e=="function"?e:null)}var IA={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},MA=Object.assign,NA={};function Tf(e,t,n){this.props=e,this.context=t,this.refs=NA,this.updater=n||IA}Tf.prototype.isReactComponent={};Tf.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Tf.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function LA(){}LA.prototype=Tf.prototype;function SO(e,t,n){this.props=e,this.context=t,this.refs=NA,this.updater=n||IA}var xO=SO.prototype=new LA;xO.constructor=SO;MA(xO,Tf.prototype);xO.isPureReactComponent=!0;var vR=Array.isArray,AA=Object.prototype.hasOwnProperty,_O={current:null},DA={key:!0,ref:!0,__self:!0,__source:!0};function $A(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)AA.call(t,r)&&!DA.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1{throw TypeError(e)};var yq=(e,t,n)=>t in * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var tr=typeof Symbol=="function"&&Symbol.for,kO=tr?Symbol.for("react.element"):60103,TO=tr?Symbol.for("react.portal"):60106,e0=tr?Symbol.for("react.fragment"):60107,t0=tr?Symbol.for("react.strict_mode"):60108,n0=tr?Symbol.for("react.profiler"):60114,r0=tr?Symbol.for("react.provider"):60109,o0=tr?Symbol.for("react.context"):60110,RO=tr?Symbol.for("react.async_mode"):60111,i0=tr?Symbol.for("react.concurrent_mode"):60111,a0=tr?Symbol.for("react.forward_ref"):60112,s0=tr?Symbol.for("react.suspense"):60113,vK=tr?Symbol.for("react.suspense_list"):60120,l0=tr?Symbol.for("react.memo"):60115,u0=tr?Symbol.for("react.lazy"):60116,yK=tr?Symbol.for("react.block"):60121,bK=tr?Symbol.for("react.fundamental"):60117,wK=tr?Symbol.for("react.responder"):60118,SK=tr?Symbol.for("react.scope"):60119;function No(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case kO:switch(e=e.type,e){case RO:case i0:case e0:case n0:case t0:case s0:return e;default:switch(e=e&&e.$$typeof,e){case o0:case a0:case u0:case l0:case r0:return e;default:return t}}case TO:return t}}}function ZA(e){return No(e)===i0}Bt.AsyncMode=RO;Bt.ConcurrentMode=i0;Bt.ContextConsumer=o0;Bt.ContextProvider=r0;Bt.Element=kO;Bt.ForwardRef=a0;Bt.Fragment=e0;Bt.Lazy=u0;Bt.Memo=l0;Bt.Portal=TO;Bt.Profiler=n0;Bt.StrictMode=t0;Bt.Suspense=s0;Bt.isAsyncMode=function(e){return ZA(e)||No(e)===RO};Bt.isConcurrentMode=ZA;Bt.isContextConsumer=function(e){return No(e)===o0};Bt.isContextProvider=function(e){return No(e)===r0};Bt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===kO};Bt.isForwardRef=function(e){return No(e)===a0};Bt.isFragment=function(e){return No(e)===e0};Bt.isLazy=function(e){return No(e)===u0};Bt.isMemo=function(e){return No(e)===l0};Bt.isPortal=function(e){return No(e)===TO};Bt.isProfiler=function(e){return No(e)===n0};Bt.isStrictMode=function(e){return No(e)===t0};Bt.isSuspense=function(e){return No(e)===s0};Bt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===e0||e===i0||e===n0||e===t0||e===s0||e===vK||typeof e=="object"&&e!==null&&(e.$$typeof===u0||e.$$typeof===l0||e.$$typeof===r0||e.$$typeof===o0||e.$$typeof===a0||e.$$typeof===bK||e.$$typeof===wK||e.$$typeof===SK||e.$$typeof===yK)};Bt.typeOf=No;YA.exports=Bt;var xK=YA.exports,IO=xK,_K={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},OK={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},CK={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},XA={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},MO={};MO[IO.ForwardRef]=CK;MO[IO.Memo]=XA;function _R(e){return IO.isMemo(e)?XA:MO[e.$$typeof]||_K}var PK=Object.defineProperty,EK=Object.getOwnPropertyNames,OR=Object.getOwnPropertySymbols,kK=Object.getOwnPropertyDescriptor,TK=Object.getPrototypeOf,CR=Object.prototype;function QA(e,t,n){if(typeof t!="string"){if(CR){var r=TK(t);r&&r!==CR&&QA(e,r,n)}var o=EK(t);OR&&(o=o.concat(OR(t)));for(var i=_R(e),a=_R(t),s=0;s=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var AK={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},DK=!1,$K=/[A-Z]|^ms/g,FK=/_EMO_([^_]+?)_([^]*?)_EMO_/g,JA=function(t){return t.charCodeAt(1)===45},PR=function(t){return t!=null&&typeof t!="boolean"},s1=qA(function(e){return JA(e)?e:e.replace($K,"-$&").toLowerCase()}),ER=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(FK,function(r,o,i){return ia={name:o,styles:i,next:ia},o})}return AK[t]!==1&&!JA(t)&&typeof n=="number"&&n!==0?n+"px":n},WK="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function kp(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return ia={name:o.name,styles:o.styles,next:ia},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)ia={name:a.name,styles:a.styles,next:ia},a=a.next;var s=i.styles+";";return s}return VK(e,t,n)}case"function":{if(e!==void 0){var l=ia,u=n(e);return ia=l,kp(e,t,u)}break}}var f=n;if(t==null)return f;var h=t[f];return h!==void 0?h:f}function VK(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var AK={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},DK=!1,$K=/[A-Z]|^ms/g,FK=/_EMO_([^_]+?)_([^]*?)_EMO_/g,JA=function(t){return t.charCodeAt(1)===45},PR=function(t){return t!=null&&typeof t!="boolean"},s1=qA(function(e){return JA(e)?e:e.replace($K,"-$&").toLowerCase()}),ER=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(FK,function(r,o,i){return ia={name:o,styles:i,next:ia},o})}return AK[t]!==1&&!JA(t)&&typeof n=="number"&&n!==0?n+"px":n},WK="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function kp(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return ia={name:o.name,styles:o.styles,next:ia},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)ia={name:a.name,styles:a.styles,next:ia},a=a.next;var s=i.styles+";";return s}return VK(e,t,n)}case"function":{if(e!==void 0){var l=ia,u=n(e);return ia=l,kp(e,t,u)}break}}var f=n;if(t==null)return f;var h=t[f];return h!==void 0?h:f}function VK(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */Jv.exports;(function(e,t){(function(){var n,r="4.17.21",o=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",u=500,f="__lodash_placeholder__",h=1,p=2,m=4,g=1,y=2,S=1,b=2,O=4,C=8,k=16,w=32,T=64,P=128,v=256,E=512,_=30,R="...",M=800,N=16,I=1,D=2,$=3,F=1/0,W=9007199254740991,V=17976931348623157e292,j=NaN,K=4294967295,U=K-1,Y=K>>>1,X=[["ary",P],["bind",S],["bindKey",b],["curry",C],["curryRight",k],["flip",E],["partial",w],["partialRight",T],["rearg",v]],Q="[object Arguments]",ie="[object Array]",re="[object AsyncFunction]",ee="[object Boolean]",ae="[object Date]",me="[object DOMException]",ye="[object Error]",ce="[object Function]",_e="[object GeneratorFunction]",Se="[object Map]",le="[object Number]",be="[object Null]",$e="[object Object]",Ne="[object Promise]",wt="[object Proxy]",Ie="[object RegExp]",De="[object Set]",ut="[object String]",Le="[object Symbol]",ke="[object Undefined]",Me="[object WeakMap]",Xe="[object WeakSet]",Fe="[object ArrayBuffer]",fe="[object DataView]",oe="[object Float32Array]",Ee="[object Float64Array]",Ke="[object Int8Array]",tt="[object Int16Array]",xe="[object Int32Array]",ft="[object Uint8Array]",xt="[object Uint8ClampedArray]",ct="[object Uint16Array]",pn="[object Uint32Array]",wi=/\b__p \+= '';/g,Du=/\b(__p \+=) '' \+/g,$u=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_l=/&(?:amp|lt|gt|quot|#39);/g,_a=/[&<>"']/g,cs=RegExp(_l.source),Ol=RegExp(_a.source),fs=/<%-([\s\S]+?)%>/g,Gf=/<%([\s\S]+?)%>/g,ds=/<%=([\s\S]+?)%>/g,Cl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Oa=/^\w*$/,Yf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/[\\^$.*+?()[\]{}|]/g,Pl=RegExp(Si.source),nr=/^\s+/,Ca=/\s/,Zf=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,xi=/\{\n\/\* \[wrapped with (.+)\] \*/,El=/,? & /,ps=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,hs=/[()=,{}\[\]\/\s]/,Fu=/\\(\\)?/g,nn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,bn=/\w*$/,kl=/^[-+]0x[0-9a-f]+$/i,ms=/^0b[01]+$/i,lo=/^\[object .+?Constructor\]$/,St=/^0o[0-7]+$/i,kr=/^(?:0|[1-9]\d*)$/,lj=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zh=/($^)/,uj=/['\n\r\u2028\u2029\\]/g,Xh="\\ud800-\\udfff",cj="\\u0300-\\u036f",fj="\\ufe20-\\ufe2f",dj="\\u20d0-\\u20ff",jE=cj+fj+dj,UE="\\u2700-\\u27bf",HE="a-z\\xdf-\\xf6\\xf8-\\xff",pj="\\xac\\xb1\\xd7\\xf7",hj="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",mj="\\u2000-\\u206f",gj=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",qE="A-Z\\xc0-\\xd6\\xd8-\\xde",KE="\\ufe0e\\ufe0f",GE=pj+hj+mj+gj,Zb="['’]",vj="["+Xh+"]",YE="["+GE+"]",Qh="["+jE+"]",ZE="\\d+",yj="["+UE+"]",XE="["+HE+"]",QE="[^"+Xh+GE+ZE+UE+HE+qE+"]",Xb="\\ud83c[\\udffb-\\udfff]",bj="(?:"+Qh+"|"+Xb+")",JE="[^"+Xh+"]",Qb="(?:\\ud83c[\\udde6-\\uddff]){2}",Jb="[\\ud800-\\udbff][\\udc00-\\udfff]",Wu="["+qE+"]",ek="\\u200d",tk="(?:"+XE+"|"+QE+")",wj="(?:"+Wu+"|"+QE+")",nk="(?:"+Zb+"(?:d|ll|m|re|s|t|ve))?",rk="(?:"+Zb+"(?:D|LL|M|RE|S|T|VE))?",ok=bj+"?",ik="["+KE+"]?",Sj="(?:"+ek+"(?:"+[JE,Qb,Jb].join("|")+")"+ik+ok+")*",xj="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",_j="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ak=ik+ok+Sj,Oj="(?:"+[yj,Qb,Jb].join("|")+")"+ak,Cj="(?:"+[JE+Qh+"?",Qh,Qb,Jb,vj].join("|")+")",Pj=RegExp(Zb,"g"),Ej=RegExp(Qh,"g"),ew=RegExp(Xb+"(?="+Xb+")|"+Cj+ak,"g"),kj=RegExp([Wu+"?"+XE+"+"+nk+"(?="+[YE,Wu,"$"].join("|")+")",wj+"+"+rk+"(?="+[YE,Wu+tk,"$"].join("|")+")",Wu+"?"+tk+"+"+nk,Wu+"+"+rk,_j,xj,ZE,Oj].join("|"),"g"),Tj=RegExp("["+ek+Xh+jE+KE+"]"),Rj=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ij=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Mj=-1,rn={};rn[oe]=rn[Ee]=rn[Ke]=rn[tt]=rn[xe]=rn[ft]=rn[xt]=rn[ct]=rn[pn]=!0,rn[Q]=rn[ie]=rn[Fe]=rn[ee]=rn[fe]=rn[ae]=rn[ye]=rn[ce]=rn[Se]=rn[le]=rn[$e]=rn[Ie]=rn[De]=rn[ut]=rn[Me]=!1;var Zt={};Zt[Q]=Zt[ie]=Zt[Fe]=Zt[fe]=Zt[ee]=Zt[ae]=Zt[oe]=Zt[Ee]=Zt[Ke]=Zt[tt]=Zt[xe]=Zt[Se]=Zt[le]=Zt[$e]=Zt[Ie]=Zt[De]=Zt[ut]=Zt[Le]=Zt[ft]=Zt[xt]=Zt[ct]=Zt[pn]=!0,Zt[ye]=Zt[ce]=Zt[Me]=!1;var Nj={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Lj={"&":"&","<":"<",">":">",'"':""","'":"'"},Aj={"&":"&","<":"<",">":">",""":'"',"'":"'"},Dj={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},$j=parseFloat,Fj=parseInt,sk=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,Wj=typeof self=="object"&&self&&self.Object===Object&&self,rr=sk||Wj||Function("return this")(),tw=t&&!t.nodeType&&t,Tl=tw&&!0&&e&&!e.nodeType&&e,lk=Tl&&Tl.exports===tw,nw=lk&&sk.process,$o=function(){try{var te=Tl&&Tl.require&&Tl.require("util").types;return te||nw&&nw.binding&&nw.binding("util")}catch{}}(),uk=$o&&$o.isArrayBuffer,ck=$o&&$o.isDate,fk=$o&&$o.isMap,dk=$o&&$o.isRegExp,pk=$o&&$o.isSet,hk=$o&&$o.isTypedArray;function uo(te,de,se){switch(se.length){case 0:return te.call(de);case 1:return te.call(de,se[0]);case 2:return te.call(de,se[0],se[1]);case 3:return te.call(de,se[0],se[1],se[2])}return te.apply(de,se)}function Vj(te,de,se,We){for(var dt=-1,Mt=te==null?0:te.length;++dt-1}function rw(te,de,se){for(var We=-1,dt=te==null?0:te.length;++We-1;);return se}function xk(te,de){for(var se=te.length;se--&&Vu(de,te[se],0)>-1;);return se}function Yj(te,de){for(var se=te.length,We=0;se--;)te[se]===de&&++We;return We}var Zj=sw(Nj),Xj=sw(Lj);function Qj(te){return"\\"+Dj[te]}function Jj(te,de){return te==null?n:te[de]}function zu(te){return Tj.test(te)}function e6(te){return Rj.test(te)}function t6(te){for(var de,se=[];!(de=te.next()).done;)se.push(de.value);return se}function fw(te){var de=-1,se=Array(te.size);return te.forEach(function(We,dt){se[++de]=[dt,We]}),se}function _k(te,de){return function(se){return te(de(se))}}function ys(te,de){for(var se=-1,We=te.length,dt=0,Mt=[];++se-1}function B6(c,d){var x=this.__data__,A=gm(x,c);return A<0?(++this.size,x.push([c,d])):x[A][1]=d,this}Pa.prototype.clear=F6,Pa.prototype.delete=W6,Pa.prototype.get=V6,Pa.prototype.has=z6,Pa.prototype.set=B6;function Ea(c){var d=-1,x=c==null?0:c.length;for(this.clear();++d=d?c:d)),c}function zo(c,d,x,A,B,G){var Z,J=d&h,ne=d&p,ge=d&m;if(x&&(Z=B?x(c,A,B,G):x(c)),Z!==n)return Z;if(!hn(c))return c;var ve=pt(c);if(ve){if(Z=qU(c),!J)return Ur(c,Z)}else{var we=pr(c),Te=we==ce||we==_e;if(Os(c))return iT(c,J);if(we==$e||we==Q||Te&&!B){if(Z=ne||Te?{}:OT(c),!J)return ne?AU(c,oU(Z,c)):LU(c,Ak(Z,c))}else{if(!Zt[we])return B?c:{};Z=KU(c,we,J)}}G||(G=new Oi);var He=G.get(c);if(He)return He;G.set(c,Z),JT(c)?c.forEach(function(rt){Z.add(zo(rt,d,x,rt,c,G))}):XT(c)&&c.forEach(function(rt,_t){Z.set(_t,zo(rt,d,x,_t,c,G))});var nt=ge?ne?$w:Dw:ne?qr:Zn,vt=ve?n:nt(c);return Fo(vt||c,function(rt,_t){vt&&(_t=rt,rt=c[_t]),rd(Z,_t,zo(rt,d,x,_t,c,G))}),Z}function iU(c){var d=Zn(c);return function(x){return Dk(x,c,d)}}function Dk(c,d,x){var A=x.length;if(c==null)return!A;for(c=Kt(c);A--;){var B=x[A],G=d[B],Z=c[B];if(Z===n&&!(B in c)||!G(Z))return!1}return!0}function $k(c,d,x){if(typeof c!="function")throw new Wo(a);return cd(function(){c.apply(n,x)},d)}function od(c,d,x,A){var B=-1,G=Jh,Z=!0,J=c.length,ne=[],ge=d.length;if(!J)return ne;x&&(d=ln(d,co(x))),A?(G=rw,Z=!1):d.length>=o&&(G=Xf,Z=!1,d=new Ml(d));e:for(;++BB?0:B+x),A=A===n||A>B?B:mt(A),A<0&&(A+=B),A=x>A?0:tR(A);x0&&x(J)?d>1?or(J,d-1,x,A,B):vs(B,J):A||(B[B.length]=J)}return B}var yw=fT(),Vk=fT(!0);function Gi(c,d){return c&&yw(c,d,Zn)}function bw(c,d){return c&&Vk(c,d,Zn)}function ym(c,d){return gs(d,function(x){return Ma(c[x])})}function Ll(c,d){d=xs(d,c);for(var x=0,A=d.length;c!=null&&xd}function lU(c,d){return c!=null&&Vt.call(c,d)}function uU(c,d){return c!=null&&d in Kt(c)}function cU(c,d,x){return c>=dr(d,x)&&c=120&&ve.length>=120)?new Ml(Z&&ve):n}ve=c[0];var we=-1,Te=J[0];e:for(;++we-1;)J!==c&&um.call(J,ne,1),um.call(c,ne,1);return c}function Xk(c,d){for(var x=c?d.length:0,A=x-1;x--;){var B=d[x];if(x==A||B!==G){var G=B;Ia(B)?um.call(c,B,1):Tw(c,B)}}return c}function Pw(c,d){return c+dm(Ik()*(d-c+1))}function _U(c,d,x,A){for(var B=-1,G=jn(fm((d-c)/(x||1)),0),Z=se(G);G--;)Z[A?G:++B]=c,c+=x;return Z}function Ew(c,d){var x="";if(!c||d<1||d>W)return x;do d%2&&(x+=c),d=dm(d/2),d&&(c+=c);while(d);return x}function yt(c,d){return Uw(ET(c,d,Kr),c+"")}function OU(c){return Lk(Qu(c))}function CU(c,d){var x=Qu(c);return Tm(x,Nl(d,0,x.length))}function sd(c,d,x,A){if(!hn(c))return c;d=xs(d,c);for(var B=-1,G=d.length,Z=G-1,J=c;J!=null&&++BB?0:B+d),x=x>B?B:x,x<0&&(x+=B),B=d>x?0:x-d>>>0,d>>>=0;for(var G=se(B);++A>>1,Z=c[G];Z!==null&&!po(Z)&&(x?Z<=d:Z=o){var ge=d?null:WU(c);if(ge)return tm(ge);Z=!1,B=Xf,ne=new Ml}else ne=d?[]:J;e:for(;++A=A?c:Bo(c,d,x)}var oT=g6||function(c){return rr.clearTimeout(c)};function iT(c,d){if(d)return c.slice();var x=c.length,A=Pk?Pk(x):new c.constructor(x);return c.copy(A),A}function Nw(c){var d=new c.constructor(c.byteLength);return new sm(d).set(new sm(c)),d}function RU(c,d){var x=d?Nw(c.buffer):c.buffer;return new c.constructor(x,c.byteOffset,c.byteLength)}function IU(c){var d=new c.constructor(c.source,bn.exec(c));return d.lastIndex=c.lastIndex,d}function MU(c){return nd?Kt(nd.call(c)):{}}function aT(c,d){var x=d?Nw(c.buffer):c.buffer;return new c.constructor(x,c.byteOffset,c.length)}function sT(c,d){if(c!==d){var x=c!==n,A=c===null,B=c===c,G=po(c),Z=d!==n,J=d===null,ne=d===d,ge=po(d);if(!J&&!ge&&!G&&c>d||G&&Z&&ne&&!J&&!ge||A&&Z&&ne||!x&&ne||!B)return 1;if(!A&&!G&&!ge&&c=J)return ne;var ge=x[A];return ne*(ge=="desc"?-1:1)}}return c.index-d.index}function lT(c,d,x,A){for(var B=-1,G=c.length,Z=x.length,J=-1,ne=d.length,ge=jn(G-Z,0),ve=se(ne+ge),we=!A;++J1?x[B-1]:n,Z=B>2?x[2]:n;for(G=c.length>3&&typeof G=="function"?(B--,G):n,Z&&Rr(x[0],x[1],Z)&&(G=B<3?n:G,B=1),d=Kt(d);++A-1?B[G?d[Z]:Z]:n}}function hT(c){return Ra(function(d){var x=d.length,A=x,B=Vo.prototype.thru;for(c&&d.reverse();A--;){var G=d[A];if(typeof G!="function")throw new Wo(a);if(B&&!Z&&Em(G)=="wrapper")var Z=new Vo([],!0)}for(A=Z?A:x;++A1&&Et.reverse(),ve&&ne<_t&&(Et.length=ne),this&&this!==rr&&this instanceof rt&&(La=vt||ld(La)),La.apply(Pi,Et)}return rt}function mT(c,d){return function(x,A){return fU(x,c,d(A),{})}}function Om(c,d){return function(x,A){var B;if(x===n&&A===n)return d;if(x!==n&&(B=x),A!==n){if(B===n)return A;typeof x=="string"||typeof A=="string"?(x=fo(x),A=fo(A)):(x=eT(x),A=eT(A)),B=c(x,A)}return B}}function Lw(c){return Ra(function(d){return d=ln(d,co(et())),yt(function(x){var A=this;return c(d,function(B){return uo(B,A,x)})})})}function Cm(c,d){d=d===n?" ":fo(d);var x=d.length;if(x<2)return x?Ew(d,c):d;var A=Ew(d,fm(c/Bu(d)));return zu(d)?_s(_i(A),0,c).join(""):A.slice(0,c)}function FU(c,d,x,A){var B=d&S,G=ld(c);function Z(){for(var J=-1,ne=arguments.length,ge=-1,ve=A.length,we=se(ve+ne),Te=this&&this!==rr&&this instanceof Z?G:c;++geJ))return!1;var ge=G.get(c),ve=G.get(d);if(ge&&ve)return ge==d&&ve==c;var we=-1,Te=!0,He=x&y?new Ml:n;for(G.set(c,d),G.set(d,c);++we1?"& ":"")+d[A],d=d.join(x>2?", ":" "),c.replace(Zf,`{ + */Jv.exports;(function(e,t){(function(){var n,r="4.17.21",o=200,i="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",u=500,f="__lodash_placeholder__",h=1,p=2,m=4,g=1,y=2,S=1,b=2,O=4,C=8,k=16,w=32,T=64,P=128,v=256,E=512,_=30,R="...",M=800,N=16,I=1,D=2,$=3,F=1/0,W=9007199254740991,V=17976931348623157e292,j=NaN,K=4294967295,U=K-1,Y=K>>>1,X=[["ary",P],["bind",S],["bindKey",b],["curry",C],["curryRight",k],["flip",E],["partial",w],["partialRight",T],["rearg",v]],Q="[object Arguments]",ie="[object Array]",re="[object AsyncFunction]",ee="[object Boolean]",ae="[object Date]",me="[object DOMException]",ye="[object Error]",ce="[object Function]",_e="[object GeneratorFunction]",Se="[object Map]",le="[object Number]",be="[object Null]",$e="[object Object]",Ne="[object Promise]",wt="[object Proxy]",Ie="[object RegExp]",De="[object Set]",ut="[object String]",Le="[object Symbol]",ke="[object Undefined]",Me="[object WeakMap]",Xe="[object WeakSet]",Fe="[object ArrayBuffer]",fe="[object DataView]",oe="[object Float32Array]",Ee="[object Float64Array]",Ke="[object Int8Array]",tt="[object Int16Array]",xe="[object Int32Array]",ft="[object Uint8Array]",xt="[object Uint8ClampedArray]",ct="[object Uint16Array]",pn="[object Uint32Array]",wi=/\b__p \+= '';/g,Du=/\b(__p \+=) '' \+/g,$u=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_l=/&(?:amp|lt|gt|quot|#39);/g,_a=/[&<>"']/g,cs=RegExp(_l.source),Ol=RegExp(_a.source),fs=/<%-([\s\S]+?)%>/g,Gf=/<%([\s\S]+?)%>/g,ds=/<%=([\s\S]+?)%>/g,Cl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Oa=/^\w*$/,Yf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/[\\^$.*+?()[\]{}|]/g,Pl=RegExp(Si.source),nr=/^\s+/,Ca=/\s/,Zf=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,xi=/\{\n\/\* \[wrapped with (.+)\] \*/,El=/,? & /,ps=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,hs=/[()=,{}\[\]\/\s]/,Fu=/\\(\\)?/g,nn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,bn=/\w*$/,kl=/^[-+]0x[0-9a-f]+$/i,ms=/^0b[01]+$/i,lo=/^\[object .+?Constructor\]$/,St=/^0o[0-7]+$/i,kr=/^(?:0|[1-9]\d*)$/,lj=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zh=/($^)/,uj=/['\n\r\u2028\u2029\\]/g,Xh="\\ud800-\\udfff",cj="\\u0300-\\u036f",fj="\\ufe20-\\ufe2f",dj="\\u20d0-\\u20ff",jE=cj+fj+dj,UE="\\u2700-\\u27bf",HE="a-z\\xdf-\\xf6\\xf8-\\xff",pj="\\xac\\xb1\\xd7\\xf7",hj="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",mj="\\u2000-\\u206f",gj=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",qE="A-Z\\xc0-\\xd6\\xd8-\\xde",KE="\\ufe0e\\ufe0f",GE=pj+hj+mj+gj,Zb="['’]",vj="["+Xh+"]",YE="["+GE+"]",Qh="["+jE+"]",ZE="\\d+",yj="["+UE+"]",XE="["+HE+"]",QE="[^"+Xh+GE+ZE+UE+HE+qE+"]",Xb="\\ud83c[\\udffb-\\udfff]",bj="(?:"+Qh+"|"+Xb+")",JE="[^"+Xh+"]",Qb="(?:\\ud83c[\\udde6-\\uddff]){2}",Jb="[\\ud800-\\udbff][\\udc00-\\udfff]",Wu="["+qE+"]",ek="\\u200d",tk="(?:"+XE+"|"+QE+")",wj="(?:"+Wu+"|"+QE+")",nk="(?:"+Zb+"(?:d|ll|m|re|s|t|ve))?",rk="(?:"+Zb+"(?:D|LL|M|RE|S|T|VE))?",ok=bj+"?",ik="["+KE+"]?",Sj="(?:"+ek+"(?:"+[JE,Qb,Jb].join("|")+")"+ik+ok+")*",xj="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",_j="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ak=ik+ok+Sj,Oj="(?:"+[yj,Qb,Jb].join("|")+")"+ak,Cj="(?:"+[JE+Qh+"?",Qh,Qb,Jb,vj].join("|")+")",Pj=RegExp(Zb,"g"),Ej=RegExp(Qh,"g"),ew=RegExp(Xb+"(?="+Xb+")|"+Cj+ak,"g"),kj=RegExp([Wu+"?"+XE+"+"+nk+"(?="+[YE,Wu,"$"].join("|")+")",wj+"+"+rk+"(?="+[YE,Wu+tk,"$"].join("|")+")",Wu+"?"+tk+"+"+nk,Wu+"+"+rk,_j,xj,ZE,Oj].join("|"),"g"),Tj=RegExp("["+ek+Xh+jE+KE+"]"),Rj=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ij=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Mj=-1,rn={};rn[oe]=rn[Ee]=rn[Ke]=rn[tt]=rn[xe]=rn[ft]=rn[xt]=rn[ct]=rn[pn]=!0,rn[Q]=rn[ie]=rn[Fe]=rn[ee]=rn[fe]=rn[ae]=rn[ye]=rn[ce]=rn[Se]=rn[le]=rn[$e]=rn[Ie]=rn[De]=rn[ut]=rn[Me]=!1;var Zt={};Zt[Q]=Zt[ie]=Zt[Fe]=Zt[fe]=Zt[ee]=Zt[ae]=Zt[oe]=Zt[Ee]=Zt[Ke]=Zt[tt]=Zt[xe]=Zt[Se]=Zt[le]=Zt[$e]=Zt[Ie]=Zt[De]=Zt[ut]=Zt[Le]=Zt[ft]=Zt[xt]=Zt[ct]=Zt[pn]=!0,Zt[ye]=Zt[ce]=Zt[Me]=!1;var Nj={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Lj={"&":"&","<":"<",">":">",'"':""","'":"'"},Aj={"&":"&","<":"<",">":">",""":'"',"'":"'"},Dj={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},$j=parseFloat,Fj=parseInt,sk=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,Wj=typeof self=="object"&&self&&self.Object===Object&&self,rr=sk||Wj||Function("return this")(),tw=t&&!t.nodeType&&t,Tl=tw&&!0&&e&&!e.nodeType&&e,lk=Tl&&Tl.exports===tw,nw=lk&&sk.process,$o=function(){try{var te=Tl&&Tl.require&&Tl.require("util").types;return te||nw&&nw.binding&&nw.binding("util")}catch{}}(),uk=$o&&$o.isArrayBuffer,ck=$o&&$o.isDate,fk=$o&&$o.isMap,dk=$o&&$o.isRegExp,pk=$o&&$o.isSet,hk=$o&&$o.isTypedArray;function uo(te,de,se){switch(se.length){case 0:return te.call(de);case 1:return te.call(de,se[0]);case 2:return te.call(de,se[0],se[1]);case 3:return te.call(de,se[0],se[1],se[2])}return te.apply(de,se)}function Vj(te,de,se,We){for(var dt=-1,Mt=te==null?0:te.length;++dt-1}function rw(te,de,se){for(var We=-1,dt=te==null?0:te.length;++We-1;);return se}function xk(te,de){for(var se=te.length;se--&&Vu(de,te[se],0)>-1;);return se}function Yj(te,de){for(var se=te.length,We=0;se--;)te[se]===de&&++We;return We}var Zj=sw(Nj),Xj=sw(Lj);function Qj(te){return"\\"+Dj[te]}function Jj(te,de){return te==null?n:te[de]}function zu(te){return Tj.test(te)}function e6(te){return Rj.test(te)}function t6(te){for(var de,se=[];!(de=te.next()).done;)se.push(de.value);return se}function fw(te){var de=-1,se=Array(te.size);return te.forEach(function(We,dt){se[++de]=[dt,We]}),se}function _k(te,de){return function(se){return te(de(se))}}function ys(te,de){for(var se=-1,We=te.length,dt=0,Mt=[];++se-1}function B6(c,d){var x=this.__data__,A=gm(x,c);return A<0?(++this.size,x.push([c,d])):x[A][1]=d,this}Pa.prototype.clear=F6,Pa.prototype.delete=W6,Pa.prototype.get=V6,Pa.prototype.has=z6,Pa.prototype.set=B6;function Ea(c){var d=-1,x=c==null?0:c.length;for(this.clear();++d=d?c:d)),c}function zo(c,d,x,A,B,G){var Z,J=d&h,ne=d&p,ge=d&m;if(x&&(Z=B?x(c,A,B,G):x(c)),Z!==n)return Z;if(!hn(c))return c;var ve=pt(c);if(ve){if(Z=qU(c),!J)return Ur(c,Z)}else{var we=pr(c),Te=we==ce||we==_e;if(Os(c))return iT(c,J);if(we==$e||we==Q||Te&&!B){if(Z=ne||Te?{}:OT(c),!J)return ne?AU(c,oU(Z,c)):LU(c,Ak(Z,c))}else{if(!Zt[we])return B?c:{};Z=KU(c,we,J)}}G||(G=new Oi);var He=G.get(c);if(He)return He;G.set(c,Z),JT(c)?c.forEach(function(rt){Z.add(zo(rt,d,x,rt,c,G))}):XT(c)&&c.forEach(function(rt,_t){Z.set(_t,zo(rt,d,x,_t,c,G))});var nt=ge?ne?$w:Dw:ne?qr:Zn,vt=ve?n:nt(c);return Fo(vt||c,function(rt,_t){vt&&(_t=rt,rt=c[_t]),rd(Z,_t,zo(rt,d,x,_t,c,G))}),Z}function iU(c){var d=Zn(c);return function(x){return Dk(x,c,d)}}function Dk(c,d,x){var A=x.length;if(c==null)return!A;for(c=Kt(c);A--;){var B=x[A],G=d[B],Z=c[B];if(Z===n&&!(B in c)||!G(Z))return!1}return!0}function $k(c,d,x){if(typeof c!="function")throw new Wo(a);return cd(function(){c.apply(n,x)},d)}function od(c,d,x,A){var B=-1,G=Jh,Z=!0,J=c.length,ne=[],ge=d.length;if(!J)return ne;x&&(d=ln(d,co(x))),A?(G=rw,Z=!1):d.length>=o&&(G=Xf,Z=!1,d=new Ml(d));e:for(;++BB?0:B+x),A=A===n||A>B?B:mt(A),A<0&&(A+=B),A=x>A?0:tR(A);x0&&x(J)?d>1?or(J,d-1,x,A,B):vs(B,J):A||(B[B.length]=J)}return B}var yw=fT(),Vk=fT(!0);function Gi(c,d){return c&&yw(c,d,Zn)}function bw(c,d){return c&&Vk(c,d,Zn)}function ym(c,d){return gs(d,function(x){return Ma(c[x])})}function Ll(c,d){d=xs(d,c);for(var x=0,A=d.length;c!=null&&xd}function lU(c,d){return c!=null&&Vt.call(c,d)}function uU(c,d){return c!=null&&d in Kt(c)}function cU(c,d,x){return c>=dr(d,x)&&c=120&&ve.length>=120)?new Ml(Z&&ve):n}ve=c[0];var we=-1,Te=J[0];e:for(;++we-1;)J!==c&&um.call(J,ne,1),um.call(c,ne,1);return c}function Xk(c,d){for(var x=c?d.length:0,A=x-1;x--;){var B=d[x];if(x==A||B!==G){var G=B;Ia(B)?um.call(c,B,1):Tw(c,B)}}return c}function Pw(c,d){return c+dm(Ik()*(d-c+1))}function _U(c,d,x,A){for(var B=-1,G=jn(fm((d-c)/(x||1)),0),Z=se(G);G--;)Z[A?G:++B]=c,c+=x;return Z}function Ew(c,d){var x="";if(!c||d<1||d>W)return x;do d%2&&(x+=c),d=dm(d/2),d&&(c+=c);while(d);return x}function yt(c,d){return Uw(ET(c,d,Kr),c+"")}function OU(c){return Lk(Qu(c))}function CU(c,d){var x=Qu(c);return Tm(x,Nl(d,0,x.length))}function sd(c,d,x,A){if(!hn(c))return c;d=xs(d,c);for(var B=-1,G=d.length,Z=G-1,J=c;J!=null&&++BB?0:B+d),x=x>B?B:x,x<0&&(x+=B),B=d>x?0:x-d>>>0,d>>>=0;for(var G=se(B);++A>>1,Z=c[G];Z!==null&&!po(Z)&&(x?Z<=d:Z=o){var ge=d?null:WU(c);if(ge)return tm(ge);Z=!1,B=Xf,ne=new Ml}else ne=d?[]:J;e:for(;++A=A?c:Bo(c,d,x)}var oT=g6||function(c){return rr.clearTimeout(c)};function iT(c,d){if(d)return c.slice();var x=c.length,A=Pk?Pk(x):new c.constructor(x);return c.copy(A),A}function Nw(c){var d=new c.constructor(c.byteLength);return new sm(d).set(new sm(c)),d}function RU(c,d){var x=d?Nw(c.buffer):c.buffer;return new c.constructor(x,c.byteOffset,c.byteLength)}function IU(c){var d=new c.constructor(c.source,bn.exec(c));return d.lastIndex=c.lastIndex,d}function MU(c){return nd?Kt(nd.call(c)):{}}function aT(c,d){var x=d?Nw(c.buffer):c.buffer;return new c.constructor(x,c.byteOffset,c.length)}function sT(c,d){if(c!==d){var x=c!==n,A=c===null,B=c===c,G=po(c),Z=d!==n,J=d===null,ne=d===d,ge=po(d);if(!J&&!ge&&!G&&c>d||G&&Z&&ne&&!J&&!ge||A&&Z&&ne||!x&&ne||!B)return 1;if(!A&&!G&&!ge&&c=J)return ne;var ge=x[A];return ne*(ge=="desc"?-1:1)}}return c.index-d.index}function lT(c,d,x,A){for(var B=-1,G=c.length,Z=x.length,J=-1,ne=d.length,ge=jn(G-Z,0),ve=se(ne+ge),we=!A;++J1?x[B-1]:n,Z=B>2?x[2]:n;for(G=c.length>3&&typeof G=="function"?(B--,G):n,Z&&Rr(x[0],x[1],Z)&&(G=B<3?n:G,B=1),d=Kt(d);++A-1?B[G?d[Z]:Z]:n}}function hT(c){return Ra(function(d){var x=d.length,A=x,B=Vo.prototype.thru;for(c&&d.reverse();A--;){var G=d[A];if(typeof G!="function")throw new Wo(a);if(B&&!Z&&Em(G)=="wrapper")var Z=new Vo([],!0)}for(A=Z?A:x;++A1&&Et.reverse(),ve&&ne<_t&&(Et.length=ne),this&&this!==rr&&this instanceof rt&&(La=vt||ld(La)),La.apply(Pi,Et)}return rt}function mT(c,d){return function(x,A){return fU(x,c,d(A),{})}}function Om(c,d){return function(x,A){var B;if(x===n&&A===n)return d;if(x!==n&&(B=x),A!==n){if(B===n)return A;typeof x=="string"||typeof A=="string"?(x=fo(x),A=fo(A)):(x=eT(x),A=eT(A)),B=c(x,A)}return B}}function Lw(c){return Ra(function(d){return d=ln(d,co(et())),yt(function(x){var A=this;return c(d,function(B){return uo(B,A,x)})})})}function Cm(c,d){d=d===n?" ":fo(d);var x=d.length;if(x<2)return x?Ew(d,c):d;var A=Ew(d,fm(c/Bu(d)));return zu(d)?_s(_i(A),0,c).join(""):A.slice(0,c)}function FU(c,d,x,A){var B=d&S,G=ld(c);function Z(){for(var J=-1,ne=arguments.length,ge=-1,ve=A.length,we=se(ve+ne),Te=this&&this!==rr&&this instanceof Z?G:c;++geJ))return!1;var ge=G.get(c),ve=G.get(d);if(ge&&ve)return ge==d&&ve==c;var we=-1,Te=!0,He=x&y?new Ml:n;for(G.set(c,d),G.set(d,c);++we1?"& ":"")+d[A],d=d.join(x>2?", ":" "),c.replace(Zf,`{ /* [wrapped with `+d+`] */ -`)}function YU(c){return pt(c)||$l(c)||!!(Tk&&c&&c[Tk])}function Ia(c,d){var x=typeof c;return d=d??W,!!d&&(x=="number"||x!="symbol"&&kr.test(c))&&c>-1&&c%1==0&&c0){if(++d>=M)return arguments[0]}else d=0;return c.apply(n,arguments)}}function Tm(c,d){var x=-1,A=c.length,B=A-1;for(d=d===n?A:d;++x1?c[d-1]:n;return x=typeof x=="function"?(c.pop(),x):n,WT(c,x)});function VT(c){var d=H(c);return d.__chain__=!0,d}function a8(c,d){return d(c),c}function Rm(c,d){return d(c)}var s8=Ra(function(c){var d=c.length,x=d?c[0]:0,A=this.__wrapped__,B=function(G){return vw(G,c)};return d>1||this.__actions__.length||!(A instanceof Ct)||!Ia(x)?this.thru(B):(A=A.slice(x,+x+(d?1:0)),A.__actions__.push({func:Rm,args:[B],thisArg:n}),new Vo(A,this.__chain__).thru(function(G){return d&&!G.length&&G.push(n),G}))});function l8(){return VT(this)}function u8(){return new Vo(this.value(),this.__chain__)}function c8(){this.__values__===n&&(this.__values__=eR(this.value()));var c=this.__index__>=this.__values__.length,d=c?n:this.__values__[this.__index__++];return{done:c,value:d}}function f8(){return this}function d8(c){for(var d,x=this;x instanceof mm;){var A=NT(x);A.__index__=0,A.__values__=n,d?B.__wrapped__=A:d=A;var B=A;x=x.__wrapped__}return B.__wrapped__=c,d}function p8(){var c=this.__wrapped__;if(c instanceof Ct){var d=c;return this.__actions__.length&&(d=new Ct(this)),d=d.reverse(),d.__actions__.push({func:Rm,args:[Hw],thisArg:n}),new Vo(d,this.__chain__)}return this.thru(Hw)}function h8(){return nT(this.__wrapped__,this.__actions__)}var m8=xm(function(c,d,x){Vt.call(c,x)?++c[x]:ka(c,x,1)});function g8(c,d,x){var A=pt(c)?mk:aU;return x&&Rr(c,d,x)&&(d=n),A(c,et(d,3))}function v8(c,d){var x=pt(c)?gs:Wk;return x(c,et(d,3))}var y8=pT(LT),b8=pT(AT);function w8(c,d){return or(Im(c,d),1)}function S8(c,d){return or(Im(c,d),F)}function x8(c,d,x){return x=x===n?1:mt(x),or(Im(c,d),x)}function zT(c,d){var x=pt(c)?Fo:ws;return x(c,et(d,3))}function BT(c,d){var x=pt(c)?zj:Fk;return x(c,et(d,3))}var _8=xm(function(c,d,x){Vt.call(c,x)?c[x].push(d):ka(c,x,[d])});function O8(c,d,x,A){c=Hr(c)?c:Qu(c),x=x&&!A?mt(x):0;var B=c.length;return x<0&&(x=jn(B+x,0)),Dm(c)?x<=B&&c.indexOf(d,x)>-1:!!B&&Vu(c,d,x)>-1}var C8=yt(function(c,d,x){var A=-1,B=typeof d=="function",G=Hr(c)?se(c.length):[];return ws(c,function(Z){G[++A]=B?uo(d,Z,x):id(Z,d,x)}),G}),P8=xm(function(c,d,x){ka(c,x,d)});function Im(c,d){var x=pt(c)?ln:Hk;return x(c,et(d,3))}function E8(c,d,x,A){return c==null?[]:(pt(d)||(d=d==null?[]:[d]),x=A?n:x,pt(x)||(x=x==null?[]:[x]),Yk(c,d,x))}var k8=xm(function(c,d,x){c[x?0:1].push(d)},function(){return[[],[]]});function T8(c,d,x){var A=pt(c)?ow:bk,B=arguments.length<3;return A(c,et(d,4),x,B,ws)}function R8(c,d,x){var A=pt(c)?Bj:bk,B=arguments.length<3;return A(c,et(d,4),x,B,Fk)}function I8(c,d){var x=pt(c)?gs:Wk;return x(c,Lm(et(d,3)))}function M8(c){var d=pt(c)?Lk:OU;return d(c)}function N8(c,d,x){(x?Rr(c,d,x):d===n)?d=1:d=mt(d);var A=pt(c)?tU:CU;return A(c,d)}function L8(c){var d=pt(c)?nU:EU;return d(c)}function A8(c){if(c==null)return 0;if(Hr(c))return Dm(c)?Bu(c):c.length;var d=pr(c);return d==Se||d==De?c.size:_w(c).length}function D8(c,d,x){var A=pt(c)?iw:kU;return x&&Rr(c,d,x)&&(d=n),A(c,et(d,3))}var $8=yt(function(c,d){if(c==null)return[];var x=d.length;return x>1&&Rr(c,d[0],d[1])?d=[]:x>2&&Rr(d[0],d[1],d[2])&&(d=[d[0]]),Yk(c,or(d,1),[])}),Mm=v6||function(){return rr.Date.now()};function F8(c,d){if(typeof d!="function")throw new Wo(a);return c=mt(c),function(){if(--c<1)return d.apply(this,arguments)}}function jT(c,d,x){return d=x?n:d,d=c&&d==null?c.length:d,Ta(c,P,n,n,n,n,d)}function UT(c,d){var x;if(typeof d!="function")throw new Wo(a);return c=mt(c),function(){return--c>0&&(x=d.apply(this,arguments)),c<=1&&(d=n),x}}var Kw=yt(function(c,d,x){var A=S;if(x.length){var B=ys(x,Zu(Kw));A|=w}return Ta(c,A,d,x,B)}),HT=yt(function(c,d,x){var A=S|b;if(x.length){var B=ys(x,Zu(HT));A|=w}return Ta(d,A,c,x,B)});function qT(c,d,x){d=x?n:d;var A=Ta(c,C,n,n,n,n,n,d);return A.placeholder=qT.placeholder,A}function KT(c,d,x){d=x?n:d;var A=Ta(c,k,n,n,n,n,n,d);return A.placeholder=KT.placeholder,A}function GT(c,d,x){var A,B,G,Z,J,ne,ge=0,ve=!1,we=!1,Te=!0;if(typeof c!="function")throw new Wo(a);d=Uo(d)||0,hn(x)&&(ve=!!x.leading,we="maxWait"in x,G=we?jn(Uo(x.maxWait)||0,d):G,Te="trailing"in x?!!x.trailing:Te);function He(In){var Pi=A,La=B;return A=B=n,ge=In,Z=c.apply(La,Pi),Z}function nt(In){return ge=In,J=cd(_t,d),ve?He(In):Z}function vt(In){var Pi=In-ne,La=In-ge,pR=d-Pi;return we?dr(pR,G-La):pR}function rt(In){var Pi=In-ne,La=In-ge;return ne===n||Pi>=d||Pi<0||we&&La>=G}function _t(){var In=Mm();if(rt(In))return Et(In);J=cd(_t,vt(In))}function Et(In){return J=n,Te&&A?He(In):(A=B=n,Z)}function ho(){J!==n&&oT(J),ge=0,A=ne=B=J=n}function Ir(){return J===n?Z:Et(Mm())}function mo(){var In=Mm(),Pi=rt(In);if(A=arguments,B=this,ne=In,Pi){if(J===n)return nt(ne);if(we)return oT(J),J=cd(_t,d),He(ne)}return J===n&&(J=cd(_t,d)),Z}return mo.cancel=ho,mo.flush=Ir,mo}var W8=yt(function(c,d){return $k(c,1,d)}),V8=yt(function(c,d,x){return $k(c,Uo(d)||0,x)});function z8(c){return Ta(c,E)}function Nm(c,d){if(typeof c!="function"||d!=null&&typeof d!="function")throw new Wo(a);var x=function(){var A=arguments,B=d?d.apply(this,A):A[0],G=x.cache;if(G.has(B))return G.get(B);var Z=c.apply(this,A);return x.cache=G.set(B,Z)||G,Z};return x.cache=new(Nm.Cache||Ea),x}Nm.Cache=Ea;function Lm(c){if(typeof c!="function")throw new Wo(a);return function(){var d=arguments;switch(d.length){case 0:return!c.call(this);case 1:return!c.call(this,d[0]);case 2:return!c.call(this,d[0],d[1]);case 3:return!c.call(this,d[0],d[1],d[2])}return!c.apply(this,d)}}function B8(c){return UT(2,c)}var j8=TU(function(c,d){d=d.length==1&&pt(d[0])?ln(d[0],co(et())):ln(or(d,1),co(et()));var x=d.length;return yt(function(A){for(var B=-1,G=dr(A.length,x);++B=d}),$l=Bk(function(){return arguments}())?Bk:function(c){return wn(c)&&Vt.call(c,"callee")&&!kk.call(c,"callee")},pt=se.isArray,o9=uk?co(uk):dU;function Hr(c){return c!=null&&Am(c.length)&&!Ma(c)}function Rn(c){return wn(c)&&Hr(c)}function i9(c){return c===!0||c===!1||wn(c)&&Tr(c)==ee}var Os=b6||i1,a9=ck?co(ck):pU;function s9(c){return wn(c)&&c.nodeType===1&&!fd(c)}function l9(c){if(c==null)return!0;if(Hr(c)&&(pt(c)||typeof c=="string"||typeof c.splice=="function"||Os(c)||Xu(c)||$l(c)))return!c.length;var d=pr(c);if(d==Se||d==De)return!c.size;if(ud(c))return!_w(c).length;for(var x in c)if(Vt.call(c,x))return!1;return!0}function u9(c,d){return ad(c,d)}function c9(c,d,x){x=typeof x=="function"?x:n;var A=x?x(c,d):n;return A===n?ad(c,d,n,x):!!A}function Yw(c){if(!wn(c))return!1;var d=Tr(c);return d==ye||d==me||typeof c.message=="string"&&typeof c.name=="string"&&!fd(c)}function f9(c){return typeof c=="number"&&Rk(c)}function Ma(c){if(!hn(c))return!1;var d=Tr(c);return d==ce||d==_e||d==re||d==wt}function ZT(c){return typeof c=="number"&&c==mt(c)}function Am(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=W}function hn(c){var d=typeof c;return c!=null&&(d=="object"||d=="function")}function wn(c){return c!=null&&typeof c=="object"}var XT=fk?co(fk):mU;function d9(c,d){return c===d||xw(c,d,Ww(d))}function p9(c,d,x){return x=typeof x=="function"?x:n,xw(c,d,Ww(d),x)}function h9(c){return QT(c)&&c!=+c}function m9(c){if(QU(c))throw new dt(i);return jk(c)}function g9(c){return c===null}function v9(c){return c==null}function QT(c){return typeof c=="number"||wn(c)&&Tr(c)==le}function fd(c){if(!wn(c)||Tr(c)!=$e)return!1;var d=lm(c);if(d===null)return!0;var x=Vt.call(d,"constructor")&&d.constructor;return typeof x=="function"&&x instanceof x&&om.call(x)==p6}var Zw=dk?co(dk):gU;function y9(c){return ZT(c)&&c>=-W&&c<=W}var JT=pk?co(pk):vU;function Dm(c){return typeof c=="string"||!pt(c)&&wn(c)&&Tr(c)==ut}function po(c){return typeof c=="symbol"||wn(c)&&Tr(c)==Le}var Xu=hk?co(hk):yU;function b9(c){return c===n}function w9(c){return wn(c)&&pr(c)==Me}function S9(c){return wn(c)&&Tr(c)==Xe}var x9=Pm(Ow),_9=Pm(function(c,d){return c<=d});function eR(c){if(!c)return[];if(Hr(c))return Dm(c)?_i(c):Ur(c);if(Qf&&c[Qf])return t6(c[Qf]());var d=pr(c),x=d==Se?fw:d==De?tm:Qu;return x(c)}function Na(c){if(!c)return c===0?c:0;if(c=Uo(c),c===F||c===-F){var d=c<0?-1:1;return d*V}return c===c?c:0}function mt(c){var d=Na(c),x=d%1;return d===d?x?d-x:d:0}function tR(c){return c?Nl(mt(c),0,K):0}function Uo(c){if(typeof c=="number")return c;if(po(c))return j;if(hn(c)){var d=typeof c.valueOf=="function"?c.valueOf():c;c=hn(d)?d+"":d}if(typeof c!="string")return c===0?c:+c;c=wk(c);var x=ms.test(c);return x||St.test(c)?Fj(c.slice(2),x?2:8):kl.test(c)?j:+c}function nR(c){return Yi(c,qr(c))}function O9(c){return c?Nl(mt(c),-W,W):c===0?c:0}function $t(c){return c==null?"":fo(c)}var C9=Gu(function(c,d){if(ud(d)||Hr(d)){Yi(d,Zn(d),c);return}for(var x in d)Vt.call(d,x)&&rd(c,x,d[x])}),rR=Gu(function(c,d){Yi(d,qr(d),c)}),$m=Gu(function(c,d,x,A){Yi(d,qr(d),c,A)}),P9=Gu(function(c,d,x,A){Yi(d,Zn(d),c,A)}),E9=Ra(vw);function k9(c,d){var x=Ku(c);return d==null?x:Ak(x,d)}var T9=yt(function(c,d){c=Kt(c);var x=-1,A=d.length,B=A>2?d[2]:n;for(B&&Rr(d[0],d[1],B)&&(A=1);++x1),G}),Yi(c,$w(c),x),A&&(x=zo(x,h|p|m,VU));for(var B=d.length;B--;)Tw(x,d[B]);return x});function K9(c,d){return iR(c,Lm(et(d)))}var G9=Ra(function(c,d){return c==null?{}:SU(c,d)});function iR(c,d){if(c==null)return{};var x=ln($w(c),function(A){return[A]});return d=et(d),Zk(c,x,function(A,B){return d(A,B[0])})}function Y9(c,d,x){d=xs(d,c);var A=-1,B=d.length;for(B||(B=1,c=n);++Ad){var A=c;c=d,d=A}if(x||c%1||d%1){var B=Ik();return dr(c+B*(d-c+$j("1e-"+((B+"").length-1))),d)}return Pw(c,d)}var a7=Yu(function(c,d,x){return d=d.toLowerCase(),c+(x?lR(d):d)});function lR(c){return Jw($t(c).toLowerCase())}function uR(c){return c=$t(c),c&&c.replace(lj,Zj).replace(Ej,"")}function s7(c,d,x){c=$t(c),d=fo(d);var A=c.length;x=x===n?A:Nl(mt(x),0,A);var B=x;return x-=d.length,x>=0&&c.slice(x,B)==d}function l7(c){return c=$t(c),c&&Ol.test(c)?c.replace(_a,Xj):c}function u7(c){return c=$t(c),c&&Pl.test(c)?c.replace(Si,"\\$&"):c}var c7=Yu(function(c,d,x){return c+(x?"-":"")+d.toLowerCase()}),f7=Yu(function(c,d,x){return c+(x?" ":"")+d.toLowerCase()}),d7=dT("toLowerCase");function p7(c,d,x){c=$t(c),d=mt(d);var A=d?Bu(c):0;if(!d||A>=d)return c;var B=(d-A)/2;return Cm(dm(B),x)+c+Cm(fm(B),x)}function h7(c,d,x){c=$t(c),d=mt(d);var A=d?Bu(c):0;return d&&A>>0,x?(c=$t(c),c&&(typeof d=="string"||d!=null&&!Zw(d))&&(d=fo(d),!d&&zu(c))?_s(_i(c),0,x):c.split(d,x)):[]}var S7=Yu(function(c,d,x){return c+(x?" ":"")+Jw(d)});function x7(c,d,x){return c=$t(c),x=x==null?0:Nl(mt(x),0,c.length),d=fo(d),c.slice(x,x+d.length)==d}function _7(c,d,x){var A=H.templateSettings;x&&Rr(c,d,x)&&(d=n),c=$t(c),d=$m({},d,A,bT);var B=$m({},d.imports,A.imports,bT),G=Zn(B),Z=cw(B,G),J,ne,ge=0,ve=d.interpolate||Zh,we="__p += '",Te=dw((d.escape||Zh).source+"|"+ve.source+"|"+(ve===ds?nn:Zh).source+"|"+(d.evaluate||Zh).source+"|$","g"),He="//# sourceURL="+(Vt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Mj+"]")+` +`)}function YU(c){return pt(c)||$l(c)||!!(Tk&&c&&c[Tk])}function Ia(c,d){var x=typeof c;return d=d??W,!!d&&(x=="number"||x!="symbol"&&kr.test(c))&&c>-1&&c%1==0&&c0){if(++d>=M)return arguments[0]}else d=0;return c.apply(n,arguments)}}function Tm(c,d){var x=-1,A=c.length,B=A-1;for(d=d===n?A:d;++x1?c[d-1]:n;return x=typeof x=="function"?(c.pop(),x):n,WT(c,x)});function VT(c){var d=H(c);return d.__chain__=!0,d}function a8(c,d){return d(c),c}function Rm(c,d){return d(c)}var s8=Ra(function(c){var d=c.length,x=d?c[0]:0,A=this.__wrapped__,B=function(G){return vw(G,c)};return d>1||this.__actions__.length||!(A instanceof Pt)||!Ia(x)?this.thru(B):(A=A.slice(x,+x+(d?1:0)),A.__actions__.push({func:Rm,args:[B],thisArg:n}),new Vo(A,this.__chain__).thru(function(G){return d&&!G.length&&G.push(n),G}))});function l8(){return VT(this)}function u8(){return new Vo(this.value(),this.__chain__)}function c8(){this.__values__===n&&(this.__values__=eR(this.value()));var c=this.__index__>=this.__values__.length,d=c?n:this.__values__[this.__index__++];return{done:c,value:d}}function f8(){return this}function d8(c){for(var d,x=this;x instanceof mm;){var A=NT(x);A.__index__=0,A.__values__=n,d?B.__wrapped__=A:d=A;var B=A;x=x.__wrapped__}return B.__wrapped__=c,d}function p8(){var c=this.__wrapped__;if(c instanceof Pt){var d=c;return this.__actions__.length&&(d=new Pt(this)),d=d.reverse(),d.__actions__.push({func:Rm,args:[Hw],thisArg:n}),new Vo(d,this.__chain__)}return this.thru(Hw)}function h8(){return nT(this.__wrapped__,this.__actions__)}var m8=xm(function(c,d,x){Vt.call(c,x)?++c[x]:ka(c,x,1)});function g8(c,d,x){var A=pt(c)?mk:aU;return x&&Rr(c,d,x)&&(d=n),A(c,et(d,3))}function v8(c,d){var x=pt(c)?gs:Wk;return x(c,et(d,3))}var y8=pT(LT),b8=pT(AT);function w8(c,d){return or(Im(c,d),1)}function S8(c,d){return or(Im(c,d),F)}function x8(c,d,x){return x=x===n?1:mt(x),or(Im(c,d),x)}function zT(c,d){var x=pt(c)?Fo:ws;return x(c,et(d,3))}function BT(c,d){var x=pt(c)?zj:Fk;return x(c,et(d,3))}var _8=xm(function(c,d,x){Vt.call(c,x)?c[x].push(d):ka(c,x,[d])});function O8(c,d,x,A){c=Hr(c)?c:Qu(c),x=x&&!A?mt(x):0;var B=c.length;return x<0&&(x=jn(B+x,0)),Dm(c)?x<=B&&c.indexOf(d,x)>-1:!!B&&Vu(c,d,x)>-1}var C8=yt(function(c,d,x){var A=-1,B=typeof d=="function",G=Hr(c)?se(c.length):[];return ws(c,function(Z){G[++A]=B?uo(d,Z,x):id(Z,d,x)}),G}),P8=xm(function(c,d,x){ka(c,x,d)});function Im(c,d){var x=pt(c)?ln:Hk;return x(c,et(d,3))}function E8(c,d,x,A){return c==null?[]:(pt(d)||(d=d==null?[]:[d]),x=A?n:x,pt(x)||(x=x==null?[]:[x]),Yk(c,d,x))}var k8=xm(function(c,d,x){c[x?0:1].push(d)},function(){return[[],[]]});function T8(c,d,x){var A=pt(c)?ow:bk,B=arguments.length<3;return A(c,et(d,4),x,B,ws)}function R8(c,d,x){var A=pt(c)?Bj:bk,B=arguments.length<3;return A(c,et(d,4),x,B,Fk)}function I8(c,d){var x=pt(c)?gs:Wk;return x(c,Lm(et(d,3)))}function M8(c){var d=pt(c)?Lk:OU;return d(c)}function N8(c,d,x){(x?Rr(c,d,x):d===n)?d=1:d=mt(d);var A=pt(c)?tU:CU;return A(c,d)}function L8(c){var d=pt(c)?nU:EU;return d(c)}function A8(c){if(c==null)return 0;if(Hr(c))return Dm(c)?Bu(c):c.length;var d=pr(c);return d==Se||d==De?c.size:_w(c).length}function D8(c,d,x){var A=pt(c)?iw:kU;return x&&Rr(c,d,x)&&(d=n),A(c,et(d,3))}var $8=yt(function(c,d){if(c==null)return[];var x=d.length;return x>1&&Rr(c,d[0],d[1])?d=[]:x>2&&Rr(d[0],d[1],d[2])&&(d=[d[0]]),Yk(c,or(d,1),[])}),Mm=v6||function(){return rr.Date.now()};function F8(c,d){if(typeof d!="function")throw new Wo(a);return c=mt(c),function(){if(--c<1)return d.apply(this,arguments)}}function jT(c,d,x){return d=x?n:d,d=c&&d==null?c.length:d,Ta(c,P,n,n,n,n,d)}function UT(c,d){var x;if(typeof d!="function")throw new Wo(a);return c=mt(c),function(){return--c>0&&(x=d.apply(this,arguments)),c<=1&&(d=n),x}}var Kw=yt(function(c,d,x){var A=S;if(x.length){var B=ys(x,Zu(Kw));A|=w}return Ta(c,A,d,x,B)}),HT=yt(function(c,d,x){var A=S|b;if(x.length){var B=ys(x,Zu(HT));A|=w}return Ta(d,A,c,x,B)});function qT(c,d,x){d=x?n:d;var A=Ta(c,C,n,n,n,n,n,d);return A.placeholder=qT.placeholder,A}function KT(c,d,x){d=x?n:d;var A=Ta(c,k,n,n,n,n,n,d);return A.placeholder=KT.placeholder,A}function GT(c,d,x){var A,B,G,Z,J,ne,ge=0,ve=!1,we=!1,Te=!0;if(typeof c!="function")throw new Wo(a);d=Uo(d)||0,hn(x)&&(ve=!!x.leading,we="maxWait"in x,G=we?jn(Uo(x.maxWait)||0,d):G,Te="trailing"in x?!!x.trailing:Te);function He(In){var Pi=A,La=B;return A=B=n,ge=In,Z=c.apply(La,Pi),Z}function nt(In){return ge=In,J=cd(_t,d),ve?He(In):Z}function vt(In){var Pi=In-ne,La=In-ge,pR=d-Pi;return we?dr(pR,G-La):pR}function rt(In){var Pi=In-ne,La=In-ge;return ne===n||Pi>=d||Pi<0||we&&La>=G}function _t(){var In=Mm();if(rt(In))return Et(In);J=cd(_t,vt(In))}function Et(In){return J=n,Te&&A?He(In):(A=B=n,Z)}function ho(){J!==n&&oT(J),ge=0,A=ne=B=J=n}function Ir(){return J===n?Z:Et(Mm())}function mo(){var In=Mm(),Pi=rt(In);if(A=arguments,B=this,ne=In,Pi){if(J===n)return nt(ne);if(we)return oT(J),J=cd(_t,d),He(ne)}return J===n&&(J=cd(_t,d)),Z}return mo.cancel=ho,mo.flush=Ir,mo}var W8=yt(function(c,d){return $k(c,1,d)}),V8=yt(function(c,d,x){return $k(c,Uo(d)||0,x)});function z8(c){return Ta(c,E)}function Nm(c,d){if(typeof c!="function"||d!=null&&typeof d!="function")throw new Wo(a);var x=function(){var A=arguments,B=d?d.apply(this,A):A[0],G=x.cache;if(G.has(B))return G.get(B);var Z=c.apply(this,A);return x.cache=G.set(B,Z)||G,Z};return x.cache=new(Nm.Cache||Ea),x}Nm.Cache=Ea;function Lm(c){if(typeof c!="function")throw new Wo(a);return function(){var d=arguments;switch(d.length){case 0:return!c.call(this);case 1:return!c.call(this,d[0]);case 2:return!c.call(this,d[0],d[1]);case 3:return!c.call(this,d[0],d[1],d[2])}return!c.apply(this,d)}}function B8(c){return UT(2,c)}var j8=TU(function(c,d){d=d.length==1&&pt(d[0])?ln(d[0],co(et())):ln(or(d,1),co(et()));var x=d.length;return yt(function(A){for(var B=-1,G=dr(A.length,x);++B=d}),$l=Bk(function(){return arguments}())?Bk:function(c){return wn(c)&&Vt.call(c,"callee")&&!kk.call(c,"callee")},pt=se.isArray,o9=uk?co(uk):dU;function Hr(c){return c!=null&&Am(c.length)&&!Ma(c)}function Rn(c){return wn(c)&&Hr(c)}function i9(c){return c===!0||c===!1||wn(c)&&Tr(c)==ee}var Os=b6||i1,a9=ck?co(ck):pU;function s9(c){return wn(c)&&c.nodeType===1&&!fd(c)}function l9(c){if(c==null)return!0;if(Hr(c)&&(pt(c)||typeof c=="string"||typeof c.splice=="function"||Os(c)||Xu(c)||$l(c)))return!c.length;var d=pr(c);if(d==Se||d==De)return!c.size;if(ud(c))return!_w(c).length;for(var x in c)if(Vt.call(c,x))return!1;return!0}function u9(c,d){return ad(c,d)}function c9(c,d,x){x=typeof x=="function"?x:n;var A=x?x(c,d):n;return A===n?ad(c,d,n,x):!!A}function Yw(c){if(!wn(c))return!1;var d=Tr(c);return d==ye||d==me||typeof c.message=="string"&&typeof c.name=="string"&&!fd(c)}function f9(c){return typeof c=="number"&&Rk(c)}function Ma(c){if(!hn(c))return!1;var d=Tr(c);return d==ce||d==_e||d==re||d==wt}function ZT(c){return typeof c=="number"&&c==mt(c)}function Am(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=W}function hn(c){var d=typeof c;return c!=null&&(d=="object"||d=="function")}function wn(c){return c!=null&&typeof c=="object"}var XT=fk?co(fk):mU;function d9(c,d){return c===d||xw(c,d,Ww(d))}function p9(c,d,x){return x=typeof x=="function"?x:n,xw(c,d,Ww(d),x)}function h9(c){return QT(c)&&c!=+c}function m9(c){if(QU(c))throw new dt(i);return jk(c)}function g9(c){return c===null}function v9(c){return c==null}function QT(c){return typeof c=="number"||wn(c)&&Tr(c)==le}function fd(c){if(!wn(c)||Tr(c)!=$e)return!1;var d=lm(c);if(d===null)return!0;var x=Vt.call(d,"constructor")&&d.constructor;return typeof x=="function"&&x instanceof x&&om.call(x)==p6}var Zw=dk?co(dk):gU;function y9(c){return ZT(c)&&c>=-W&&c<=W}var JT=pk?co(pk):vU;function Dm(c){return typeof c=="string"||!pt(c)&&wn(c)&&Tr(c)==ut}function po(c){return typeof c=="symbol"||wn(c)&&Tr(c)==Le}var Xu=hk?co(hk):yU;function b9(c){return c===n}function w9(c){return wn(c)&&pr(c)==Me}function S9(c){return wn(c)&&Tr(c)==Xe}var x9=Pm(Ow),_9=Pm(function(c,d){return c<=d});function eR(c){if(!c)return[];if(Hr(c))return Dm(c)?_i(c):Ur(c);if(Qf&&c[Qf])return t6(c[Qf]());var d=pr(c),x=d==Se?fw:d==De?tm:Qu;return x(c)}function Na(c){if(!c)return c===0?c:0;if(c=Uo(c),c===F||c===-F){var d=c<0?-1:1;return d*V}return c===c?c:0}function mt(c){var d=Na(c),x=d%1;return d===d?x?d-x:d:0}function tR(c){return c?Nl(mt(c),0,K):0}function Uo(c){if(typeof c=="number")return c;if(po(c))return j;if(hn(c)){var d=typeof c.valueOf=="function"?c.valueOf():c;c=hn(d)?d+"":d}if(typeof c!="string")return c===0?c:+c;c=wk(c);var x=ms.test(c);return x||St.test(c)?Fj(c.slice(2),x?2:8):kl.test(c)?j:+c}function nR(c){return Yi(c,qr(c))}function O9(c){return c?Nl(mt(c),-W,W):c===0?c:0}function $t(c){return c==null?"":fo(c)}var C9=Gu(function(c,d){if(ud(d)||Hr(d)){Yi(d,Zn(d),c);return}for(var x in d)Vt.call(d,x)&&rd(c,x,d[x])}),rR=Gu(function(c,d){Yi(d,qr(d),c)}),$m=Gu(function(c,d,x,A){Yi(d,qr(d),c,A)}),P9=Gu(function(c,d,x,A){Yi(d,Zn(d),c,A)}),E9=Ra(vw);function k9(c,d){var x=Ku(c);return d==null?x:Ak(x,d)}var T9=yt(function(c,d){c=Kt(c);var x=-1,A=d.length,B=A>2?d[2]:n;for(B&&Rr(d[0],d[1],B)&&(A=1);++x1),G}),Yi(c,$w(c),x),A&&(x=zo(x,h|p|m,VU));for(var B=d.length;B--;)Tw(x,d[B]);return x});function K9(c,d){return iR(c,Lm(et(d)))}var G9=Ra(function(c,d){return c==null?{}:SU(c,d)});function iR(c,d){if(c==null)return{};var x=ln($w(c),function(A){return[A]});return d=et(d),Zk(c,x,function(A,B){return d(A,B[0])})}function Y9(c,d,x){d=xs(d,c);var A=-1,B=d.length;for(B||(B=1,c=n);++Ad){var A=c;c=d,d=A}if(x||c%1||d%1){var B=Ik();return dr(c+B*(d-c+$j("1e-"+((B+"").length-1))),d)}return Pw(c,d)}var a7=Yu(function(c,d,x){return d=d.toLowerCase(),c+(x?lR(d):d)});function lR(c){return Jw($t(c).toLowerCase())}function uR(c){return c=$t(c),c&&c.replace(lj,Zj).replace(Ej,"")}function s7(c,d,x){c=$t(c),d=fo(d);var A=c.length;x=x===n?A:Nl(mt(x),0,A);var B=x;return x-=d.length,x>=0&&c.slice(x,B)==d}function l7(c){return c=$t(c),c&&Ol.test(c)?c.replace(_a,Xj):c}function u7(c){return c=$t(c),c&&Pl.test(c)?c.replace(Si,"\\$&"):c}var c7=Yu(function(c,d,x){return c+(x?"-":"")+d.toLowerCase()}),f7=Yu(function(c,d,x){return c+(x?" ":"")+d.toLowerCase()}),d7=dT("toLowerCase");function p7(c,d,x){c=$t(c),d=mt(d);var A=d?Bu(c):0;if(!d||A>=d)return c;var B=(d-A)/2;return Cm(dm(B),x)+c+Cm(fm(B),x)}function h7(c,d,x){c=$t(c),d=mt(d);var A=d?Bu(c):0;return d&&A>>0,x?(c=$t(c),c&&(typeof d=="string"||d!=null&&!Zw(d))&&(d=fo(d),!d&&zu(c))?_s(_i(c),0,x):c.split(d,x)):[]}var S7=Yu(function(c,d,x){return c+(x?" ":"")+Jw(d)});function x7(c,d,x){return c=$t(c),x=x==null?0:Nl(mt(x),0,c.length),d=fo(d),c.slice(x,x+d.length)==d}function _7(c,d,x){var A=H.templateSettings;x&&Rr(c,d,x)&&(d=n),c=$t(c),d=$m({},d,A,bT);var B=$m({},d.imports,A.imports,bT),G=Zn(B),Z=cw(B,G),J,ne,ge=0,ve=d.interpolate||Zh,we="__p += '",Te=dw((d.escape||Zh).source+"|"+ve.source+"|"+(ve===ds?nn:Zh).source+"|"+(d.evaluate||Zh).source+"|$","g"),He="//# sourceURL="+(Vt.call(d,"sourceURL")?(d.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Mj+"]")+` `;c.replace(Te,function(rt,_t,Et,ho,Ir,mo){return Et||(Et=ho),we+=c.slice(ge,mo).replace(uj,Qj),_t&&(J=!0,we+=`' + __e(`+_t+`) + '`),Ir&&(ne=!0,we+=`'; @@ -70,7 +70,7 @@ __p += '`),Et&&(we+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+we+`return __p -}`;var vt=fR(function(){return Mt(G,He+"return "+we).apply(n,Z)});if(vt.source=we,Yw(vt))throw vt;return vt}function O7(c){return $t(c).toLowerCase()}function C7(c){return $t(c).toUpperCase()}function P7(c,d,x){if(c=$t(c),c&&(x||d===n))return wk(c);if(!c||!(d=fo(d)))return c;var A=_i(c),B=_i(d),G=Sk(A,B),Z=xk(A,B)+1;return _s(A,G,Z).join("")}function E7(c,d,x){if(c=$t(c),c&&(x||d===n))return c.slice(0,Ok(c)+1);if(!c||!(d=fo(d)))return c;var A=_i(c),B=xk(A,_i(d))+1;return _s(A,0,B).join("")}function k7(c,d,x){if(c=$t(c),c&&(x||d===n))return c.replace(nr,"");if(!c||!(d=fo(d)))return c;var A=_i(c),B=Sk(A,_i(d));return _s(A,B).join("")}function T7(c,d){var x=_,A=R;if(hn(d)){var B="separator"in d?d.separator:B;x="length"in d?mt(d.length):x,A="omission"in d?fo(d.omission):A}c=$t(c);var G=c.length;if(zu(c)){var Z=_i(c);G=Z.length}if(x>=G)return c;var J=x-Bu(A);if(J<1)return A;var ne=Z?_s(Z,0,J).join(""):c.slice(0,J);if(B===n)return ne+A;if(Z&&(J+=ne.length-J),Zw(B)){if(c.slice(J).search(B)){var ge,ve=ne;for(B.global||(B=dw(B.source,$t(bn.exec(B))+"g")),B.lastIndex=0;ge=B.exec(ve);)var we=ge.index;ne=ne.slice(0,we===n?J:we)}}else if(c.indexOf(fo(B),J)!=J){var Te=ne.lastIndexOf(B);Te>-1&&(ne=ne.slice(0,Te))}return ne+A}function R7(c){return c=$t(c),c&&cs.test(c)?c.replace(_l,i6):c}var I7=Yu(function(c,d,x){return c+(x?" ":"")+d.toUpperCase()}),Jw=dT("toUpperCase");function cR(c,d,x){return c=$t(c),d=x?n:d,d===n?e6(c)?l6(c):Hj(c):c.match(d)||[]}var fR=yt(function(c,d){try{return uo(c,n,d)}catch(x){return Yw(x)?x:new dt(x)}}),M7=Ra(function(c,d){return Fo(d,function(x){x=Zi(x),ka(c,x,Kw(c[x],c))}),c});function N7(c){var d=c==null?0:c.length,x=et();return c=d?ln(c,function(A){if(typeof A[1]!="function")throw new Wo(a);return[x(A[0]),A[1]]}):[],yt(function(A){for(var B=-1;++BW)return[];var x=K,A=dr(c,K);d=et(d),c-=K;for(var B=uw(A,d);++x0||d<0)?new Ct(x):(c<0?x=x.takeRight(-c):c&&(x=x.drop(c)),d!==n&&(d=mt(d),x=d<0?x.dropRight(-d):x.take(d-c)),x)},Ct.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Ct.prototype.toArray=function(){return this.take(K)},Gi(Ct.prototype,function(c,d){var x=/^(?:filter|find|map|reject)|While$/.test(d),A=/^(?:head|last)$/.test(d),B=H[A?"take"+(d=="last"?"Right":""):d],G=A||/^find/.test(d);B&&(H.prototype[d]=function(){var Z=this.__wrapped__,J=A?[1]:arguments,ne=Z instanceof Ct,ge=J[0],ve=ne||pt(Z),we=function(_t){var Et=B.apply(H,vs([_t],J));return A&&Te?Et[0]:Et};ve&&x&&typeof ge=="function"&&ge.length!=1&&(ne=ve=!1);var Te=this.__chain__,He=!!this.__actions__.length,nt=G&&!Te,vt=ne&&!He;if(!G&&ve){Z=vt?Z:new Ct(this);var rt=c.apply(Z,J);return rt.__actions__.push({func:Rm,args:[we],thisArg:n}),new Vo(rt,Te)}return nt&&vt?c.apply(this,J):(rt=this.thru(we),nt?A?rt.value()[0]:rt.value():rt)})}),Fo(["pop","push","shift","sort","splice","unshift"],function(c){var d=nm[c],x=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",A=/^(?:pop|shift)$/.test(c);H.prototype[c]=function(){var B=arguments;if(A&&!this.__chain__){var G=this.value();return d.apply(pt(G)?G:[],B)}return this[x](function(Z){return d.apply(pt(Z)?Z:[],B)})}}),Gi(Ct.prototype,function(c,d){var x=H[d];if(x){var A=x.name+"";Vt.call(qu,A)||(qu[A]=[]),qu[A].push({name:d,func:x})}}),qu[_m(n,b).name]=[{name:"wrapper",func:n}],Ct.prototype.clone=R6,Ct.prototype.reverse=I6,Ct.prototype.value=M6,H.prototype.at=s8,H.prototype.chain=l8,H.prototype.commit=u8,H.prototype.next=c8,H.prototype.plant=d8,H.prototype.reverse=p8,H.prototype.toJSON=H.prototype.valueOf=H.prototype.value=h8,H.prototype.first=H.prototype.head,Qf&&(H.prototype[Qf]=f8),H},ju=u6();Tl?((Tl.exports=ju)._=ju,tw._=ju):rr._=ju}).call(kA)})(Jv,Jv.exports);var ru=Jv.exports;/*! +}`;var vt=fR(function(){return Mt(G,He+"return "+we).apply(n,Z)});if(vt.source=we,Yw(vt))throw vt;return vt}function O7(c){return $t(c).toLowerCase()}function C7(c){return $t(c).toUpperCase()}function P7(c,d,x){if(c=$t(c),c&&(x||d===n))return wk(c);if(!c||!(d=fo(d)))return c;var A=_i(c),B=_i(d),G=Sk(A,B),Z=xk(A,B)+1;return _s(A,G,Z).join("")}function E7(c,d,x){if(c=$t(c),c&&(x||d===n))return c.slice(0,Ok(c)+1);if(!c||!(d=fo(d)))return c;var A=_i(c),B=xk(A,_i(d))+1;return _s(A,0,B).join("")}function k7(c,d,x){if(c=$t(c),c&&(x||d===n))return c.replace(nr,"");if(!c||!(d=fo(d)))return c;var A=_i(c),B=Sk(A,_i(d));return _s(A,B).join("")}function T7(c,d){var x=_,A=R;if(hn(d)){var B="separator"in d?d.separator:B;x="length"in d?mt(d.length):x,A="omission"in d?fo(d.omission):A}c=$t(c);var G=c.length;if(zu(c)){var Z=_i(c);G=Z.length}if(x>=G)return c;var J=x-Bu(A);if(J<1)return A;var ne=Z?_s(Z,0,J).join(""):c.slice(0,J);if(B===n)return ne+A;if(Z&&(J+=ne.length-J),Zw(B)){if(c.slice(J).search(B)){var ge,ve=ne;for(B.global||(B=dw(B.source,$t(bn.exec(B))+"g")),B.lastIndex=0;ge=B.exec(ve);)var we=ge.index;ne=ne.slice(0,we===n?J:we)}}else if(c.indexOf(fo(B),J)!=J){var Te=ne.lastIndexOf(B);Te>-1&&(ne=ne.slice(0,Te))}return ne+A}function R7(c){return c=$t(c),c&&cs.test(c)?c.replace(_l,i6):c}var I7=Yu(function(c,d,x){return c+(x?" ":"")+d.toUpperCase()}),Jw=dT("toUpperCase");function cR(c,d,x){return c=$t(c),d=x?n:d,d===n?e6(c)?l6(c):Hj(c):c.match(d)||[]}var fR=yt(function(c,d){try{return uo(c,n,d)}catch(x){return Yw(x)?x:new dt(x)}}),M7=Ra(function(c,d){return Fo(d,function(x){x=Zi(x),ka(c,x,Kw(c[x],c))}),c});function N7(c){var d=c==null?0:c.length,x=et();return c=d?ln(c,function(A){if(typeof A[1]!="function")throw new Wo(a);return[x(A[0]),A[1]]}):[],yt(function(A){for(var B=-1;++BW)return[];var x=K,A=dr(c,K);d=et(d),c-=K;for(var B=uw(A,d);++x0||d<0)?new Pt(x):(c<0?x=x.takeRight(-c):c&&(x=x.drop(c)),d!==n&&(d=mt(d),x=d<0?x.dropRight(-d):x.take(d-c)),x)},Pt.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Pt.prototype.toArray=function(){return this.take(K)},Gi(Pt.prototype,function(c,d){var x=/^(?:filter|find|map|reject)|While$/.test(d),A=/^(?:head|last)$/.test(d),B=H[A?"take"+(d=="last"?"Right":""):d],G=A||/^find/.test(d);B&&(H.prototype[d]=function(){var Z=this.__wrapped__,J=A?[1]:arguments,ne=Z instanceof Pt,ge=J[0],ve=ne||pt(Z),we=function(_t){var Et=B.apply(H,vs([_t],J));return A&&Te?Et[0]:Et};ve&&x&&typeof ge=="function"&&ge.length!=1&&(ne=ve=!1);var Te=this.__chain__,He=!!this.__actions__.length,nt=G&&!Te,vt=ne&&!He;if(!G&&ve){Z=vt?Z:new Pt(this);var rt=c.apply(Z,J);return rt.__actions__.push({func:Rm,args:[we],thisArg:n}),new Vo(rt,Te)}return nt&&vt?c.apply(this,J):(rt=this.thru(we),nt?A?rt.value()[0]:rt.value():rt)})}),Fo(["pop","push","shift","sort","splice","unshift"],function(c){var d=nm[c],x=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",A=/^(?:pop|shift)$/.test(c);H.prototype[c]=function(){var B=arguments;if(A&&!this.__chain__){var G=this.value();return d.apply(pt(G)?G:[],B)}return this[x](function(Z){return d.apply(pt(Z)?Z:[],B)})}}),Gi(Pt.prototype,function(c,d){var x=H[d];if(x){var A=x.name+"";Vt.call(qu,A)||(qu[A]=[]),qu[A].push({name:d,func:x})}}),qu[_m(n,b).name]=[{name:"wrapper",func:n}],Pt.prototype.clone=R6,Pt.prototype.reverse=I6,Pt.prototype.value=M6,H.prototype.at=s8,H.prototype.chain=l8,H.prototype.commit=u8,H.prototype.next=c8,H.prototype.plant=d8,H.prototype.reverse=p8,H.prototype.toJSON=H.prototype.valueOf=H.prototype.value=h8,H.prototype.first=H.prototype.head,Qf&&(H.prototype[Qf]=f8),H},ju=u6();Tl?((Tl.exports=ju)._=ju,tw._=ju):rr._=ju}).call(kA)})(Jv,Jv.exports);var ru=Jv.exports;/*! * Copyright (c) Squirrel Chat et al., All rights reserved. * SPDX-License-Identifier: BSD-3-Clause * @@ -98,7 +98,7 @@ function print() { __p += __j.call(arguments, '') } * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */function $X(e,t){let n=e.slice(0,t).split(/\r\n|\n|\r/g);return[n.length,n.pop().length+1]}function FX(e,t,n){let r=e.split(/\r\n|\n|\r/g),o="",i=(Math.log10(t+1)|0)+1;for(let a=t-1;a<=t+1;a++){let s=r[a-1];s&&(o+=a.toString().padEnd(i," "),o+=": ",o+=s,o+=` `,a===t&&(o+=" ".repeat(i+n+2),o+=`^ -`))}return o}class Pt extends Error{constructor(n,r){const[o,i]=$X(r.toml,r.ptr),a=FX(r.toml,o,i);super(`Invalid TOML document: ${n} +`))}return o}class Ot extends Error{constructor(n,r){const[o,i]=$X(r.toml,r.ptr),a=FX(r.toml,o,i);super(`Invalid TOML document: ${n} ${a}`,r);Ju(this,"line");Ju(this,"column");Ju(this,"codeblock");this.line=o,this.column=i,this.codeblock=a}}/*! * Copyright (c) Squirrel Chat et al., All rights reserved. @@ -129,11 +129,11 @@ ${a}`,r);Ju(this,"line");Ju(this,"column");Ju(this,"codeblock");this.line=o,this */function ey(e,t=0,n=e.length){let r=e.indexOf(` `,t);return e[r-1]==="\r"&&r--,r<=n?r:-1}function VC(e,t){for(let n=t;n-1&&n!=="'"&&e[t-1]==="\\"&&e[t-2]!=="\\");return t>-1&&(t+=r.length,r.length>1&&(e[t]===n&&t++,e[t]===n&&t++)),t}/*! +`))return i}}throw new Ot("cannot find end of structure",{toml:e,ptr:t})}function EF(e,t){let n=e[t],r=n===e[t+1]&&e[t+1]===e[t+2]?e.slice(t,t+3):n;t+=r.length-1;do t=e.indexOf(r,++t);while(t>-1&&n!=="'"&&e[t-1]==="\\"&&e[t-2]!=="\\");return t>-1&&(t+=r.length,r.length>1&&(e[t]===n&&t++,e[t]===n&&t++)),t}/*! * Copyright (c) Squirrel Chat et al., All rights reserved. * SPDX-License-Identifier: BSD-3-Clause * @@ -189,9 +189,9 @@ ${a}`,r);Ju(this,"line");Ju(this,"column");Ju(this,"codeblock");this.line=o,this `,f:"\f",r:"\r",'"':'"',"\\":"\\"};function kF(e,t=0,n=e.length){let r=e[t]==="'",o=e[t++]===e[t]&&e[t]===e[t+1];o&&(n-=2,e[t+=2]==="\r"&&t++,e[t]===` `&&t++);let i=0,a,s="",l=t;for(;t-1&&(VC(e,i),o=o.slice(0,i));let a=o.trimEnd();if(!r){let s=o.indexOf(` -`,a.length);if(s>-1)throw new Pt("newlines are not allowed in inline tables",{toml:e,ptr:t+s})}return[a,i]}function zC(e,t,n){let r=e[t];if(r==="["||r==="{"){let[a,s]=r==="["?GX(e,t):KX(e,t),l=Y2(e,s,",",n);if(n==="}"){let u=ey(e,s,l);if(u>-1)throw new Pt("newlines are not allowed in inline tables",{toml:e,ptr:u})}return[a,l]}let o;if(r==='"'||r==="'"){o=EF(e,t);let a=kF(e,t,o);if(n){if(o=Ua(e,o,n!=="]"),e[o]&&e[o]!==","&&e[o]!==n&&e[o]!==` -`&&e[o]!=="\r")throw new Pt("unexpected character encountered",{toml:e,ptr:o});o+=+(e[o]===",")}return[a,o]}o=Y2(e,t,",",n);let i=HX(e,t,o-+(e[o-1]===","),n==="]");if(!i[0])throw new Pt("incomplete key-value declaration: no value specified",{toml:e,ptr:t});return n&&i[1]>-1&&(o=Ua(e,t+i[1]),o+=+(e[o]===",")),[UX(i[0],e,t),o]}/*! +`,a.length);if(s>-1)throw new Ot("newlines are not allowed in inline tables",{toml:e,ptr:t+s})}return[a,i]}function zC(e,t,n,r){if(r===0)throw new Ot("document contains excessively nested structures. aborting.",{toml:e,ptr:t});let o=e[t];if(o==="["||o==="{"){let[s,l]=o==="["?GX(e,t,r):KX(e,t,r),u=Y2(e,l,",",n);if(n==="}"){let f=ey(e,l,u);if(f>-1)throw new Ot("newlines are not allowed in inline tables",{toml:e,ptr:f})}return[s,u]}let i;if(o==='"'||o==="'"){i=EF(e,t);let s=kF(e,t,i);if(n){if(i=Ua(e,i,n!=="]"),e[i]&&e[i]!==","&&e[i]!==n&&e[i]!==` +`&&e[i]!=="\r")throw new Ot("unexpected character encountered",{toml:e,ptr:i});i+=+(e[i]===",")}return[s,i]}i=Y2(e,t,",",n);let a=HX(e,t,i-+(e[i-1]===","),n==="]");if(!a[0])throw new Ot("incomplete key-value declaration: no value specified",{toml:e,ptr:t});return n&&a[1]>-1&&(i=Ua(e,t+a[1]),i+=+(e[i]===",")),[UX(a[0],e,t),i]}/*! * Copyright (c) Squirrel Chat et al., All rights reserved. * SPDX-License-Identifier: BSD-3-Clause * @@ -245,9 +245,9 @@ ${a}`,r);Ju(this,"line");Ju(this,"column");Ju(this,"codeblock");this.line=o,this * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */let qX=/^[a-zA-Z0-9-_]+[ \t]*$/;function l_(e,t,n="="){let r=t-1,o=[],i=e.indexOf(n,t);if(i<0)throw new Pt("incomplete key-value: cannot find end of key",{toml:e,ptr:t});do{let a=e[t=++r];if(a!==" "&&a!==" ")if(a==='"'||a==="'"){if(a===e[t+1]&&a===e[t+2])throw new Pt("multiline strings are not allowed in keys",{toml:e,ptr:t});let s=EF(e,t);if(s<0)throw new Pt("unfinished string encountered",{toml:e,ptr:t});r=e.indexOf(".",s);let l=e.slice(s,r<0||r>i?i:r),u=ey(l);if(u>-1)throw new Pt("newlines are not allowed in keys",{toml:e,ptr:t+r+u});if(l.trimStart())throw new Pt("found extra tokens after the string part",{toml:e,ptr:s});if(ii?i:r);if(!qX.test(s))throw new Pt("only letter, numbers, dashes and underscores are allowed in keys",{toml:e,ptr:t});o.push(s.trimEnd())}}while(r+1&&ri?i:r),u=ey(l);if(u>-1)throw new Ot("newlines are not allowed in keys",{toml:e,ptr:t+r+u});if(l.trimStart())throw new Ot("found extra tokens after the string part",{toml:e,ptr:s});if(ii?i:r);if(!qX.test(s))throw new Ot("only letter, numbers, dashes and underscores are allowed in keys",{toml:e,ptr:t});o.push(s.trimEnd())}}while(r+1&&r{let e=window.localStorage.getItem("colorScheme");if(e===null||!["light","dark","light-high-contrast","dark-high-contrast"].includes(e)){const r=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",o=window.matchMedia("(prefers-contrast: more)").matches?"-high-contrast":"";e=`${r}${o}`}document.documentElement.dataset.colorScheme=e,await hQ().then(r=>{J2=tI(r,!1,cQ,"from server settings file")});const t=new URLSearchParams(window.location.search),n={};t.forEach((r,o)=>{let i=n;if(o.startsWith("opencast.")||o==="allowedCallbackPrefixes")return;o==="mediaPackageId"&&(o="id");const a=o.split(".");a.slice(0,-1).forEach(s=>{s in i||(i[s]={}),i=i[s]}),i[a[a.length-1]]=r}),eI=tI(n,!0,fQ,"given as URL GET parameter"),ot=IF.all([dQ,J2,eI]),ot.opencast.local=ot.opencast.local&&ot.opencast.url===window.location.origin,ot.callbackUrl=ot.allowedCallbackPrefixes.some(r=>{var o;return(o=ot.callbackUrl)==null?void 0:o.startsWith(r)})?ot.callbackUrl:void 0},hQ=async()=>{var i;let e="./";e.endsWith("/")||(e+="/");const t=uQ,n=t.startsWith("/")?"":e,r=new URL(n.concat(t),window.location.origin);let o;try{o=await fetch(r)}catch(a){return console.warn(`Could not access "${t}" due to network error!`,a||""),null}if(o.status===404)return console.debug(`"${t}" returned 404: ignoring`),null;if(!o.ok)return console.error(`Fetching "${t}" failed: ${o.status} ${o.statusText}`),null;if((i=o.headers.get("Content-Type"))!=null&&i.startsWith("text/html"))return console.warn(`"${t}" request has "Content-Type: text/html" -> ignoring...`),null;try{return YX(await o.text())}catch(a){throw console.error(`Could not parse "${t}" as TOML: `,a),new SyntaxError(`Could not parse "${t}" as TOML: ${a}`)}},tI=(e,t,n,r)=>{const o=(s,l,u)=>typeof s=="function"?i(s,l,u):a(s,l,u),i=(s,l,u)=>{try{const f=s(l,t,n);return f===void 0?l:f}catch(f){return console.warn(`Validation of setting "${u}" (${r}) with value "${l}" failed: ${f}. Ignoring.`),null}},a=(s,l,u)=>{const f={};for(const h in l){const p=u?`${u}.${h}`:h;if(h in s){const m=o(s[h],l[h],p);m!==null&&(f[h]=m)}else console.warn(`"${p}" (${r}) is not a valid settings key. Ignoring.`)}return f};return o(mQ,e,"")},ir={string:(e,t)=>{if(typeof e!="string")throw new Error("is not a string, but should be")},boolean:(e,t)=>{if(typeof e!="boolean")if(t){if(e==="true")return!0;if(e==="false")return!1;throw new Error("cant be parsed as boolean")}else throw new Error("is not a boolean")},array:(e,t)=>{if(!Array.isArray(e))throw new Error("is not an array, but should be");for(const n in e)if(typeof n!="string")throw new Error("is not a string, but should be")},map:(e,t)=>{for(const n in e){if(typeof n!="string")throw new Error("is not a string, but should be");if(typeof e[n]!="string")throw new Error("is not a string, but should be")}},objectsWithinObjects:(e,t)=>{for(const n in e){if(typeof n!="string")throw new Error("is not a string, but should be");for(const r in e[n]){if(typeof r!="string")throw new Error("is not a string, but should be");for(const o in e[n][r]){if(typeof o!="string")throw new Error("is not a string, but should be");if(o==="show"&&typeof e[n][r][o]!="boolean")throw new Error("is not a boolean");if(o==="readonly"&&typeof e[n][r][o]!="boolean")throw new Error("is not a boolean")}}}}},mQ={id:ir.string,allowedCallbackPrefixes:ir.array,callbackUrl:ir.string,callbackSystem:ir.string,opencast:{url:ir.string,name:ir.string,password:ir.string},metadata:{show:ir.boolean,configureFields:ir.objectsWithinObjects},trackSelection:{show:ir.boolean},subtitles:{show:ir.boolean,mainFlavor:ir.string,languages:ir.objectsWithinObjects,icons:ir.map,defaultVideoFlavor:ir.map},thumbnail:{show:ir.boolean,simpleMode:ir.boolean}},IF=(e,t)=>RF(e,t,{arrayMerge:MF});IF.all=e=>RF.all(e,{arrayMerge:MF});const MF=(e,t,n)=>t;async function ci(e,{body:t,...n}={}){const r={"Content-Type":"application/json"};let o={};ot.opencast.name&&ot.opencast.password&&(o={Authorization:`Basic ${btoa(unescape(encodeURIComponent(ot.opencast.name+":"+ot.opencast.password)))}`});const i={method:t?"POST":"GET",...n,headers:{...r,...n.headers,...o}};t&&(i.headers["Content-Type"].includes("urlencoded")?i.body=t:i.body=JSON.stringify(t));let a,s,l;try{if(l=await window.fetch(e,i),s=await l.text(),l.url.includes("login.html"))throw new Error("Got redirected to login page, authentification failed.");if(l.ok)return a=s.length?s:"",a;throw new Error(l.statusText)}catch(u){return Promise.reject(l.status?"Status "+l.status+": "+s:u.message)}}ci.get=function(e,t={}){return ci(e,{...t,method:"GET"})};ci.post=function(e,t,n={}){return ci(e,{...n,body:t})};ci.delete=function(e,t={}){return ci(e,{...t,method:"DELETE"})};var jC={};(function(e){(function(){var t={direction:"horizontal",snapToLines:!0,linePosition:"auto",lineAlign:"start",textPosition:"auto",positionAlign:"auto",size:100,alignment:"center"},n=function(s){s||(s={"&":"&","<":"<",">":">","&lrm":"‎","&rlm":"‏"," ":" "}),this.entities=s,this.parse=function(l,u){l=l.replace(/\0/g,"�");var f=/\r\n|\r|\n/,h=Date.now(),p=0,m=l.split(f),g=!1,y=[],S=[],b=[];function O(D,$){b.push({message:D,line:p+1,col:$})}var C=m[p],k=C.length,w="WEBVTT",T=0,P=w.length;for(C[0]==="\uFEFF"&&(T=1,P+=1),(kP&&C[P]!==" "&&C[P]!==" ")&&O('No valid signature. (File needs to start with "WEBVTT".)'),p++;m[p]!=""&&m[p]!=null;){if(O("No blank line after the signature."),m[p].indexOf("-->")!=-1){g=!0;break}p++}for(;m[p]!=null;){for(var v;!g&&m[p]=="";)p++;if(!g&&m[p]==null)break;v=Object.assign({},t,{id:"",startTime:0,endTime:0,pauseOnExit:!1,direction:"horizontal",snapToLines:!0,linePosition:"auto",lineAlign:"start",textPosition:"auto",positionAlign:"auto",size:100,alignment:"center",text:"",tree:null});var E=!0;if(m[p].indexOf("-->")==-1){if(v.id=m[p],/^NOTE($|[ \t])/.test(v.id)){for(p++;m[p]!=""&&m[p]!=null;)m[p].indexOf("-->")!=-1&&O("Cannot have timestamp in a comment."),p++;continue}if(/^STYLE($|[ \t])/.test(v.id)){var _=[],R=!1;for(p++;m[p]!=""&&m[p]!=null;)m[p].indexOf("-->")!=-1&&(O("Cannot have timestamp in a style block."),R=!0),_.push(m[p]),p++;if(S.length){O("Style blocks cannot appear after the first cue.");continue}R||y.push(_.join(` + */function X2(e,t,n,r){var u,f;let o=t,i=n,a,s=!1,l;for(let h=0;h{let e=window.localStorage.getItem("colorScheme");if(e===null||!["light","dark","light-high-contrast","dark-high-contrast"].includes(e)){const r=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",o=window.matchMedia("(prefers-contrast: more)").matches?"-high-contrast":"";e=`${r}${o}`}document.documentElement.dataset.colorScheme=e,await hQ().then(r=>{J2=tI(r,!1,cQ,"from server settings file")});const t=new URLSearchParams(window.location.search),n={};t.forEach((r,o)=>{let i=n;if(o.startsWith("opencast.")||o==="allowedCallbackPrefixes")return;o==="mediaPackageId"&&(o="id");const a=o.split(".");a.slice(0,-1).forEach(s=>{s in i||(i[s]={}),i=i[s]}),i[a[a.length-1]]=r}),eI=tI(n,!0,fQ,"given as URL GET parameter"),ot=IF.all([dQ,J2,eI]),ot.opencast.local=ot.opencast.local&&ot.opencast.url===window.location.origin,ot.callbackUrl=ot.allowedCallbackPrefixes.some(r=>{var o;return(o=ot.callbackUrl)==null?void 0:o.startsWith(r)})?ot.callbackUrl:void 0},hQ=async()=>{var i;let e="./";e.endsWith("/")||(e+="/");const t=uQ,n=t.startsWith("/")?"":e,r=new URL(n.concat(t),window.location.origin);let o;try{o=await fetch(r)}catch(a){return console.warn(`Could not access "${t}" due to network error!`,a||""),null}if(o.status===404)return console.debug(`"${t}" returned 404: ignoring`),null;if(!o.ok)return console.error(`Fetching "${t}" failed: ${o.status} ${o.statusText}`),null;if((i=o.headers.get("Content-Type"))!=null&&i.startsWith("text/html"))return console.warn(`"${t}" request has "Content-Type: text/html" -> ignoring...`),null;try{return YX(await o.text())}catch(a){throw console.error(`Could not parse "${t}" as TOML: `,a),new SyntaxError(`Could not parse "${t}" as TOML: ${a}`)}},tI=(e,t,n,r)=>{const o=(s,l,u)=>typeof s=="function"?i(s,l,u):a(s,l,u),i=(s,l,u)=>{try{const f=s(l,t,n);return f===void 0?l:f}catch(f){return console.warn(`Validation of setting "${u}" (${r}) with value "${l}" failed: ${f}. Ignoring.`),null}},a=(s,l,u)=>{const f={};for(const h in l){const p=u?`${u}.${h}`:h;if(h in s){const m=o(s[h],l[h],p);m!==null&&(f[h]=m)}else console.warn(`"${p}" (${r}) is not a valid settings key. Ignoring.`)}return f};return o(mQ,e,"")},ir={string:(e,t)=>{if(typeof e!="string")throw new Error("is not a string, but should be")},boolean:(e,t)=>{if(typeof e!="boolean")if(t){if(e==="true")return!0;if(e==="false")return!1;throw new Error("cant be parsed as boolean")}else throw new Error("is not a boolean")},array:(e,t)=>{if(!Array.isArray(e))throw new Error("is not an array, but should be");for(const n in e)if(typeof n!="string")throw new Error("is not a string, but should be")},map:(e,t)=>{for(const n in e){if(typeof n!="string")throw new Error("is not a string, but should be");if(typeof e[n]!="string")throw new Error("is not a string, but should be")}},objectsWithinObjects:(e,t)=>{for(const n in e){if(typeof n!="string")throw new Error("is not a string, but should be");for(const r in e[n]){if(typeof r!="string")throw new Error("is not a string, but should be");for(const o in e[n][r]){if(typeof o!="string")throw new Error("is not a string, but should be");if(o==="show"&&typeof e[n][r][o]!="boolean")throw new Error("is not a boolean");if(o==="readonly"&&typeof e[n][r][o]!="boolean")throw new Error("is not a boolean")}}}}},mQ={id:ir.string,allowedCallbackPrefixes:ir.array,callbackUrl:ir.string,callbackSystem:ir.string,opencast:{url:ir.string,name:ir.string,password:ir.string},metadata:{show:ir.boolean,configureFields:ir.objectsWithinObjects},trackSelection:{show:ir.boolean},subtitles:{show:ir.boolean,mainFlavor:ir.string,languages:ir.objectsWithinObjects,icons:ir.map,defaultVideoFlavor:ir.map},thumbnail:{show:ir.boolean,simpleMode:ir.boolean}},IF=(e,t)=>RF(e,t,{arrayMerge:MF});IF.all=e=>RF.all(e,{arrayMerge:MF});const MF=(e,t,n)=>t;async function ci(e,{body:t,...n}={}){const r={"Content-Type":"application/json"};let o={};ot.opencast.name&&ot.opencast.password&&(o={Authorization:`Basic ${btoa(unescape(encodeURIComponent(ot.opencast.name+":"+ot.opencast.password)))}`});const i={method:t?"POST":"GET",...n,headers:{...r,...n.headers,...o}};t&&(i.headers["Content-Type"].includes("urlencoded")?i.body=t:i.body=JSON.stringify(t));let a,s,l;try{if(l=await window.fetch(e,i),s=await l.text(),l.url.includes("login.html"))throw new Error("Got redirected to login page, authentification failed.");if(l.ok)return a=s.length?s:"",a;throw new Error(l.statusText)}catch(u){return Promise.reject(l.status?"Status "+l.status+": "+s:u.message)}}ci.get=function(e,t={}){return ci(e,{...t,method:"GET"})};ci.post=function(e,t,n={}){return ci(e,{...n,body:t})};ci.delete=function(e,t={}){return ci(e,{...t,method:"DELETE"})};var jC={};(function(e){(function(){var t={direction:"horizontal",snapToLines:!0,linePosition:"auto",lineAlign:"start",textPosition:"auto",positionAlign:"auto",size:100,alignment:"center"},n=function(s){s||(s={"&":"&","<":"<",">":">","&lrm":"‎","&rlm":"‏"," ":" "}),this.entities=s,this.parse=function(l,u){l=l.replace(/\0/g,"�");var f=/\r\n|\r|\n/,h=Date.now(),p=0,m=l.split(f),g=!1,y=[],S=[],b=[];function O(D,$){b.push({message:D,line:p+1,col:$})}var C=m[p],k=C.length,w="WEBVTT",T=0,P=w.length;for(C[0]==="\uFEFF"&&(T=1,P+=1),(kP&&C[P]!==" "&&C[P]!==" ")&&O('No valid signature. (File needs to start with "WEBVTT".)'),p++;m[p]!=""&&m[p]!=null;){if(O("No blank line after the signature."),m[p].indexOf("-->")!=-1){g=!0;break}p++}for(;m[p]!=null;){for(var v;!g&&m[p]=="";)p++;if(!g&&m[p]==null)break;v=Object.assign({},t,{id:"",startTime:0,endTime:0,pauseOnExit:!1,direction:"horizontal",snapToLines:!0,linePosition:"auto",lineAlign:"start",textPosition:"auto",positionAlign:"auto",size:100,alignment:"center",text:"",tree:null});var E=!0;if(m[p].indexOf("-->")==-1){if(v.id=m[p],/^NOTE($|[ \t])/.test(v.id)){for(p++;m[p]!=""&&m[p]!=null;)m[p].indexOf("-->")!=-1&&O("Cannot have timestamp in a comment."),p++;continue}if(/^STYLE($|[ \t])/.test(v.id)){var _=[],R=!1;for(p++;m[p]!=""&&m[p]!=null;)m[p].indexOf("-->")!=-1&&(O("Cannot have timestamp in a style block."),R=!0),_.push(m[p]),p++;if(S.length){O("Style blocks cannot appear after the first cue.");continue}R||y.push(_.join(` `));continue}if(p++,m[p]==""||m[p]==null){O("Cue identifier cannot be standalone.");continue}if(m[p].indexOf("-->")==-1){E=!1,O("Cue identifier needs to be followed by timestamp.");continue}}g=!1;var M=new r(m[p],O),N=0;if(S.length>0&&(N=S[S.length-1].startTime),E&&!M.parse(v,N)){for(v=null,p++;m[p]!=""&&m[p]!=null;){if(m[p].indexOf("-->")!=-1){g=!0;break}p++}continue}for(p++;m[p]!=""&&m[p]!=null;){if(m[p].indexOf("-->")!=-1){O("Blank line missing before cue."),g=!0;break}v.text!=""&&(v.text+=` `),v.text+=m[p],p++}var I=new o(v.text,O,u,s);v.tree=I.parse(v.startTime,v.endTime),S.push(v)}return S.sort(function(D,$){return D.startTime<$.startTime?-1:D.startTime>$.startTime?1:D.endTime>$.endTime?-1:D.endTime<$.endTime?1:0}),{cues:S,errors:b,time:Date.now()-h,styles:y}}},r=function(h,l){var u=/[\u0020\t\f]/,f=/[^\u0020\t\f]/,h=h,p=0,m=function(O){l(O,p+1)};function g(O){for(;h[p]!=null&&O.test(h[p]);)p++}function y(O){for(var C="";h[p]!=null&&O.test(h[p]);)C+=h[p],p++;return C}function S(){var O="minutes",C,k,w,T;if(h[p]==null){m("No timestamp found.");return}if(!/\d/.test(h[p])){m("Timestamp must start with a character in the range 0-9.");return}if(C=y(/\d/),(C.length>2||parseInt(C,10)>59)&&(O="hours"),h[p]!=":"){m("No time unit separator found.");return}if(p++,k=y(/\d/),k.length!=2){m("Must be exactly two digits.");return}if(O=="hours"||h[p]==":"){if(h[p]!=":"){m("No seconds found or minutes is greater than 59.");return}if(p++,w=y(/\d/),w.length!=2){m("Must be exactly two digits.");return}}else{if(C.length!=2){m("Must be exactly two digits.");return}w=k,k=C,C="0"}if(h[p]!="."){m('No decimal separator (".") found.');return}if(p++,T=y(/\d/),T.length!=3){m("Milliseconds must be given in three digits.");return}if(parseInt(k,10)>59){m("You cannot have more than 59 minutes.");return}if(parseInt(w,10)>59){m("You cannot have more than 59 seconds.");return}return parseInt(C,10)*60*60+parseInt(k,10)*60+parseInt(w,10)+parseInt(T,10)/1e3}function b(O,C){for(var k=O.split(u),w=[],T=0;T100)){m("Line position cannot be >100%.");continue}if(M===""||isNaN(M)||!isFinite(M)){m("Line position needs to be a number");continue}if(R!==void 0){if(!["start","center","end"].includes(R)){m("Line alignment needs to be one of start, center or end");continue}C.lineAlign=R}C.snapToLines=!N,C.linePosition=parseFloat(M),parseFloat(M).toString()!==M&&(C.nonSerializable=!0)}else if(v=="position"){if(/,/.test(E)){var _=E.split(",");E=_[0];var I=_[1]}if(E[E.length-1]!="%"){m("Text position must be a percentage.");continue}if(parseInt(E,10)>100||parseInt(E,10)<0){m("Text position needs to be between 0 and 100%.");continue}if(M=E.slice(0,E.length-1),M===""||isNaN(M)||!isFinite(M)){m("Line position needs to be a number");continue}if(I!==void 0){if(!["line-left","center","line-right"].includes(I)){m("Position alignment needs to be one of line-left, center or line-right");continue}C.positionAlign=I}C.textPosition=parseFloat(M)}else if(v=="size"){if(E[E.length-1]!="%"){m("Size must be a percentage.");continue}if(parseInt(E,10)>100){m("Size cannot be >100%.");continue}var D=E.slice(0,E.length-1);if(D===void 0||D===""||isNaN(D)){m("Size needs to be a number"),D=100;continue}else if(D=parseFloat(D),D<0||D>100){m("Size needs to be between 0 and 100%.");continue}C.size=D}else if(v=="align"){var $=["start","center","end","left","right"];if($.indexOf(E)==-1){m("Alignment can only be set to one of "+$.join(", ")+".");continue}C.alignment=E}else m("Invalid setting.")}}this.parse=function(O,C){if(g(u),O.startTime=S(),O.startTime!=null){if(O.startTime' by whitespace."),g(u),h[p]!="-"){m("No valid timestamp separator found.");return}if(p++,h[p]!="-"){m("No valid timestamp separator found.");return}if(p++,h[p]!=">"){m("No valid timestamp separator found.");return}if(p++,f.test(h[p])&&m("'-->' not separated from timestamp by whitespace."),g(u),O.endTime=S(),O.endTime!=null)return O.endTime<=O.startTime&&m("End timestamp is not greater than start timestamp."),f.test(h[p]),g(u),b(h.substring(p),O),!0}},this.parseTimestamp=function(){var O=S();if(h[p]!=null){m("Timestamp must not have trailing characters.");return}return O}},o=function(p,l,u,f){this.entities=f;var h=this,p=p,m=0,g=function(S){u!="metadata"&&l(S,m+1)};this.parse=function(S,b){function O(M){const N={...M};return M.children&&(N.children=M.children.map(O)),N.parent&&delete N.parent,N}var C={children:[]},k=C,w=[];function T(M){k.children.push({type:"object",name:M[1],classes:M[2],children:[],parent:k}),k=k.children[k.children.length-1]}function P(M){for(var N=k;N;){if(N.name==M)return!0;N=N.parent}}for(;p[m]!=null;){var v=y();if(v[0]=="text")k.children.push({type:"text",value:v[1],parent:k});else if(v[0]=="start tag"){u=="chapters"&&g("Start tags not allowed in chapter title text.");var E=v[1];E!="v"&&E!="lang"&&v[3]!=""&&g("Only and can have an annotation."),E=="c"||E=="i"||E=="b"||E=="u"||E=="ruby"||E=="rt"&&k.name=="ruby"?T(v):E=="v"?(P("v")&&g(" cannot be nested inside itself."),T(v),k.value=v[3],v[3]||g(" requires an annotation.")):E=="lang"?(T(v),k.value=v[3]):g("Incorrect start tag.")}else if(v[0]=="end tag")u=="chapters"&&g("End tags not allowed in chapter title text."),v[1]==k.name?k=k.parent:v[1]=="ruby"&&k.name=="rt"?k=k.parent.parent:g("Incorrect end tag.");else if(v[0]=="timestamp"){u=="chapters"&&g("Timestamp not allowed in chapter title text.");var _=new r(v[1],g),R=_.parseTimestamp();R!=null&&((R<=S||R>=b)&&g("Timestamp must be between start timestamp and end timestamp."),w.length>0&&w[w.length-1]>=R&&g("Timestamp must be greater than any previous timestamp."),k.children.push({type:"timestamp",value:R,parent:k}),w.push(R))}}for(;k.parent;)k.name!="v"&&g("Required end tag missing."),k=k.parent;return O(C)};function y(){for(var S="data",b="",O="",C=[];p[m-1]!=null||m==0;){var k=p[m];if(S=="data")if(k=="&")O=k,S="escape";else if(k=="<"&&b=="")S="tag";else{if(k=="<"||k==null)return["text",b];b+=k}else if(S=="escape")if(k=="<"||k==null){g("Incorrect escape.");let w;return(w=O.match(/^&#([0-9]+)$/))?b+=String.fromCharCode(w[1]):h.entities[O]?b+=h.entities[O]:b+=O,["text",b]}else if(k=="&")g("Incorrect escape."),b+=O,O=k;else if(/[a-z#0-9]/i.test(k))O+=k;else if(k==";"){let w;(w=O.match(/^&#(x?[0-9]+)$/))?b+=String.fromCharCode("0"+w[1]):h.entities[O+k]?b+=h.entities[O+k]:(w=Object.keys(f).find(T=>O.startsWith(T)))?b+=h.entities[w]+O.slice(w.length)+k:(g("Incorrect escape."),b+=O+";"),S="data"}else g("Incorrect escape."),b+=O+k,S="data";else if(S=="tag")if(k==" "||k==` `||k=="\f"||k==" ")S="start tag annotation";else if(k==".")S="start tag class";else if(k=="/")S="end tag";else if(/\d/.test(k))b=k,S="timestamp tag";else{if(k==">"||k==null)return k==">"&&m++,["start tag","",[],""];b=k,S="start tag"}else if(S=="start tag")if(k==" "||k=="\f"||k==" ")S="start tag annotation";else if(k==` diff --git a/index.html b/index.html index 1a1bb0a0d..1c7e6e7ed 100644 --- a/index.html +++ b/index.html @@ -1,8 +1,8 @@ - - + + @@ -49,7 +49,7 @@ stroke-linecap: round; } - +