Welcome to mirror list, hosted at ThFree Co, Russian Federation.

files_pdfviewer-public.js « js - github.com/nextcloud/files_pdfviewer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cad406a217c22e01e4a2f1c303204874b2373361 (plain)
1
2
3
/*! For license information please see files_pdfviewer-public.js.LICENSE.txt */
(()=>{var t={2200:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRequestToken",{enumerable:!0,get:function(){return n.getRequestToken}}),Object.defineProperty(e,"onRequestTokenUpdate",{enumerable:!0,get:function(){return n.onRequestTokenUpdate}}),Object.defineProperty(e,"getCurrentUser",{enumerable:!0,get:function(){return o.getCurrentUser}});var n=r(1894),o=r(1618)},1894:(t,e,r)=>{"use strict";var n=r(5108);r(9554),Object.defineProperty(e,"__esModule",{value:!0}),e.getRequestToken=function(){return a},e.onRequestTokenUpdate=function(t){c.push(t)};var o=r(2089),i=document.getElementsByTagName("head")[0],a=i?i.getAttribute("data-requesttoken"):null,c=[];(0,o.subscribe)("csrf-token-update",(function(t){a=t.token,c.forEach((function(e){try{e(t.token)}catch(t){n.error("error updating CSRF token observer",t)}}))}))},1618:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCurrentUser=function(){if(null===n)return null;return{uid:n,displayName:i,isAdmin:a}};var r=document.getElementsByTagName("head")[0],n=r?r.getAttribute("data-user"):null,o=document.getElementsByTagName("head")[0],i=o?o.getAttribute("data-user-displayname"):null,a="undefined"!=typeof OC&&OC.isUserAdmin()},2089:(t,e,r)=>{"use strict";r.r(e),r.d(e,{emit:()=>Ho,subscribe:()=>Wo,unsubscribe:()=>Xo});var n=r(4155),o=r(5108),i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};function a(t){var e={exports:{}};return t(e,e.exports),e.exports}var c=function(t){return t&&t.Math==Math&&t},u=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof i&&i)||function(){return this}()||Function("return this")(),s=function(t){try{return!!t()}catch(t){return!0}},l=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),f={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y={f:p&&!f.call({1:2},1)?function(t){var e=p(this,t);return!!e&&e.enumerable}:f},g=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},h={}.toString,v=function(t){return h.call(t).slice(8,-1)},d="".split,b=s((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==v(t)?d.call(t,""):Object(t)}:Object,E=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},m=function(t){return b(E(t))},O=function(t){return"object"==typeof t?null!==t:"function"==typeof t},S=function(t,e){if(!O(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!O(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!O(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!O(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},w=function(t){return Object(E(t))},A={}.hasOwnProperty,x=function(t,e){return A.call(w(t),e)},j=u.document,I=O(j)&&O(j.createElement),R=function(t){return I?j.createElement(t):{}},P=!l&&!s((function(){return 7!=Object.defineProperty(R("div"),"a",{get:function(){return 7}}).a})),T=Object.getOwnPropertyDescriptor,N={f:l?T:function(t,e){if(t=m(t),e=S(e,!0),P)try{return T(t,e)}catch(t){}if(x(t,e))return g(!y.f.call(t,e),t[e])}},L=function(t){if(!O(t))throw TypeError(String(t)+" is not an object");return t},k=Object.defineProperty,_={f:l?k:function(t,e,r){if(L(t),e=S(e,!0),L(r),P)try{return k(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},F=l?function(t,e,r){return _.f(t,e,g(1,r))}:function(t,e,r){return t[e]=r,t},D=function(t,e){try{F(u,t,e)}catch(r){u[t]=e}return e},M="__core-js_shared__",U=u[M]||D(M,{}),C=Function.toString;"function"!=typeof U.inspectSource&&(U.inspectSource=function(t){return C.call(t)});var G,B,$,q=U.inspectSource,V=u.WeakMap,z="function"==typeof V&&/native code/.test(q(V)),W=a((function(t){(t.exports=function(t,e){return U[t]||(U[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.11.2",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),X=0,H=Math.random(),Y=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++X+H).toString(36)},J=W("keys"),K=function(t){return J[t]||(J[t]=Y(t))},Z={},Q="Object already initialized",tt=u.WeakMap;if(z){var et=U.state||(U.state=new tt),rt=et.get,nt=et.has,ot=et.set;G=function(t,e){if(nt.call(et,t))throw new TypeError(Q);return e.facade=t,ot.call(et,t,e),e},B=function(t){return rt.call(et,t)||{}},$=function(t){return nt.call(et,t)}}else{var it=K("state");Z[it]=!0,G=function(t,e){if(x(t,it))throw new TypeError(Q);return e.facade=t,F(t,it,e),e},B=function(t){return x(t,it)?t[it]:{}},$=function(t){return x(t,it)}}var at={set:G,get:B,has:$,enforce:function(t){return $(t)?B(t):G(t,{})},getterFor:function(t){return function(e){var r;if(!O(e)||(r=B(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},ct=a((function(t){var e=at.get,r=at.enforce,n=String(String).split("String");(t.exports=function(t,e,o,i){var a,c=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,l=!!i&&!!i.noTargetGet;"function"==typeof o&&("string"!=typeof e||x(o,"name")||F(o,"name",e),(a=r(o)).source||(a.source=n.join("string"==typeof e?e:""))),t!==u?(c?!l&&t[e]&&(s=!0):delete t[e],s?t[e]=o:F(t,e,o)):s?t[e]=o:D(e,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&e(this).source||q(this)}))})),ut=u,st=function(t){return"function"==typeof t?t:void 0},lt=function(t,e){return arguments.length<2?st(ut[t])||st(u[t]):ut[t]&&ut[t][e]||u[t]&&u[t][e]},ft=Math.ceil,pt=Math.floor,yt=function(t){return isNaN(t=+t)?0:(t>0?pt:ft)(t)},gt=Math.min,ht=function(t){return t>0?gt(yt(t),9007199254740991):0},vt=Math.max,dt=Math.min,bt=function(t){return function(e,r,n){var o,i=m(e),a=ht(i.length),c=function(t,e){var r=yt(t);return r<0?vt(r+e,0):dt(r,e)}(n,a);if(t&&r!=r){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((t||c in i)&&i[c]===r)return t||c||0;return!t&&-1}},Et={includes:bt(!0),indexOf:bt(!1)}.indexOf,mt=function(t,e){var r,n=m(t),o=0,i=[];for(r in n)!x(Z,r)&&x(n,r)&&i.push(r);for(;e.length>o;)x(n,r=e[o++])&&(~Et(i,r)||i.push(r));return i},Ot=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],St=Ot.concat("length","prototype"),wt={f:Object.getOwnPropertyNames||function(t){return mt(t,St)}},At={f:Object.getOwnPropertySymbols},xt=lt("Reflect","ownKeys")||function(t){var e=wt.f(L(t)),r=At.f;return r?e.concat(r(t)):e},jt=function(t,e){for(var r=xt(e),n=_.f,o=N.f,i=0;i<r.length;i++){var a=r[i];x(t,a)||n(t,a,o(e,a))}},It=/#|\.prototype\./,Rt=function(t,e){var r=Tt[Pt(t)];return r==Lt||r!=Nt&&("function"==typeof e?s(e):!!e)},Pt=Rt.normalize=function(t){return String(t).replace(It,".").toLowerCase()},Tt=Rt.data={},Nt=Rt.NATIVE="N",Lt=Rt.POLYFILL="P",kt=Rt,_t=N.f,Ft=function(t,e){var r,n,o,i,a,c=t.target,s=t.global,l=t.stat;if(r=s?u:l?u[c]||D(c,{}):(u[c]||{}).prototype)for(n in e){if(i=e[n],o=t.noTargetGet?(a=_t(r,n))&&a.value:r[n],!kt(s?n:c+(l?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;jt(i,o)}(t.sham||o&&o.sham)&&F(i,"sham",!0),ct(r,n,i,t)}};Ft({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991});var Dt,Mt=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return L(r),function(t){if(!O(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(n),e?t.call(r,n):r.__proto__=n,r}}():void 0),Ut=function(t,e,r){var n,o;return Mt&&"function"==typeof(n=e.constructor)&&n!==r&&O(o=n.prototype)&&o!==r.prototype&&Mt(t,o),t},Ct=Object.keys||function(t){return mt(t,Ot)},Gt=l?Object.defineProperties:function(t,e){L(t);for(var r,n=Ct(e),o=n.length,i=0;o>i;)_.f(t,r=n[i++],e[r]);return t},Bt=lt("document","documentElement"),$t=K("IE_PROTO"),qt=function(){},Vt=function(t){return"<script>"+t+"</"+"script>"},zt=function(){try{Dt=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;zt=Dt?function(t){t.write(Vt("")),t.close();var e=t.parentWindow.Object;return t=null,e}(Dt):((e=R("iframe")).style.display="none",Bt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Vt("document.F=Object")),t.close(),t.F);for(var r=Ot.length;r--;)delete zt.prototype[Ot[r]];return zt()};Z[$t]=!0;var Wt=Object.create||function(t,e){var r;return null!==t?(qt.prototype=L(t),r=new qt,qt.prototype=null,r[$t]=t):r=zt(),void 0===e?r:Gt(r,e)},Xt="\t\n\v\f\r                 \u2028\u2029\ufeff",Ht="["+Xt+"]",Yt=RegExp("^"+Ht+Ht+"*"),Jt=RegExp(Ht+Ht+"*$"),Kt=function(t){return function(e){var r=String(E(e));return 1&t&&(r=r.replace(Yt,"")),2&t&&(r=r.replace(Jt,"")),r}},Zt={start:Kt(1),end:Kt(2),trim:Kt(3)},Qt=wt.f,te=N.f,ee=_.f,re=Zt.trim,ne="Number",oe=u.Number,ie=oe.prototype,ae=v(Wt(ie))==ne,ce=function(t){var e,r,n,o,i,a,c,u,s=S(t,!1);if("string"==typeof s&&s.length>2)if(43===(e=(s=re(s)).charCodeAt(0))||45===e){if(88===(r=s.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,c=0;c<a;c++)if((u=i.charCodeAt(c))<48||u>o)return NaN;return parseInt(i,n)}return+s};if(kt(ne,!oe(" 0o1")||!oe("0b1")||oe("+0x1"))){for(var ue,se=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof se&&(ae?s((function(){ie.valueOf.call(r)})):v(r)!=ne)?Ut(new oe(ce(e)),r,se):ce(e)},le=l?Qt(oe):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),fe=0;le.length>fe;fe++)x(oe,ue=le[fe])&&!x(se,ue)&&ee(se,ue,te(oe,ue));se.prototype=ie,ie.constructor=se,ct(u,ne,se)}var pe,ye,ge={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},he="process"==v(u.process),ve=lt("navigator","userAgent")||"",de=u.process,be=de&&de.versions,Ee=be&&be.v8;Ee?ye=(pe=Ee.split("."))[0]+pe[1]:ve&&(!(pe=ve.match(/Edge\/(\d+)/))||pe[1]>=74)&&(pe=ve.match(/Chrome\/(\d+)/))&&(ye=pe[1]);var me=ye&&+ye,Oe=!!Object.getOwnPropertySymbols&&!s((function(){return!Symbol.sham&&(he?38===me:me>37&&me<41)})),Se=Oe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,we=W("wks"),Ae=u.Symbol,xe=Se?Ae:Ae&&Ae.withoutSetter||Y,je=function(t){return x(we,t)&&(Oe||"string"==typeof we[t])||(Oe&&x(Ae,t)?we[t]=Ae[t]:we[t]=xe("Symbol."+t)),we[t]},Ie=je("match"),Re=function(t){var e;return O(t)&&(void 0!==(e=t[Ie])?!!e:"RegExp"==v(t))},Pe=function(){var t=L(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function Te(t,e){return RegExp(t,e)}var Ne=s((function(){var t=Te("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),Le=s((function(){var t=Te("^r","gy");return t.lastIndex=2,null!=t.exec("str")})),ke={UNSUPPORTED_Y:Ne,BROKEN_CARET:Le},_e=je("species"),Fe=function(t){var e=lt(t),r=_.f;l&&e&&!e[_e]&&r(e,_e,{configurable:!0,get:function(){return this}})},De=_.f,Me=wt.f,Ue=at.enforce,Ce=je("match"),Ge=u.RegExp,Be=Ge.prototype,$e=/a/g,qe=/a/g,Ve=new Ge($e)!==$e,ze=ke.UNSUPPORTED_Y;if(l&&kt("RegExp",!Ve||ze||s((function(){return qe[Ce]=!1,Ge($e)!=$e||Ge(qe)==qe||"/a/i"!=Ge($e,"i")})))){for(var We=function(t,e){var r,n=this instanceof We,o=Re(t),i=void 0===e;if(!n&&o&&t.constructor===We&&i)return t;Ve?o&&!i&&(t=t.source):t instanceof We&&(i&&(e=Pe.call(t)),t=t.source),ze&&(r=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var a=Ut(Ve?new Ge(t,e):Ge(t,e),n?this:Be,We);ze&&r&&(Ue(a).sticky=!0);return a},Xe=function(t){t in We||De(We,t,{configurable:!0,get:function(){return Ge[t]},set:function(e){Ge[t]=e}})},He=Me(Ge),Ye=0;He.length>Ye;)Xe(He[Ye++]);Be.constructor=We,We.prototype=Be,ct(u,"RegExp",We)}Fe("RegExp");var Je=RegExp.prototype.exec,Ke=W("native-string-replace",String.prototype.replace),Ze=Je,Qe=function(){var t=/a/,e=/b*/g;return Je.call(t,"a"),Je.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),tr=ke.UNSUPPORTED_Y||ke.BROKEN_CARET,er=void 0!==/()??/.exec("")[1];(Qe||er||tr)&&(Ze=function(t){var e,r,n,o,i=this,a=tr&&i.sticky,c=Pe.call(i),u=i.source,s=0,l=t;return a&&(-1===(c=c.replace("y","")).indexOf("g")&&(c+="g"),l=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(u="(?: "+u+")",l=" "+l,s++),r=new RegExp("^(?:"+u+")",c)),er&&(r=new RegExp("^"+u+"$(?!\\s)",c)),Qe&&(e=i.lastIndex),n=Je.call(a?r:i,l),a?n?(n.input=n.input.slice(s),n[0]=n[0].slice(s),n.index=i.lastIndex,i.lastIndex+=n[0].length):i.lastIndex=0:Qe&&n&&(i.lastIndex=i.global?n.index+n[0].length:e),er&&n&&n.length>1&&Ke.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n});var rr=Ze;Ft({target:"RegExp",proto:!0,forced:/./.exec!==rr},{exec:rr});var nr="toString",or=RegExp.prototype,ir=or.toString,ar=s((function(){return"/a/b"!=ir.call({source:"a",flags:"b"})})),cr=ir.name!=nr;(ar||cr)&&ct(RegExp.prototype,nr,(function(){var t=L(this),e=String(t.source),r=t.flags;return"/"+e+"/"+String(void 0===r&&t instanceof RegExp&&!("flags"in or)?Pe.call(t):r)}),{unsafe:!0});var ur=Array.isArray||function(t){return"Array"==v(t)},sr=function(t,e,r){var n=S(e);n in t?_.f(t,n,g(0,r)):t[n]=r},lr=je("species"),fr=function(t,e){var r;return ur(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!ur(r.prototype)?O(r)&&null===(r=r[lr])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},pr=je("species"),yr=function(t){return me>=51||!s((function(){var e=[];return(e.constructor={})[pr]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},gr=je("isConcatSpreadable"),hr=9007199254740991,vr="Maximum allowed index exceeded",dr=me>=51||!s((function(){var t=[];return t[gr]=!1,t.concat()[0]!==t})),br=yr("concat"),Er=function(t){if(!O(t))return!1;var e=t[gr];return void 0!==e?!!e:ur(t)};function mr(t){return mr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mr(t)}function Or(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}Ft({target:"Array",proto:!0,forced:!dr||!br},{concat:function(t){var e,r,n,o,i,a=w(this),c=fr(a,0),u=0;for(e=-1,n=arguments.length;e<n;e++)if(Er(i=-1===e?a:arguments[e])){if(u+(o=ht(i.length))>hr)throw TypeError(vr);for(r=0;r<o;r++,u++)r in i&&sr(c,u,i[r])}else{if(u>=hr)throw TypeError(vr);sr(c,u++,i)}return c.length=u,c}});var Sr="object"===(void 0===n?"undefined":mr(n))&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?function(){for(var t,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return(t=o).error.apply(t,["SEMVER"].concat(r))}:function(){},wr=a((function(t,e){var r=ge.MAX_SAFE_COMPONENT_LENGTH,n=(e=t.exports={}).re=[],o=e.src=[],i=e.t={},a=0,c=function(t,e,r){var c=a++;Sr(c,e),i[t]=c,o[c]=e,n[c]=new RegExp(e,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION","(".concat(o[i.NUMERICIDENTIFIER],")\\.")+"(".concat(o[i.NUMERICIDENTIFIER],")\\.")+"(".concat(o[i.NUMERICIDENTIFIER],")")),c("MAINVERSIONLOOSE","(".concat(o[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(o[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(o[i.NUMERICIDENTIFIERLOOSE],")")),c("PRERELEASEIDENTIFIER","(?:".concat(o[i.NUMERICIDENTIFIER],"|").concat(o[i.NONNUMERICIDENTIFIER],")")),c("PRERELEASEIDENTIFIERLOOSE","(?:".concat(o[i.NUMERICIDENTIFIERLOOSE],"|").concat(o[i.NONNUMERICIDENTIFIER],")")),c("PRERELEASE","(?:-(".concat(o[i.PRERELEASEIDENTIFIER],"(?:\\.").concat(o[i.PRERELEASEIDENTIFIER],")*))")),c("PRERELEASELOOSE","(?:-?(".concat(o[i.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(o[i.PRERELEASEIDENTIFIERLOOSE],")*))")),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD","(?:\\+(".concat(o[i.BUILDIDENTIFIER],"(?:\\.").concat(o[i.BUILDIDENTIFIER],")*))")),c("FULLPLAIN","v?".concat(o[i.MAINVERSION]).concat(o[i.PRERELEASE],"?").concat(o[i.BUILD],"?")),c("FULL","^".concat(o[i.FULLPLAIN],"$")),c("LOOSEPLAIN","[v=\\s]*".concat(o[i.MAINVERSIONLOOSE]).concat(o[i.PRERELEASELOOSE],"?").concat(o[i.BUILD],"?")),c("LOOSE","^".concat(o[i.LOOSEPLAIN],"$")),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE","".concat(o[i.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),c("XRANGEIDENTIFIER","".concat(o[i.NUMERICIDENTIFIER],"|x|X|\\*")),c("XRANGEPLAIN","[v=\\s]*(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIER],")")+"(?:".concat(o[i.PRERELEASE],")?").concat(o[i.BUILD],"?")+")?)?"),c("XRANGEPLAINLOOSE","[v=\\s]*(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(o[i.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(o[i.PRERELEASELOOSE],")?").concat(o[i.BUILD],"?")+")?)?"),c("XRANGE","^".concat(o[i.GTLT],"\\s*").concat(o[i.XRANGEPLAIN],"$")),c("XRANGELOOSE","^".concat(o[i.GTLT],"\\s*").concat(o[i.XRANGEPLAINLOOSE],"$")),c("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(r,"})")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:\\.(\\d{1,".concat(r,"}))?")+"(?:$|[^\\d])"),c("COERCERTL",o[i.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM","(\\s*)".concat(o[i.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",c("TILDE","^".concat(o[i.LONETILDE]).concat(o[i.XRANGEPLAIN],"$")),c("TILDELOOSE","^".concat(o[i.LONETILDE]).concat(o[i.XRANGEPLAINLOOSE],"$")),c("LONECARET","(?:\\^)"),c("CARETTRIM","(\\s*)".concat(o[i.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",c("CARET","^".concat(o[i.LONECARET]).concat(o[i.XRANGEPLAIN],"$")),c("CARETLOOSE","^".concat(o[i.LONECARET]).concat(o[i.XRANGEPLAINLOOSE],"$")),c("COMPARATORLOOSE","^".concat(o[i.GTLT],"\\s*(").concat(o[i.LOOSEPLAIN],")$|^$")),c("COMPARATOR","^".concat(o[i.GTLT],"\\s*(").concat(o[i.FULLPLAIN],")$|^$")),c("COMPARATORTRIM","(\\s*)".concat(o[i.GTLT],"\\s*(").concat(o[i.LOOSEPLAIN],"|").concat(o[i.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE","^\\s*(".concat(o[i.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(o[i.XRANGEPLAIN],")")+"\\s*$"),c("HYPHENRANGELOOSE","^\\s*(".concat(o[i.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(o[i.XRANGEPLAINLOOSE],")")+"\\s*$"),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),Ar=je("species"),xr=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),jr="$0"==="a".replace(/./,"$0"),Ir=je("replace"),Rr=!!/./[Ir]&&""===/./[Ir]("a","$0"),Pr=!s((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),Tr=function(t,e,r,n){var o=je(t),i=!s((function(){var e={};return e[o]=function(){return 7},7!=""[t](e)})),a=i&&!s((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Ar]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||"replace"===t&&(!xr||!jr||Rr)||"split"===t&&!Pr){var c=/./[o],u=r(o,""[t],(function(t,e,r,n,o){return e.exec===RegExp.prototype.exec?i&&!o?{done:!0,value:c.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:jr,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Rr}),l=u[0],f=u[1];ct(String.prototype,t,l),ct(RegExp.prototype,o,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)})}n&&F(RegExp.prototype[o],"sham",!0)},Nr=function(t){return function(e,r){var n,o,i=String(E(e)),a=yt(r),c=i.length;return a<0||a>=c?t?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===c||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):n:t?i.slice(a,a+2):o-56320+(n-55296<<10)+65536}},Lr={codeAt:Nr(!1),charAt:Nr(!0)},kr=Lr.charAt,_r=function(t,e,r){return e+(r?kr(t,e).length:1)},Fr=function(t,e){var r=t.exec;if("function"==typeof r){var n=r.call(t,e);if("object"!=typeof n)throw TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==v(t))throw TypeError("RegExp#exec called on incompatible receiver");return rr.call(t,e)};Tr("match",1,(function(t,e,r){return[function(e){var r=E(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var o=L(t),i=String(this);if(!o.global)return Fr(o,i);var a=o.unicode;o.lastIndex=0;for(var c,u=[],s=0;null!==(c=Fr(o,i));){var l=String(c[0]);u[s]=l,""===l&&(o.lastIndex=_r(i,ht(o.lastIndex),a)),s++}return 0===s?null:u}]}));var Dr=Zt.trim;Ft({target:"String",proto:!0,forced:function(t){return s((function(){return!!Xt[t]()||"​…᠎"!="​…᠎"[t]()||Xt[t].name!==t}))}("trim")},{trim:function(){return Dr(this)}});var Mr=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},Ur=function(t,e,r){if(Mr(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}},Cr=[].push,Gr=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=7==t,c=5==t||i;return function(u,s,l,f){for(var p,y,g=w(u),h=b(g),v=Ur(s,l,3),d=ht(h.length),E=0,m=f||fr,O=e?m(u,d):r||a?m(u,0):void 0;d>E;E++)if((c||E in h)&&(y=v(p=h[E],E,g),t))if(e)O[E]=y;else if(y)switch(t){case 3:return!0;case 5:return p;case 6:return E;case 2:Cr.call(O,p)}else switch(t){case 4:return!1;case 7:Cr.call(O,p)}return i?-1:n||o?o:O}},Br={forEach:Gr(0),map:Gr(1),filter:Gr(2),some:Gr(3),every:Gr(4),find:Gr(5),findIndex:Gr(6),filterOut:Gr(7)},$r=Br.map,qr=yr("map");Ft({target:"Array",proto:!0,forced:!qr},{map:function(t){return $r(this,t,arguments.length>1?arguments[1]:void 0)}});var Vr=je("species"),zr=ke.UNSUPPORTED_Y,Wr=[].push,Xr=Math.min,Hr=4294967295;Tr("split",2,(function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n=String(E(this)),o=void 0===r?Hr:r>>>0;if(0===o)return[];if(void 0===t)return[n];if(!Re(t))return e.call(n,t,o);for(var i,a,c,u=[],s=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,f=new RegExp(t.source,s+"g");(i=rr.call(f,n))&&!((a=f.lastIndex)>l&&(u.push(n.slice(l,i.index)),i.length>1&&i.index<n.length&&Wr.apply(u,i.slice(1)),c=i[0].length,l=a,u.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return l===n.length?!c&&f.test("")||u.push(""):u.push(n.slice(l)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){var o=E(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,r):n.call(String(o),e,r)},function(t,o){var i=r(n,t,this,o,n!==e);if(i.done)return i.value;var a=L(t),c=String(this),u=function(t,e){var r,n=L(t).constructor;return void 0===n||null==(r=L(n)[Vr])?e:Mr(r)}(a,RegExp),s=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(zr?"g":"y"),f=new u(zr?"^(?:"+a.source+")":a,l),p=void 0===o?Hr:o>>>0;if(0===p)return[];if(0===c.length)return null===Fr(f,c)?[c]:[];for(var y=0,g=0,h=[];g<c.length;){f.lastIndex=zr?0:g;var v,d=Fr(f,zr?c.slice(g):c);if(null===d||(v=Xr(ht(f.lastIndex+(zr?g:0)),c.length))===y)g=_r(c,g,s);else{if(h.push(c.slice(y,g)),h.length===p)return h;for(var b=1;b<=d.length-1;b++)if(h.push(d[b]),h.length===p)return h;g=y=v}}return h.push(c.slice(y)),h}]}),zr);var Yr=function(t,e){var r=[][t];return!!r&&s((function(){r.call(null,e||function(){throw 1},1)}))},Jr=[].join,Kr=b!=Object,Zr=Yr("join",",");Ft({target:"Array",proto:!0,forced:Kr||!Zr},{join:function(t){return Jr.call(m(this),void 0===t?",":t)}});var Qr=Br.filter,tn=yr("filter");Ft({target:"Array",proto:!0,forced:!tn},{filter:function(t){return Qr(this,t,arguments.length>1?arguments[1]:void 0)}});var en=["includePrerelease","loose","rtl"],rn=function(t){return t?"object"!==mr(t)?{loose:!0}:en.filter((function(e){return t[e]})).reduce((function(t,e){return t[e]=!0,t}),{}):{}},nn=/^[0-9]+$/,on=function(t,e){var r=nn.test(t),n=nn.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},an=on,cn=ge.MAX_LENGTH,un=ge.MAX_SAFE_INTEGER,sn=wr.re,ln=wr.t,fn=an,pn=function(){function t(e,r){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),r=rn(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>cn)throw new TypeError("version is longer than ".concat(cn," characters"));Sr("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;var n=e.trim().match(r.loose?sn[ln.LOOSE]:sn[ln.FULL]);if(!n)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>un||this.major<0)throw new TypeError("Invalid major version");if(this.minor>un||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>un||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((function(t){if(/^[0-9]+$/.test(t)){var e=+t;if(e>=0&&e<un)return e}return t})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}var e,r,n;return e=t,(r=[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(e){if(Sr("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if("string"==typeof e&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}},{key:"compareMain",value:function(e){return e instanceof t||(e=new t(e,this.options)),fn(this.major,e.major)||fn(this.minor,e.minor)||fn(this.patch,e.patch)}},{key:"comparePre",value:function(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var r=0;do{var n=this.prerelease[r],o=e.prerelease[r];if(Sr("prerelease compare",r,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return fn(n,o)}while(++r)}},{key:"compareBuild",value:function(e){e instanceof t||(e=new t(e,this.options));var r=0;do{var n=this.build[r],o=e.build[r];if(Sr("prerelease compare",r,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return fn(n,o)}while(++r)}},{key:"inc",value:function(t,e){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e),this.inc("pre",e);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: ".concat(t))}return this.format(),this.raw=this.version,this}}])&&Or(e.prototype,r),n&&Or(e,n),t}(),yn=pn,gn=ge.MAX_LENGTH,hn=wr.re,vn=wr.t,dn=function(t,e){if(e=rn(e),t instanceof yn)return t;if("string"!=typeof t)return null;if(t.length>gn)return null;if(!(e.loose?hn[vn.LOOSE]:hn[vn.FULL]).test(t))return null;try{return new yn(t,e)}catch(t){return null}},bn=function(t,e){var r=dn(t,e);return r?r.version:null},En=function(t,e){return new yn(t,e).major},mn="1.3.0",On=function(){function t(t){"function"==typeof t.getVersion&&bn(t.getVersion())?En(t.getVersion())!==En(this.getVersion())&&o.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()):o.warn("Proxying an event bus with an unknown or invalid version"),this.bus=t}return t.prototype.getVersion=function(){return mn},t.prototype.subscribe=function(t,e){this.bus.subscribe(t,e)},t.prototype.unsubscribe=function(t,e){this.bus.unsubscribe(t,e)},t.prototype.emit=function(t,e){this.bus.emit(t,e)},t}(),Sn=je("unscopables"),wn=Array.prototype;null==wn[Sn]&&_.f(wn,Sn,{configurable:!0,value:Wt(null)});var An,xn,jn,In=function(t){wn[Sn][t]=!0},Rn={},Pn=!s((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Tn=K("IE_PROTO"),Nn=Object.prototype,Ln=Pn?Object.getPrototypeOf:function(t){return t=w(t),x(t,Tn)?t[Tn]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Nn:null},kn=je("iterator"),_n=!1;[].keys&&("next"in(jn=[].keys())?(xn=Ln(Ln(jn)))!==Object.prototype&&(An=xn):_n=!0);var Fn=null==An||s((function(){var t={};return An[kn].call(t)!==t}));Fn&&(An={}),x(An,kn)||F(An,kn,(function(){return this}));var Dn={IteratorPrototype:An,BUGGY_SAFARI_ITERATORS:_n},Mn=_.f,Un=je("toStringTag"),Cn=function(t,e,r){t&&!x(t=r?t:t.prototype,Un)&&Mn(t,Un,{configurable:!0,value:e})},Gn=Dn.IteratorPrototype,Bn=function(){return this},$n=Dn.IteratorPrototype,qn=Dn.BUGGY_SAFARI_ITERATORS,Vn=je("iterator"),zn="keys",Wn="values",Xn="entries",Hn=function(){return this},Yn=function(t,e,r,n,o,i,a){!function(t,e,r){var n=e+" Iterator";t.prototype=Wt(Gn,{next:g(1,r)}),Cn(t,n,!1),Rn[n]=Bn}(r,e,n);var c,u,s,l=function(t){if(t===o&&v)return v;if(!qn&&t in y)return y[t];switch(t){case zn:case Wn:case Xn:return function(){return new r(this,t)}}return function(){return new r(this)}},f=e+" Iterator",p=!1,y=t.prototype,h=y[Vn]||y["@@iterator"]||o&&y[o],v=!qn&&h||l(o),d="Array"==e&&y.entries||h;if(d&&(c=Ln(d.call(new t)),$n!==Object.prototype&&c.next&&(Ln(c)!==$n&&(Mt?Mt(c,$n):"function"!=typeof c[Vn]&&F(c,Vn,Hn)),Cn(c,f,!0))),o==Wn&&h&&h.name!==Wn&&(p=!0,v=function(){return h.call(this)}),y[Vn]!==v&&F(y,Vn,v),Rn[e]=v,o)if(u={values:l(Wn),keys:i?v:l(zn),entries:l(Xn)},a)for(s in u)(qn||p||!(s in y))&&ct(y,s,u[s]);else Ft({target:e,proto:!0,forced:qn||p},u);return u},Jn="Array Iterator",Kn=at.set,Zn=at.getterFor(Jn),Qn=Yn(Array,"Array",(function(t,e){Kn(this,{type:Jn,target:m(t),index:0,kind:e})}),(function(){var t=Zn(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values");Rn.Arguments=Rn.Array,In("keys"),In("values"),In("entries");var to=!s((function(){return Object.isExtensible(Object.preventExtensions({}))})),eo=a((function(t){var e=_.f,r=Y("meta"),n=0,o=Object.isExtensible||function(){return!0},i=function(t){e(t,r,{value:{objectID:"O"+ ++n,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!O(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!x(t,r)){if(!o(t))return"F";if(!e)return"E";i(t)}return t[r].objectID},getWeakData:function(t,e){if(!x(t,r)){if(!o(t))return!0;if(!e)return!1;i(t)}return t[r].weakData},onFreeze:function(t){return to&&a.REQUIRED&&o(t)&&!x(t,r)&&i(t),t}};Z[r]=!0})),ro=je("iterator"),no=Array.prototype,oo={};oo[je("toStringTag")]="z";var io="[object z]"===String(oo),ao=je("toStringTag"),co="Arguments"==v(function(){return arguments}()),uo=io?v:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),ao))?r:co?v(e):"Object"==(n=v(e))&&"function"==typeof e.callee?"Arguments":n},so=je("iterator"),lo=function(t){var e=t.return;if(void 0!==e)return L(e.call(t)).value},fo=function(t,e){this.stopped=t,this.result=e},po=function(t,e,r){var n,o,i,a,c,u,s,l,f=r&&r.that,p=!(!r||!r.AS_ENTRIES),y=!(!r||!r.IS_ITERATOR),g=!(!r||!r.INTERRUPTED),h=Ur(e,f,1+p+g),v=function(t){return n&&lo(n),new fo(!0,t)},d=function(t){return p?(L(t),g?h(t[0],t[1],v):h(t[0],t[1])):g?h(t,v):h(t)};if(y)n=t;else{if(o=function(t){if(null!=t)return t[so]||t["@@iterator"]||Rn[uo(t)]}(t),"function"!=typeof o)throw TypeError("Target is not iterable");if(void 0!==(l=o)&&(Rn.Array===l||no[ro]===l)){for(i=0,a=ht(t.length);a>i;i++)if((c=d(t[i]))&&c instanceof fo)return c;return new fo(!1)}n=o.call(t)}for(u=n.next;!(s=u.call(n)).done;){try{c=d(s.value)}catch(t){throw lo(n),t}if("object"==typeof c&&c&&c instanceof fo)return c}return new fo(!1)},yo=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},go=je("iterator"),ho=!1;try{var vo=0,bo={next:function(){return{done:!!vo++}},return:function(){ho=!0}};bo[go]=function(){return this},Array.from(bo,(function(){throw 2}))}catch(t){}var Eo=function(t,e,r){for(var n in e)ct(t,n,e[n],r);return t},mo=_.f,Oo=eo.fastKey,So=at.set,wo=at.getterFor,Ao={getConstructor:function(t,e,r,n){var o=t((function(t,i){yo(t,o,e),So(t,{type:e,index:Wt(null),first:void 0,last:void 0,size:0}),l||(t.size=0),null!=i&&po(i,t[n],{that:t,AS_ENTRIES:r})})),i=wo(e),a=function(t,e,r){var n,o,a=i(t),u=c(t,e);return u?u.value=r:(a.last=u={index:o=Oo(e,!0),key:e,value:r,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=u),n&&(n.next=u),l?a.size++:t.size++,"F"!==o&&(a.index[o]=u)),t},c=function(t,e){var r,n=i(t),o=Oo(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return Eo(o.prototype,{clear:function(){for(var t=i(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=this,r=i(e),n=c(e,t);if(n){var o=n.next,a=n.previous;delete r.index[n.index],n.removed=!0,a&&(a.next=o),o&&(o.previous=a),r.first==n&&(r.first=o),r.last==n&&(r.last=a),l?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=i(this),n=Ur(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!c(this,t)}}),Eo(o.prototype,r?{get:function(t){var e=c(this,t);return e&&e.value},set:function(t,e){return a(this,0===t?0:t,e)}}:{add:function(t){return a(this,t=0===t?0:t,t)}}),l&&mo(o.prototype,"size",{get:function(){return i(this).size}}),o},setStrong:function(t,e,r){var n=e+" Iterator",o=wo(e),i=wo(n);Yn(t,e,(function(t,e){So(this,{type:n,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),Fe(e)}};!function(t,e,r){var n=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=n?"set":"add",a=u[t],c=a&&a.prototype,l=a,f={},p=function(t){var e=c[t];ct(c,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(o&&!O(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return o&&!O(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(o&&!O(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(kt(t,"function"!=typeof a||!(o||c.forEach&&!s((function(){(new a).entries().next()})))))l=r.getConstructor(e,t,n,i),eo.REQUIRED=!0;else if(kt(t,!0)){var y=new l,g=y[i](o?{}:-0,1)!=y,h=s((function(){y.has(1)})),v=function(t,e){if(!e&&!ho)return!1;var r=!1;try{var n={};n[go]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r}((function(t){new a(t)})),d=!o&&s((function(){for(var t=new a,e=5;e--;)t[i](e,e);return!t.has(-0)}));v||((l=e((function(e,r){yo(e,l,t);var o=Ut(new a,e,l);return null!=r&&po(r,o[i],{that:o,AS_ENTRIES:n}),o}))).prototype=c,c.constructor=l),(h||d)&&(p("delete"),p("has"),n&&p("get")),(d||g)&&p(i),o&&c.clear&&delete c.clear}f[t]=l,Ft({global:!0,forced:l!=a},f),Cn(l,t),o||r.setStrong(l,t,n)}("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Ao);var xo=io?{}.toString:function(){return"[object "+uo(this)+"]"};io||ct(Object.prototype,"toString",xo,{unsafe:!0});var jo=Lr.charAt,Io="String Iterator",Ro=at.set,Po=at.getterFor(Io);Yn(String,"String",(function(t){Ro(this,{type:Io,string:String(t),index:0})}),(function(){var t,e=Po(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=jo(r,n),e.index+=t.length,{value:t,done:!1})}));var To={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},No=je("iterator"),Lo=je("toStringTag"),ko=Qn.values;for(var _o in To){var Fo=u[_o],Do=Fo&&Fo.prototype;if(Do){if(Do[No]!==ko)try{F(Do,No,ko)}catch(t){Do[No]=ko}if(Do[Lo]||F(Do,Lo,_o),To[_o])for(var Mo in Qn)if(Do[Mo]!==Qn[Mo])try{F(Do,Mo,Qn[Mo])}catch(t){Do[Mo]=Qn[Mo]}}}var Uo=Br.forEach,Co=Yr("forEach")?[].forEach:function(t){return Uo(this,t,arguments.length>1?arguments[1]:void 0)};for(var Go in To){var Bo=u[Go],$o=Bo&&Bo.prototype;if($o&&$o.forEach!==Co)try{F($o,"forEach",Co)}catch(t){$o.forEach=Co}}var qo="1.3.0",Vo=function(){function t(){this.handlers=new Map}return t.prototype.getVersion=function(){return qo},t.prototype.subscribe=function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).concat(e))},t.prototype.unsubscribe=function(t,e){this.handlers.set(t,(this.handlers.get(t)||[]).filter((function(t){return t!=e})))},t.prototype.emit=function(t,e){(this.handlers.get(t)||[]).forEach((function(t){try{t(e)}catch(t){o.error("could not invoke event listener",t)}}))},t}();var zo=(void 0!==window.OC&&window.OC._eventBus&&void 0===window._nc_event_bus&&(o.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),void 0!==window._nc_event_bus?new On(window._nc_event_bus):window._nc_event_bus=new Vo);function Wo(t,e){zo.subscribe(t,e)}function Xo(t,e){zo.unsubscribe(t,e)}function Ho(t,e){zo.emit(t,e)}},1356:(t,e,r)=>{"use strict";var n=r(5108);Object.defineProperty(e,"__esModule",{value:!0}),e.ConsoleLogger=void 0,e.buildConsoleLogger=function(t){return new a(t)},r(9601),r(9070);var o=r(6);function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var a=function(){function t(e){var r,n,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),o=void 0,(n="context")in(r=this)?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,this.context=e}var e,r,a;return e=t,(r=[{key:"formatMessage",value:function(t,e,r){var n="["+o.LogLevel[e].toUpperCase()+"]";return r&&r.app&&(n+=" "+r.app+": "),n+t}},{key:"log",value:function(t,e,r){var i;if(!(t<(null===(i=this.context)||void 0===i?void 0:i.level)))switch(t){case o.LogLevel.Debug:n.debug(this.formatMessage(e,o.LogLevel.Debug,r),r);break;case o.LogLevel.Info:n.info(this.formatMessage(e,o.LogLevel.Info,r),r);break;case o.LogLevel.Warn:n.warn(this.formatMessage(e,o.LogLevel.Warn,r),r);break;case o.LogLevel.Error:n.error(this.formatMessage(e,o.LogLevel.Error,r),r);break;case o.LogLevel.Fatal:default:n.error(this.formatMessage(e,o.LogLevel.Fatal,r),r)}}},{key:"debug",value:function(t,e){this.log(o.LogLevel.Debug,t,Object.assign({},this.context,e))}},{key:"info",value:function(t,e){this.log(o.LogLevel.Info,t,Object.assign({},this.context,e))}},{key:"warn",value:function(t,e){this.log(o.LogLevel.Warn,t,Object.assign({},this.context,e))}},{key:"error",value:function(t,e){this.log(o.LogLevel.Error,t,Object.assign({},this.context,e))}},{key:"fatal",value:function(t,e){this.log(o.LogLevel.Fatal,t,Object.assign({},this.context,e))}}])&&i(e.prototype,r),a&&i(e,a),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.ConsoleLogger=a},5058:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LoggerBuilder=void 0,r(9070);var n=r(2200),o=r(6);function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c=function(){function t(e){var r,n,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,"context",void 0),a(this,"factory",void 0),this.context={},this.factory=e,this.context.level=void 0!==(null===(r=OC)||void 0===r||null===(n=r.config)||void 0===n?void 0:n.loglevel)?OC.config.loglevel:o.LogLevel.Warn,null!==(i=OC)&&void 0!==i&&i.debug&&(this.context.level=o.LogLevel.Debug)}var e,r,c;return e=t,(r=[{key:"setApp",value:function(t){return this.context.app=t,this}},{key:"setLogLevel",value:function(t){return this.context.level=t,this}},{key:"setUid",value:function(t){return this.context.uid=t,this}},{key:"detectUser",value:function(){var t=(0,n.getCurrentUser)();return null!==t&&(this.context.uid=t.uid),this}},{key:"build",value:function(){return this.factory(this.context)}}])&&i(e.prototype,r),c&&i(e,c),Object.defineProperty(e,"prototype",{writable:!1}),t}();e.LoggerBuilder=c},6:(t,e,r)=>{"use strict";var n;r(9070),Object.defineProperty(e,"__esModule",{value:!0}),e.LogLevel=void 0,e.LogLevel=n,function(t){t[t.Debug=0]="Debug",t[t.Info=1]="Info",t[t.Warn=2]="Warn",t[t.Error=3]="Error",t[t.Fatal=4]="Fatal"}(n||(e.LogLevel=n={}))},7499:(t,e,r)=>{"use strict";r(9070),e.IY=i;var n=r(1356),o=r(5058);function i(){return new o.LoggerBuilder(n.buildConsoleLogger)}},9753:(t,e,r)=>{"use strict";e.nu=void 0,r(5306);const n=(t,e,r)=>{const n=Object.assign({escape:!0},r||{});return"/"!==t.charAt(0)&&(t="/"+t),o=(o=e||{})||{},t.replace(/{([^{}]*)}/g,(function(t,e){var r=o[e];return n.escape?"string"==typeof r||"number"==typeof r?encodeURIComponent(r.toString()):encodeURIComponent(t):"string"==typeof r||"number"==typeof r?r.toString():t}));var o};e.nu=(t,e,r)=>{const o=Object.assign({noRewrite:!1},r||{});return!0!==OC.config.modRewriteWorking||o.noRewrite?i()+"/index.php"+n(t,e,r):i()+n(t,e,r)};const o=(t,e,r)=>{const n=-1!==OC.coreApps.indexOf(t);let o=i();return"php"!==r.substring(r.length-3)||n?"php"===r.substring(r.length-3)||n?(o+="settings"!==t&&"core"!==t&&"search"!==t||"ajax"!==e?"/":"/index.php/",n||(o+="apps/"),""!==t&&(o+=t+="/"),e&&(o+=e+"/"),o+=r):(o=OC.appswebroots[t],e&&(o+="/"+e+"/"),"/"!==o.substring(o.length-1)&&(o+="/"),o+=r):(o+="/index.php/apps/"+t,"index.php"!==r&&(o+="/",e&&(o+=encodeURI(e+"/")),o+=r)),o};const i=()=>OC.webroot},9282:(t,e,r)=>{"use strict";var n=r(4155),o=r(5108);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}var a,c,u=r(2136).codes,s=u.ERR_AMBIGUOUS_ARGUMENT,l=u.ERR_INVALID_ARG_TYPE,f=u.ERR_INVALID_ARG_VALUE,p=u.ERR_INVALID_RETURN_VALUE,y=u.ERR_MISSING_ARGS,g=r(5961),h=r(9539).inspect,v=r(9539).types,d=v.isPromise,b=v.isRegExp,E=Object.assign?Object.assign:r(8091).assign,m=Object.is?Object.is:r(609);new Map;function O(){var t=r(9158);a=t.isDeepEqual,c=t.isDeepStrictEqual}var S=!1,w=t.exports=I,A={};function x(t){if(t.message instanceof Error)throw t.message;throw new g(t)}function j(t,e,r,n){if(!r){var o=!1;if(0===e)o=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var i=new g({actual:r,expected:!0,message:n,operator:"==",stackStartFn:t});throw i.generatedMessage=o,i}}function I(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];j.apply(void 0,[I,e.length].concat(e))}w.fail=function t(e,r,i,a,c){var u,s=arguments.length;if(0===s)u="Failed";else if(1===s)i=e,e=void 0;else{if(!1===S){S=!0;var l=n.emitWarning?n.emitWarning:o.warn.bind(o);l("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}2===s&&(a="!=")}if(i instanceof Error)throw i;var f={actual:e,expected:r,operator:void 0===a?"fail":a,stackStartFn:c||t};void 0!==i&&(f.message=i);var p=new g(f);throw u&&(p.message=u,p.generatedMessage=!0),p},w.AssertionError=g,w.ok=I,w.equal=function t(e,r,n){if(arguments.length<2)throw new y("actual","expected");e!=r&&x({actual:e,expected:r,message:n,operator:"==",stackStartFn:t})},w.notEqual=function t(e,r,n){if(arguments.length<2)throw new y("actual","expected");e==r&&x({actual:e,expected:r,message:n,operator:"!=",stackStartFn:t})},w.deepEqual=function t(e,r,n){if(arguments.length<2)throw new y("actual","expected");void 0===a&&O(),a(e,r)||x({actual:e,expected:r,message:n,operator:"deepEqual",stackStartFn:t})},w.notDeepEqual=function t(e,r,n){if(arguments.length<2)throw new y("actual","expected");void 0===a&&O(),a(e,r)&&x({actual:e,expected:r,message:n,operator:"notDeepEqual",stackStartFn:t})},w.deepStrictEqual=function t(e,r,n){if(arguments.length<2)throw new y("actual","expected");void 0===a&&O(),c(e,r)||x({actual:e,expected:r,message:n,operator:"deepStrictEqual",stackStartFn:t})},w.notDeepStrictEqual=function t(e,r,n){if(arguments.length<2)throw new y("actual","expected");void 0===a&&O();c(e,r)&&x({actual:e,expected:r,message:n,operator:"notDeepStrictEqual",stackStartFn:t})},w.strictEqual=function t(e,r,n){if(arguments.length<2)throw new y("actual","expected");m(e,r)||x({actual:e,expected:r,message:n,operator:"strictEqual",stackStartFn:t})},w.notStrictEqual=function t(e,r,n){if(arguments.length<2)throw new y("actual","expected");m(e,r)&&x({actual:e,expected:r,message:n,operator:"notStrictEqual",stackStartFn:t})};var R=function t(e,r,n){var o=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),r.forEach((function(t){t in e&&(void 0!==n&&"string"==typeof n[t]&&b(e[t])&&e[t].test(n[t])?o[t]=n[t]:o[t]=e[t])}))};function P(t,e,r,n,o,i){if(!(r in t)||!c(t[r],e[r])){if(!n){var a=new R(t,o),u=new R(e,o,t),s=new g({actual:a,expected:u,operator:"deepStrictEqual",stackStartFn:i});throw s.actual=t,s.expected=e,s.operator=i.name,s}x({actual:t,expected:e,message:n,operator:i.name,stackStartFn:i})}}function T(t,e,r,n){if("function"!=typeof e){if(b(e))return e.test(t);if(2===arguments.length)throw new l("expected",["Function","RegExp"],e);if("object"!==i(t)||null===t){var o=new g({actual:t,expected:e,message:r,operator:"deepStrictEqual",stackStartFn:n});throw o.operator=n.name,o}var c=Object.keys(e);if(e instanceof Error)c.push("name","message");else if(0===c.length)throw new f("error",e,"may not be an empty object");return void 0===a&&O(),c.forEach((function(o){"string"==typeof t[o]&&b(e[o])&&e[o].test(t[o])||P(t,e,o,r,c,n)})),!0}return void 0!==e.prototype&&t instanceof e||!Error.isPrototypeOf(e)&&!0===e.call({},t)}function N(t){if("function"!=typeof t)throw new l("fn","Function",t);try{t()}catch(t){return t}return A}function L(t){return d(t)||null!==t&&"object"===i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function k(t){return Promise.resolve().then((function(){var e;if("function"==typeof t){if(!L(e=t()))throw new p("instance of Promise","promiseFn",e)}else{if(!L(t))throw new l("promiseFn",["Function","Promise"],t);e=t}return Promise.resolve().then((function(){return e})).then((function(){return A})).catch((function(t){return t}))}))}function _(t,e,r,n){if("string"==typeof r){if(4===arguments.length)throw new l("error",["Object","Error","Function","RegExp"],r);if("object"===i(e)&&null!==e){if(e.message===r)throw new s("error/message",'The error message "'.concat(e.message,'" is identical to the message.'))}else if(e===r)throw new s("error/message",'The error "'.concat(e,'" is identical to the message.'));n=r,r=void 0}else if(null!=r&&"object"!==i(r)&&"function"!=typeof r)throw new l("error",["Object","Error","Function","RegExp"],r);if(e===A){var o="";r&&r.name&&(o+=" (".concat(r.name,")")),o+=n?": ".concat(n):".";var a="rejects"===t.name?"rejection":"exception";x({actual:void 0,expected:r,operator:t.name,message:"Missing expected ".concat(a).concat(o),stackStartFn:t})}if(r&&!T(e,r,n,t))throw e}function F(t,e,r,n){if(e!==A){if("string"==typeof r&&(n=r,r=void 0),!r||T(e,r)){var o=n?": ".concat(n):".",i="doesNotReject"===t.name?"rejection":"exception";x({actual:e,expected:r,operator:t.name,message:"Got unwanted ".concat(i).concat(o,"\n")+'Actual message: "'.concat(e&&e.message,'"'),stackStartFn:t})}throw e}}function D(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];j.apply(void 0,[D,e.length].concat(e))}w.throws=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];_.apply(void 0,[t,N(e)].concat(n))},w.rejects=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return k(e).then((function(e){return _.apply(void 0,[t,e].concat(n))}))},w.doesNotThrow=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];F.apply(void 0,[t,N(e)].concat(n))},w.doesNotReject=function t(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return k(e).then((function(e){return F.apply(void 0,[t,e].concat(n))}))},w.ifError=function t(e){if(null!=e){var r="ifError got unwanted exception: ";"object"===i(e)&&"string"==typeof e.message?0===e.message.length&&e.constructor?r+=e.constructor.name:r+=e.message:r+=h(e);var n=new g({actual:e,expected:null,operator:"ifError",message:r,stackStartFn:t}),o=e.stack;if("string"==typeof o){var a=o.split("\n");a.shift();for(var c=n.stack.split("\n"),u=0;u<a.length;u++){var s=c.indexOf(a[u]);if(-1!==s){c=c.slice(0,s);break}}n.stack="".concat(c.join("\n"),"\n").concat(a.join("\n"))}throw n}},w.strict=E(D,w,{equal:w.strictEqual,deepEqual:w.deepStrictEqual,notEqual:w.notStrictEqual,notDeepEqual:w.notDeepStrictEqual}),w.strict.strict=w.strict},5961:(t,e,r)=>{"use strict";var n=r(4155);function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function a(t,e){return!e||"object"!==y(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t){var e="function"==typeof Map?new Map:void 0;return u=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return l(t,arguments,p(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,t)},u(t)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function l(t,e,r){return l=s()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&f(o,r.prototype),o},l.apply(null,arguments)}function f(t,e){return f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},f(t,e)}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}var g=r(9539).inspect,h=r(2136).codes.ERR_INVALID_ARG_TYPE;function v(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}var d="",b="",E="",m="",O={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function S(t){var e=Object.keys(t),r=Object.create(Object.getPrototypeOf(t));return e.forEach((function(e){r[e]=t[e]})),Object.defineProperty(r,"message",{value:t.message}),r}function w(t){return g(t,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function A(t,e,r){var o="",i="",a=0,c="",u=!1,s=w(t),l=s.split("\n"),f=w(e).split("\n"),p=0,g="";if("strictEqual"===r&&"object"===y(t)&&"object"===y(e)&&null!==t&&null!==e&&(r="strictEqualObject"),1===l.length&&1===f.length&&l[0]!==f[0]){var h=l[0].length+f[0].length;if(h<=10){if(!("object"===y(t)&&null!==t||"object"===y(e)&&null!==e||0===t&&0===e))return"".concat(O[r],"\n\n")+"".concat(l[0]," !== ").concat(f[0],"\n")}else if("strictEqualObject"!==r){if(h<(n.stderr&&n.stderr.isTTY?n.stderr.columns:80)){for(;l[0][p]===f[0][p];)p++;p>2&&(g="\n  ".concat(function(t,e){if(e=Math.floor(e),0==t.length||0==e)return"";var r=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+t.substring(0,r-t.length)}(" ",p),"^"),p=0)}}}for(var S=l[l.length-1],A=f[f.length-1];S===A&&(p++<2?c="\n  ".concat(S).concat(c):o=S,l.pop(),f.pop(),0!==l.length&&0!==f.length);)S=l[l.length-1],A=f[f.length-1];var x=Math.max(l.length,f.length);if(0===x){var j=s.split("\n");if(j.length>30)for(j[26]="".concat(d,"...").concat(m);j.length>27;)j.pop();return"".concat(O.notIdentical,"\n\n").concat(j.join("\n"),"\n")}p>3&&(c="\n".concat(d,"...").concat(m).concat(c),u=!0),""!==o&&(c="\n  ".concat(o).concat(c),o="");var I=0,R=O[r]+"\n".concat(b,"+ actual").concat(m," ").concat(E,"- expected").concat(m),P=" ".concat(d,"...").concat(m," Lines skipped");for(p=0;p<x;p++){var T=p-a;if(l.length<p+1)T>1&&p>2&&(T>4?(i+="\n".concat(d,"...").concat(m),u=!0):T>3&&(i+="\n  ".concat(f[p-2]),I++),i+="\n  ".concat(f[p-1]),I++),a=p,o+="\n".concat(E,"-").concat(m," ").concat(f[p]),I++;else if(f.length<p+1)T>1&&p>2&&(T>4?(i+="\n".concat(d,"...").concat(m),u=!0):T>3&&(i+="\n  ".concat(l[p-2]),I++),i+="\n  ".concat(l[p-1]),I++),a=p,i+="\n".concat(b,"+").concat(m," ").concat(l[p]),I++;else{var N=f[p],L=l[p],k=L!==N&&(!v(L,",")||L.slice(0,-1)!==N);k&&v(N,",")&&N.slice(0,-1)===L&&(k=!1,L+=","),k?(T>1&&p>2&&(T>4?(i+="\n".concat(d,"...").concat(m),u=!0):T>3&&(i+="\n  ".concat(l[p-2]),I++),i+="\n  ".concat(l[p-1]),I++),a=p,i+="\n".concat(b,"+").concat(m," ").concat(L),o+="\n".concat(E,"-").concat(m," ").concat(N),I+=2):(i+=o,o="",1!==T&&0!==p||(i+="\n  ".concat(L),I++))}if(I>20&&p<x-2)return"".concat(R).concat(P,"\n").concat(i,"\n").concat(d,"...").concat(m).concat(o,"\n")+"".concat(d,"...").concat(m)}return"".concat(R).concat(u?P:"","\n").concat(i).concat(o).concat(c).concat(g)}var x=function(t){function e(t){var r;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),"object"!==y(t)||null===t)throw new h("options","Object",t);var o=t.message,i=t.operator,u=t.stackStartFn,s=t.actual,l=t.expected,f=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=o)r=a(this,p(e).call(this,String(o)));else if(n.stderr&&n.stderr.isTTY&&(n.stderr&&n.stderr.getColorDepth&&1!==n.stderr.getColorDepth()?(d="",b="",m="",E=""):(d="",b="",m="",E="")),"object"===y(s)&&null!==s&&"object"===y(l)&&null!==l&&"stack"in s&&s instanceof Error&&"stack"in l&&l instanceof Error&&(s=S(s),l=S(l)),"deepStrictEqual"===i||"strictEqual"===i)r=a(this,p(e).call(this,A(s,l,i)));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var g=O[i],v=w(s).split("\n");if("notStrictEqual"===i&&"object"===y(s)&&null!==s&&(g=O.notStrictEqualObject),v.length>30)for(v[26]="".concat(d,"...").concat(m);v.length>27;)v.pop();r=1===v.length?a(this,p(e).call(this,"".concat(g," ").concat(v[0]))):a(this,p(e).call(this,"".concat(g,"\n\n").concat(v.join("\n"),"\n")))}else{var x=w(s),j="",I=O[i];"notDeepEqual"===i||"notEqual"===i?(x="".concat(O[i],"\n\n").concat(x)).length>1024&&(x="".concat(x.slice(0,1021),"...")):(j="".concat(w(l)),x.length>512&&(x="".concat(x.slice(0,509),"...")),j.length>512&&(j="".concat(j.slice(0,509),"...")),"deepEqual"===i||"equal"===i?x="".concat(I,"\n\n").concat(x,"\n\nshould equal\n\n"):j=" ".concat(i," ").concat(j)),r=a(this,p(e).call(this,"".concat(x).concat(j)))}return Error.stackTraceLimit=f,r.generatedMessage=!o,Object.defineProperty(c(r),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),r.code="ERR_ASSERTION",r.actual=s,r.expected=l,r.operator=i,Error.captureStackTrace&&Error.captureStackTrace(c(r),u),r.stack,r.name="AssertionError",a(r)}var r,u,s;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(e,t),r=e,u=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:g.custom,value:function(t,e){return g(this,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})))),n.forEach((function(e){o(t,e,r[e])}))}return t}({},e,{customInspect:!1,depth:0}))}}],u&&i(r.prototype,u),s&&i(r,s),e}(u(Error));t.exports=x},2136:(t,e,r)=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function a(t,e){return a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},a(t,e)}var c,u,s={};function l(t,e,r){r||(r=Error);var n=function(r){function n(r,a,c){var u;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),u=o(this,i(n).call(this,function(t,r,n){return"string"==typeof e?e:e(t,r,n)}(r,a,c))),u.code=t,u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(n,r),n}(r);s[t]=n}function f(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(t){return String(t)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}l("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),l("ERR_INVALID_ARG_TYPE",(function(t,e,o){var i,a,u,s;if(void 0===c&&(c=r(9282)),c("string"==typeof t,"'name' must be a string"),"string"==typeof e&&(a="not ",e.substr(!u||u<0?0:+u,a.length)===a)?(i="must not be",e=e.replace(/^not /,"")):i="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))s="The ".concat(t," ").concat(i," ").concat(f(e,"type"));else{var l=function(t,e,r){return"number"!=typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";s='The "'.concat(t,'" ').concat(l," ").concat(i," ").concat(f(e,"type"))}return s+=". Received type ".concat(n(o))}),TypeError),l("ERR_INVALID_ARG_VALUE",(function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===u&&(u=r(9539));var o=u.inspect(e);return o.length>128&&(o="".concat(o.slice(0,128),"...")),"The argument '".concat(t,"' ").concat(n,". Received ").concat(o)}),TypeError,RangeError),l("ERR_INVALID_RETURN_VALUE",(function(t,e,r){var o;return o=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(n(r)),"Expected ".concat(t,' to be returned from the "').concat(e,'"')+" function but got ".concat(o,".")}),TypeError),l("ERR_MISSING_ARGS",(function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];void 0===c&&(c=r(9282)),c(e.length>0,"At least one arg needs to be specified");var o="The ",i=e.length;switch(e=e.map((function(t){return'"'.concat(t,'"')})),i){case 1:o+="".concat(e[0]," argument");break;case 2:o+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:o+=e.slice(0,i-1).join(", "),o+=", and ".concat(e[i-1]," arguments")}return"".concat(o," must be specified")}),TypeError),t.exports.codes=s},9158:(t,e,r)=>{"use strict";function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=[],n=!0,o=!1,i=void 0;try{for(var a,c=t[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(o)throw i}}return r}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var i=void 0!==/a/g.flags,a=function(t){var e=[];return t.forEach((function(t){return e.push(t)})),e},c=function(t){var e=[];return t.forEach((function(t,r){return e.push([r,t])})),e},u=Object.is?Object.is:r(609),s=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},l=Number.isNaN?Number.isNaN:r(360);function f(t){return t.call.bind(t)}var p=f(Object.prototype.hasOwnProperty),y=f(Object.prototype.propertyIsEnumerable),g=f(Object.prototype.toString),h=r(9539).types,v=h.isAnyArrayBuffer,d=h.isArrayBufferView,b=h.isDate,E=h.isMap,m=h.isRegExp,O=h.isSet,S=h.isNativeError,w=h.isBoxedPrimitive,A=h.isNumberObject,x=h.isStringObject,j=h.isBooleanObject,I=h.isBigIntObject,R=h.isSymbolObject,P=h.isFloat32Array,T=h.isFloat64Array;function N(t){if(0===t.length||t.length>10)return!0;for(var e=0;e<t.length;e++){var r=t.charCodeAt(e);if(r<48||r>57)return!0}return 10===t.length&&t>=Math.pow(2,32)}function L(t){return Object.keys(t).filter(N).concat(s(t).filter(Object.prototype.propertyIsEnumerable.bind(t)))}function k(t,e){if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0}function _(t,e,r,n){if(t===e)return 0!==t||(!r||u(t,e));if(r){if("object"!==o(t))return"number"==typeof t&&l(t)&&l(e);if("object"!==o(e)||null===t||null===e)return!1;if(Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1}else{if(null===t||"object"!==o(t))return(null===e||"object"!==o(e))&&t==e;if(null===e||"object"!==o(e))return!1}var a,c,s,f,p=g(t);if(p!==g(e))return!1;if(Array.isArray(t)){if(t.length!==e.length)return!1;var y=L(t),h=L(e);return y.length===h.length&&D(t,e,r,n,1,y)}if("[object Object]"===p&&(!E(t)&&E(e)||!O(t)&&O(e)))return!1;if(b(t)){if(!b(e)||Date.prototype.getTime.call(t)!==Date.prototype.getTime.call(e))return!1}else if(m(t)){if(!m(e)||(s=t,f=e,!(i?s.source===f.source&&s.flags===f.flags:RegExp.prototype.toString.call(s)===RegExp.prototype.toString.call(f))))return!1}else if(S(t)||t instanceof Error){if(t.message!==e.message||t.name!==e.name)return!1}else{if(d(t)){if(r||!P(t)&&!T(t)){if(!function(t,e){return t.byteLength===e.byteLength&&0===k(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}(t,e))return!1}else if(!function(t,e){if(t.byteLength!==e.byteLength)return!1;for(var r=0;r<t.byteLength;r++)if(t[r]!==e[r])return!1;return!0}(t,e))return!1;var N=L(t),_=L(e);return N.length===_.length&&D(t,e,r,n,0,N)}if(O(t))return!(!O(e)||t.size!==e.size)&&D(t,e,r,n,2);if(E(t))return!(!E(e)||t.size!==e.size)&&D(t,e,r,n,3);if(v(t)){if(c=e,(a=t).byteLength!==c.byteLength||0!==k(new Uint8Array(a),new Uint8Array(c)))return!1}else if(w(t)&&!function(t,e){return A(t)?A(e)&&u(Number.prototype.valueOf.call(t),Number.prototype.valueOf.call(e)):x(t)?x(e)&&String.prototype.valueOf.call(t)===String.prototype.valueOf.call(e):j(t)?j(e)&&Boolean.prototype.valueOf.call(t)===Boolean.prototype.valueOf.call(e):I(t)?I(e)&&BigInt.prototype.valueOf.call(t)===BigInt.prototype.valueOf.call(e):R(e)&&Symbol.prototype.valueOf.call(t)===Symbol.prototype.valueOf.call(e)}(t,e))return!1}return D(t,e,r,n,0)}function F(t,e){return e.filter((function(e){return y(t,e)}))}function D(t,e,r,n,o,i){if(5===arguments.length){i=Object.keys(t);var a=Object.keys(e);if(i.length!==a.length)return!1}for(var c=0;c<i.length;c++)if(!p(e,i[c]))return!1;if(r&&5===arguments.length){var u=s(t);if(0!==u.length){var l=0;for(c=0;c<u.length;c++){var f=u[c];if(y(t,f)){if(!y(e,f))return!1;i.push(f),l++}else if(y(e,f))return!1}var g=s(e);if(u.length!==g.length&&F(e,g).length!==l)return!1}else{var h=s(e);if(0!==h.length&&0!==F(e,h).length)return!1}}if(0===i.length&&(0===o||1===o&&0===t.length||0===t.size))return!0;if(void 0===n)n={val1:new Map,val2:new Map,position:0};else{var v=n.val1.get(t);if(void 0!==v){var d=n.val2.get(e);if(void 0!==d)return v===d}n.position++}n.val1.set(t,n.position),n.val2.set(e,n.position);var b=$(t,e,r,i,n,o);return n.val1.delete(t),n.val2.delete(e),b}function M(t,e,r,n){for(var o=a(t),i=0;i<o.length;i++){var c=o[i];if(_(e,c,r,n))return t.delete(c),!0}return!1}function U(t){switch(o(t)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":t=+t;case"number":if(l(t))return!1}return!0}function C(t,e,r){var n=U(r);return null!=n?n:e.has(n)&&!t.has(n)}function G(t,e,r,n,o){var i=U(r);if(null!=i)return i;var a=e.get(i);return!(void 0===a&&!e.has(i)||!_(n,a,!1,o))&&(!t.has(i)&&_(n,a,!1,o))}function B(t,e,r,n,o,i){for(var c=a(t),u=0;u<c.length;u++){var s=c[u];if(_(r,s,o,i)&&_(n,e.get(s),o,i))return t.delete(s),!0}return!1}function $(t,e,r,i,u,s){var l=0;if(2===s){if(!function(t,e,r,n){for(var i=null,c=a(t),u=0;u<c.length;u++){var s=c[u];if("object"===o(s)&&null!==s)null===i&&(i=new Set),i.add(s);else if(!e.has(s)){if(r)return!1;if(!C(t,e,s))return!1;null===i&&(i=new Set),i.add(s)}}if(null!==i){for(var l=a(e),f=0;f<l.length;f++){var p=l[f];if("object"===o(p)&&null!==p){if(!M(i,p,r,n))return!1}else if(!r&&!t.has(p)&&!M(i,p,r,n))return!1}return 0===i.size}return!0}(t,e,r,u))return!1}else if(3===s){if(!function(t,e,r,i){for(var a=null,u=c(t),s=0;s<u.length;s++){var l=n(u[s],2),f=l[0],p=l[1];if("object"===o(f)&&null!==f)null===a&&(a=new Set),a.add(f);else{var y=e.get(f);if(void 0===y&&!e.has(f)||!_(p,y,r,i)){if(r)return!1;if(!G(t,e,f,p,i))return!1;null===a&&(a=new Set),a.add(f)}}}if(null!==a){for(var g=c(e),h=0;h<g.length;h++){var v=n(g[h],2),d=(f=v[0],v[1]);if("object"===o(f)&&null!==f){if(!B(a,t,f,d,r,i))return!1}else if(!(r||t.has(f)&&_(t.get(f),d,!1,i)||B(a,t,f,d,!1,i)))return!1}return 0===a.size}return!0}(t,e,r,u))return!1}else if(1===s)for(;l<t.length;l++){if(!p(t,l)){if(p(e,l))return!1;for(var f=Object.keys(t);l<f.length;l++){var y=f[l];if(!p(e,y)||!_(t[y],e[y],r,u))return!1}return f.length===Object.keys(e).length}if(!p(e,l)||!_(t[l],e[l],r,u))return!1}for(l=0;l<i.length;l++){var g=i[l];if(!_(t[g],e[g],r,u))return!1}return!0}t.exports={isDeepEqual:function(t,e){return _(t,e,false)},isDeepStrictEqual:function(t,e){return _(t,e,true)}}},1924:(t,e,r)=>{"use strict";var n=r(210),o=r(5559),i=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&i(t,".prototype.")>-1?o(r):r}},5559:(t,e,r)=>{"use strict";var n=r(8612),o=r(210),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||n.call(a,i),u=o("%Object.getOwnPropertyDescriptor%",!0),s=o("%Object.defineProperty%",!0),l=o("%Math.max%");if(s)try{s({},"a",{value:1})}catch(t){s=null}t.exports=function(t){var e=c(n,a,arguments);if(u&&s){var r=u(e,"length");r.configurable&&s(e,"length",{value:1+l(0,t.length-(arguments.length-1))})}return e};var f=function(){return c(n,i,arguments)};s?s(t.exports,"apply",{value:f}):t.exports.apply=f},5108:(t,e,r)=>{var n=r(9539),o=r(9282);function i(){return(new Date).getTime()}var a,c=Array.prototype.slice,u={};a=void 0!==r.g&&r.g.console?r.g.console:"undefined"!=typeof window&&window.console?window.console:{};for(var s=[[function(){},"log"],[function(){a.log.apply(a,arguments)},"info"],[function(){a.log.apply(a,arguments)},"warn"],[function(){a.warn.apply(a,arguments)},"error"],[function(t){u[t]=i()},"time"],[function(t){var e=u[t];if(!e)throw new Error("No such label: "+t);delete u[t];var r=i()-e;a.log(t+": "+r+"ms")},"timeEnd"],[function(){var t=new Error;t.name="Trace",t.message=n.format.apply(null,arguments),a.error(t.stack)},"trace"],[function(t){a.log(n.inspect(t)+"\n")},"dir"],[function(t){if(!t){var e=c.call(arguments,1);o.ok(!1,n.format.apply(null,e))}},"assert"]],l=0;l<s.length;l++){var f=s[l],p=f[0],y=f[1];a[y]||(a[y]=p)}t.exports=a},3099:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},1530:(t,e,r)=>{"use strict";var n=r(8710).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},9670:(t,e,r)=>{var n=r(111);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},8533:(t,e,r)=>{"use strict";var n=r(2092).forEach,o=r(9341)("forEach");t.exports=o?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},1318:(t,e,r)=>{var n=r(5656),o=r(7466),i=r(1400),a=function(t){return function(e,r,a){var c,u=n(e),s=o(u.length),l=i(a,s);if(t&&r!=r){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2092:(t,e,r)=>{var n=r(9974),o=r(8361),i=r(7908),a=r(7466),c=r(5417),u=[].push,s=function(t){var e=1==t,r=2==t,s=3==t,l=4==t,f=6==t,p=7==t,y=5==t||f;return function(g,h,v,d){for(var b,E,m=i(g),O=o(m),S=n(h,v,3),w=a(O.length),A=0,x=d||c,j=e?x(g,w):r||p?x(g,0):void 0;w>A;A++)if((y||A in O)&&(E=S(b=O[A],A,m),t))if(e)j[A]=E;else if(E)switch(t){case 3:return!0;case 5:return b;case 6:return A;case 2:u.call(j,b)}else switch(t){case 4:return!1;case 7:u.call(j,b)}return f?-1:s||l?l:j}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterOut:s(7)}},9341:(t,e,r)=>{"use strict";var n=r(7293);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},5417:(t,e,r)=>{var n=r(111),o=r(3157),i=r(5112)("species");t.exports=function(t,e){var r;return o(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},4326:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},9920:(t,e,r)=>{var n=r(6656),o=r(3887),i=r(1236),a=r(3070);t.exports=function(t,e){for(var r=o(e),c=a.f,u=i.f,s=0;s<r.length;s++){var l=r[s];n(t,l)||c(t,l,u(e,l))}}},8880:(t,e,r)=>{var n=r(9781),o=r(3070),i=r(9114);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},9114:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},9781:(t,e,r)=>{var n=r(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(t,e,r)=>{var n=r(7854),o=r(111),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},8113:(t,e,r)=>{var n=r(5005);t.exports=n("navigator","userAgent")||""},7392:(t,e,r)=>{var n,o,i=r(7854),a=r(8113),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(n=s.split("."))[0]<4?1:n[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(t,e,r)=>{var n=r(7854),o=r(1236).f,i=r(8880),a=r(1320),c=r(3505),u=r(9920),s=r(4705);t.exports=function(t,e){var r,l,f,p,y,g=t.target,h=t.global,v=t.stat;if(r=h?n:v?n[g]||c(g,{}):(n[g]||{}).prototype)for(l in e){if(p=e[l],f=t.noTargetGet?(y=o(r,l))&&y.value:r[l],!s(h?l:g+(v?".":"#")+l,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(t.sham||f&&f.sham)&&i(p,"sham",!0),a(r,l,p,t)}}},7293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:(t,e,r)=>{"use strict";r(4916);var n=r(1320),o=r(2261),i=r(7293),a=r(5112),c=r(8880),u=a("species"),s=RegExp.prototype,l=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f="$0"==="a".replace(/./,"$0"),p=a("replace"),y=!!/./[p]&&""===/./[p]("a","$0"),g=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,e,r,p){var h=a(t),v=!i((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),d=v&&!i((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return e=!0,null},r[h](""),!e}));if(!v||!d||"replace"===t&&(!l||!f||y)||"split"===t&&!g){var b=/./[h],E=r(h,""[t],(function(t,e,r,n,i){var a=e.exec;return a===o||a===s.exec?v&&!i?{done:!0,value:b.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:y}),m=E[0],O=E[1];n(String.prototype,t,m),n(s,h,2==e?function(t,e){return O.call(t,this,e)}:function(t){return O.call(t,this)})}p&&c(s[h],"sham",!0)}},9974:(t,e,r)=>{var n=r(3099);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},5005:(t,e,r)=>{var n=r(857),o=r(7854),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},647:(t,e,r)=>{var n=r(7908),o=Math.floor,i="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,u,s,l){var f=r+t.length,p=u.length,y=c;return void 0!==s&&(s=n(s),y=a),i.call(l,y,(function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(f);case"<":a=s[i.slice(1,-1)];break;default:var c=+i;if(0===c)return n;if(c>p){var l=o(c/10);return 0===l?n:l<=p?void 0===u[l-1]?i.charAt(1):u[l-1]+i.charAt(1):n}a=u[c-1]}return void 0===a?"":a}))}},7854:(t,e,r)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},6656:(t,e,r)=>{var n=r(7908),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(n(t),e)}},3501:t=>{t.exports={}},4664:(t,e,r)=>{var n=r(9781),o=r(7293),i=r(317);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(t,e,r)=>{var n=r(7293),o=r(4326),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},2788:(t,e,r)=>{var n=r(5465),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},9909:(t,e,r)=>{var n,o,i,a=r(8536),c=r(7854),u=r(111),s=r(8880),l=r(6656),f=r(5465),p=r(6200),y=r(3501),g="Object already initialized",h=c.WeakMap;if(a||f.state){var v=f.state||(f.state=new h),d=v.get,b=v.has,E=v.set;n=function(t,e){if(b.call(v,t))throw new TypeError(g);return e.facade=t,E.call(v,t,e),e},o=function(t){return d.call(v,t)||{}},i=function(t){return b.call(v,t)}}else{var m=p("state");y[m]=!0,n=function(t,e){if(l(t,m))throw new TypeError(g);return e.facade=t,s(t,m,e),e},o=function(t){return l(t,m)?t[m]:{}},i=function(t){return l(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},3157:(t,e,r)=>{var n=r(4326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},4705:(t,e,r)=>{var n=r(7293),o=/#|\.prototype\./,i=function(t,e){var r=c[a(t)];return r==s||r!=u&&("function"==typeof e?n(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},111:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},1913:t=>{t.exports=!1},133:(t,e,r)=>{var n=r(7392),o=r(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8536:(t,e,r)=>{var n=r(7854),o=r(2788),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},1574:(t,e,r)=>{"use strict";var n=r(9781),o=r(7293),i=r(1956),a=r(5181),c=r(5296),u=r(7908),s=r(8361),l=Object.assign,f=Object.defineProperty;t.exports=!l||o((function(){if(n&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach((function(t){e[t]=t})),7!=l({},t)[r]||i(l({},e)).join("")!=o}))?function(t,e){for(var r=u(t),o=arguments.length,l=1,f=a.f,p=c.f;o>l;)for(var y,g=s(arguments[l++]),h=f?i(g).concat(f(g)):i(g),v=h.length,d=0;v>d;)y=h[d++],n&&!p.call(g,y)||(r[y]=g[y]);return r}:l},3070:(t,e,r)=>{var n=r(9781),o=r(4664),i=r(9670),a=r(7593),c=Object.defineProperty;e.f=n?c:function(t,e,r){if(i(t),e=a(e,!0),i(r),o)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},1236:(t,e,r)=>{var n=r(9781),o=r(5296),i=r(9114),a=r(5656),c=r(7593),u=r(6656),s=r(4664),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=a(t),e=c(e,!0),s)try{return l(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},8006:(t,e,r)=>{var n=r(6324),o=r(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},5181:(t,e)=>{e.f=Object.getOwnPropertySymbols},6324:(t,e,r)=>{var n=r(6656),o=r(5656),i=r(1318).indexOf,a=r(3501);t.exports=function(t,e){var r,c=o(t),u=0,s=[];for(r in c)!n(a,r)&&n(c,r)&&s.push(r);for(;e.length>u;)n(c,r=e[u++])&&(~i(s,r)||s.push(r));return s}},1956:(t,e,r)=>{var n=r(6324),o=r(748);t.exports=Object.keys||function(t){return n(t,o)}},5296:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);e.f=o?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},3887:(t,e,r)=>{var n=r(5005),o=r(8006),i=r(5181),a=r(9670);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(a(t)),r=i.f;return r?e.concat(r(t)):e}},857:(t,e,r)=>{var n=r(7854);t.exports=n},1320:(t,e,r)=>{var n=r(7854),o=r(8880),i=r(6656),a=r(3505),c=r(2788),u=r(9909),s=u.get,l=u.enforce,f=String(String).split("String");(t.exports=function(t,e,r,c){var u,s=!!c&&!!c.unsafe,p=!!c&&!!c.enumerable,y=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),(u=l(r)).source||(u.source=f.join("string"==typeof e?e:""))),t!==n?(s?!y&&t[e]&&(p=!0):delete t[e],p?t[e]=r:o(t,e,r)):p?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},7651:(t,e,r)=>{var n=r(4326),o=r(2261);t.exports=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},2261:(t,e,r)=>{"use strict";var n,o,i=r(7066),a=r(2999),c=r(2309),u=RegExp.prototype.exec,s=c("native-string-replace",String.prototype.replace),l=u,f=(n=/a/,o=/b*/g,u.call(n,"a"),u.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),p=a.UNSUPPORTED_Y||a.BROKEN_CARET,y=void 0!==/()??/.exec("")[1];(f||y||p)&&(l=function(t){var e,r,n,o,a=this,c=p&&a.sticky,l=i.call(a),g=a.source,h=0,v=t;return c&&(-1===(l=l.replace("y","")).indexOf("g")&&(l+="g"),v=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(g="(?: "+g+")",v=" "+v,h++),r=new RegExp("^(?:"+g+")",l)),y&&(r=new RegExp("^"+g+"$(?!\\s)",l)),f&&(e=a.lastIndex),n=u.call(c?r:a,v),c?n?(n.input=n.input.slice(h),n[0]=n[0].slice(h),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:f&&n&&(a.lastIndex=a.global?n.index+n[0].length:e),y&&n&&n.length>1&&s.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),t.exports=l},7066:(t,e,r)=>{"use strict";var n=r(9670);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},2999:(t,e,r)=>{"use strict";var n=r(7293);function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},4488:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},3505:(t,e,r)=>{var n=r(7854),o=r(8880);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},6200:(t,e,r)=>{var n=r(2309),o=r(9711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:(t,e,r)=>{var n=r(7854),o=r(3505),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},2309:(t,e,r)=>{var n=r(1913),o=r(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.14.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},8710:(t,e,r)=>{var n=r(9958),o=r(4488),i=function(t){return function(e,r){var i,a,c=String(o(e)),u=n(r),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},1400:(t,e,r)=>{var n=r(9958),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},5656:(t,e,r)=>{var n=r(8361),o=r(4488);t.exports=function(t){return n(o(t))}},9958:t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},7466:(t,e,r)=>{var n=r(9958),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},7908:(t,e,r)=>{var n=r(4488);t.exports=function(t){return Object(n(t))}},7593:(t,e,r)=>{var n=r(111);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},9711:t=>{var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},3307:(t,e,r)=>{var n=r(133);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:(t,e,r)=>{var n=r(7854),o=r(2309),i=r(6656),a=r(9711),c=r(133),u=r(3307),s=o("wks"),l=n.Symbol,f=u?l:l&&l.withoutSetter||a;t.exports=function(t){return i(s,t)&&(c||"string"==typeof s[t])||(c&&i(l,t)?s[t]=l[t]:s[t]=f("Symbol."+t)),s[t]}},9554:(t,e,r)=>{"use strict";var n=r(2109),o=r(8533);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},9601:(t,e,r)=>{var n=r(2109),o=r(1574);n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},9070:(t,e,r)=>{var n=r(2109),o=r(9781);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(3070).f})},4916:(t,e,r)=>{"use strict";var n=r(2109),o=r(2261);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},5306:(t,e,r)=>{"use strict";var n=r(7007),o=r(9670),i=r(7466),a=r(9958),c=r(4488),u=r(1530),s=r(647),l=r(7651),f=Math.max,p=Math.min;n("replace",2,(function(t,e,r,n){var y=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=n.REPLACE_KEEPS_$0,h=y?"$":"$0";return[function(r,n){var o=c(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,n):e.call(String(o),r,n)},function(t,n){if(!y&&g||"string"==typeof n&&-1===n.indexOf(h)){var c=r(e,t,this,n);if(c.done)return c.value}var v=o(t),d=String(this),b="function"==typeof n;b||(n=String(n));var E=v.global;if(E){var m=v.unicode;v.lastIndex=0}for(var O=[];;){var S=l(v,d);if(null===S)break;if(O.push(S),!E)break;""===String(S[0])&&(v.lastIndex=u(d,i(v.lastIndex),m))}for(var w,A="",x=0,j=0;j<O.length;j++){S=O[j];for(var I=String(S[0]),R=f(p(a(S.index),d.length),0),P=[],T=1;T<S.length;T++)P.push(void 0===(w=S[T])?w:String(w));var N=S.groups;if(b){var L=[I].concat(P,R,d);void 0!==N&&L.push(N);var k=String(n.apply(void 0,L))}else k=s(I,d,R,P,N,n);R>=x&&(A+=d.slice(x,R)+k,x=R+I.length)}return A+d.slice(x)}]}))},4289:(t,e,r)=>{"use strict";var n=r(2215),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,c=Object.defineProperty,u=r(1044)(),s=c&&u,l=function(t,e,r,n){var o;(!(e in t)||"function"==typeof(o=n)&&"[object Function]"===i.call(o)&&n())&&(s?c(t,e,{configurable:!0,enumerable:!1,value:r,writable:!0}):t[e]=r)},f=function(t,e){var r=arguments.length>2?arguments[2]:{},i=n(e);o&&(i=a.call(i,Object.getOwnPropertySymbols(e)));for(var c=0;c<i.length;c+=1)l(t,i[c],e[i[c]],r[i[c]])};f.supportsDescriptors=!!s,t.exports=f},8091:t=>{"use strict";function e(t,e){if(null==t)throw new TypeError("Cannot convert first argument to object");for(var r=Object(t),n=1;n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var i=Object.keys(Object(o)),a=0,c=i.length;a<c;a++){var u=i[a],s=Object.getOwnPropertyDescriptor(o,u);void 0!==s&&s.enumerable&&(r[u]=o[u])}}return r}t.exports={assign:e,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:e})}}},4029:(t,e,r)=>{"use strict";var n=r(5320),o=Object.prototype.toString,i=Object.prototype.hasOwnProperty,a=function(t,e,r){for(var n=0,o=t.length;n<o;n++)i.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))},c=function(t,e,r){for(var n=0,o=t.length;n<o;n++)null==r?e(t.charAt(n),n,t):e.call(r,t.charAt(n),n,t)},u=function(t,e,r){for(var n in t)i.call(t,n)&&(null==r?e(t[n],n,t):e.call(r,t[n],n,t))};t.exports=function(t,e,r){if(!n(e))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=r),"[object Array]"===o.call(t)?a(t,e,i):"string"==typeof t?c(t,e,i):u(t,e,i)}},7648:t=>{"use strict";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";t.exports=function(t){var i=this;if("function"!=typeof i||n.call(i)!==o)throw new TypeError(e+i);for(var a,c=r.call(arguments,1),u=function(){if(this instanceof a){var e=i.apply(this,c.concat(r.call(arguments)));return Object(e)===e?e:this}return i.apply(t,c.concat(r.call(arguments)))},s=Math.max(0,i.length-c.length),l=[],f=0;f<s;f++)l.push("$"+f);if(a=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(u),i.prototype){var p=function(){};p.prototype=i.prototype,a.prototype=new p,p.prototype=null}return a}},8612:(t,e,r)=>{"use strict";var n=r(7648);t.exports=Function.prototype.bind||n},210:(t,e,r)=>{"use strict";var n,o=SyntaxError,i=Function,a=TypeError,c=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(t){u=null}var s=function(){throw new a},l=u?function(){try{return s}catch(t){try{return u(arguments,"callee").get}catch(t){return s}}}():s,f=r(1405)(),p=Object.getPrototypeOf||function(t){return t.__proto__},y={},g="undefined"==typeof Uint8Array?n:p(Uint8Array),h={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":f?p([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?p(p([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?p((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f?p((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?p(""[Symbol.iterator]()):n,"%Symbol%":f?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":l,"%TypedArray%":g,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet},v=function t(e){var r;if("%AsyncFunction%"===e)r=c("async function () {}");else if("%GeneratorFunction%"===e)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=c("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&(r=p(o.prototype))}return h[e]=r,r},d={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=r(8612),E=r(7642),m=b.call(Function.call,Array.prototype.concat),O=b.call(Function.apply,Array.prototype.splice),S=b.call(Function.call,String.prototype.replace),w=b.call(Function.call,String.prototype.slice),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,x=/\\(\\)?/g,j=function(t){var e=w(t,0,1),r=w(t,-1);if("%"===e&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return S(t,A,(function(t,e,r,o){n[n.length]=r?S(o,x,"$1"):e||t})),n},I=function(t,e){var r,n=t;if(E(d,n)&&(n="%"+(r=d[n])[0]+"%"),E(h,n)){var i=h[n];if(i===y&&(i=v(n)),void 0===i&&!e)throw new a("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new a('"allowMissing" argument must be a boolean');var r=j(t),n=r.length>0?r[0]:"",i=I("%"+n+"%",e),c=i.name,s=i.value,l=!1,f=i.alias;f&&(n=f[0],O(r,m([0,1],f)));for(var p=1,y=!0;p<r.length;p+=1){var g=r[p],v=w(g,0,1),d=w(g,-1);if(('"'===v||"'"===v||"`"===v||'"'===d||"'"===d||"`"===d)&&v!==d)throw new o("property names with quotes must have matching quotes");if("constructor"!==g&&y||(l=!0),E(h,c="%"+(n+="."+g)+"%"))s=h[c];else if(null!=s){if(!(g in s)){if(!e)throw new a("base intrinsic for "+t+" exists, but the property is not available.");return}if(u&&p+1>=r.length){var b=u(s,g);s=(y=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:s[g]}else y=E(s,g),s=s[g];y&&!l&&(h[c]=s)}}return s}},1044:(t,e,r)=>{"use strict";var n=r(210)("%Object.defineProperty%",!0),o=function(){if(n)try{return n({},"a",{value:1}),!0}catch(t){return!1}return!1};o.hasArrayLengthDefineBug=function(){if(!o())return null;try{return 1!==n([],"length",{value:1}).length}catch(t){return!0}},t.exports=o},1405:(t,e,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(5419);t.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},5419:t=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},6410:(t,e,r)=>{"use strict";var n=r(5419);t.exports=function(){return n()&&!!Symbol.toStringTag}},7642:(t,e,r)=>{"use strict";var n=r(8612);t.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},5717:t=>{"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},2584:(t,e,r)=>{"use strict";var n=r(6410)(),o=r(1924)("Object.prototype.toString"),i=function(t){return!(n&&t&&"object"==typeof t&&Symbol.toStringTag in t)&&"[object Arguments]"===o(t)},a=function(t){return!!i(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==o(t)&&"[object Function]"===o(t.callee)},c=function(){return i(arguments)}();i.isLegacyArguments=a,t.exports=c?i:a},5320:t=>{"use strict";var e,r,n=Function.prototype.toString,o="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof o&&"function"==typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw r}}),r={},o((function(){throw 42}),null,e)}catch(t){t!==r&&(o=null)}else o=null;var i=/^\s*class\b/,a=function(t){try{var e=n.call(t);return i.test(e)}catch(t){return!1}},c=Object.prototype.toString,u="function"==typeof Symbol&&!!Symbol.toStringTag,s="object"==typeof document&&void 0===document.all&&void 0!==document.all?document.all:{};t.exports=o?function(t){if(t===s)return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if("function"==typeof t&&!t.prototype)return!0;try{o(t,null,e)}catch(t){if(t!==r)return!1}return!a(t)}:function(t){if(t===s)return!0;if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if("function"==typeof t&&!t.prototype)return!0;if(u)return function(t){try{return!a(t)&&(n.call(t),!0)}catch(t){return!1}}(t);if(a(t))return!1;var e=c.call(t);return"[object Function]"===e||"[object GeneratorFunction]"===e}},8662:(t,e,r)=>{"use strict";var n,o=Object.prototype.toString,i=Function.prototype.toString,a=/^\s*(?:function)?\*/,c=r(6410)(),u=Object.getPrototypeOf;t.exports=function(t){if("function"!=typeof t)return!1;if(a.test(i.call(t)))return!0;if(!c)return"[object GeneratorFunction]"===o.call(t);if(!u)return!1;if(void 0===n){var e=function(){if(!c)return!1;try{return Function("return function*() {}")()}catch(t){}}();n=!!e&&u(e)}return u(t)===n}},8611:t=>{"use strict";t.exports=function(t){return t!=t}},360:(t,e,r)=>{"use strict";var n=r(5559),o=r(4289),i=r(8611),a=r(9415),c=r(3194),u=n(a(),Number);o(u,{getPolyfill:a,implementation:i,shim:c}),t.exports=u},9415:(t,e,r)=>{"use strict";var n=r(8611);t.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:n}},3194:(t,e,r)=>{"use strict";var n=r(4289),o=r(9415);t.exports=function(){var t=o();return n(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}},5692:(t,e,r)=>{"use strict";var n=r(4029),o=r(3083),i=r(1924),a=i("Object.prototype.toString"),c=r(6410)(),u="undefined"==typeof globalThis?r.g:globalThis,s=o(),l=i("Array.prototype.indexOf",!0)||function(t,e){for(var r=0;r<t.length;r+=1)if(t[r]===e)return r;return-1},f=i("String.prototype.slice"),p={},y=r(882),g=Object.getPrototypeOf;c&&y&&g&&n(s,(function(t){var e=new u[t];if(Symbol.toStringTag in e){var r=g(e),n=y(r,Symbol.toStringTag);if(!n){var o=g(r);n=y(o,Symbol.toStringTag)}p[t]=n.get}}));t.exports=function(t){if(!t||"object"!=typeof t)return!1;if(!c||!(Symbol.toStringTag in t)){var e=f(a(t),8,-1);return l(s,e)>-1}return!!y&&function(t){var e=!1;return n(p,(function(r,n){if(!e)try{e=r.call(t)===n}catch(t){}})),e}(t)}},4244:t=>{"use strict";var e=function(t){return t!=t};t.exports=function(t,r){return 0===t&&0===r?1/t==1/r:t===r||!(!e(t)||!e(r))}},609:(t,e,r)=>{"use strict";var n=r(4289),o=r(5559),i=r(4244),a=r(5624),c=r(2281),u=o(a(),Object);n(u,{getPolyfill:a,implementation:i,shim:c}),t.exports=u},5624:(t,e,r)=>{"use strict";var n=r(4244);t.exports=function(){return"function"==typeof Object.is?Object.is:n}},2281:(t,e,r)=>{"use strict";var n=r(5624),o=r(4289);t.exports=function(){var t=n();return o(Object,{is:t},{is:function(){return Object.is!==t}}),t}},8987:(t,e,r)=>{"use strict";var n;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=r(1414),c=Object.prototype.propertyIsEnumerable,u=!c.call({toString:null},"toString"),s=c.call((function(){}),"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(t){var e=t.constructor;return e&&e.prototype===t},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},y=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!p["$"+t]&&o.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{f(window[t])}catch(t){return!0}}catch(t){return!0}return!1}();n=function(t){var e=null!==t&&"object"==typeof t,r="[object Function]"===i.call(t),n=a(t),c=e&&"[object String]"===i.call(t),p=[];if(!e&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var g=s&&r;if(c&&t.length>0&&!o.call(t,0))for(var h=0;h<t.length;++h)p.push(String(h));if(n&&t.length>0)for(var v=0;v<t.length;++v)p.push(String(v));else for(var d in t)g&&"prototype"===d||!o.call(t,d)||p.push(String(d));if(u)for(var b=function(t){if("undefined"==typeof window||!y)return f(t);try{return f(t)}catch(t){return!1}}(t),E=0;E<l.length;++E)b&&"constructor"===l[E]||!o.call(t,l[E])||p.push(l[E]);return p}}t.exports=n},2215:(t,e,r)=>{"use strict";var n=Array.prototype.slice,o=r(1414),i=Object.keys,a=i?function(t){return i(t)}:r(8987),c=Object.keys;a.shim=function(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);t||(Object.keys=function(t){return o(t)?c(n.call(t)):c(t)})}else Object.keys=a;return Object.keys||a},t.exports=a},1414:t=>{"use strict";var e=Object.prototype.toString;t.exports=function(t){var r=e.call(t),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===e.call(t.callee)),n}},4155:t=>{var e,r,n=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===o||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:o}catch(t){e=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(t){r=i}}();var c,u=[],s=!1,l=-1;function f(){s&&c&&(s=!1,c.length?u=c.concat(u):l=-1,u.length&&p())}function p(){if(!s){var t=a(f);s=!0;for(var e=u.length;e;){for(c=u,u=[];++l<e;)c&&c[l].run();l=-1,e=u.length}c=null,s=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function y(t,e){this.fun=t,this.array=e}function g(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];u.push(new y(t,e)),1!==u.length||s||a(p)},y.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=g,n.addListener=g,n.once=g,n.off=g,n.removeListener=g,n.removeAllListeners=g,n.emit=g,n.prependListener=g,n.prependOnceListener=g,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},384:t=>{t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},5955:(t,e,r)=>{"use strict";var n=r(2584),o=r(8662),i=r(6430),a=r(5692);function c(t){return t.call.bind(t)}var u="undefined"!=typeof BigInt,s="undefined"!=typeof Symbol,l=c(Object.prototype.toString),f=c(Number.prototype.valueOf),p=c(String.prototype.valueOf),y=c(Boolean.prototype.valueOf);if(u)var g=c(BigInt.prototype.valueOf);if(s)var h=c(Symbol.prototype.valueOf);function v(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}function d(t){return"[object Map]"===l(t)}function b(t){return"[object Set]"===l(t)}function E(t){return"[object WeakMap]"===l(t)}function m(t){return"[object WeakSet]"===l(t)}function O(t){return"[object ArrayBuffer]"===l(t)}function S(t){return"undefined"!=typeof ArrayBuffer&&(O.working?O(t):t instanceof ArrayBuffer)}function w(t){return"[object DataView]"===l(t)}function A(t){return"undefined"!=typeof DataView&&(w.working?w(t):t instanceof DataView)}e.isArgumentsObject=n,e.isGeneratorFunction=o,e.isTypedArray=a,e.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch},e.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):a(t)||A(t)},e.isUint8Array=function(t){return"Uint8Array"===i(t)},e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===i(t)},e.isUint16Array=function(t){return"Uint16Array"===i(t)},e.isUint32Array=function(t){return"Uint32Array"===i(t)},e.isInt8Array=function(t){return"Int8Array"===i(t)},e.isInt16Array=function(t){return"Int16Array"===i(t)},e.isInt32Array=function(t){return"Int32Array"===i(t)},e.isFloat32Array=function(t){return"Float32Array"===i(t)},e.isFloat64Array=function(t){return"Float64Array"===i(t)},e.isBigInt64Array=function(t){return"BigInt64Array"===i(t)},e.isBigUint64Array=function(t){return"BigUint64Array"===i(t)},d.working="undefined"!=typeof Map&&d(new Map),e.isMap=function(t){return"undefined"!=typeof Map&&(d.working?d(t):t instanceof Map)},b.working="undefined"!=typeof Set&&b(new Set),e.isSet=function(t){return"undefined"!=typeof Set&&(b.working?b(t):t instanceof Set)},E.working="undefined"!=typeof WeakMap&&E(new WeakMap),e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(E.working?E(t):t instanceof WeakMap)},m.working="undefined"!=typeof WeakSet&&m(new WeakSet),e.isWeakSet=function(t){return m(t)},O.working="undefined"!=typeof ArrayBuffer&&O(new ArrayBuffer),e.isArrayBuffer=S,w.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&w(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=A;var x="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function j(t){return"[object SharedArrayBuffer]"===l(t)}function I(t){return void 0!==x&&(void 0===j.working&&(j.working=j(new x)),j.working?j(t):t instanceof x)}function R(t){return v(t,f)}function P(t){return v(t,p)}function T(t){return v(t,y)}function N(t){return u&&v(t,g)}function L(t){return s&&v(t,h)}e.isSharedArrayBuffer=I,e.isAsyncFunction=function(t){return"[object AsyncFunction]"===l(t)},e.isMapIterator=function(t){return"[object Map Iterator]"===l(t)},e.isSetIterator=function(t){return"[object Set Iterator]"===l(t)},e.isGeneratorObject=function(t){return"[object Generator]"===l(t)},e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===l(t)},e.isNumberObject=R,e.isStringObject=P,e.isBooleanObject=T,e.isBigIntObject=N,e.isSymbolObject=L,e.isBoxedPrimitive=function(t){return R(t)||P(t)||T(t)||N(t)||L(t)},e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(S(t)||I(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw new Error(t+" is not supported in userland")}})}))},9539:(t,e,r)=>{var n=r(4155),o=r(5108),i=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++)r[e[n]]=Object.getOwnPropertyDescriptor(t,e[n]);return r},a=/%[sdj%]/g;e.format=function(t){if(!m(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(l(arguments[r]));return e.join(" ")}r=1;for(var n=arguments,o=n.length,i=String(t).replace(a,(function(t){if("%%"===t)return"%";if(r>=o)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return t}})),c=n[r];r<o;c=n[++r])b(c)||!w(c)?i+=" "+c:i+=" "+l(c);return i},e.deprecate=function(t,r){if(void 0!==n&&!0===n.noDeprecation)return t;if(void 0===n)return function(){return e.deprecate(t,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?o.trace(r):o.error(r),i=!0}return t.apply(this,arguments)}};var c={},u=/^$/;if(n.env.NODE_DEBUG){var s=n.env.NODE_DEBUG;s=s.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),u=new RegExp("^"+s+"$","i")}function l(t,r){var n={seen:[],stylize:p};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),d(r)?n.showHidden=r:r&&e._extend(n,r),O(n.showHidden)&&(n.showHidden=!1),O(n.depth)&&(n.depth=2),O(n.colors)&&(n.colors=!1),O(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=f),y(n,t,n.depth)}function f(t,e){var r=l.styles[e];return r?"["+l.colors[r][0]+"m"+t+"["+l.colors[r][1]+"m":t}function p(t,e){return t}function y(t,r,n){if(t.customInspect&&r&&j(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,t);return m(o)||(o=y(t,o,n)),o}var i=function(t,e){if(O(e))return t.stylize("undefined","undefined");if(m(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(E(e))return t.stylize(""+e,"number");if(d(e))return t.stylize(""+e,"boolean");if(b(e))return t.stylize("null","null")}(t,r);if(i)return i;var a=Object.keys(r),c=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(r)),x(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return g(r);if(0===a.length){if(j(r)){var u=r.name?": "+r.name:"";return t.stylize("[Function"+u+"]","special")}if(S(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(A(r))return t.stylize(Date.prototype.toString.call(r),"date");if(x(r))return g(r)}var s,l="",f=!1,p=["{","}"];(v(r)&&(f=!0,p=["[","]"]),j(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return S(r)&&(l=" "+RegExp.prototype.toString.call(r)),A(r)&&(l=" "+Date.prototype.toUTCString.call(r)),x(r)&&(l=" "+g(r)),0!==a.length||f&&0!=r.length?n<0?S(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),s=f?function(t,e,r,n,o){for(var i=[],a=0,c=e.length;a<c;++a)N(e,String(a))?i.push(h(t,e,r,n,String(a),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(h(t,e,r,n,o,!0))})),i}(t,r,n,c,a):a.map((function(e){return h(t,r,n,c,e,f)})),t.seen.pop(),function(t,e,r){if(t.reduce((function(t,e){return e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n  ")+" "+r[1];return r[0]+e+" "+t.join(", ")+" "+r[1]}(s,l,p)):p[0]+l+p[1]}function g(t){return"["+Error.prototype.toString.call(t)+"]"}function h(t,e,r,n,o,i){var a,c,u;if((u=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?c=u.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):u.set&&(c=t.stylize("[Setter]","special")),N(n,o)||(a="["+o+"]"),c||(t.seen.indexOf(u.value)<0?(c=b(r)?y(t,u.value,null):y(t,u.value,r-1)).indexOf("\n")>-1&&(c=i?c.split("\n").map((function(t){return"  "+t})).join("\n").substr(2):"\n"+c.split("\n").map((function(t){return"   "+t})).join("\n")):c=t.stylize("[Circular]","special")),O(a)){if(i&&o.match(/^\d+$/))return c;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+c}function v(t){return Array.isArray(t)}function d(t){return"boolean"==typeof t}function b(t){return null===t}function E(t){return"number"==typeof t}function m(t){return"string"==typeof t}function O(t){return void 0===t}function S(t){return w(t)&&"[object RegExp]"===I(t)}function w(t){return"object"==typeof t&&null!==t}function A(t){return w(t)&&"[object Date]"===I(t)}function x(t){return w(t)&&("[object Error]"===I(t)||t instanceof Error)}function j(t){return"function"==typeof t}function I(t){return Object.prototype.toString.call(t)}function R(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(t){if(t=t.toUpperCase(),!c[t])if(u.test(t)){var r=n.pid;c[t]=function(){var n=e.format.apply(e,arguments);o.error("%s %d: %s",t,r,n)}}else c[t]=function(){};return c[t]},e.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.types=r(5955),e.isArray=v,e.isBoolean=d,e.isNull=b,e.isNullOrUndefined=function(t){return null==t},e.isNumber=E,e.isString=m,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=O,e.isRegExp=S,e.types.isRegExp=S,e.isObject=w,e.isDate=A,e.types.isDate=A,e.isError=x,e.types.isNativeError=x,e.isFunction=j,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r(384);var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(){var t=new Date,e=[R(t.getHours()),R(t.getMinutes()),R(t.getSeconds())].join(":");return[t.getDate(),P[t.getMonth()],e].join(" ")}function N(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){o.log("%s - %s",T(),e.format.apply(e,arguments))},e.inherits=r(5717),e._extend=function(t,e){if(!e||!w(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var L="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function k(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(L&&t[L]){var e;if("function"!=typeof(e=t[L]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,L,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise((function(t,n){e=t,r=n})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(t,n){t?r(t):e(n)}));try{t.apply(this,o)}catch(t){r(t)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),L&&Object.defineProperty(e,L,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,i(t))},e.promisify.custom=L,e.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function e(){for(var e=[],r=0;r<arguments.length;r++)e.push(arguments[r]);var o=e.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,a=function(){return o.apply(i,arguments)};t.apply(this,e).then((function(t){n.nextTick(a.bind(null,null,t))}),(function(t){n.nextTick(k.bind(null,t,a))}))}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,i(t)),e}},6430:(t,e,r)=>{"use strict";var n=r(4029),o=r(3083),i=r(1924),a=i("Object.prototype.toString"),c=r(6410)(),u="undefined"==typeof globalThis?r.g:globalThis,s=o(),l=i("String.prototype.slice"),f={},p=r(882),y=Object.getPrototypeOf;c&&p&&y&&n(s,(function(t){if("function"==typeof u[t]){var e=new u[t];if(Symbol.toStringTag in e){var r=y(e),n=p(r,Symbol.toStringTag);if(!n){var o=y(r);n=p(o,Symbol.toStringTag)}f[t]=n.get}}}));var g=r(5692);t.exports=function(t){return!!g(t)&&(c&&Symbol.toStringTag in t?function(t){var e=!1;return n(f,(function(r,n){if(!e)try{var o=r.call(t);o===n&&(e=o)}catch(t){}})),e}(t):l(a(t),8,-1))}},3083:(t,e,r)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],o="undefined"==typeof globalThis?r.g:globalThis;t.exports=function(){for(var t=[],e=0;e<n.length;e++)"function"==typeof o[n[e]]&&(t[t.length]=n[e]);return t}},882:(t,e,r)=>{"use strict";var n=r(210)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(t){n=null}t.exports=n}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{"use strict";var t=r(9753);const e=(0,r(7499).IY)().setApp("Files_PDFViewer").detectUser().build();var n=document.getElementById("hideDownload");const o=function(){return!n||n&&"true"!==n.value};var i=document.getElementById("isPublic");const a=function(){return!(!i||"1"!==i.value)};var c=document.getElementById("mimetype");const u=function(){return c&&"application/pdf"===c.value},s=function(){return!o()&&void 0!==OCA.RichDocuments};window.addEventListener("DOMContentLoaded",(function(){if(e.debug("Initializing for public page",{isPublicPage:a(),canDownload:o(),isSecureViewerAvailable:s()}),!a()||u())if(a()&&u()&&!s()){var r=location.hash.split("page=")[1]||0,n=document.getElementById("files-public-content"),i=document.getElementById("sharingToken"),c=document.querySelector("body > footer")||document.querySelector("#app-content > footer"),l=document.querySelector("#content"),f=i.value,p=(0,t.nu)("/s/{token}/download",{token:f}),y=(0,t.nu)("/apps/files_pdfviewer/?file={downloadUrl}&canDownload={canDownload}#page={page}",{canDownload:o()?1:0,downloadUrl:p,page:r}),g=document.createElement("iframe");g.style.height="100%",g.style.width="100%",g.style.position="absolute",n?(n.innerHTML="",n.appendChild(g),g.src=y,c.style.display="none",l.style.minHeight="100%"):e.error("Unable to inject the PDF Viewer")}else e.error("But this does not appear to be a public page");else e.debug("But this is not a single pdf share")}))})()})();
//# sourceMappingURL=files_pdfviewer-public.js.map?v=e582f14ddad6b894452d